From bb302b361e088a82075cf592a43e2ad852c983f5 Mon Sep 17 00:00:00 2001 From: sbiscigl Date: Mon, 27 Oct 2025 13:20:41 -0400 Subject: [PATCH] remove clients --- .../src/aws-cpp-sdk-apptest/CMakeLists.txt | 76 - .../include/aws/apptest/AppTestClient.h | 701 -- .../aws/apptest/AppTestEndpointProvider.h | 53 - .../aws/apptest/AppTestEndpointRules.h | 21 - .../aws/apptest/AppTestErrorMarshaller.h | 20 - .../include/aws/apptest/AppTestErrors.h | 69 - .../include/aws/apptest/AppTestRequest.h | 39 - .../aws/apptest/AppTestServiceClientModel.h | 241 - .../include/aws/apptest/AppTest_EXPORTS.h | 32 - .../include/aws/apptest/model/Batch.h | 114 - .../aws/apptest/model/BatchStepInput.h | 158 - .../aws/apptest/model/BatchStepOutput.h | 109 - .../include/aws/apptest/model/BatchSummary.h | 80 - .../include/aws/apptest/model/CaptureTool.h | 22 - .../aws/apptest/model/CloudFormation.h | 87 - .../aws/apptest/model/CloudFormationAction.h | 78 - .../apptest/model/CloudFormationActionType.h | 22 - .../apptest/model/CloudFormationStepSummary.h | 80 - .../include/aws/apptest/model/CompareAction.h | 80 - .../aws/apptest/model/CompareActionSummary.h | 58 - .../apptest/model/CompareDataSetsStepInput.h | 135 - .../apptest/model/CompareDataSetsStepOutput.h | 78 - .../apptest/model/CompareDataSetsSummary.h | 80 - .../model/CompareDatabaseCDCStepInput.h | 145 - .../model/CompareDatabaseCDCStepOutput.h | 78 - .../apptest/model/CompareDatabaseCDCSummary.h | 80 - .../aws/apptest/model/CompareFileType.h | 80 - .../aws/apptest/model/ComparisonStatusEnum.h | 22 - .../aws/apptest/model/ConflictException.h | 99 - .../model/CreateCloudFormationStepInput.h | 86 - .../model/CreateCloudFormationStepOutput.h | 86 - .../model/CreateCloudFormationSummary.h | 80 - .../aws/apptest/model/CreateTestCaseRequest.h | 155 - .../aws/apptest/model/CreateTestCaseResult.h | 88 - .../model/CreateTestConfigurationRequest.h | 204 - .../model/CreateTestConfigurationResult.h | 88 - .../apptest/model/CreateTestSuiteRequest.h | 204 - .../aws/apptest/model/CreateTestSuiteResult.h | 88 - .../include/aws/apptest/model/DataSet.h | 138 - .../include/aws/apptest/model/DataSetType.h | 22 - .../include/aws/apptest/model/DatabaseCDC.h | 81 - .../model/DeleteCloudFormationStepInput.h | 58 - .../model/DeleteCloudFormationStepOutput.h | 34 - .../model/DeleteCloudFormationSummary.h | 80 - .../aws/apptest/model/DeleteTestCaseRequest.h | 55 - .../aws/apptest/model/DeleteTestCaseResult.h | 50 - .../model/DeleteTestConfigurationRequest.h | 55 - .../model/DeleteTestConfigurationResult.h | 50 - .../aws/apptest/model/DeleteTestRunRequest.h | 55 - .../aws/apptest/model/DeleteTestRunResult.h | 50 - .../apptest/model/DeleteTestSuiteRequest.h | 55 - .../aws/apptest/model/DeleteTestSuiteResult.h | 50 - .../include/aws/apptest/model/File.h | 58 - .../include/aws/apptest/model/FileMetadata.h | 87 - .../include/aws/apptest/model/Format.h | 22 - .../aws/apptest/model/GetTestCaseRequest.h | 79 - .../aws/apptest/model/GetTestCaseResult.h | 304 - .../model/GetTestConfigurationRequest.h | 79 - .../model/GetTestConfigurationResult.h | 351 - .../aws/apptest/model/GetTestRunStepRequest.h | 123 - .../aws/apptest/model/GetTestRunStepResult.h | 303 - .../aws/apptest/model/GetTestSuiteRequest.h | 79 - .../aws/apptest/model/GetTestSuiteResult.h | 351 - .../include/aws/apptest/model/Input.h | 58 - .../include/aws/apptest/model/InputFile.h | 101 - .../apptest/model/InternalServerException.h | 76 - .../model/ListTagsForResourceRequest.h | 55 - .../apptest/model/ListTagsForResourceResult.h | 77 - .../aws/apptest/model/ListTestCasesRequest.h | 107 - .../aws/apptest/model/ListTestCasesResult.h | 98 - .../model/ListTestConfigurationsRequest.h | 107 - .../model/ListTestConfigurationsResult.h | 98 - .../apptest/model/ListTestRunStepsRequest.h | 142 - .../apptest/model/ListTestRunStepsResult.h | 98 - .../model/ListTestRunTestCasesRequest.h | 101 - .../model/ListTestRunTestCasesResult.h | 98 - .../aws/apptest/model/ListTestRunsRequest.h | 129 - .../aws/apptest/model/ListTestRunsResult.h | 98 - .../aws/apptest/model/ListTestSuitesRequest.h | 107 - .../aws/apptest/model/ListTestSuitesResult.h | 99 - .../apptest/model/M2ManagedActionProperties.h | 79 - .../aws/apptest/model/M2ManagedActionType.h | 22 - .../aws/apptest/model/M2ManagedApplication.h | 123 - .../model/M2ManagedApplicationAction.h | 104 - .../model/M2ManagedApplicationStepInput.h | 168 - .../model/M2ManagedApplicationStepOutput.h | 67 - .../model/M2ManagedApplicationStepSummary.h | 83 - .../model/M2ManagedApplicationSummary.h | 101 - .../aws/apptest/model/M2ManagedRuntime.h | 22 - .../apptest/model/M2NonManagedActionType.h | 22 - .../apptest/model/M2NonManagedApplication.h | 124 - .../model/M2NonManagedApplicationAction.h | 81 - .../model/M2NonManagedApplicationStepInput.h | 144 - .../model/M2NonManagedApplicationStepOutput.h | 35 - .../M2NonManagedApplicationStepSummary.h | 83 - .../model/M2NonManagedApplicationSummary.h | 123 - .../aws/apptest/model/M2NonManagedRuntime.h | 22 - .../aws/apptest/model/MainframeAction.h | 102 - .../apptest/model/MainframeActionProperties.h | 58 - .../apptest/model/MainframeActionSummary.h | 80 - .../aws/apptest/model/MainframeActionType.h | 80 - .../apptest/model/MainframeResourceSummary.h | 82 - .../include/aws/apptest/model/Output.h | 58 - .../include/aws/apptest/model/OutputFile.h | 58 - .../include/aws/apptest/model/Resource.h | 80 - .../aws/apptest/model/ResourceAction.h | 104 - .../aws/apptest/model/ResourceActionSummary.h | 104 - .../apptest/model/ResourceNotFoundException.h | 98 - .../include/aws/apptest/model/ResourceType.h | 103 - .../include/aws/apptest/model/Script.h | 78 - .../include/aws/apptest/model/ScriptSummary.h | 78 - .../include/aws/apptest/model/ScriptType.h | 22 - .../model/ServiceQuotaExceededException.h | 141 - .../aws/apptest/model/ServiceSettings.h | 58 - .../aws/apptest/model/SourceDatabase.h | 22 - .../apptest/model/SourceDatabaseMetadata.h | 76 - .../aws/apptest/model/StartTestRunRequest.h | 126 - .../aws/apptest/model/StartTestRunResult.h | 89 - .../include/aws/apptest/model/Step.h | 101 - .../include/aws/apptest/model/StepAction.h | 102 - .../include/aws/apptest/model/StepRunStatus.h | 22 - .../aws/apptest/model/StepRunSummary.h | 102 - .../include/aws/apptest/model/TN3270.h | 87 - .../aws/apptest/model/TN3270StepInput.h | 131 - .../aws/apptest/model/TN3270StepOutput.h | 129 - .../include/aws/apptest/model/TN3270Summary.h | 80 - .../aws/apptest/model/TagResourceRequest.h | 83 - .../aws/apptest/model/TagResourceResult.h | 50 - .../aws/apptest/model/TargetDatabase.h | 22 - .../apptest/model/TargetDatabaseMetadata.h | 76 - .../aws/apptest/model/TestCaseLatestVersion.h | 97 - .../aws/apptest/model/TestCaseLifecycle.h | 22 - .../aws/apptest/model/TestCaseRunStatus.h | 22 - .../aws/apptest/model/TestCaseRunSummary.h | 182 - .../aws/apptest/model/TestCaseSummary.h | 203 - .../include/aws/apptest/model/TestCases.h | 65 - .../model/TestConfigurationLatestVersion.h | 98 - .../model/TestConfigurationLifecycle.h | 22 - .../apptest/model/TestConfigurationSummary.h | 203 - .../include/aws/apptest/model/TestRunStatus.h | 22 - .../aws/apptest/model/TestRunStepSummary.h | 281 - .../aws/apptest/model/TestRunSummary.h | 243 - .../apptest/model/TestSuiteLatestVersion.h | 97 - .../aws/apptest/model/TestSuiteLifecycle.h | 22 - .../aws/apptest/model/TestSuiteSummary.h | 203 - .../aws/apptest/model/ThrottlingException.h | 117 - .../aws/apptest/model/UntagResourceRequest.h | 88 - .../aws/apptest/model/UntagResourceResult.h | 50 - .../aws/apptest/model/UpdateTestCaseRequest.h | 105 - .../aws/apptest/model/UpdateTestCaseResult.h | 88 - .../model/UpdateTestConfigurationRequest.h | 155 - .../model/UpdateTestConfigurationResult.h | 88 - .../apptest/model/UpdateTestSuiteRequest.h | 154 - .../aws/apptest/model/UpdateTestSuiteResult.h | 88 - .../aws/apptest/model/ValidationException.h | 106 - .../apptest/model/ValidationExceptionField.h | 79 - .../apptest/model/ValidationExceptionReason.h | 22 - .../source/AppTestClient.cpp | 991 -- .../source/AppTestEndpointProvider.cpp | 12 - .../source/AppTestEndpointRules.cpp | 159 - .../source/AppTestErrorMarshaller.cpp | 20 - .../source/AppTestErrors.cpp | 80 - .../source/AppTestRequest.cpp | 10 - .../source/model/Batch.cpp | 72 - .../source/model/BatchStepInput.cpp | 88 - .../source/model/BatchStepOutput.cpp | 63 - .../source/model/BatchSummary.cpp | 48 - .../source/model/CaptureTool.cpp | 58 - .../source/model/CloudFormation.cpp | 55 - .../source/model/CloudFormationAction.cpp | 48 - .../source/model/CloudFormationActionType.cpp | 58 - .../model/CloudFormationStepSummary.cpp | 48 - .../source/model/CompareAction.cpp | 48 - .../source/model/CompareActionSummary.cpp | 40 - .../source/model/CompareDataSetsStepInput.cpp | 78 - .../model/CompareDataSetsStepOutput.cpp | 48 - .../source/model/CompareDataSetsSummary.cpp | 48 - .../model/CompareDatabaseCDCStepInput.cpp | 72 - .../model/CompareDatabaseCDCStepOutput.cpp | 48 - .../model/CompareDatabaseCDCSummary.cpp | 48 - .../source/model/CompareFileType.cpp | 48 - .../source/model/ComparisonStatusEnum.cpp | 63 - .../source/model/ConflictException.cpp | 56 - .../model/CreateCloudFormationStepInput.cpp | 55 - .../model/CreateCloudFormationStepOutput.cpp | 55 - .../model/CreateCloudFormationSummary.cpp | 48 - .../source/model/CreateTestCaseRequest.cpp | 47 - .../source/model/CreateTestCaseResult.cpp | 41 - .../model/CreateTestConfigurationRequest.cpp | 59 - .../model/CreateTestConfigurationResult.cpp | 41 - .../source/model/CreateTestSuiteRequest.cpp | 59 - .../source/model/CreateTestSuiteResult.cpp | 41 - .../source/model/DataSet.cpp | 72 - .../source/model/DataSetType.cpp | 53 - .../source/model/DatabaseCDC.cpp | 48 - .../model/DeleteCloudFormationStepInput.cpp | 40 - .../model/DeleteCloudFormationStepOutput.cpp | 33 - .../model/DeleteCloudFormationSummary.cpp | 48 - .../source/model/DeleteTestCaseRequest.cpp | 15 - .../source/model/DeleteTestCaseResult.cpp | 33 - .../model/DeleteTestConfigurationRequest.cpp | 15 - .../model/DeleteTestConfigurationResult.cpp | 33 - .../source/model/DeleteTestRunRequest.cpp | 15 - .../source/model/DeleteTestRunResult.cpp | 33 - .../source/model/DeleteTestSuiteRequest.cpp | 15 - .../source/model/DeleteTestSuiteResult.cpp | 33 - .../aws-cpp-sdk-apptest/source/model/File.cpp | 40 - .../source/model/FileMetadata.cpp | 55 - .../source/model/Format.cpp | 63 - .../source/model/GetTestCaseRequest.cpp | 27 - .../source/model/GetTestCaseResult.cpp | 87 - .../model/GetTestConfigurationRequest.cpp | 27 - .../model/GetTestConfigurationResult.cpp | 98 - .../source/model/GetTestRunStepRequest.cpp | 33 - .../source/model/GetTestRunStepResult.cpp | 85 - .../source/model/GetTestSuiteRequest.cpp | 27 - .../source/model/GetTestSuiteResult.cpp | 98 - .../source/model/Input.cpp | 40 - .../source/model/InputFile.cpp | 56 - .../source/model/InternalServerException.cpp | 41 - .../model/ListTagsForResourceRequest.cpp | 15 - .../model/ListTagsForResourceResult.cpp | 40 - .../source/model/ListTestCasesRequest.cpp | 41 - .../source/model/ListTestCasesResult.cpp | 44 - .../model/ListTestConfigurationsRequest.cpp | 41 - .../model/ListTestConfigurationsResult.cpp | 45 - .../source/model/ListTestRunStepsRequest.cpp | 45 - .../source/model/ListTestRunStepsResult.cpp | 44 - .../model/ListTestRunTestCasesRequest.cpp | 33 - .../model/ListTestRunTestCasesResult.cpp | 44 - .../source/model/ListTestRunsRequest.cpp | 47 - .../source/model/ListTestRunsResult.cpp | 44 - .../source/model/ListTestSuitesRequest.cpp | 41 - .../source/model/ListTestSuitesResult.cpp | 44 - .../model/M2ManagedActionProperties.cpp | 48 - .../source/model/M2ManagedActionType.cpp | 58 - .../source/model/M2ManagedApplication.cpp | 64 - .../model/M2ManagedApplicationAction.cpp | 56 - .../model/M2ManagedApplicationStepInput.cpp | 80 - .../model/M2ManagedApplicationStepOutput.cpp | 47 - .../model/M2ManagedApplicationStepSummary.cpp | 48 - .../model/M2ManagedApplicationSummary.cpp | 56 - .../source/model/M2ManagedRuntime.cpp | 53 - .../source/model/M2NonManagedActionType.cpp | 58 - .../source/model/M2NonManagedApplication.cpp | 64 - .../model/M2NonManagedApplicationAction.cpp | 48 - .../M2NonManagedApplicationStepInput.cpp | 72 - .../M2NonManagedApplicationStepOutput.cpp | 33 - .../M2NonManagedApplicationStepSummary.cpp | 48 - .../model/M2NonManagedApplicationSummary.cpp | 64 - .../source/model/M2NonManagedRuntime.cpp | 53 - .../source/model/MainframeAction.cpp | 56 - .../model/MainframeActionProperties.cpp | 40 - .../source/model/MainframeActionSummary.cpp | 48 - .../source/model/MainframeActionType.cpp | 48 - .../source/model/MainframeResourceSummary.cpp | 48 - .../source/model/Output.cpp | 40 - .../source/model/OutputFile.cpp | 40 - .../source/model/Resource.cpp | 48 - .../source/model/ResourceAction.cpp | 56 - .../source/model/ResourceActionSummary.cpp | 56 - .../model/ResourceNotFoundException.cpp | 56 - .../source/model/ResourceType.cpp | 56 - .../source/model/Script.cpp | 48 - .../source/model/ScriptSummary.cpp | 48 - .../source/model/ScriptType.cpp | 53 - .../model/ServiceQuotaExceededException.cpp | 72 - .../source/model/ServiceSettings.cpp | 40 - .../source/model/SourceDatabase.cpp | 53 - .../source/model/SourceDatabaseMetadata.cpp | 48 - .../source/model/StartTestRunRequest.cpp | 39 - .../source/model/StartTestRunResult.cpp | 41 - .../aws-cpp-sdk-apptest/source/model/Step.cpp | 56 - .../source/model/StepAction.cpp | 56 - .../source/model/StepRunStatus.cpp | 63 - .../source/model/StepRunSummary.cpp | 56 - .../source/model/TN3270.cpp | 57 - .../source/model/TN3270StepInput.cpp | 73 - .../source/model/TN3270StepOutput.cpp | 71 - .../source/model/TN3270Summary.cpp | 48 - .../source/model/TagResourceRequest.cpp | 27 - .../source/model/TagResourceResult.cpp | 33 - .../source/model/TargetDatabase.cpp | 53 - .../source/model/TargetDatabaseMetadata.cpp | 48 - .../source/model/TestCaseLatestVersion.cpp | 56 - .../source/model/TestCaseLifecycle.cpp | 58 - .../source/model/TestCaseRunStatus.cpp | 63 - .../source/model/TestCaseRunSummary.cpp | 88 - .../source/model/TestCaseSummary.cpp | 96 - .../source/model/TestCases.cpp | 47 - .../model/TestConfigurationLatestVersion.cpp | 56 - .../model/TestConfigurationLifecycle.cpp | 58 - .../source/model/TestConfigurationSummary.cpp | 96 - .../source/model/TestRunStatus.cpp | 68 - .../source/model/TestRunStepSummary.cpp | 128 - .../source/model/TestRunSummary.cpp | 112 - .../source/model/TestSuiteLatestVersion.cpp | 56 - .../source/model/TestSuiteLifecycle.cpp | 73 - .../source/model/TestSuiteSummary.cpp | 96 - .../source/model/ThrottlingException.cpp | 57 - .../source/model/UntagResourceRequest.cpp | 29 - .../source/model/UntagResourceResult.cpp | 33 - .../source/model/UpdateTestCaseRequest.cpp | 31 - .../source/model/UpdateTestCaseResult.cpp | 41 - .../model/UpdateTestConfigurationRequest.cpp | 43 - .../model/UpdateTestConfigurationResult.cpp | 41 - .../source/model/UpdateTestSuiteRequest.cpp | 43 - .../source/model/UpdateTestSuiteResult.cpp | 41 - .../source/model/ValidationException.cpp | 63 - .../source/model/ValidationExceptionField.cpp | 48 - .../model/ValidationExceptionReason.cpp | 68 - .../aws-cpp-sdk-iotfleethub/CMakeLists.txt | 76 - .../aws/iotfleethub/IoTFleetHubClient.h | 311 - .../iotfleethub/IoTFleetHubEndpointProvider.h | 53 - .../iotfleethub/IoTFleetHubEndpointRules.h | 21 - .../iotfleethub/IoTFleetHubErrorMarshaller.h | 20 - .../aws/iotfleethub/IoTFleetHubErrors.h | 69 - .../aws/iotfleethub/IoTFleetHubRequest.h | 39 - .../IoTFleetHubServiceClientModel.h | 126 - .../aws/iotfleethub/IoTFleetHub_EXPORTS.h | 32 - .../aws/iotfleethub/model/ApplicationState.h | 22 - .../iotfleethub/model/ApplicationSummary.h | 180 - .../model/CreateApplicationRequest.h | 152 - .../model/CreateApplicationResult.h | 90 - .../model/DeleteApplicationRequest.h | 84 - .../model/DeleteApplicationResult.h | 50 - .../model/DescribeApplicationRequest.h | 55 - .../model/DescribeApplicationResult.h | 298 - .../model/ListApplicationsRequest.h | 60 - .../model/ListApplicationsResult.h | 99 - .../model/ListTagsForResourceRequest.h | 55 - .../model/ListTagsForResourceResult.h | 77 - .../iotfleethub/model/TagResourceRequest.h | 83 - .../aws/iotfleethub/model/TagResourceResult.h | 50 - .../iotfleethub/model/UntagResourceRequest.h | 88 - .../iotfleethub/model/UntagResourceResult.h | 50 - .../model/UpdateApplicationRequest.h | 121 - .../model/UpdateApplicationResult.h | 50 - .../source/IoTFleetHubClient.cpp | 426 - .../source/IoTFleetHubEndpointProvider.cpp | 12 - .../source/IoTFleetHubEndpointRules.cpp | 151 - .../source/IoTFleetHubErrorMarshaller.cpp | 20 - .../source/IoTFleetHubErrors.cpp | 37 - .../source/IoTFleetHubRequest.cpp | 10 - .../source/model/ApplicationState.cpp | 73 - .../source/model/ApplicationSummary.cpp | 88 - .../source/model/CreateApplicationRequest.cpp | 43 - .../source/model/CreateApplicationResult.cpp | 41 - .../source/model/DeleteApplicationRequest.cpp | 27 - .../source/model/DeleteApplicationResult.cpp | 33 - .../model/DescribeApplicationRequest.cpp | 15 - .../model/DescribeApplicationResult.cpp | 84 - .../source/model/ListApplicationsRequest.cpp | 27 - .../source/model/ListApplicationsResult.cpp | 45 - .../model/ListTagsForResourceRequest.cpp | 15 - .../model/ListTagsForResourceResult.cpp | 40 - .../source/model/TagResourceRequest.cpp | 27 - .../source/model/TagResourceResult.cpp | 33 - .../source/model/UntagResourceRequest.cpp | 29 - .../source/model/UntagResourceResult.cpp | 33 - .../source/model/UpdateApplicationRequest.cpp | 31 - .../source/model/UpdateApplicationResult.cpp | 33 - .../aws-cpp-sdk-lookoutmetrics/CMakeLists.txt | 76 - .../aws/lookoutmetrics/LookoutMetricsClient.h | 914 -- .../LookoutMetricsEndpointProvider.h | 53 - .../LookoutMetricsEndpointRules.h | 21 - .../LookoutMetricsErrorMarshaller.h | 20 - .../aws/lookoutmetrics/LookoutMetricsErrors.h | 70 - .../lookoutmetrics/LookoutMetricsRequest.h | 39 - .../LookoutMetricsServiceClientModel.h | 285 - .../lookoutmetrics/LookoutMetrics_EXPORTS.h | 32 - .../include/aws/lookoutmetrics/model/Action.h | 81 - .../model/ActivateAnomalyDetectorRequest.h | 55 - .../model/ActivateAnomalyDetectorResult.h | 50 - .../model/AggregationFunction.h | 22 - .../include/aws/lookoutmetrics/model/Alert.h | 269 - .../aws/lookoutmetrics/model/AlertFilters.h | 94 - .../aws/lookoutmetrics/model/AlertStatus.h | 22 - .../aws/lookoutmetrics/model/AlertSummary.h | 231 - .../aws/lookoutmetrics/model/AlertType.h | 22 - .../model/AnomalyDetectionTaskStatus.h | 22 - .../model/AnomalyDetectorConfig.h | 57 - .../model/AnomalyDetectorConfigSummary.h | 57 - .../model/AnomalyDetectorDataQualityMetric.h | 92 - .../model/AnomalyDetectorFailureType.h | 22 - .../model/AnomalyDetectorStatus.h | 35 - .../model/AnomalyDetectorSummary.h | 193 - .../aws/lookoutmetrics/model/AnomalyGroup.h | 169 - .../model/AnomalyGroupStatistics.h | 107 - .../model/AnomalyGroupSummary.h | 140 - .../model/AnomalyGroupTimeSeries.h | 79 - .../model/AnomalyGroupTimeSeriesFeedback.h | 98 - .../aws/lookoutmetrics/model/AppFlowConfig.h | 81 - .../lookoutmetrics/model/AthenaSourceConfig.h | 186 - .../aws/lookoutmetrics/model/AttributeValue.h | 182 - .../model/AutoDetectionMetricSource.h | 58 - .../model/AutoDetectionS3SourceConfig.h | 92 - .../model/BackTestAnomalyDetectorRequest.h | 55 - .../model/BackTestAnomalyDetectorResult.h | 50 - .../model/BackTestConfiguration.h | 53 - .../lookoutmetrics/model/CSVFileCompression.h | 22 - .../lookoutmetrics/model/CloudWatchConfig.h | 81 - .../aws/lookoutmetrics/model/Confidence.h | 22 - .../lookoutmetrics/model/ConflictException.h | 99 - .../lookoutmetrics/model/ContributionMatrix.h | 66 - .../lookoutmetrics/model/CreateAlertRequest.h | 191 - .../lookoutmetrics/model/CreateAlertResult.h | 70 - .../model/CreateAnomalyDetectorRequest.h | 149 - .../model/CreateAnomalyDetectorResult.h | 70 - .../model/CreateMetricSetRequest.h | 318 - .../model/CreateMetricSetResult.h | 70 - .../model/CsvFormatDescriptor.h | 168 - .../lookoutmetrics/model/DataQualityMetric.h | 121 - .../model/DataQualityMetricType.h | 34 - .../model/DeactivateAnomalyDetectorRequest.h | 55 - .../model/DeactivateAnomalyDetectorResult.h | 50 - .../lookoutmetrics/model/DeleteAlertRequest.h | 55 - .../lookoutmetrics/model/DeleteAlertResult.h | 50 - .../model/DeleteAnomalyDetectorRequest.h | 55 - .../model/DeleteAnomalyDetectorResult.h | 50 - .../model/DescribeAlertRequest.h | 55 - .../model/DescribeAlertResult.h | 71 - ...escribeAnomalyDetectionExecutionsRequest.h | 117 - ...DescribeAnomalyDetectionExecutionsResult.h | 99 - .../model/DescribeAnomalyDetectorRequest.h | 55 - .../model/DescribeAnomalyDetectorResult.h | 250 - .../model/DescribeMetricSetRequest.h | 55 - .../model/DescribeMetricSetResult.h | 354 - .../model/DetectMetricSetConfigRequest.h | 77 - .../model/DetectMetricSetConfigResult.h | 71 - .../model/DetectedCsvFormatDescriptor.h | 163 - .../aws/lookoutmetrics/model/DetectedField.h | 100 - .../model/DetectedFileFormatDescriptor.h | 80 - .../model/DetectedJsonFormatDescriptor.h | 79 - .../model/DetectedMetricSetConfig.h | 101 - .../model/DetectedMetricSource.h | 58 - .../model/DetectedS3SourceConfig.h | 58 - .../model/DimensionContribution.h | 90 - .../lookoutmetrics/model/DimensionFilter.h | 88 - .../lookoutmetrics/model/DimensionNameValue.h | 79 - .../model/DimensionValueContribution.h | 78 - .../lookoutmetrics/model/ExecutionStatus.h | 99 - .../model/FileFormatDescriptor.h | 82 - .../include/aws/lookoutmetrics/model/Filter.h | 81 - .../lookoutmetrics/model/FilterOperation.h | 22 - .../aws/lookoutmetrics/model/Frequency.h | 22 - .../model/GetAnomalyGroupRequest.h | 76 - .../model/GetAnomalyGroupResult.h | 71 - .../model/GetDataQualityMetricsRequest.h | 77 - .../model/GetDataQualityMetricsResult.h | 81 - .../lookoutmetrics/model/GetFeedbackRequest.h | 118 - .../lookoutmetrics/model/GetFeedbackResult.h | 98 - .../model/GetSampleDataRequest.h | 55 - .../model/GetSampleDataResult.h | 103 - .../model/InterMetricImpactDetails.h | 123 - .../model/ItemizedMetricStats.h | 78 - .../model/JsonFileCompression.h | 22 - .../model/JsonFormatDescriptor.h | 79 - .../model/LambdaConfiguration.h | 80 - .../lookoutmetrics/model/ListAlertsRequest.h | 97 - .../lookoutmetrics/model/ListAlertsResult.h | 99 - .../model/ListAnomalyDetectorsRequest.h | 76 - .../model/ListAnomalyDetectorsResult.h | 99 - .../ListAnomalyGroupRelatedMetricsRequest.h | 139 - .../ListAnomalyGroupRelatedMetricsResult.h | 100 - .../model/ListAnomalyGroupSummariesRequest.h | 115 - .../model/ListAnomalyGroupSummariesResult.h | 119 - .../model/ListAnomalyGroupTimeSeriesRequest.h | 138 - .../model/ListAnomalyGroupTimeSeriesResult.h | 165 - .../model/ListMetricSetsRequest.h | 97 - .../model/ListMetricSetsResult.h | 100 - .../model/ListTagsForResourceRequest.h | 55 - .../model/ListTagsForResourceResult.h | 77 - .../include/aws/lookoutmetrics/model/Metric.h | 100 - .../lookoutmetrics/model/MetricLevelImpact.h | 99 - .../model/MetricSetDataQualityMetric.h | 89 - .../model/MetricSetDimensionFilter.h | 91 - .../lookoutmetrics/model/MetricSetSummary.h | 193 - .../aws/lookoutmetrics/model/MetricSource.h | 167 - .../lookoutmetrics/model/PutFeedbackRequest.h | 77 - .../lookoutmetrics/model/PutFeedbackResult.h | 50 - .../lookoutmetrics/model/RDSSourceConfig.h | 206 - .../model/RedshiftSourceConfig.h | 207 - .../lookoutmetrics/model/RelationshipType.h | 22 - .../model/ResourceNotFoundException.h | 99 - .../aws/lookoutmetrics/model/S3SourceConfig.h | 137 - .../lookoutmetrics/model/SNSConfiguration.h | 107 - .../model/SampleDataS3SourceConfig.h | 134 - .../model/ServiceQuotaExceededException.h | 141 - .../aws/lookoutmetrics/model/SnsFormat.h | 22 - .../lookoutmetrics/model/TagResourceRequest.h | 84 - .../lookoutmetrics/model/TagResourceResult.h | 50 - .../aws/lookoutmetrics/model/TimeSeries.h | 115 - .../lookoutmetrics/model/TimeSeriesFeedback.h | 78 - .../lookoutmetrics/model/TimestampColumn.h | 80 - .../model/UntagResourceRequest.h | 88 - .../model/UntagResourceResult.h | 50 - .../lookoutmetrics/model/UpdateAlertRequest.h | 140 - .../lookoutmetrics/model/UpdateAlertResult.h | 70 - .../model/UpdateAnomalyDetectorRequest.h | 120 - .../model/UpdateAnomalyDetectorResult.h | 70 - .../model/UpdateMetricSetRequest.h | 247 - .../model/UpdateMetricSetResult.h | 70 - .../model/ValidationException.h | 106 - .../model/ValidationExceptionField.h | 80 - .../model/ValidationExceptionReason.h | 22 - .../lookoutmetrics/model/VpcConfiguration.h | 94 - .../source/LookoutMetricsClient.cpp | 1093 -- .../source/LookoutMetricsEndpointProvider.cpp | 12 - .../source/LookoutMetricsEndpointRules.cpp | 150 - .../source/LookoutMetricsErrorMarshaller.cpp | 20 - .../source/LookoutMetricsErrors.cpp | 69 - .../source/LookoutMetricsRequest.cpp | 10 - .../source/model/Action.cpp | 48 - .../model/ActivateAnomalyDetectorRequest.cpp | 23 - .../model/ActivateAnomalyDetectorResult.cpp | 33 - .../source/model/AggregationFunction.cpp | 58 - .../source/model/Alert.cpp | 120 - .../source/model/AlertFilters.cpp | 64 - .../source/model/AlertStatus.cpp | 58 - .../source/model/AlertSummary.cpp | 111 - .../source/model/AlertType.cpp | 58 - .../model/AnomalyDetectionTaskStatus.cpp | 73 - .../source/model/AnomalyDetectorConfig.cpp | 40 - .../model/AnomalyDetectorConfigSummary.cpp | 40 - .../AnomalyDetectorDataQualityMetric.cpp | 58 - .../model/AnomalyDetectorFailureType.cpp | 68 - .../source/model/AnomalyDetectorStatus.cpp | 103 - .../source/model/AnomalyDetectorSummary.cpp | 95 - .../source/model/AnomalyGroup.cpp | 89 - .../source/model/AnomalyGroupStatistics.cpp | 66 - .../source/model/AnomalyGroupSummary.cpp | 72 - .../source/model/AnomalyGroupTimeSeries.cpp | 48 - .../model/AnomalyGroupTimeSeriesFeedback.cpp | 56 - .../source/model/AppFlowConfig.cpp | 48 - .../source/model/AthenaSourceConfig.cpp | 88 - .../source/model/AttributeValue.cpp | 101 - .../model/AutoDetectionMetricSource.cpp | 40 - .../model/AutoDetectionS3SourceConfig.cpp | 64 - .../model/BackTestAnomalyDetectorRequest.cpp | 23 - .../model/BackTestAnomalyDetectorResult.cpp | 33 - .../source/model/BackTestConfiguration.cpp | 40 - .../source/model/CSVFileCompression.cpp | 58 - .../source/model/CloudWatchConfig.cpp | 48 - .../source/model/Confidence.cpp | 63 - .../source/model/ConflictException.cpp | 56 - .../source/model/ContributionMatrix.cpp | 50 - .../source/model/CreateAlertRequest.cpp | 51 - .../source/model/CreateAlertResult.cpp | 37 - .../model/CreateAnomalyDetectorRequest.cpp | 43 - .../model/CreateAnomalyDetectorResult.cpp | 37 - .../source/model/CreateMetricSetRequest.cpp | 84 - .../source/model/CreateMetricSetResult.cpp | 37 - .../source/model/CsvFormatDescriptor.cpp | 87 - .../source/model/DataQualityMetric.cpp | 64 - .../source/model/DataQualityMetricType.cpp | 98 - .../DeactivateAnomalyDetectorRequest.cpp | 23 - .../model/DeactivateAnomalyDetectorResult.cpp | 33 - .../source/model/DeleteAlertRequest.cpp | 23 - .../source/model/DeleteAlertResult.cpp | 33 - .../model/DeleteAnomalyDetectorRequest.cpp | 23 - .../model/DeleteAnomalyDetectorResult.cpp | 33 - .../source/model/DescribeAlertRequest.cpp | 23 - .../source/model/DescribeAlertResult.cpp | 37 - ...cribeAnomalyDetectionExecutionsRequest.cpp | 35 - ...scribeAnomalyDetectionExecutionsResult.cpp | 47 - .../model/DescribeAnomalyDetectorRequest.cpp | 23 - .../model/DescribeAnomalyDetectorResult.cpp | 73 - .../source/model/DescribeMetricSetRequest.cpp | 23 - .../source/model/DescribeMetricSetResult.cpp | 99 - .../model/DetectMetricSetConfigRequest.cpp | 27 - .../model/DetectMetricSetConfigResult.cpp | 37 - .../model/DetectedCsvFormatDescriptor.cpp | 80 - .../source/model/DetectedField.cpp | 56 - .../model/DetectedFileFormatDescriptor.cpp | 48 - .../model/DetectedJsonFormatDescriptor.cpp | 48 - .../source/model/DetectedMetricSetConfig.cpp | 56 - .../source/model/DetectedMetricSource.cpp | 40 - .../source/model/DetectedS3SourceConfig.cpp | 40 - .../source/model/DimensionContribution.cpp | 58 - .../source/model/DimensionFilter.cpp | 57 - .../source/model/DimensionNameValue.cpp | 48 - .../model/DimensionValueContribution.cpp | 48 - .../source/model/ExecutionStatus.cpp | 56 - .../source/model/FileFormatDescriptor.cpp | 48 - .../source/model/Filter.cpp | 48 - .../source/model/FilterOperation.cpp | 53 - .../source/model/Frequency.cpp | 68 - .../source/model/GetAnomalyGroupRequest.cpp | 27 - .../source/model/GetAnomalyGroupResult.cpp | 37 - .../model/GetDataQualityMetricsRequest.cpp | 27 - .../model/GetDataQualityMetricsResult.cpp | 43 - .../source/model/GetFeedbackRequest.cpp | 35 - .../source/model/GetFeedbackResult.cpp | 45 - .../source/model/GetSampleDataRequest.cpp | 23 - .../source/model/GetSampleDataResult.cpp | 53 - .../source/model/InterMetricImpactDetails.cpp | 64 - .../source/model/ItemizedMetricStats.cpp | 48 - .../source/model/JsonFileCompression.cpp | 58 - .../source/model/JsonFormatDescriptor.cpp | 48 - .../source/model/LambdaConfiguration.cpp | 48 - .../source/model/ListAlertsRequest.cpp | 31 - .../source/model/ListAlertsResult.cpp | 44 - .../model/ListAnomalyDetectorsRequest.cpp | 27 - .../model/ListAnomalyDetectorsResult.cpp | 45 - .../ListAnomalyGroupRelatedMetricsRequest.cpp | 39 - .../ListAnomalyGroupRelatedMetricsResult.cpp | 48 - .../ListAnomalyGroupSummariesRequest.cpp | 35 - .../model/ListAnomalyGroupSummariesResult.cpp | 49 - .../ListAnomalyGroupTimeSeriesRequest.cpp | 39 - .../ListAnomalyGroupTimeSeriesResult.cpp | 59 - .../source/model/ListMetricSetsRequest.cpp | 31 - .../source/model/ListMetricSetsResult.cpp | 45 - .../model/ListTagsForResourceRequest.cpp | 15 - .../model/ListTagsForResourceResult.cpp | 40 - .../source/model/Metric.cpp | 56 - .../source/model/MetricLevelImpact.cpp | 56 - .../model/MetricSetDataQualityMetric.cpp | 57 - .../source/model/MetricSetDimensionFilter.cpp | 55 - .../source/model/MetricSetSummary.cpp | 95 - .../source/model/MetricSource.cpp | 80 - .../source/model/PutFeedbackRequest.cpp | 27 - .../source/model/PutFeedbackResult.cpp | 33 - .../source/model/RDSSourceConfig.cpp | 96 - .../source/model/RedshiftSourceConfig.cpp | 96 - .../source/model/RelationshipType.cpp | 58 - .../model/ResourceNotFoundException.cpp | 56 - .../source/model/S3SourceConfig.cpp | 80 - .../source/model/SNSConfiguration.cpp | 56 - .../source/model/SampleDataS3SourceConfig.cpp | 80 - .../model/ServiceQuotaExceededException.cpp | 72 - .../source/model/SnsFormat.cpp | 63 - .../source/model/TagResourceRequest.cpp | 27 - .../source/model/TagResourceResult.cpp | 33 - .../source/model/TimeSeries.cpp | 70 - .../source/model/TimeSeriesFeedback.cpp | 48 - .../source/model/TimestampColumn.cpp | 48 - .../source/model/UntagResourceRequest.cpp | 29 - .../source/model/UntagResourceResult.cpp | 33 - .../source/model/UpdateAlertRequest.cpp | 39 - .../source/model/UpdateAlertResult.cpp | 37 - .../model/UpdateAnomalyDetectorRequest.cpp | 35 - .../model/UpdateAnomalyDetectorResult.cpp | 37 - .../source/model/UpdateMetricSetRequest.cpp | 68 - .../source/model/UpdateMetricSetResult.cpp | 37 - .../source/model/ValidationException.cpp | 63 - .../source/model/ValidationExceptionField.cpp | 48 - .../model/ValidationExceptionReason.cpp | 68 - .../source/model/VpcConfiguration.cpp | 64 - .../aws-cpp-sdk-lookoutvision/CMakeLists.txt | 76 - .../lookoutvision/LookoutforVisionClient.h | 805 -- .../LookoutforVisionEndpointProvider.h | 54 - .../LookoutforVisionEndpointRules.h | 21 - .../LookoutforVisionErrorMarshaller.h | 20 - .../lookoutvision/LookoutforVisionErrors.h | 69 - .../lookoutvision/LookoutforVisionRequest.h | 42 - .../LookoutforVisionServiceClientModel.h | 224 - .../lookoutvision/LookoutforVision_EXPORTS.h | 32 - .../include/aws/lookoutvision/model/Anomaly.h | 86 - .../lookoutvision/model/ConflictException.h | 98 - .../model/CreateDatasetRequest.h | 142 - .../lookoutvision/model/CreateDatasetResult.h | 71 - .../lookoutvision/model/CreateModelRequest.h | 186 - .../lookoutvision/model/CreateModelResult.h | 71 - .../model/CreateProjectRequest.h | 90 - .../lookoutvision/model/CreateProjectResult.h | 71 - .../lookoutvision/model/DatasetDescription.h | 189 - .../model/DatasetGroundTruthManifest.h | 59 - .../lookoutvision/model/DatasetImageStats.h | 110 - .../aws/lookoutvision/model/DatasetMetadata.h | 123 - .../aws/lookoutvision/model/DatasetSource.h | 59 - .../aws/lookoutvision/model/DatasetStatus.h | 34 - .../model/DeleteDatasetRequest.h | 114 - .../lookoutvision/model/DeleteDatasetResult.h | 50 - .../lookoutvision/model/DeleteModelRequest.h | 111 - .../lookoutvision/model/DeleteModelResult.h | 70 - .../model/DeleteProjectRequest.h | 90 - .../lookoutvision/model/DeleteProjectResult.h | 70 - .../model/DescribeDatasetRequest.h | 79 - .../model/DescribeDatasetResult.h | 71 - .../model/DescribeModelPackagingJobRequest.h | 77 - .../model/DescribeModelPackagingJobResult.h | 72 - .../model/DescribeModelRequest.h | 77 - .../lookoutvision/model/DescribeModelResult.h | 71 - .../model/DescribeProjectRequest.h | 55 - .../model/DescribeProjectResult.h | 71 - .../model/DetectAnomaliesRequest.h | 76 - .../model/DetectAnomaliesResult.h | 71 - .../lookoutvision/model/DetectAnomalyResult.h | 170 - .../model/GreengrassConfiguration.h | 229 - .../model/GreengrassOutputDetails.h | 101 - .../aws/lookoutvision/model/ImageSource.h | 58 - .../aws/lookoutvision/model/InputS3Object.h | 101 - .../model/InternalServerException.h | 76 - .../model/ListDatasetEntriesRequest.h | 240 - .../model/ListDatasetEntriesResult.h | 99 - .../model/ListModelPackagingJobsRequest.h | 105 - .../model/ListModelPackagingJobsResult.h | 101 - .../lookoutvision/model/ListModelsRequest.h | 105 - .../lookoutvision/model/ListModelsResult.h | 100 - .../lookoutvision/model/ListProjectsRequest.h | 83 - .../lookoutvision/model/ListProjectsResult.h | 100 - .../model/ListTagsForResourceRequest.h | 56 - .../model/ListTagsForResourceResult.h | 78 - .../lookoutvision/model/ModelDescription.h | 336 - .../lookoutvision/model/ModelHostingStatus.h | 22 - .../aws/lookoutvision/model/ModelMetadata.h | 186 - .../model/ModelPackagingConfiguration.h | 61 - .../model/ModelPackagingDescription.h | 276 - .../model/ModelPackagingJobMetadata.h | 230 - .../model/ModelPackagingJobStatus.h | 22 - .../model/ModelPackagingOutputDetails.h | 60 - .../lookoutvision/model/ModelPerformance.h | 92 - .../aws/lookoutvision/model/ModelStatus.h | 33 - .../aws/lookoutvision/model/OutputConfig.h | 59 - .../aws/lookoutvision/model/OutputS3Object.h | 80 - .../aws/lookoutvision/model/PixelAnomaly.h | 81 - .../lookoutvision/model/ProjectDescription.h | 131 - .../aws/lookoutvision/model/ProjectMetadata.h | 102 - .../model/ResourceNotFoundException.h | 97 - .../aws/lookoutvision/model/ResourceType.h | 22 - .../aws/lookoutvision/model/S3Location.h | 83 - .../model/ServiceQuotaExceededException.h | 141 - .../model/StartModelPackagingJobRequest.h | 178 - .../model/StartModelPackagingJobResult.h | 72 - .../lookoutvision/model/StartModelRequest.h | 154 - .../lookoutvision/model/StartModelResult.h | 69 - .../lookoutvision/model/StopModelRequest.h | 111 - .../aws/lookoutvision/model/StopModelResult.h | 69 - .../include/aws/lookoutvision/model/Tag.h | 80 - .../lookoutvision/model/TagResourceRequest.h | 84 - .../lookoutvision/model/TagResourceResult.h | 50 - .../aws/lookoutvision/model/TargetDevice.h | 22 - .../aws/lookoutvision/model/TargetPlatform.h | 110 - .../model/TargetPlatformAccelerator.h | 22 - .../lookoutvision/model/TargetPlatformArch.h | 22 - .../lookoutvision/model/TargetPlatformOs.h | 22 - .../lookoutvision/model/ThrottlingException.h | 118 - .../model/UntagResourceRequest.h | 89 - .../lookoutvision/model/UntagResourceResult.h | 50 - .../model/UpdateDatasetEntriesRequest.h | 137 - .../model/UpdateDatasetEntriesResult.h | 69 - .../source/LookoutforVisionClient.cpp | 1030 -- .../LookoutforVisionEndpointProvider.cpp | 12 - .../source/LookoutforVisionEndpointRules.cpp | 150 - .../LookoutforVisionErrorMarshaller.cpp | 20 - .../source/LookoutforVisionErrors.cpp | 73 - .../source/LookoutforVisionRequest.cpp | 10 - .../source/model/Anomaly.cpp | 48 - .../source/model/ConflictException.cpp | 56 - .../source/model/CreateDatasetRequest.cpp | 40 - .../source/model/CreateDatasetResult.cpp | 37 - .../source/model/CreateModelRequest.cpp | 52 - .../source/model/CreateModelResult.cpp | 37 - .../source/model/CreateProjectRequest.cpp | 36 - .../source/model/CreateProjectResult.cpp | 37 - .../source/model/DatasetDescription.cpp | 88 - .../model/DatasetGroundTruthManifest.cpp | 40 - .../source/model/DatasetImageStats.cpp | 64 - .../source/model/DatasetMetadata.cpp | 64 - .../source/model/DatasetSource.cpp | 40 - .../source/model/DatasetStatus.cpp | 98 - .../source/model/DeleteDatasetRequest.cpp | 28 - .../source/model/DeleteDatasetResult.cpp | 33 - .../source/model/DeleteModelRequest.cpp | 28 - .../source/model/DeleteModelResult.cpp | 37 - .../source/model/DeleteProjectRequest.cpp | 28 - .../source/model/DeleteProjectResult.cpp | 37 - .../source/model/DescribeDatasetRequest.cpp | 15 - .../source/model/DescribeDatasetResult.cpp | 37 - .../DescribeModelPackagingJobRequest.cpp | 15 - .../model/DescribeModelPackagingJobResult.cpp | 37 - .../source/model/DescribeModelRequest.cpp | 15 - .../source/model/DescribeModelResult.cpp | 37 - .../source/model/DescribeProjectRequest.cpp | 15 - .../source/model/DescribeProjectResult.cpp | 37 - .../source/model/DetectAnomaliesRequest.cpp | 15 - .../source/model/DetectAnomaliesResult.cpp | 37 - .../source/model/DetectAnomalyResult.cpp | 80 - .../source/model/GreengrassConfiguration.cpp | 103 - .../source/model/GreengrassOutputDetails.cpp | 56 - .../source/model/ImageSource.cpp | 40 - .../source/model/InputS3Object.cpp | 56 - .../source/model/InternalServerException.cpp | 41 - .../model/ListDatasetEntriesRequest.cpp | 63 - .../source/model/ListDatasetEntriesResult.cpp | 44 - .../model/ListModelPackagingJobsRequest.cpp | 33 - .../model/ListModelPackagingJobsResult.cpp | 45 - .../source/model/ListModelsRequest.cpp | 33 - .../source/model/ListModelsResult.cpp | 44 - .../source/model/ListProjectsRequest.cpp | 33 - .../source/model/ListProjectsResult.cpp | 44 - .../model/ListTagsForResourceRequest.cpp | 15 - .../model/ListTagsForResourceResult.cpp | 40 - .../source/model/ModelDescription.cpp | 144 - .../source/model/ModelHostingStatus.cpp | 73 - .../source/model/ModelMetadata.cpp | 88 - .../model/ModelPackagingConfiguration.cpp | 40 - .../model/ModelPackagingDescription.cpp | 120 - .../model/ModelPackagingJobMetadata.cpp | 104 - .../source/model/ModelPackagingJobStatus.cpp | 68 - .../model/ModelPackagingOutputDetails.cpp | 40 - .../source/model/ModelPerformance.cpp | 56 - .../source/model/ModelStatus.cpp | 93 - .../source/model/OutputConfig.cpp | 40 - .../source/model/OutputS3Object.cpp | 48 - .../source/model/PixelAnomaly.cpp | 48 - .../source/model/ProjectDescription.cpp | 71 - .../source/model/ProjectMetadata.cpp | 56 - .../model/ResourceNotFoundException.cpp | 56 - .../source/model/ResourceType.cpp | 73 - .../source/model/S3Location.cpp | 48 - .../model/ServiceQuotaExceededException.cpp | 72 - .../model/StartModelPackagingJobRequest.cpp | 48 - .../model/StartModelPackagingJobResult.cpp | 37 - .../source/model/StartModelRequest.cpp | 40 - .../source/model/StartModelResult.cpp | 37 - .../source/model/StopModelRequest.cpp | 28 - .../source/model/StopModelResult.cpp | 37 - .../source/model/Tag.cpp | 48 - .../source/model/TagResourceRequest.cpp | 27 - .../source/model/TagResourceResult.cpp | 33 - .../source/model/TargetDevice.cpp | 53 - .../source/model/TargetPlatform.cpp | 56 - .../model/TargetPlatformAccelerator.cpp | 53 - .../source/model/TargetPlatformArch.cpp | 58 - .../source/model/TargetPlatformOs.cpp | 53 - .../source/model/ThrottlingException.cpp | 57 - .../source/model/UntagResourceRequest.cpp | 29 - .../source/model/UntagResourceResult.cpp | 33 - .../model/UpdateDatasetEntriesRequest.cpp | 37 - .../model/UpdateDatasetEntriesResult.cpp | 37 - .../aws-cpp-sdk-qldb-session/CMakeLists.txt | 76 - .../aws/qldb-session/QLDBSessionClient.h | 142 - .../QLDBSessionEndpointProvider.h | 53 - .../qldb-session/QLDBSessionEndpointRules.h | 21 - .../qldb-session/QLDBSessionErrorMarshaller.h | 20 - .../aws/qldb-session/QLDBSessionErrors.h | 72 - .../aws/qldb-session/QLDBSessionRequest.h | 39 - .../QLDBSessionServiceClientModel.h | 77 - .../aws/qldb-session/QLDBSession_EXPORTS.h | 32 - .../model/AbortTransactionRequest.h | 35 - .../model/AbortTransactionResult.h | 59 - .../qldb-session/model/BadRequestException.h | 76 - .../model/CommitTransactionRequest.h | 88 - .../model/CommitTransactionResult.h | 125 - .../qldb-session/model/EndSessionRequest.h | 34 - .../aws/qldb-session/model/EndSessionResult.h | 58 - .../model/ExecuteStatementRequest.h | 108 - .../model/ExecuteStatementResult.h | 102 - .../aws/qldb-session/model/FetchPageRequest.h | 80 - .../aws/qldb-session/model/FetchPageResult.h | 102 - .../include/aws/qldb-session/model/IOUsage.h | 73 - .../model/InvalidSessionException.h | 76 - .../include/aws/qldb-session/model/Page.h | 87 - .../qldb-session/model/SendCommandRequest.h | 216 - .../qldb-session/model/SendCommandResult.h | 199 - .../qldb-session/model/StartSessionRequest.h | 58 - .../qldb-session/model/StartSessionResult.h | 82 - .../model/StartTransactionRequest.h | 34 - .../model/StartTransactionResult.h | 81 - .../qldb-session/model/TimingInformation.h | 56 - .../aws/qldb-session/model/ValueHolder.h | 83 - .../source/QLDBSessionClient.cpp | 167 - .../source/QLDBSessionEndpointProvider.cpp | 12 - .../source/QLDBSessionEndpointRules.cpp | 150 - .../source/QLDBSessionErrorMarshaller.cpp | 20 - .../source/QLDBSessionErrors.cpp | 61 - .../source/QLDBSessionRequest.cpp | 10 - .../source/model/AbortTransactionRequest.cpp | 33 - .../source/model/AbortTransactionResult.cpp | 40 - .../source/model/BadRequestException.cpp | 48 - .../source/model/CommitTransactionRequest.cpp | 49 - .../source/model/CommitTransactionResult.cpp | 65 - .../source/model/EndSessionRequest.cpp | 33 - .../source/model/EndSessionResult.cpp | 40 - .../source/model/ExecuteStatementRequest.cpp | 63 - .../source/model/ExecuteStatementResult.cpp | 56 - .../source/model/FetchPageRequest.cpp | 48 - .../source/model/FetchPageResult.cpp | 56 - .../source/model/IOUsage.cpp | 48 - .../source/model/InvalidSessionException.cpp | 48 - .../source/model/Page.cpp | 55 - .../source/model/SendCommandRequest.cpp | 57 - .../source/model/SendCommandResult.cpp | 61 - .../source/model/StartSessionRequest.cpp | 40 - .../source/model/StartSessionResult.cpp | 48 - .../source/model/StartTransactionRequest.cpp | 33 - .../source/model/StartTransactionResult.cpp | 48 - .../source/model/TimingInformation.cpp | 40 - .../source/model/ValueHolder.cpp | 49 - generated/src/aws-cpp-sdk-qldb/CMakeLists.txt | 76 - .../include/aws/qldb/QLDBClient.h | 704 -- .../include/aws/qldb/QLDBEndpointProvider.h | 50 - .../include/aws/qldb/QLDBEndpointRules.h | 21 - .../include/aws/qldb/QLDBErrorMarshaller.h | 20 - .../include/aws/qldb/QLDBErrors.h | 71 - .../include/aws/qldb/QLDBRequest.h | 39 - .../include/aws/qldb/QLDBServiceClientModel.h | 214 - .../include/aws/qldb/QLDB_EXPORTS.h | 32 - .../model/CancelJournalKinesisStreamRequest.h | 77 - .../model/CancelJournalKinesisStreamResult.h | 70 - .../aws/qldb/model/CreateLedgerRequest.h | 196 - .../aws/qldb/model/CreateLedgerResult.h | 196 - .../aws/qldb/model/DeleteLedgerRequest.h | 55 - .../DescribeJournalKinesisStreamRequest.h | 77 - .../DescribeJournalKinesisStreamResult.h | 72 - .../model/DescribeJournalS3ExportRequest.h | 77 - .../model/DescribeJournalS3ExportResult.h | 72 - .../aws/qldb/model/DescribeLedgerRequest.h | 55 - .../aws/qldb/model/DescribeLedgerResult.h | 198 - .../include/aws/qldb/model/EncryptionStatus.h | 22 - .../include/aws/qldb/model/ErrorCause.h | 22 - .../aws/qldb/model/ExportJournalToS3Request.h | 190 - .../aws/qldb/model/ExportJournalToS3Result.h | 73 - .../include/aws/qldb/model/ExportStatus.h | 22 - .../include/aws/qldb/model/GetBlockRequest.h | 104 - .../include/aws/qldb/model/GetBlockResult.h | 93 - .../include/aws/qldb/model/GetDigestRequest.h | 55 - .../include/aws/qldb/model/GetDigestResult.h | 95 - .../aws/qldb/model/GetRevisionRequest.h | 126 - .../aws/qldb/model/GetRevisionResult.h | 94 - .../qldb/model/InvalidParameterException.h | 78 - .../model/JournalKinesisStreamDescription.h | 280 - .../qldb/model/JournalS3ExportDescription.h | 234 - .../aws/qldb/model/KinesisConfiguration.h | 87 - .../qldb/model/LedgerEncryptionDescription.h | 128 - .../include/aws/qldb/model/LedgerState.h | 22 - .../include/aws/qldb/model/LedgerSummary.h | 103 - .../aws/qldb/model/LimitExceededException.h | 78 - ...istJournalKinesisStreamsForLedgerRequest.h | 105 - ...ListJournalKinesisStreamsForLedgerResult.h | 103 - .../ListJournalS3ExportsForLedgerRequest.h | 105 - .../ListJournalS3ExportsForLedgerResult.h | 104 - .../qldb/model/ListJournalS3ExportsRequest.h | 84 - .../qldb/model/ListJournalS3ExportsResult.h | 104 - .../aws/qldb/model/ListLedgersRequest.h | 83 - .../aws/qldb/model/ListLedgersResult.h | 105 - .../qldb/model/ListTagsForResourceRequest.h | 56 - .../qldb/model/ListTagsForResourceResult.h | 78 - .../include/aws/qldb/model/OutputFormat.h | 22 - .../include/aws/qldb/model/PermissionsMode.h | 22 - .../model/ResourceAlreadyExistsException.h | 98 - .../aws/qldb/model/ResourceInUseException.h | 99 - .../qldb/model/ResourceNotFoundException.h | 98 - .../ResourcePreconditionNotMetException.h | 99 - .../qldb/model/S3EncryptionConfiguration.h | 89 - .../aws/qldb/model/S3ExportConfiguration.h | 115 - .../aws/qldb/model/S3ObjectEncryptionType.h | 22 - .../model/StreamJournalToKinesisRequest.h | 212 - .../qldb/model/StreamJournalToKinesisResult.h | 71 - .../include/aws/qldb/model/StreamStatus.h | 22 - .../aws/qldb/model/TagResourceRequest.h | 88 - .../aws/qldb/model/TagResourceResult.h | 50 - .../aws/qldb/model/UntagResourceRequest.h | 90 - .../aws/qldb/model/UntagResourceResult.h | 50 - .../UpdateLedgerPermissionsModeRequest.h | 93 - .../model/UpdateLedgerPermissionsModeResult.h | 109 - .../aws/qldb/model/UpdateLedgerRequest.h | 125 - .../aws/qldb/model/UpdateLedgerResult.h | 178 - .../include/aws/qldb/model/ValueHolder.h | 60 - .../aws-cpp-sdk-qldb/source/QLDBClient.cpp | 892 -- .../source/QLDBEndpointProvider.cpp | 12 - .../source/QLDBEndpointRules.cpp | 149 - .../source/QLDBErrorMarshaller.cpp | 20 - .../aws-cpp-sdk-qldb/source/QLDBErrors.cpp | 86 - .../aws-cpp-sdk-qldb/source/QLDBRequest.cpp | 10 - .../CancelJournalKinesisStreamRequest.cpp | 15 - .../CancelJournalKinesisStreamResult.cpp | 37 - .../source/model/CreateLedgerRequest.cpp | 43 - .../source/model/CreateLedgerResult.cpp | 61 - .../source/model/DeleteLedgerRequest.cpp | 15 - .../DescribeJournalKinesisStreamRequest.cpp | 15 - .../DescribeJournalKinesisStreamResult.cpp | 39 - .../model/DescribeJournalS3ExportRequest.cpp | 15 - .../model/DescribeJournalS3ExportResult.cpp | 37 - .../source/model/DescribeLedgerRequest.cpp | 15 - .../source/model/DescribeLedgerResult.cpp | 61 - .../source/model/EncryptionStatus.cpp | 63 - .../source/model/ErrorCause.cpp | 58 - .../source/model/ExportJournalToS3Request.cpp | 39 - .../source/model/ExportJournalToS3Result.cpp | 37 - .../source/model/ExportStatus.cpp | 63 - .../source/model/GetBlockRequest.cpp | 27 - .../source/model/GetBlockResult.cpp | 41 - .../source/model/GetDigestRequest.cpp | 15 - .../source/model/GetDigestResult.cpp | 42 - .../source/model/GetRevisionRequest.cpp | 31 - .../source/model/GetRevisionResult.cpp | 41 - .../model/InvalidParameterException.cpp | 48 - .../model/JournalKinesisStreamDescription.cpp | 120 - .../model/JournalS3ExportDescription.cpp | 104 - .../source/model/KinesisConfiguration.cpp | 48 - .../model/LedgerEncryptionDescription.cpp | 56 - .../source/model/LedgerState.cpp | 68 - .../source/model/LedgerSummary.cpp | 56 - .../source/model/LimitExceededException.cpp | 48 - ...tJournalKinesisStreamsForLedgerRequest.cpp | 33 - ...stJournalKinesisStreamsForLedgerResult.cpp | 47 - .../ListJournalS3ExportsForLedgerRequest.cpp | 33 - .../ListJournalS3ExportsForLedgerResult.cpp | 46 - .../model/ListJournalS3ExportsRequest.cpp | 33 - .../model/ListJournalS3ExportsResult.cpp | 44 - .../source/model/ListLedgersRequest.cpp | 33 - .../source/model/ListLedgersResult.cpp | 44 - .../model/ListTagsForResourceRequest.cpp | 15 - .../model/ListTagsForResourceResult.cpp | 40 - .../source/model/OutputFormat.cpp | 63 - .../source/model/PermissionsMode.cpp | 58 - .../model/ResourceAlreadyExistsException.cpp | 56 - .../source/model/ResourceInUseException.cpp | 56 - .../model/ResourceNotFoundException.cpp | 56 - .../ResourcePreconditionNotMetException.cpp | 56 - .../model/S3EncryptionConfiguration.cpp | 48 - .../source/model/S3ExportConfiguration.cpp | 56 - .../source/model/S3ObjectEncryptionType.cpp | 63 - .../model/StreamJournalToKinesisRequest.cpp | 47 - .../model/StreamJournalToKinesisResult.cpp | 37 - .../source/model/StreamStatus.cpp | 73 - .../source/model/TagResourceRequest.cpp | 27 - .../source/model/TagResourceResult.cpp | 33 - .../source/model/UntagResourceRequest.cpp | 29 - .../source/model/UntagResourceResult.cpp | 33 - .../UpdateLedgerPermissionsModeRequest.cpp | 23 - .../UpdateLedgerPermissionsModeResult.cpp | 47 - .../source/model/UpdateLedgerRequest.cpp | 27 - .../source/model/UpdateLedgerResult.cpp | 57 - .../source/model/ValueHolder.cpp | 40 - .../src/aws-cpp-sdk-robomaker/CMakeLists.txt | 76 - .../include/aws/robomaker/RoboMakerClient.h | 1516 --- .../aws/robomaker/RoboMakerEndpointProvider.h | 53 - .../aws/robomaker/RoboMakerEndpointRules.h | 21 - .../aws/robomaker/RoboMakerErrorMarshaller.h | 20 - .../include/aws/robomaker/RoboMakerErrors.h | 71 - .../include/aws/robomaker/RoboMakerRequest.h | 39 - .../robomaker/RoboMakerServiceClientModel.h | 376 - .../include/aws/robomaker/RoboMaker_EXPORTS.h | 32 - .../aws/robomaker/model/Architecture.h | 22 - .../model/BatchDeleteWorldsRequest.h | 63 - .../robomaker/model/BatchDeleteWorldsResult.h | 78 - .../model/BatchDescribeSimulationJobRequest.h | 62 - .../model/BatchDescribeSimulationJobResult.h | 104 - .../include/aws/robomaker/model/BatchPolicy.h | 82 - .../model/CancelSimulationJobBatchRequest.h | 55 - .../model/CancelSimulationJobBatchResult.h | 50 - .../model/CancelSimulationJobRequest.h | 55 - .../model/CancelSimulationJobResult.h | 50 - .../model/CancelWorldExportJobRequest.h | 55 - .../model/CancelWorldExportJobResult.h | 50 - .../model/CancelWorldGenerationJobRequest.h | 55 - .../model/CancelWorldGenerationJobResult.h | 50 - .../include/aws/robomaker/model/Compute.h | 98 - .../aws/robomaker/model/ComputeResponse.h | 98 - .../include/aws/robomaker/model/ComputeType.h | 22 - .../model/CreateRobotApplicationRequest.h | 158 - .../model/CreateRobotApplicationResult.h | 250 - .../CreateRobotApplicationVersionRequest.h | 128 - .../CreateRobotApplicationVersionResult.h | 223 - .../CreateSimulationApplicationRequest.h | 202 - .../model/CreateSimulationApplicationResult.h | 292 - ...reateSimulationApplicationVersionRequest.h | 128 - ...CreateSimulationApplicationVersionResult.h | 266 - .../model/CreateSimulationJobRequest.h | 333 - .../model/CreateSimulationJobResult.h | 463 - .../model/CreateWorldExportJobRequest.h | 157 - .../model/CreateWorldExportJobResult.h | 238 - .../model/CreateWorldGenerationJobRequest.h | 158 - .../model/CreateWorldGenerationJobResult.h | 262 - .../model/CreateWorldTemplateRequest.h | 149 - .../model/CreateWorldTemplateResult.h | 161 - .../include/aws/robomaker/model/DataSource.h | 160 - .../aws/robomaker/model/DataSourceConfig.h | 159 - .../aws/robomaker/model/DataSourceType.h | 22 - .../model/DeleteRobotApplicationRequest.h | 76 - .../model/DeleteRobotApplicationResult.h | 50 - .../DeleteSimulationApplicationRequest.h | 76 - .../model/DeleteSimulationApplicationResult.h | 50 - .../model/DeleteWorldTemplateRequest.h | 55 - .../model/DeleteWorldTemplateResult.h | 50 - .../model/DeploymentApplicationConfig.h | 102 - .../aws/robomaker/model/DeploymentConfig.h | 117 - .../aws/robomaker/model/DeploymentJob.h | 214 - .../robomaker/model/DeploymentJobErrorCode.h | 48 - .../robomaker/model/DeploymentLaunchConfig.h | 153 - .../aws/robomaker/model/DeploymentStatus.h | 22 - .../model/DescribeRobotApplicationRequest.h | 76 - .../model/DescribeRobotApplicationResult.h | 271 - .../DescribeSimulationApplicationRequest.h | 76 - .../DescribeSimulationApplicationResult.h | 313 - .../model/DescribeSimulationJobBatchRequest.h | 55 - .../model/DescribeSimulationJobBatchResult.h | 346 - .../model/DescribeSimulationJobRequest.h | 55 - .../model/DescribeSimulationJobResult.h | 527 - .../model/DescribeWorldExportJobRequest.h | 55 - .../model/DescribeWorldExportJobResult.h | 281 - .../model/DescribeWorldGenerationJobRequest.h | 55 - .../model/DescribeWorldGenerationJobResult.h | 303 - .../robomaker/model/DescribeWorldRequest.h | 55 - .../aws/robomaker/model/DescribeWorldResult.h | 181 - .../model/DescribeWorldTemplateRequest.h | 56 - .../model/DescribeWorldTemplateResult.h | 202 - .../include/aws/robomaker/model/Environment.h | 59 - .../aws/robomaker/model/ExitBehavior.h | 22 - .../model/FailedCreateSimulationJobRequest.h | 124 - .../aws/robomaker/model/FailureBehavior.h | 22 - .../aws/robomaker/model/FailureSummary.h | 84 - .../include/aws/robomaker/model/Filter.h | 86 - .../robomaker/model/FinishedWorldsSummary.h | 106 - .../include/aws/robomaker/model/Fleet.h | 163 - .../model/GetWorldTemplateBodyRequest.h | 76 - .../model/GetWorldTemplateBodyResult.h | 70 - .../aws/robomaker/model/LaunchConfig.h | 185 - .../model/ListRobotApplicationsRequest.h | 138 - .../model/ListRobotApplicationsResult.h | 104 - .../model/ListSimulationApplicationsRequest.h | 138 - .../model/ListSimulationApplicationsResult.h | 106 - .../model/ListSimulationJobBatchesRequest.h | 112 - .../model/ListSimulationJobBatchesResult.h | 103 - .../model/ListSimulationJobsRequest.h | 120 - .../model/ListSimulationJobsResult.h | 103 - .../model/ListTagsForResourceRequest.h | 55 - .../model/ListTagsForResourceResult.h | 77 - .../model/ListWorldExportJobsRequest.h | 115 - .../model/ListWorldExportJobsResult.h | 103 - .../model/ListWorldGenerationJobsRequest.h | 116 - .../model/ListWorldGenerationJobsResult.h | 103 - .../model/ListWorldTemplatesRequest.h | 85 - .../model/ListWorldTemplatesResult.h | 103 - .../aws/robomaker/model/ListWorldsRequest.h | 114 - .../aws/robomaker/model/ListWorldsResult.h | 103 - .../aws/robomaker/model/LoggingConfig.h | 34 - .../aws/robomaker/model/NetworkInterface.h | 100 - .../aws/robomaker/model/OutputLocation.h | 80 - .../robomaker/model/PortForwardingConfig.h | 65 - .../include/aws/robomaker/model/PortMapping.h | 92 - .../aws/robomaker/model/ProgressDetail.h | 127 - .../aws/robomaker/model/RenderingEngine.h | 78 - .../aws/robomaker/model/RenderingEngineType.h | 22 - .../model/RestartSimulationJobRequest.h | 55 - .../model/RestartSimulationJobResult.h | 50 - .../include/aws/robomaker/model/Robot.h | 225 - .../robomaker/model/RobotApplicationConfig.h | 159 - .../robomaker/model/RobotApplicationSummary.h | 145 - .../aws/robomaker/model/RobotDeployment.h | 185 - .../aws/robomaker/model/RobotDeploymentStep.h | 31 - .../aws/robomaker/model/RobotSoftwareSuite.h | 78 - .../robomaker/model/RobotSoftwareSuiteType.h | 22 - .../model/RobotSoftwareSuiteVersionType.h | 22 - .../include/aws/robomaker/model/RobotStatus.h | 22 - .../include/aws/robomaker/model/S3KeyOutput.h | 79 - .../include/aws/robomaker/model/S3Object.h | 100 - .../model/SimulationApplicationConfig.h | 188 - .../model/SimulationApplicationSummary.h | 168 - .../aws/robomaker/model/SimulationJob.h | 515 - .../model/SimulationJobBatchErrorCode.h | 22 - .../model/SimulationJobBatchStatus.h | 33 - .../model/SimulationJobBatchSummary.h | 200 - .../robomaker/model/SimulationJobErrorCode.h | 55 - .../robomaker/model/SimulationJobRequest.h | 323 - .../aws/robomaker/model/SimulationJobStatus.h | 34 - .../robomaker/model/SimulationJobSummary.h | 224 - .../robomaker/model/SimulationSoftwareSuite.h | 80 - .../model/SimulationSoftwareSuiteType.h | 22 - .../include/aws/robomaker/model/Source.h | 121 - .../aws/robomaker/model/SourceConfig.h | 99 - .../model/StartSimulationJobBatchRequest.h | 137 - .../model/StartSimulationJobBatchResult.h | 324 - .../aws/robomaker/model/TagResourceRequest.h | 85 - .../aws/robomaker/model/TagResourceResult.h | 50 - .../aws/robomaker/model/TemplateLocation.h | 79 - .../aws/robomaker/model/TemplateSummary.h | 144 - .../include/aws/robomaker/model/Tool.h | 145 - .../robomaker/model/UntagResourceRequest.h | 90 - .../aws/robomaker/model/UntagResourceResult.h | 50 - .../model/UpdateRobotApplicationRequest.h | 149 - .../model/UpdateRobotApplicationResult.h | 222 - .../UpdateSimulationApplicationRequest.h | 194 - .../model/UpdateSimulationApplicationResult.h | 265 - .../model/UpdateWorldTemplateRequest.h | 119 - .../model/UpdateWorldTemplateResult.h | 133 - .../aws/robomaker/model/UploadBehavior.h | 22 - .../aws/robomaker/model/UploadConfiguration.h | 118 - .../include/aws/robomaker/model/VPCConfig.h | 114 - .../aws/robomaker/model/VPCConfigResponse.h | 133 - .../include/aws/robomaker/model/WorldConfig.h | 58 - .../include/aws/robomaker/model/WorldCount.h | 79 - .../robomaker/model/WorldExportJobErrorCode.h | 30 - .../robomaker/model/WorldExportJobStatus.h | 22 - .../robomaker/model/WorldExportJobSummary.h | 156 - .../aws/robomaker/model/WorldFailure.h | 105 - .../model/WorldGenerationJobErrorCode.h | 30 - .../model/WorldGenerationJobStatus.h | 22 - .../model/WorldGenerationJobSummary.h | 190 - .../aws/robomaker/model/WorldSummary.h | 122 - .../source/RoboMakerClient.cpp | 1465 --- .../source/RoboMakerEndpointProvider.cpp | 12 - .../source/RoboMakerEndpointRules.cpp | 150 - .../source/RoboMakerErrorMarshaller.cpp | 20 - .../source/RoboMakerErrors.cpp | 43 - .../source/RoboMakerRequest.cpp | 10 - .../source/model/Architecture.cpp | 63 - .../source/model/BatchDeleteWorldsRequest.cpp | 27 - .../source/model/BatchDeleteWorldsResult.cpp | 40 - .../BatchDescribeSimulationJobRequest.cpp | 27 - .../BatchDescribeSimulationJobResult.cpp | 47 - .../source/model/BatchPolicy.cpp | 48 - .../model/CancelSimulationJobBatchRequest.cpp | 23 - .../model/CancelSimulationJobBatchResult.cpp | 33 - .../model/CancelSimulationJobRequest.cpp | 23 - .../model/CancelSimulationJobResult.cpp | 33 - .../model/CancelWorldExportJobRequest.cpp | 23 - .../model/CancelWorldExportJobResult.cpp | 33 - .../model/CancelWorldGenerationJobRequest.cpp | 23 - .../model/CancelWorldGenerationJobResult.cpp | 33 - .../source/model/Compute.cpp | 56 - .../source/model/ComputeResponse.cpp | 56 - .../source/model/ComputeType.cpp | 58 - .../model/CreateRobotApplicationRequest.cpp | 47 - .../model/CreateRobotApplicationResult.cpp | 75 - .../CreateRobotApplicationVersionRequest.cpp | 39 - .../CreateRobotApplicationVersionResult.cpp | 70 - .../CreateSimulationApplicationRequest.cpp | 55 - .../CreateSimulationApplicationResult.cpp | 85 - ...ateSimulationApplicationVersionRequest.cpp | 39 - ...eateSimulationApplicationVersionResult.cpp | 79 - .../model/CreateSimulationJobRequest.cpp | 84 - .../model/CreateSimulationJobResult.cpp | 118 - .../model/CreateWorldExportJobRequest.cpp | 47 - .../model/CreateWorldExportJobResult.cpp | 68 - .../model/CreateWorldGenerationJobRequest.cpp | 47 - .../model/CreateWorldGenerationJobResult.cpp | 75 - .../model/CreateWorldTemplateRequest.cpp | 43 - .../model/CreateWorldTemplateResult.cpp | 56 - .../source/model/DataSource.cpp | 79 - .../source/model/DataSourceConfig.cpp | 79 - .../source/model/DataSourceType.cpp | 63 - .../model/DeleteRobotApplicationRequest.cpp | 27 - .../model/DeleteRobotApplicationResult.cpp | 33 - .../DeleteSimulationApplicationRequest.cpp | 27 - .../DeleteSimulationApplicationResult.cpp | 35 - .../model/DeleteWorldTemplateRequest.cpp | 23 - .../model/DeleteWorldTemplateResult.cpp | 33 - .../model/DeploymentApplicationConfig.cpp | 56 - .../source/model/DeploymentConfig.cpp | 64 - .../source/model/DeploymentJob.cpp | 106 - .../source/model/DeploymentJobErrorCode.cpp | 168 - .../source/model/DeploymentLaunchConfig.cpp | 79 - .../source/model/DeploymentStatus.cpp | 78 - .../model/DescribeRobotApplicationRequest.cpp | 27 - .../model/DescribeRobotApplicationResult.cpp | 79 - .../DescribeSimulationApplicationRequest.cpp | 27 - .../DescribeSimulationApplicationResult.cpp | 89 - .../DescribeSimulationJobBatchRequest.cpp | 23 - .../DescribeSimulationJobBatchResult.cpp | 93 - .../model/DescribeSimulationJobRequest.cpp | 23 - .../model/DescribeSimulationJobResult.cpp | 130 - .../model/DescribeWorldExportJobRequest.cpp | 23 - .../model/DescribeWorldExportJobResult.cpp | 79 - .../DescribeWorldGenerationJobRequest.cpp | 23 - .../DescribeWorldGenerationJobResult.cpp | 83 - .../source/model/DescribeWorldRequest.cpp | 23 - .../source/model/DescribeWorldResult.cpp | 60 - .../model/DescribeWorldTemplateRequest.cpp | 23 - .../model/DescribeWorldTemplateResult.cpp | 64 - .../source/model/Environment.cpp | 40 - .../source/model/ExitBehavior.cpp | 58 - .../FailedCreateSimulationJobRequest.cpp | 64 - .../source/model/FailureBehavior.cpp | 58 - .../source/model/FailureSummary.cpp | 55 - .../source/model/Filter.cpp | 55 - .../source/model/FinishedWorldsSummary.cpp | 63 - .../source/model/Fleet.cpp | 80 - .../model/GetWorldTemplateBodyRequest.cpp | 27 - .../model/GetWorldTemplateBodyResult.cpp | 37 - .../source/model/LaunchConfig.cpp | 94 - .../model/ListRobotApplicationsRequest.cpp | 39 - .../model/ListRobotApplicationsResult.cpp | 45 - .../ListSimulationApplicationsRequest.cpp | 39 - .../ListSimulationApplicationsResult.cpp | 45 - .../model/ListSimulationJobBatchesRequest.cpp | 35 - .../model/ListSimulationJobBatchesResult.cpp | 45 - .../model/ListSimulationJobsRequest.cpp | 35 - .../source/model/ListSimulationJobsResult.cpp | 45 - .../model/ListTagsForResourceRequest.cpp | 15 - .../model/ListTagsForResourceResult.cpp | 40 - .../model/ListWorldExportJobsRequest.cpp | 35 - .../model/ListWorldExportJobsResult.cpp | 45 - .../model/ListWorldGenerationJobsRequest.cpp | 35 - .../model/ListWorldGenerationJobsResult.cpp | 45 - .../model/ListWorldTemplatesRequest.cpp | 27 - .../source/model/ListWorldTemplatesResult.cpp | 44 - .../source/model/ListWorldsRequest.cpp | 35 - .../source/model/ListWorldsResult.cpp | 44 - .../source/model/LoggingConfig.cpp | 33 - .../source/model/NetworkInterface.cpp | 56 - .../source/model/OutputLocation.cpp | 48 - .../source/model/PortForwardingConfig.cpp | 47 - .../source/model/PortMapping.cpp | 56 - .../source/model/ProgressDetail.cpp | 64 - .../source/model/RenderingEngine.cpp | 48 - .../source/model/RenderingEngineType.cpp | 53 - .../model/RestartSimulationJobRequest.cpp | 23 - .../model/RestartSimulationJobResult.cpp | 33 - .../source/model/Robot.cpp | 104 - .../source/model/RobotApplicationConfig.cpp | 88 - .../source/model/RobotApplicationSummary.cpp | 72 - .../source/model/RobotDeployment.cpp | 88 - .../source/model/RobotDeploymentStep.cpp | 83 - .../source/model/RobotSoftwareSuite.cpp | 48 - .../source/model/RobotSoftwareSuiteType.cpp | 63 - .../model/RobotSoftwareSuiteVersionType.cpp | 68 - .../source/model/RobotStatus.cpp | 83 - .../source/model/S3KeyOutput.cpp | 48 - .../source/model/S3Object.cpp | 56 - .../model/SimulationApplicationConfig.cpp | 103 - .../model/SimulationApplicationSummary.cpp | 80 - .../source/model/SimulationJob.cpp | 230 - .../model/SimulationJobBatchErrorCode.cpp | 53 - .../source/model/SimulationJobBatchStatus.cpp | 93 - .../model/SimulationJobBatchSummary.cpp | 88 - .../source/model/SimulationJobErrorCode.cpp | 203 - .../source/model/SimulationJobRequest.cpp | 158 - .../source/model/SimulationJobStatus.cpp | 98 - .../source/model/SimulationJobSummary.cpp | 122 - .../source/model/SimulationSoftwareSuite.cpp | 48 - .../model/SimulationSoftwareSuiteType.cpp | 63 - .../source/model/Source.cpp | 64 - .../source/model/SourceConfig.cpp | 56 - .../model/StartSimulationJobBatchRequest.cpp | 45 - .../model/StartSimulationJobBatchResult.cpp | 89 - .../source/model/TagResourceRequest.cpp | 27 - .../source/model/TagResourceResult.cpp | 33 - .../source/model/TemplateLocation.cpp | 48 - .../source/model/TemplateSummary.cpp | 72 - .../source/model/Tool.cpp | 72 - .../source/model/UntagResourceRequest.cpp | 29 - .../source/model/UntagResourceResult.cpp | 33 - .../model/UpdateRobotApplicationRequest.cpp | 43 - .../model/UpdateRobotApplicationResult.cpp | 68 - .../UpdateSimulationApplicationRequest.cpp | 51 - .../UpdateSimulationApplicationResult.cpp | 78 - .../model/UpdateWorldTemplateRequest.cpp | 35 - .../model/UpdateWorldTemplateResult.cpp | 49 - .../source/model/UploadBehavior.cpp | 58 - .../source/model/UploadConfiguration.cpp | 56 - .../source/model/VPCConfig.cpp | 70 - .../source/model/VPCConfigResponse.cpp | 78 - .../source/model/WorldConfig.cpp | 40 - .../source/model/WorldCount.cpp | 48 - .../source/model/WorldExportJobErrorCode.cpp | 78 - .../source/model/WorldExportJobStatus.cpp | 78 - .../source/model/WorldExportJobSummary.cpp | 79 - .../source/model/WorldFailure.cpp | 56 - .../model/WorldGenerationJobErrorCode.cpp | 78 - .../source/model/WorldGenerationJobStatus.cpp | 83 - .../model/WorldGenerationJobSummary.cpp | 88 - .../source/model/WorldSummary.cpp | 64 - .../AppTestEndpointProviderTests.cpp | 404 - .../apptest-gen-tests/AppTestIncludeTests.cpp | 176 - .../tests/apptest-gen-tests/CMakeLists.txt | 42 - .../tests/apptest-gen-tests/RunTests.cpp | 29 - .../iotfleethub-gen-tests/CMakeLists.txt | 42 - .../IoTFleetHubEndpointProviderTests.cpp | 539 - .../IoTFleetHubIncludeTests.cpp | 46 - .../tests/iotfleethub-gen-tests/RunTests.cpp | 29 - .../lookoutmetrics-gen-tests/CMakeLists.txt | 42 - .../LookoutMetricsEndpointProviderTests.cpp | 476 - .../LookoutMetricsIncludeTests.cpp | 164 - .../lookoutmetrics-gen-tests/RunTests.cpp | 29 - .../lookoutvision-gen-tests/CMakeLists.txt | 42 - .../LookoutforVisionEndpointProviderTests.cpp | 458 - .../LookoutforVisionIncludeTests.cpp | 112 - .../lookoutvision-gen-tests/RunTests.cpp | 29 - generated/tests/qldb-gen-tests/CMakeLists.txt | 42 - .../QLDBEndpointProviderTests.cpp | 521 - .../tests/qldb-gen-tests/QLDBIncludeTests.cpp | 89 - generated/tests/qldb-gen-tests/RunTests.cpp | 29 - .../qldb-session-gen-tests/CMakeLists.txt | 42 - .../QLDBSessionEndpointProviderTests.cpp | 512 - .../QLDBSessionIncludeTests.cpp | 50 - .../tests/qldb-session-gen-tests/RunTests.cpp | 29 - .../tests/robomaker-gen-tests/CMakeLists.txt | 42 - .../RoboMakerEndpointProviderTests.cpp | 467 - .../RoboMakerIncludeTests.cpp | 185 - .../tests/robomaker-gen-tests/RunTests.cpp | 29 - .../apptest-2022-12-06.normal.json | 3510 ------ .../iotfleethub-2020-11-03.normal.json | 595 - .../lookoutmetrics-2017-07-25.normal.json | 3355 ----- .../lookoutvision-2020-11-20.normal.json | 2265 ---- .../qldb-2019-01-02.normal.json | 1476 --- .../qldb-session-2019-07-11.normal.json | 456 - .../robomaker-2018-06-29.normal.json | 5480 --------- .../apptest-2022-12-06.endpoint-rule-set.json | 350 - .../apptest-2022-12-06.endpoint-tests.json | 270 - ...fleethub-2020-11-03.endpoint-rule-set.json | 314 - ...iotfleethub-2020-11-03.endpoint-tests.json | 465 - ...tmetrics-2017-07-25.endpoint-rule-set.json | 314 - ...koutmetrics-2017-07-25.endpoint-tests.json | 374 - ...utvision-2020-11-20.endpoint-rule-set.json | 314 - ...okoutvision-2020-11-20.endpoint-tests.json | 348 - .../qldb-2019-01-02.endpoint-rule-set.json | 314 - .../qldb-2019-01-02.endpoint-tests.json | 439 - ...-session-2019-07-11.endpoint-rule-set.json | 314 - ...ldb-session-2019-07-11.endpoint-tests.json | 426 - ...obomaker-2018-06-29.endpoint-rule-set.json | 314 - .../robomaker-2018-06-29.endpoint-tests.json | 361 - .../smithy/api-descriptions/apptest.json | 6244 ---------- .../smithy/api-descriptions/iotfleethub.json | 1768 --- .../api-descriptions/lookoutmetrics.json | 6373 ---------- .../smithy/api-descriptions/qldb-session.json | 1457 --- .../smithy/api-descriptions/qldb.json | 3166 ----- .../smithy/api-descriptions/robomaker.json | 10244 ---------------- 1412 files changed, 168857 deletions(-) delete mode 100644 generated/src/aws-cpp-sdk-apptest/CMakeLists.txt delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestClient.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestEndpointProvider.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestEndpointRules.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestErrorMarshaller.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestErrors.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestServiceClientModel.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTest_EXPORTS.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Batch.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/BatchStepInput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/BatchStepOutput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/BatchSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CaptureTool.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormation.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormationAction.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormationActionType.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormationStepSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareAction.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareActionSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDataSetsStepInput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDataSetsStepOutput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDataSetsSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDatabaseCDCStepInput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDatabaseCDCStepOutput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDatabaseCDCSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareFileType.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ComparisonStatusEnum.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ConflictException.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateCloudFormationStepInput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateCloudFormationStepOutput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateCloudFormationSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestCaseRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestCaseResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestConfigurationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestConfigurationResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestSuiteRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestSuiteResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DataSet.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DataSetType.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DatabaseCDC.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteCloudFormationStepInput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteCloudFormationStepOutput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteCloudFormationSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestCaseRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestCaseResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestConfigurationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestConfigurationResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestRunRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestRunResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestSuiteRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestSuiteResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/File.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/FileMetadata.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Format.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestCaseRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestCaseResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestConfigurationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestConfigurationResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestRunStepRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestRunStepResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestSuiteRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestSuiteResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Input.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/InputFile.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/InternalServerException.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTagsForResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTagsForResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestCasesRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestCasesResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestConfigurationsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestConfigurationsResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunStepsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunStepsResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunTestCasesRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunTestCasesResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunsResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestSuitesRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestSuitesResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedActionProperties.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedActionType.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplication.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationAction.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationStepInput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationStepOutput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationStepSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedRuntime.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedActionType.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplication.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationAction.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationStepInput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationStepOutput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationStepSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedRuntime.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeAction.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeActionProperties.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeActionSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeActionType.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeResourceSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Output.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/OutputFile.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Resource.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceAction.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceActionSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceNotFoundException.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceType.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Script.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ScriptSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ScriptType.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ServiceQuotaExceededException.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ServiceSettings.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/SourceDatabase.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/SourceDatabaseMetadata.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StartTestRunRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StartTestRunResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Step.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StepAction.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StepRunStatus.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StepRunSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270StepInput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270StepOutput.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270Summary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TagResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TagResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TargetDatabase.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TargetDatabaseMetadata.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseLatestVersion.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseLifecycle.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseRunStatus.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseRunSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCases.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestConfigurationLatestVersion.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestConfigurationLifecycle.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestConfigurationSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestRunStatus.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestRunStepSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestRunSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestSuiteLatestVersion.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestSuiteLifecycle.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestSuiteSummary.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ThrottlingException.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UntagResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UntagResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestCaseRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestCaseResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestConfigurationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestConfigurationResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestSuiteRequest.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestSuiteResult.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ValidationException.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ValidationExceptionField.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ValidationExceptionReason.h delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/AppTestClient.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/AppTestEndpointProvider.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/AppTestEndpointRules.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/AppTestErrorMarshaller.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/AppTestErrors.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/AppTestRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/Batch.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/BatchStepInput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/BatchStepOutput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/BatchSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CaptureTool.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CloudFormation.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CloudFormationAction.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CloudFormationActionType.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CloudFormationStepSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CompareAction.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CompareActionSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CompareDataSetsStepInput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CompareDataSetsStepOutput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CompareDataSetsSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CompareDatabaseCDCStepInput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CompareDatabaseCDCStepOutput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CompareDatabaseCDCSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CompareFileType.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ComparisonStatusEnum.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ConflictException.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CreateCloudFormationStepInput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CreateCloudFormationStepOutput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CreateCloudFormationSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CreateTestCaseRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CreateTestCaseResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CreateTestConfigurationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CreateTestConfigurationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CreateTestSuiteRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/CreateTestSuiteResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/DataSet.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/DataSetType.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/DatabaseCDC.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/DeleteCloudFormationStepInput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/DeleteCloudFormationStepOutput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/DeleteCloudFormationSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestCaseRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestCaseResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestConfigurationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestConfigurationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestRunRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestRunResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestSuiteRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestSuiteResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/File.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/FileMetadata.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/Format.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/GetTestCaseRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/GetTestCaseResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/GetTestConfigurationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/GetTestConfigurationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/GetTestRunStepRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/GetTestRunStepResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/GetTestSuiteRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/GetTestSuiteResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/Input.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/InputFile.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/InternalServerException.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ListTagsForResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ListTagsForResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ListTestCasesRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ListTestCasesResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ListTestConfigurationsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ListTestConfigurationsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunStepsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunStepsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunTestCasesRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunTestCasesResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ListTestSuitesRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ListTestSuitesResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedActionProperties.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedActionType.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplication.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationAction.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationStepInput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationStepOutput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationStepSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedRuntime.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedActionType.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplication.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationAction.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationStepInput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationStepOutput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationStepSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedRuntime.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/MainframeAction.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/MainframeActionProperties.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/MainframeActionSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/MainframeActionType.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/MainframeResourceSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/Output.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/OutputFile.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/Resource.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ResourceAction.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ResourceActionSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ResourceNotFoundException.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ResourceType.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/Script.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ScriptSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ScriptType.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ServiceQuotaExceededException.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ServiceSettings.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/SourceDatabase.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/SourceDatabaseMetadata.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/StartTestRunRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/StartTestRunResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/Step.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/StepAction.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/StepRunStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/StepRunSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TN3270.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TN3270StepInput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TN3270StepOutput.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TN3270Summary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TagResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TagResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TargetDatabase.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TargetDatabaseMetadata.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestCaseLatestVersion.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestCaseLifecycle.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestCaseRunStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestCaseRunSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestCaseSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestCases.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestConfigurationLatestVersion.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestConfigurationLifecycle.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestConfigurationSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestRunStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestRunStepSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestRunSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestSuiteLatestVersion.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestSuiteLifecycle.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/TestSuiteSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ThrottlingException.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/UntagResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/UntagResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestCaseRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestCaseResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestConfigurationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestConfigurationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestSuiteRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestSuiteResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ValidationException.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ValidationExceptionField.cpp delete mode 100644 generated/src/aws-cpp-sdk-apptest/source/model/ValidationExceptionReason.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/CMakeLists.txt delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubClient.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubEndpointProvider.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubEndpointRules.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubErrorMarshaller.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubErrors.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubRequest.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubServiceClientModel.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHub_EXPORTS.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ApplicationState.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ApplicationSummary.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/CreateApplicationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/CreateApplicationResult.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DeleteApplicationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DeleteApplicationResult.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DescribeApplicationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DescribeApplicationResult.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListApplicationsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListApplicationsResult.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListTagsForResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListTagsForResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/TagResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/TagResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UntagResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UntagResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UpdateApplicationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UpdateApplicationResult.h delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubClient.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubEndpointProvider.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubEndpointRules.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubErrorMarshaller.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubErrors.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/ApplicationState.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/ApplicationSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/CreateApplicationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/CreateApplicationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/DeleteApplicationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/DeleteApplicationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/DescribeApplicationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/DescribeApplicationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/ListApplicationsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/ListApplicationsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/ListTagsForResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/ListTagsForResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/TagResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/TagResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/UntagResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/UntagResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/UpdateApplicationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-iotfleethub/source/model/UpdateApplicationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/CMakeLists.txt delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsClient.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsEndpointProvider.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsEndpointRules.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsErrorMarshaller.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsErrors.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsServiceClientModel.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetrics_EXPORTS.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Action.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ActivateAnomalyDetectorRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ActivateAnomalyDetectorResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AggregationFunction.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Alert.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertFilters.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertStatus.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertSummary.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertType.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectionTaskStatus.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorConfig.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorConfigSummary.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorDataQualityMetric.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorFailureType.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorStatus.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorSummary.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroup.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupStatistics.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupSummary.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupTimeSeries.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupTimeSeriesFeedback.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AppFlowConfig.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AthenaSourceConfig.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AttributeValue.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AutoDetectionMetricSource.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AutoDetectionS3SourceConfig.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/BackTestAnomalyDetectorRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/BackTestAnomalyDetectorResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/BackTestConfiguration.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CSVFileCompression.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CloudWatchConfig.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Confidence.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ConflictException.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ContributionMatrix.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAlertRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAlertResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAnomalyDetectorRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAnomalyDetectorResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateMetricSetRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateMetricSetResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CsvFormatDescriptor.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DataQualityMetric.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DataQualityMetricType.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeactivateAnomalyDetectorRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeactivateAnomalyDetectorResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAlertRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAlertResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAnomalyDetectorRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAnomalyDetectorResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAlertRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAlertResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectionExecutionsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectionExecutionsResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectorRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectorResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeMetricSetRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeMetricSetResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectMetricSetConfigRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectMetricSetConfigResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedCsvFormatDescriptor.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedField.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedFileFormatDescriptor.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedJsonFormatDescriptor.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedMetricSetConfig.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedMetricSource.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedS3SourceConfig.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionContribution.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionFilter.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionNameValue.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionValueContribution.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ExecutionStatus.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/FileFormatDescriptor.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Filter.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/FilterOperation.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Frequency.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetAnomalyGroupRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetAnomalyGroupResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetDataQualityMetricsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetDataQualityMetricsResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetFeedbackRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetFeedbackResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetSampleDataRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetSampleDataResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/InterMetricImpactDetails.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ItemizedMetricStats.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/JsonFileCompression.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/JsonFormatDescriptor.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/LambdaConfiguration.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAlertsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAlertsResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyDetectorsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyDetectorsResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupRelatedMetricsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupRelatedMetricsResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupSummariesRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupSummariesResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupTimeSeriesRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupTimeSeriesResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListMetricSetsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListMetricSetsResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListTagsForResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListTagsForResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Metric.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricLevelImpact.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSetDataQualityMetric.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSetDimensionFilter.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSetSummary.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSource.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/PutFeedbackRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/PutFeedbackResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/RDSSourceConfig.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/RedshiftSourceConfig.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/RelationshipType.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ResourceNotFoundException.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/S3SourceConfig.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/SNSConfiguration.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/SampleDataS3SourceConfig.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ServiceQuotaExceededException.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/SnsFormat.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TagResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TagResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TimeSeries.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TimeSeriesFeedback.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TimestampColumn.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UntagResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UntagResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAlertRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAlertResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAnomalyDetectorRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAnomalyDetectorResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateMetricSetRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateMetricSetResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ValidationException.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ValidationExceptionField.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ValidationExceptionReason.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/VpcConfiguration.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsClient.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsEndpointProvider.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsEndpointRules.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsErrorMarshaller.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsErrors.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Action.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ActivateAnomalyDetectorRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ActivateAnomalyDetectorResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AggregationFunction.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Alert.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertFilters.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertType.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectionTaskStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorConfigSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorDataQualityMetric.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorFailureType.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroup.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupStatistics.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupTimeSeries.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupTimeSeriesFeedback.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AppFlowConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AthenaSourceConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AttributeValue.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AutoDetectionMetricSource.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AutoDetectionS3SourceConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/BackTestAnomalyDetectorRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/BackTestAnomalyDetectorResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/BackTestConfiguration.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CSVFileCompression.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CloudWatchConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Confidence.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ConflictException.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ContributionMatrix.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAlertRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAlertResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAnomalyDetectorRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAnomalyDetectorResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateMetricSetRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateMetricSetResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CsvFormatDescriptor.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DataQualityMetric.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DataQualityMetricType.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeactivateAnomalyDetectorRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeactivateAnomalyDetectorResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAlertRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAlertResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAnomalyDetectorRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAnomalyDetectorResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAlertRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAlertResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectionExecutionsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectionExecutionsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectorRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectorResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeMetricSetRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeMetricSetResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectMetricSetConfigRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectMetricSetConfigResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedCsvFormatDescriptor.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedField.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedFileFormatDescriptor.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedJsonFormatDescriptor.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedMetricSetConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedMetricSource.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedS3SourceConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionContribution.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionFilter.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionNameValue.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionValueContribution.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ExecutionStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/FileFormatDescriptor.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Filter.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/FilterOperation.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Frequency.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetAnomalyGroupRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetAnomalyGroupResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetDataQualityMetricsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetDataQualityMetricsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetFeedbackRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetFeedbackResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetSampleDataRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetSampleDataResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/InterMetricImpactDetails.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ItemizedMetricStats.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/JsonFileCompression.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/JsonFormatDescriptor.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/LambdaConfiguration.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAlertsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAlertsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyDetectorsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyDetectorsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupRelatedMetricsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupRelatedMetricsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupSummariesRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupSummariesResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupTimeSeriesRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupTimeSeriesResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListMetricSetsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListMetricSetsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListTagsForResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListTagsForResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Metric.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricLevelImpact.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSetDataQualityMetric.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSetDimensionFilter.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSetSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSource.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/PutFeedbackRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/PutFeedbackResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/RDSSourceConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/RedshiftSourceConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/RelationshipType.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ResourceNotFoundException.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/S3SourceConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/SNSConfiguration.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/SampleDataS3SourceConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ServiceQuotaExceededException.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/SnsFormat.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TagResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TagResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TimeSeries.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TimeSeriesFeedback.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TimestampColumn.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UntagResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UntagResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAlertRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAlertResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAnomalyDetectorRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAnomalyDetectorResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateMetricSetRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateMetricSetResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ValidationException.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ValidationExceptionField.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ValidationExceptionReason.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutmetrics/source/model/VpcConfiguration.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/CMakeLists.txt delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionClient.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionEndpointProvider.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionEndpointRules.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionErrorMarshaller.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionErrors.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionServiceClientModel.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVision_EXPORTS.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/Anomaly.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ConflictException.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateDatasetRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateDatasetResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateModelRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateModelResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateProjectRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateProjectResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetDescription.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetGroundTruthManifest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetImageStats.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetMetadata.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetSource.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetStatus.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteDatasetRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteDatasetResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteModelRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteModelResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteProjectRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteProjectResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeDatasetRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeDatasetResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelPackagingJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelPackagingJobResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeProjectRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeProjectResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DetectAnomaliesRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DetectAnomaliesResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DetectAnomalyResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/GreengrassConfiguration.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/GreengrassOutputDetails.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ImageSource.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/InputS3Object.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/InternalServerException.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListDatasetEntriesRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListDatasetEntriesResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelPackagingJobsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelPackagingJobsResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelsResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListProjectsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListProjectsResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListTagsForResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListTagsForResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelDescription.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelHostingStatus.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelMetadata.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingConfiguration.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingDescription.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingJobMetadata.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingJobStatus.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingOutputDetails.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPerformance.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelStatus.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/OutputConfig.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/OutputS3Object.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/PixelAnomaly.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ProjectDescription.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ProjectMetadata.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ResourceNotFoundException.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ResourceType.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/S3Location.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ServiceQuotaExceededException.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelPackagingJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelPackagingJobResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StopModelRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StopModelResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/Tag.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TagResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TagResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetDevice.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatform.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatformAccelerator.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatformArch.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatformOs.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ThrottlingException.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UntagResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UntagResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UpdateDatasetEntriesRequest.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UpdateDatasetEntriesResult.h delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionClient.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionEndpointProvider.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionEndpointRules.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionErrorMarshaller.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionErrors.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/Anomaly.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ConflictException.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateDatasetRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateDatasetResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateModelRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateModelResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateProjectRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateProjectResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetDescription.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetGroundTruthManifest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetImageStats.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetMetadata.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetSource.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteDatasetRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteDatasetResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteModelRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteModelResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteProjectRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteProjectResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeDatasetRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeDatasetResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelPackagingJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelPackagingJobResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeProjectRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeProjectResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DetectAnomaliesRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DetectAnomaliesResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/DetectAnomalyResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/GreengrassConfiguration.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/GreengrassOutputDetails.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ImageSource.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/InputS3Object.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/InternalServerException.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ListDatasetEntriesRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ListDatasetEntriesResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ListModelPackagingJobsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ListModelPackagingJobsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ListModelsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ListModelsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ListProjectsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ListProjectsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ListTagsForResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ListTagsForResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelDescription.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelHostingStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelMetadata.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingConfiguration.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingDescription.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingJobMetadata.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingJobStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingOutputDetails.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPerformance.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/OutputConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/OutputS3Object.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/PixelAnomaly.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ProjectDescription.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ProjectMetadata.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ResourceNotFoundException.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ResourceType.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/S3Location.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ServiceQuotaExceededException.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelPackagingJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelPackagingJobResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/StopModelRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/StopModelResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/Tag.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/TagResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/TagResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetDevice.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatform.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatformAccelerator.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatformArch.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatformOs.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/ThrottlingException.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/UntagResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/UntagResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/UpdateDatasetEntriesRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-lookoutvision/source/model/UpdateDatasetEntriesResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/CMakeLists.txt delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionClient.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionEndpointProvider.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionEndpointRules.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionErrorMarshaller.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionErrors.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionServiceClientModel.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSession_EXPORTS.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/AbortTransactionRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/AbortTransactionResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/BadRequestException.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/CommitTransactionRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/CommitTransactionResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/EndSessionRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/EndSessionResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/ExecuteStatementRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/ExecuteStatementResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/FetchPageRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/FetchPageResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/IOUsage.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/InvalidSessionException.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/Page.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/SendCommandRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/SendCommandResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartSessionRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartSessionResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartTransactionRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartTransactionResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/TimingInformation.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/ValueHolder.h delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionClient.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionEndpointProvider.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionEndpointRules.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionErrorMarshaller.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionErrors.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/AbortTransactionRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/AbortTransactionResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/BadRequestException.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/CommitTransactionRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/CommitTransactionResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/EndSessionRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/EndSessionResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/ExecuteStatementRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/ExecuteStatementResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/FetchPageRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/FetchPageResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/IOUsage.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/InvalidSessionException.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/Page.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/SendCommandRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/SendCommandResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/StartSessionRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/StartSessionResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/StartTransactionRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/StartTransactionResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/TimingInformation.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb-session/source/model/ValueHolder.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/CMakeLists.txt delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBClient.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBEndpointProvider.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBEndpointRules.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBErrorMarshaller.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBErrors.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBServiceClientModel.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDB_EXPORTS.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CancelJournalKinesisStreamRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CancelJournalKinesisStreamResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CreateLedgerRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CreateLedgerResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DeleteLedgerRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalKinesisStreamRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalKinesisStreamResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalS3ExportRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalS3ExportResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeLedgerRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeLedgerResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/EncryptionStatus.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ErrorCause.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ExportJournalToS3Request.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ExportJournalToS3Result.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ExportStatus.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetBlockRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetBlockResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetDigestRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetDigestResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetRevisionRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetRevisionResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/InvalidParameterException.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/JournalKinesisStreamDescription.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/JournalS3ExportDescription.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/KinesisConfiguration.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LedgerEncryptionDescription.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LedgerState.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LedgerSummary.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LimitExceededException.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalKinesisStreamsForLedgerRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalKinesisStreamsForLedgerResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsForLedgerRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsForLedgerResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListLedgersRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListLedgersResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListTagsForResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListTagsForResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/OutputFormat.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/PermissionsMode.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourceAlreadyExistsException.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourceInUseException.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourceNotFoundException.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourcePreconditionNotMetException.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/S3EncryptionConfiguration.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/S3ExportConfiguration.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/S3ObjectEncryptionType.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/StreamJournalToKinesisRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/StreamJournalToKinesisResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/StreamStatus.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/TagResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/TagResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UntagResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UntagResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerPermissionsModeRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerPermissionsModeResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerRequest.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerResult.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ValueHolder.h delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/QLDBClient.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/QLDBEndpointProvider.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/QLDBEndpointRules.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/QLDBErrorMarshaller.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/QLDBErrors.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/QLDBRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/CancelJournalKinesisStreamRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/CancelJournalKinesisStreamResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/CreateLedgerRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/CreateLedgerResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/DeleteLedgerRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalKinesisStreamRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalKinesisStreamResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalS3ExportRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalS3ExportResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/DescribeLedgerRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/DescribeLedgerResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/EncryptionStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ErrorCause.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ExportJournalToS3Request.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ExportJournalToS3Result.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ExportStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/GetBlockRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/GetBlockResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/GetDigestRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/GetDigestResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/GetRevisionRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/GetRevisionResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/InvalidParameterException.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/JournalKinesisStreamDescription.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/JournalS3ExportDescription.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/KinesisConfiguration.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/LedgerEncryptionDescription.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/LedgerState.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/LedgerSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/LimitExceededException.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ListJournalKinesisStreamsForLedgerRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ListJournalKinesisStreamsForLedgerResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsForLedgerRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsForLedgerResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ListLedgersRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ListLedgersResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ListTagsForResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ListTagsForResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/OutputFormat.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/PermissionsMode.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ResourceAlreadyExistsException.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ResourceInUseException.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ResourceNotFoundException.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ResourcePreconditionNotMetException.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/S3EncryptionConfiguration.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/S3ExportConfiguration.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/S3ObjectEncryptionType.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/StreamJournalToKinesisRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/StreamJournalToKinesisResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/StreamStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/TagResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/TagResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/UntagResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/UntagResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerPermissionsModeRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerPermissionsModeResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-qldb/source/model/ValueHolder.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/CMakeLists.txt delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerClient.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerEndpointProvider.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerEndpointRules.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerErrorMarshaller.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerErrors.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerServiceClientModel.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMaker_EXPORTS.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Architecture.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDeleteWorldsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDeleteWorldsResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDescribeSimulationJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDescribeSimulationJobResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchPolicy.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobBatchRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobBatchResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldExportJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldExportJobResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldGenerationJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldGenerationJobResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Compute.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ComputeResponse.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ComputeType.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationVersionRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationVersionResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationVersionRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationVersionResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationJobResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldExportJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldExportJobResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldGenerationJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldGenerationJobResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldTemplateRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldTemplateResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DataSource.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DataSourceConfig.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DataSourceType.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteRobotApplicationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteRobotApplicationResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteSimulationApplicationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteSimulationApplicationResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteWorldTemplateRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteWorldTemplateResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentApplicationConfig.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentConfig.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentJob.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentJobErrorCode.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentLaunchConfig.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentStatus.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeRobotApplicationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeRobotApplicationResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationApplicationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationApplicationResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobBatchRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobBatchResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldExportJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldExportJobResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldGenerationJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldGenerationJobResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldTemplateRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldTemplateResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Environment.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ExitBehavior.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FailedCreateSimulationJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FailureBehavior.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FailureSummary.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Filter.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FinishedWorldsSummary.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Fleet.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/GetWorldTemplateBodyRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/GetWorldTemplateBodyResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/LaunchConfig.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListRobotApplicationsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListRobotApplicationsResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationApplicationsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationApplicationsResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobBatchesRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobBatchesResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobsResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListTagsForResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListTagsForResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldExportJobsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldExportJobsResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldGenerationJobsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldGenerationJobsResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldTemplatesRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldTemplatesResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldsRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldsResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/LoggingConfig.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/NetworkInterface.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/OutputLocation.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/PortForwardingConfig.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/PortMapping.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ProgressDetail.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RenderingEngine.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RenderingEngineType.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RestartSimulationJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RestartSimulationJobResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Robot.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotApplicationConfig.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotApplicationSummary.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotDeployment.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotDeploymentStep.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotSoftwareSuite.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotSoftwareSuiteType.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotSoftwareSuiteVersionType.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotStatus.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/S3KeyOutput.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/S3Object.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationApplicationConfig.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationApplicationSummary.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJob.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobBatchErrorCode.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobBatchStatus.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobBatchSummary.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobErrorCode.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobStatus.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobSummary.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationSoftwareSuite.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationSoftwareSuiteType.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Source.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SourceConfig.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/StartSimulationJobBatchRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/StartSimulationJobBatchResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TagResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TagResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TemplateLocation.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TemplateSummary.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Tool.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UntagResourceRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UntagResourceResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateRobotApplicationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateRobotApplicationResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateSimulationApplicationRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateSimulationApplicationResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateWorldTemplateRequest.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateWorldTemplateResult.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UploadBehavior.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UploadConfiguration.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/VPCConfig.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/VPCConfigResponse.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldConfig.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldCount.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldExportJobErrorCode.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldExportJobStatus.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldExportJobSummary.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldFailure.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldGenerationJobErrorCode.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldGenerationJobStatus.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldGenerationJobSummary.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldSummary.h delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/RoboMakerClient.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/RoboMakerEndpointProvider.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/RoboMakerEndpointRules.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/RoboMakerErrorMarshaller.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/RoboMakerErrors.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/RoboMakerRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/Architecture.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/BatchDeleteWorldsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/BatchDeleteWorldsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/BatchDescribeSimulationJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/BatchDescribeSimulationJobResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/BatchPolicy.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobBatchRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobBatchResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldExportJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldExportJobResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldGenerationJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldGenerationJobResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/Compute.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ComputeResponse.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ComputeType.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationVersionRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationVersionResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationVersionRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationVersionResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationJobResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldExportJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldExportJobResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldGenerationJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldGenerationJobResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldTemplateRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldTemplateResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DataSource.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DataSourceConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DataSourceType.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DeleteRobotApplicationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DeleteRobotApplicationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DeleteSimulationApplicationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DeleteSimulationApplicationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DeleteWorldTemplateRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DeleteWorldTemplateResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentApplicationConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentJob.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentJobErrorCode.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentLaunchConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeRobotApplicationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeRobotApplicationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationApplicationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationApplicationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobBatchRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobBatchResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldExportJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldExportJobResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldGenerationJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldGenerationJobResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldTemplateRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldTemplateResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/Environment.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ExitBehavior.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/FailedCreateSimulationJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/FailureBehavior.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/FailureSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/Filter.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/FinishedWorldsSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/Fleet.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/GetWorldTemplateBodyRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/GetWorldTemplateBodyResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/LaunchConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListRobotApplicationsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListRobotApplicationsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationApplicationsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationApplicationsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobBatchesRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobBatchesResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListTagsForResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListTagsForResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldExportJobsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldExportJobsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldGenerationJobsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldGenerationJobsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldTemplatesRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldTemplatesResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldsRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldsResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/LoggingConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/NetworkInterface.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/OutputLocation.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/PortForwardingConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/PortMapping.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/ProgressDetail.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/RenderingEngine.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/RenderingEngineType.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/RestartSimulationJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/RestartSimulationJobResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/Robot.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/RobotApplicationConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/RobotApplicationSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/RobotDeployment.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/RobotDeploymentStep.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/RobotSoftwareSuite.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/RobotSoftwareSuiteType.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/RobotSoftwareSuiteVersionType.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/RobotStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/S3KeyOutput.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/S3Object.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/SimulationApplicationConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/SimulationApplicationSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJob.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobBatchErrorCode.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobBatchStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobBatchSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobErrorCode.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/SimulationSoftwareSuite.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/SimulationSoftwareSuiteType.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/Source.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/SourceConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/StartSimulationJobBatchRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/StartSimulationJobBatchResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/TagResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/TagResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/TemplateLocation.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/TemplateSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/Tool.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/UntagResourceRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/UntagResourceResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/UpdateRobotApplicationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/UpdateRobotApplicationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/UpdateSimulationApplicationRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/UpdateSimulationApplicationResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/UpdateWorldTemplateRequest.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/UpdateWorldTemplateResult.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/UploadBehavior.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/UploadConfiguration.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/VPCConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/VPCConfigResponse.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/WorldConfig.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/WorldCount.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/WorldExportJobErrorCode.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/WorldExportJobStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/WorldExportJobSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/WorldFailure.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/WorldGenerationJobErrorCode.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/WorldGenerationJobStatus.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/WorldGenerationJobSummary.cpp delete mode 100644 generated/src/aws-cpp-sdk-robomaker/source/model/WorldSummary.cpp delete mode 100644 generated/tests/apptest-gen-tests/AppTestEndpointProviderTests.cpp delete mode 100644 generated/tests/apptest-gen-tests/AppTestIncludeTests.cpp delete mode 100644 generated/tests/apptest-gen-tests/CMakeLists.txt delete mode 100644 generated/tests/apptest-gen-tests/RunTests.cpp delete mode 100644 generated/tests/iotfleethub-gen-tests/CMakeLists.txt delete mode 100644 generated/tests/iotfleethub-gen-tests/IoTFleetHubEndpointProviderTests.cpp delete mode 100644 generated/tests/iotfleethub-gen-tests/IoTFleetHubIncludeTests.cpp delete mode 100644 generated/tests/iotfleethub-gen-tests/RunTests.cpp delete mode 100644 generated/tests/lookoutmetrics-gen-tests/CMakeLists.txt delete mode 100644 generated/tests/lookoutmetrics-gen-tests/LookoutMetricsEndpointProviderTests.cpp delete mode 100644 generated/tests/lookoutmetrics-gen-tests/LookoutMetricsIncludeTests.cpp delete mode 100644 generated/tests/lookoutmetrics-gen-tests/RunTests.cpp delete mode 100644 generated/tests/lookoutvision-gen-tests/CMakeLists.txt delete mode 100644 generated/tests/lookoutvision-gen-tests/LookoutforVisionEndpointProviderTests.cpp delete mode 100644 generated/tests/lookoutvision-gen-tests/LookoutforVisionIncludeTests.cpp delete mode 100644 generated/tests/lookoutvision-gen-tests/RunTests.cpp delete mode 100644 generated/tests/qldb-gen-tests/CMakeLists.txt delete mode 100644 generated/tests/qldb-gen-tests/QLDBEndpointProviderTests.cpp delete mode 100644 generated/tests/qldb-gen-tests/QLDBIncludeTests.cpp delete mode 100644 generated/tests/qldb-gen-tests/RunTests.cpp delete mode 100644 generated/tests/qldb-session-gen-tests/CMakeLists.txt delete mode 100644 generated/tests/qldb-session-gen-tests/QLDBSessionEndpointProviderTests.cpp delete mode 100644 generated/tests/qldb-session-gen-tests/QLDBSessionIncludeTests.cpp delete mode 100644 generated/tests/qldb-session-gen-tests/RunTests.cpp delete mode 100644 generated/tests/robomaker-gen-tests/CMakeLists.txt delete mode 100644 generated/tests/robomaker-gen-tests/RoboMakerEndpointProviderTests.cpp delete mode 100644 generated/tests/robomaker-gen-tests/RoboMakerIncludeTests.cpp delete mode 100644 generated/tests/robomaker-gen-tests/RunTests.cpp delete mode 100644 tools/code-generation/api-descriptions/apptest-2022-12-06.normal.json delete mode 100644 tools/code-generation/api-descriptions/iotfleethub-2020-11-03.normal.json delete mode 100644 tools/code-generation/api-descriptions/lookoutmetrics-2017-07-25.normal.json delete mode 100644 tools/code-generation/api-descriptions/lookoutvision-2020-11-20.normal.json delete mode 100644 tools/code-generation/api-descriptions/qldb-2019-01-02.normal.json delete mode 100644 tools/code-generation/api-descriptions/qldb-session-2019-07-11.normal.json delete mode 100644 tools/code-generation/api-descriptions/robomaker-2018-06-29.normal.json delete mode 100644 tools/code-generation/endpoints/apptest-2022-12-06.endpoint-rule-set.json delete mode 100644 tools/code-generation/endpoints/apptest-2022-12-06.endpoint-tests.json delete mode 100644 tools/code-generation/endpoints/iotfleethub-2020-11-03.endpoint-rule-set.json delete mode 100644 tools/code-generation/endpoints/iotfleethub-2020-11-03.endpoint-tests.json delete mode 100644 tools/code-generation/endpoints/lookoutmetrics-2017-07-25.endpoint-rule-set.json delete mode 100644 tools/code-generation/endpoints/lookoutmetrics-2017-07-25.endpoint-tests.json delete mode 100644 tools/code-generation/endpoints/lookoutvision-2020-11-20.endpoint-rule-set.json delete mode 100644 tools/code-generation/endpoints/lookoutvision-2020-11-20.endpoint-tests.json delete mode 100644 tools/code-generation/endpoints/qldb-2019-01-02.endpoint-rule-set.json delete mode 100644 tools/code-generation/endpoints/qldb-2019-01-02.endpoint-tests.json delete mode 100644 tools/code-generation/endpoints/qldb-session-2019-07-11.endpoint-rule-set.json delete mode 100644 tools/code-generation/endpoints/qldb-session-2019-07-11.endpoint-tests.json delete mode 100644 tools/code-generation/endpoints/robomaker-2018-06-29.endpoint-rule-set.json delete mode 100644 tools/code-generation/endpoints/robomaker-2018-06-29.endpoint-tests.json delete mode 100644 tools/code-generation/smithy/api-descriptions/apptest.json delete mode 100644 tools/code-generation/smithy/api-descriptions/iotfleethub.json delete mode 100644 tools/code-generation/smithy/api-descriptions/lookoutmetrics.json delete mode 100644 tools/code-generation/smithy/api-descriptions/qldb-session.json delete mode 100644 tools/code-generation/smithy/api-descriptions/qldb.json delete mode 100644 tools/code-generation/smithy/api-descriptions/robomaker.json diff --git a/generated/src/aws-cpp-sdk-apptest/CMakeLists.txt b/generated/src/aws-cpp-sdk-apptest/CMakeLists.txt deleted file mode 100644 index 63b3ea440d0..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/CMakeLists.txt +++ /dev/null @@ -1,76 +0,0 @@ -add_project(aws-cpp-sdk-apptest "C++ SDK for the AWS apptest service" aws-cpp-sdk-core) - -file(GLOB AWS_APPTEST_HEADERS - "include/aws/apptest/*.h" -) - -file(GLOB AWS_APPTEST_MODEL_HEADERS - "include/aws/apptest/model/*.h" -) - -file(GLOB AWS_APPTEST_SOURCE - "source/*.cpp" -) - -file(GLOB AWS_APPTEST_MODEL_SOURCE - "source/model/*.cpp" -) - -file(GLOB APPTEST_UNIFIED_HEADERS - ${AWS_APPTEST_HEADERS} - ${AWS_APPTEST_MODEL_HEADERS} -) - -file(GLOB APPTEST_UNITY_SRC - ${AWS_APPTEST_SOURCE} - ${AWS_APPTEST_MODEL_SOURCE} -) - -if(ENABLE_UNITY_BUILD) - enable_unity_build("APPTEST" APPTEST_UNITY_SRC) -endif() - -file(GLOB APPTEST_SRC - ${APPTEST_UNIFIED_HEADERS} - ${APPTEST_UNITY_SRC} -) - -if(WIN32) - #if we are compiling for visual studio, create a sane directory tree. - if(MSVC) - source_group("Header Files\\aws\\apptest" FILES ${AWS_APPTEST_HEADERS}) - source_group("Header Files\\aws\\apptest\\model" FILES ${AWS_APPTEST_MODEL_HEADERS}) - source_group("Source Files" FILES ${AWS_APPTEST_SOURCE}) - source_group("Source Files\\model" FILES ${AWS_APPTEST_MODEL_SOURCE}) - endif(MSVC) -endif() - -set(APPTEST_INCLUDES - "${CMAKE_CURRENT_SOURCE_DIR}/include/" -) - -add_library(${PROJECT_NAME} ${APPTEST_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_APPTEST_EXPORTS") -endif() - -target_include_directories(${PROJECT_NAME} PUBLIC - $ - $) - -target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS}) - - -setup_install() - -install (FILES ${AWS_APPTEST_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/apptest) -install (FILES ${AWS_APPTEST_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/apptest/model) - -do_packaging() - - diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestClient.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestClient.h deleted file mode 100644 index d4716632d32..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestClient.h +++ /dev/null @@ -1,701 +0,0 @@ -/** - * 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 AppTest { -/** - *

AWS Mainframe Modernization Application Testing provides tools and resources - * for automated functional equivalence testing for your migration projects.

- */ -class AWS_APPTEST_API AppTestClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods { - public: - typedef Aws::Client::AWSJsonClient BASECLASS; - static const char* GetServiceName(); - static const char* GetAllocationTag(); - - typedef AppTestClientConfiguration ClientConfigurationType; - typedef AppTestEndpointProvider 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. - */ - AppTestClient(const Aws::AppTest::AppTestClientConfiguration& clientConfiguration = Aws::AppTest::AppTestClientConfiguration(), - 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. - */ - AppTestClient(const Aws::Auth::AWSCredentials& credentials, std::shared_ptr endpointProvider = nullptr, - const Aws::AppTest::AppTestClientConfiguration& clientConfiguration = Aws::AppTest::AppTestClientConfiguration()); - - /** - * 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 - */ - AppTestClient(const std::shared_ptr& credentialsProvider, - std::shared_ptr endpointProvider = nullptr, - const Aws::AppTest::AppTestClientConfiguration& clientConfiguration = Aws::AppTest::AppTestClientConfiguration()); - - /* 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. - */ - AppTestClient(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. - */ - AppTestClient(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 - */ - AppTestClient(const std::shared_ptr& credentialsProvider, - const Aws::Client::ClientConfiguration& clientConfiguration); - - /* End of legacy constructors due deprecation */ - virtual ~AppTestClient(); - - /** - *

Creates a test case.

See Also:

AWS - * API Reference

- */ - virtual Model::CreateTestCaseOutcome CreateTestCase(const Model::CreateTestCaseRequest& request) const; - - /** - * A Callable wrapper for CreateTestCase that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::CreateTestCaseOutcomeCallable CreateTestCaseCallable(const CreateTestCaseRequestT& request) const { - return SubmitCallable(&AppTestClient::CreateTestCase, request); - } - - /** - * An Async wrapper for CreateTestCase that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void CreateTestCaseAsync(const CreateTestCaseRequestT& request, const CreateTestCaseResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::CreateTestCase, request, handler, context); - } - - /** - *

Creates a test configuration.

See Also:

AWS - * API Reference

- */ - virtual Model::CreateTestConfigurationOutcome CreateTestConfiguration(const Model::CreateTestConfigurationRequest& request) const; - - /** - * A Callable wrapper for CreateTestConfiguration that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::CreateTestConfigurationOutcomeCallable CreateTestConfigurationCallable(const CreateTestConfigurationRequestT& request) const { - return SubmitCallable(&AppTestClient::CreateTestConfiguration, request); - } - - /** - * An Async wrapper for CreateTestConfiguration that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void CreateTestConfigurationAsync(const CreateTestConfigurationRequestT& request, - const CreateTestConfigurationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::CreateTestConfiguration, request, handler, context); - } - - /** - *

Creates a test suite.

See Also:

AWS - * API Reference

- */ - virtual Model::CreateTestSuiteOutcome CreateTestSuite(const Model::CreateTestSuiteRequest& request) const; - - /** - * A Callable wrapper for CreateTestSuite that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::CreateTestSuiteOutcomeCallable CreateTestSuiteCallable(const CreateTestSuiteRequestT& request) const { - return SubmitCallable(&AppTestClient::CreateTestSuite, request); - } - - /** - * An Async wrapper for CreateTestSuite that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void CreateTestSuiteAsync(const CreateTestSuiteRequestT& request, const CreateTestSuiteResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::CreateTestSuite, request, handler, context); - } - - /** - *

Deletes a test case.

See Also:

AWS - * API Reference

- */ - virtual Model::DeleteTestCaseOutcome DeleteTestCase(const Model::DeleteTestCaseRequest& request) const; - - /** - * A Callable wrapper for DeleteTestCase that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DeleteTestCaseOutcomeCallable DeleteTestCaseCallable(const DeleteTestCaseRequestT& request) const { - return SubmitCallable(&AppTestClient::DeleteTestCase, request); - } - - /** - * An Async wrapper for DeleteTestCase that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DeleteTestCaseAsync(const DeleteTestCaseRequestT& request, const DeleteTestCaseResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::DeleteTestCase, request, handler, context); - } - - /** - *

Deletes a test configuration.

See Also:

AWS - * API Reference

- */ - virtual Model::DeleteTestConfigurationOutcome DeleteTestConfiguration(const Model::DeleteTestConfigurationRequest& request) const; - - /** - * A Callable wrapper for DeleteTestConfiguration that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DeleteTestConfigurationOutcomeCallable DeleteTestConfigurationCallable(const DeleteTestConfigurationRequestT& request) const { - return SubmitCallable(&AppTestClient::DeleteTestConfiguration, request); - } - - /** - * An Async wrapper for DeleteTestConfiguration that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DeleteTestConfigurationAsync(const DeleteTestConfigurationRequestT& request, - const DeleteTestConfigurationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::DeleteTestConfiguration, request, handler, context); - } - - /** - *

Deletes a test run.

See Also:

AWS - * API Reference

- */ - virtual Model::DeleteTestRunOutcome DeleteTestRun(const Model::DeleteTestRunRequest& request) const; - - /** - * A Callable wrapper for DeleteTestRun that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DeleteTestRunOutcomeCallable DeleteTestRunCallable(const DeleteTestRunRequestT& request) const { - return SubmitCallable(&AppTestClient::DeleteTestRun, request); - } - - /** - * An Async wrapper for DeleteTestRun that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DeleteTestRunAsync(const DeleteTestRunRequestT& request, const DeleteTestRunResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::DeleteTestRun, request, handler, context); - } - - /** - *

Deletes a test suite.

See Also:

AWS - * API Reference

- */ - virtual Model::DeleteTestSuiteOutcome DeleteTestSuite(const Model::DeleteTestSuiteRequest& request) const; - - /** - * A Callable wrapper for DeleteTestSuite that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DeleteTestSuiteOutcomeCallable DeleteTestSuiteCallable(const DeleteTestSuiteRequestT& request) const { - return SubmitCallable(&AppTestClient::DeleteTestSuite, request); - } - - /** - * An Async wrapper for DeleteTestSuite that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DeleteTestSuiteAsync(const DeleteTestSuiteRequestT& request, const DeleteTestSuiteResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::DeleteTestSuite, request, handler, context); - } - - /** - *

Gets a test case.

See Also:

AWS - * API Reference

- */ - virtual Model::GetTestCaseOutcome GetTestCase(const Model::GetTestCaseRequest& request) const; - - /** - * A Callable wrapper for GetTestCase that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::GetTestCaseOutcomeCallable GetTestCaseCallable(const GetTestCaseRequestT& request) const { - return SubmitCallable(&AppTestClient::GetTestCase, request); - } - - /** - * An Async wrapper for GetTestCase that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void GetTestCaseAsync(const GetTestCaseRequestT& request, const GetTestCaseResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::GetTestCase, request, handler, context); - } - - /** - *

Gets a test configuration.

See Also:

AWS - * API Reference

- */ - virtual Model::GetTestConfigurationOutcome GetTestConfiguration(const Model::GetTestConfigurationRequest& request) const; - - /** - * A Callable wrapper for GetTestConfiguration that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::GetTestConfigurationOutcomeCallable GetTestConfigurationCallable(const GetTestConfigurationRequestT& request) const { - return SubmitCallable(&AppTestClient::GetTestConfiguration, request); - } - - /** - * An Async wrapper for GetTestConfiguration that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void GetTestConfigurationAsync(const GetTestConfigurationRequestT& request, const GetTestConfigurationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::GetTestConfiguration, request, handler, context); - } - - /** - *

Gets a test run step.

See Also:

AWS - * API Reference

- */ - virtual Model::GetTestRunStepOutcome GetTestRunStep(const Model::GetTestRunStepRequest& request) const; - - /** - * A Callable wrapper for GetTestRunStep that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::GetTestRunStepOutcomeCallable GetTestRunStepCallable(const GetTestRunStepRequestT& request) const { - return SubmitCallable(&AppTestClient::GetTestRunStep, request); - } - - /** - * An Async wrapper for GetTestRunStep that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void GetTestRunStepAsync(const GetTestRunStepRequestT& request, const GetTestRunStepResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::GetTestRunStep, request, handler, context); - } - - /** - *

Gets a test suite.

See Also:

AWS - * API Reference

- */ - virtual Model::GetTestSuiteOutcome GetTestSuite(const Model::GetTestSuiteRequest& request) const; - - /** - * A Callable wrapper for GetTestSuite that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::GetTestSuiteOutcomeCallable GetTestSuiteCallable(const GetTestSuiteRequestT& request) const { - return SubmitCallable(&AppTestClient::GetTestSuite, request); - } - - /** - * An Async wrapper for GetTestSuite that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void GetTestSuiteAsync(const GetTestSuiteRequestT& request, const GetTestSuiteResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::GetTestSuite, request, handler, context); - } - - /** - *

Lists tags for a resource.

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(&AppTestClient::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(&AppTestClient::ListTagsForResource, request, handler, context); - } - - /** - *

Lists test cases.

See Also:

AWS - * API Reference

- */ - virtual Model::ListTestCasesOutcome ListTestCases(const Model::ListTestCasesRequest& request = {}) const; - - /** - * A Callable wrapper for ListTestCases that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::ListTestCasesOutcomeCallable ListTestCasesCallable(const ListTestCasesRequestT& request = {}) const { - return SubmitCallable(&AppTestClient::ListTestCases, request); - } - - /** - * An Async wrapper for ListTestCases that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void ListTestCasesAsync(const ListTestCasesResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListTestCasesRequestT& request = {}) const { - return SubmitAsync(&AppTestClient::ListTestCases, request, handler, context); - } - - /** - *

Lists test configurations.

See Also:

AWS - * API Reference

- */ - virtual Model::ListTestConfigurationsOutcome ListTestConfigurations(const Model::ListTestConfigurationsRequest& request = {}) const; - - /** - * A Callable wrapper for ListTestConfigurations that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListTestConfigurationsOutcomeCallable ListTestConfigurationsCallable(const ListTestConfigurationsRequestT& request = {}) const { - return SubmitCallable(&AppTestClient::ListTestConfigurations, request); - } - - /** - * An Async wrapper for ListTestConfigurations that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void ListTestConfigurationsAsync(const ListTestConfigurationsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListTestConfigurationsRequestT& request = {}) const { - return SubmitAsync(&AppTestClient::ListTestConfigurations, request, handler, context); - } - - /** - *

Lists test run steps.

See Also:

AWS - * API Reference

- */ - virtual Model::ListTestRunStepsOutcome ListTestRunSteps(const Model::ListTestRunStepsRequest& request) const; - - /** - * A Callable wrapper for ListTestRunSteps that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListTestRunStepsOutcomeCallable ListTestRunStepsCallable(const ListTestRunStepsRequestT& request) const { - return SubmitCallable(&AppTestClient::ListTestRunSteps, request); - } - - /** - * An Async wrapper for ListTestRunSteps that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void ListTestRunStepsAsync(const ListTestRunStepsRequestT& request, const ListTestRunStepsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::ListTestRunSteps, request, handler, context); - } - - /** - *

Lists test run test cases.

See Also:

AWS - * API Reference

- */ - virtual Model::ListTestRunTestCasesOutcome ListTestRunTestCases(const Model::ListTestRunTestCasesRequest& request) const; - - /** - * A Callable wrapper for ListTestRunTestCases that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListTestRunTestCasesOutcomeCallable ListTestRunTestCasesCallable(const ListTestRunTestCasesRequestT& request) const { - return SubmitCallable(&AppTestClient::ListTestRunTestCases, request); - } - - /** - * An Async wrapper for ListTestRunTestCases that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void ListTestRunTestCasesAsync(const ListTestRunTestCasesRequestT& request, const ListTestRunTestCasesResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::ListTestRunTestCases, request, handler, context); - } - - /** - *

Lists test runs.

See Also:

AWS - * API Reference

- */ - virtual Model::ListTestRunsOutcome ListTestRuns(const Model::ListTestRunsRequest& request = {}) const; - - /** - * A Callable wrapper for ListTestRuns that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::ListTestRunsOutcomeCallable ListTestRunsCallable(const ListTestRunsRequestT& request = {}) const { - return SubmitCallable(&AppTestClient::ListTestRuns, request); - } - - /** - * An Async wrapper for ListTestRuns that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void ListTestRunsAsync(const ListTestRunsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListTestRunsRequestT& request = {}) const { - return SubmitAsync(&AppTestClient::ListTestRuns, request, handler, context); - } - - /** - *

Lists test suites.

See Also:

AWS - * API Reference

- */ - virtual Model::ListTestSuitesOutcome ListTestSuites(const Model::ListTestSuitesRequest& request = {}) const; - - /** - * A Callable wrapper for ListTestSuites that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::ListTestSuitesOutcomeCallable ListTestSuitesCallable(const ListTestSuitesRequestT& request = {}) const { - return SubmitCallable(&AppTestClient::ListTestSuites, request); - } - - /** - * An Async wrapper for ListTestSuites that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void ListTestSuitesAsync(const ListTestSuitesResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListTestSuitesRequestT& request = {}) const { - return SubmitAsync(&AppTestClient::ListTestSuites, request, handler, context); - } - - /** - *

Starts a test run.

See Also:

AWS - * API Reference

- */ - virtual Model::StartTestRunOutcome StartTestRun(const Model::StartTestRunRequest& request) const; - - /** - * A Callable wrapper for StartTestRun that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::StartTestRunOutcomeCallable StartTestRunCallable(const StartTestRunRequestT& request) const { - return SubmitCallable(&AppTestClient::StartTestRun, request); - } - - /** - * An Async wrapper for StartTestRun that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void StartTestRunAsync(const StartTestRunRequestT& request, const StartTestRunResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::StartTestRun, request, handler, context); - } - - /** - *

Specifies tags of a resource.

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(&AppTestClient::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(&AppTestClient::TagResource, request, handler, context); - } - - /** - *

Untags a 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(&AppTestClient::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(&AppTestClient::UntagResource, request, handler, context); - } - - /** - *

Updates a test case.

See Also:

AWS - * API Reference

- */ - virtual Model::UpdateTestCaseOutcome UpdateTestCase(const Model::UpdateTestCaseRequest& request) const; - - /** - * A Callable wrapper for UpdateTestCase that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::UpdateTestCaseOutcomeCallable UpdateTestCaseCallable(const UpdateTestCaseRequestT& request) const { - return SubmitCallable(&AppTestClient::UpdateTestCase, request); - } - - /** - * An Async wrapper for UpdateTestCase that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void UpdateTestCaseAsync(const UpdateTestCaseRequestT& request, const UpdateTestCaseResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::UpdateTestCase, request, handler, context); - } - - /** - *

Updates a test configuration.

See Also:

AWS - * API Reference

- */ - virtual Model::UpdateTestConfigurationOutcome UpdateTestConfiguration(const Model::UpdateTestConfigurationRequest& request) const; - - /** - * A Callable wrapper for UpdateTestConfiguration that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::UpdateTestConfigurationOutcomeCallable UpdateTestConfigurationCallable(const UpdateTestConfigurationRequestT& request) const { - return SubmitCallable(&AppTestClient::UpdateTestConfiguration, request); - } - - /** - * An Async wrapper for UpdateTestConfiguration that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void UpdateTestConfigurationAsync(const UpdateTestConfigurationRequestT& request, - const UpdateTestConfigurationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::UpdateTestConfiguration, request, handler, context); - } - - /** - *

Updates a test suite.

See Also:

AWS - * API Reference

- */ - virtual Model::UpdateTestSuiteOutcome UpdateTestSuite(const Model::UpdateTestSuiteRequest& request) const; - - /** - * A Callable wrapper for UpdateTestSuite that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::UpdateTestSuiteOutcomeCallable UpdateTestSuiteCallable(const UpdateTestSuiteRequestT& request) const { - return SubmitCallable(&AppTestClient::UpdateTestSuite, request); - } - - /** - * An Async wrapper for UpdateTestSuite that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void UpdateTestSuiteAsync(const UpdateTestSuiteRequestT& request, const UpdateTestSuiteResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&AppTestClient::UpdateTestSuite, request, handler, context); - } - - void OverrideEndpoint(const Aws::String& endpoint); - std::shared_ptr& accessEndpointProvider(); - - private: - friend class Aws::Client::ClientWithAsyncTemplateMethods; - void init(const AppTestClientConfiguration& clientConfiguration); - - AppTestClientConfiguration m_clientConfiguration; - std::shared_ptr m_endpointProvider; -}; - -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestEndpointProvider.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestEndpointProvider.h deleted file mode 100644 index ddac23e8baf..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestEndpointProvider.h +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 AppTest { -namespace Endpoint { -using EndpointParameters = Aws::Endpoint::EndpointParameters; -using Aws::Endpoint::DefaultEndpointProvider; -using Aws::Endpoint::EndpointProviderBase; - -using AppTestClientContextParameters = Aws::Endpoint::ClientContextParameters; - -using AppTestClientConfiguration = Aws::Client::GenericClientConfiguration; -using AppTestBuiltInParameters = Aws::Endpoint::BuiltInParameters; - -/** - * The type for the AppTest 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 AppTestEndpointProviderBase = - EndpointProviderBase; - -using AppTestDefaultEpProviderBase = - DefaultEndpointProvider; - -/** - * Default endpoint provider used for this service - */ -class AWS_APPTEST_API AppTestEndpointProvider : public AppTestDefaultEpProviderBase { - public: - using AppTestResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; - - AppTestEndpointProvider() - : AppTestDefaultEpProviderBase(Aws::AppTest::AppTestEndpointRules::GetRulesBlob(), - Aws::AppTest::AppTestEndpointRules::RulesBlobSize) {} - - ~AppTestEndpointProvider() {} -}; -} // namespace Endpoint -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestEndpointRules.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestEndpointRules.h deleted file mode 100644 index e678079a287..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestEndpointRules.h +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include - -#include - -namespace Aws { -namespace AppTest { -class AppTestEndpointRules { - public: - static const size_t RulesBlobStrLen; - static const size_t RulesBlobSize; - - static const char* GetRulesBlob(); -}; -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestErrorMarshaller.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestErrorMarshaller.h deleted file mode 100644 index 8d554b6ed9a..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestErrorMarshaller.h +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 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_APPTEST_API AppTestErrorMarshaller : 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-apptest/include/aws/apptest/AppTestErrors.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestErrors.h deleted file mode 100644 index b847750db3c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestErrors.h +++ /dev/null @@ -1,69 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once - -#include -#include -#include - -namespace Aws { -namespace AppTest { -enum class AppTestErrors { - // 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_APPTEST_API AppTestError : public Aws::Client::AWSError { - public: - AppTestError() {} - AppTestError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} - AppTestError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} - AppTestError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} - AppTestError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} - - template - T GetModeledError(); -}; - -namespace AppTestErrorMapper { -AWS_APPTEST_API Aws::Client::AWSError GetErrorForName(const char* errorName); -} - -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestRequest.h deleted file mode 100644 index 8cf90280982..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestRequest.h +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 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 AppTest { -class AWS_APPTEST_API AppTestRequest : public Aws::AmazonSerializableWebServiceRequest { - public: - using EndpointParameter = Aws::Endpoint::EndpointParameter; - using EndpointParameters = Aws::Endpoint::EndpointParameters; - - virtual ~AppTestRequest() {} - - 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, "2022-12-06")); - return headers; - } - - protected: - virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); } -}; - -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestServiceClientModel.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestServiceClientModel.h deleted file mode 100644 index 85d547d83d1..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTestServiceClientModel.h +++ /dev/null @@ -1,241 +0,0 @@ -/** - * 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 AppTestClient header */ -#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 -/* End of service model headers required in AppTestClient header */ - -namespace Aws { -namespace Http { -class HttpClient; -class HttpClientFactory; -} // namespace Http - -namespace Utils { -template -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 AppTest { -using AppTestClientConfiguration = Aws::Client::GenericClientConfiguration; -using AppTestEndpointProviderBase = Aws::AppTest::Endpoint::AppTestEndpointProviderBase; -using AppTestEndpointProvider = Aws::AppTest::Endpoint::AppTestEndpointProvider; - -namespace Model { -/* Service model forward declarations required in AppTestClient header */ -class CreateTestCaseRequest; -class CreateTestConfigurationRequest; -class CreateTestSuiteRequest; -class DeleteTestCaseRequest; -class DeleteTestConfigurationRequest; -class DeleteTestRunRequest; -class DeleteTestSuiteRequest; -class GetTestCaseRequest; -class GetTestConfigurationRequest; -class GetTestRunStepRequest; -class GetTestSuiteRequest; -class ListTagsForResourceRequest; -class ListTestCasesRequest; -class ListTestConfigurationsRequest; -class ListTestRunStepsRequest; -class ListTestRunTestCasesRequest; -class ListTestRunsRequest; -class ListTestSuitesRequest; -class StartTestRunRequest; -class TagResourceRequest; -class UntagResourceRequest; -class UpdateTestCaseRequest; -class UpdateTestConfigurationRequest; -class UpdateTestSuiteRequest; -/* End of service model forward declarations required in AppTestClient header */ - -/* Service model Outcome class definitions */ -typedef Aws::Utils::Outcome CreateTestCaseOutcome; -typedef Aws::Utils::Outcome CreateTestConfigurationOutcome; -typedef Aws::Utils::Outcome CreateTestSuiteOutcome; -typedef Aws::Utils::Outcome DeleteTestCaseOutcome; -typedef Aws::Utils::Outcome DeleteTestConfigurationOutcome; -typedef Aws::Utils::Outcome DeleteTestRunOutcome; -typedef Aws::Utils::Outcome DeleteTestSuiteOutcome; -typedef Aws::Utils::Outcome GetTestCaseOutcome; -typedef Aws::Utils::Outcome GetTestConfigurationOutcome; -typedef Aws::Utils::Outcome GetTestRunStepOutcome; -typedef Aws::Utils::Outcome GetTestSuiteOutcome; -typedef Aws::Utils::Outcome ListTagsForResourceOutcome; -typedef Aws::Utils::Outcome ListTestCasesOutcome; -typedef Aws::Utils::Outcome ListTestConfigurationsOutcome; -typedef Aws::Utils::Outcome ListTestRunStepsOutcome; -typedef Aws::Utils::Outcome ListTestRunTestCasesOutcome; -typedef Aws::Utils::Outcome ListTestRunsOutcome; -typedef Aws::Utils::Outcome ListTestSuitesOutcome; -typedef Aws::Utils::Outcome StartTestRunOutcome; -typedef Aws::Utils::Outcome TagResourceOutcome; -typedef Aws::Utils::Outcome UntagResourceOutcome; -typedef Aws::Utils::Outcome UpdateTestCaseOutcome; -typedef Aws::Utils::Outcome UpdateTestConfigurationOutcome; -typedef Aws::Utils::Outcome UpdateTestSuiteOutcome; -/* End of service model Outcome class definitions */ - -/* Service model Outcome callable definitions */ -typedef std::future CreateTestCaseOutcomeCallable; -typedef std::future CreateTestConfigurationOutcomeCallable; -typedef std::future CreateTestSuiteOutcomeCallable; -typedef std::future DeleteTestCaseOutcomeCallable; -typedef std::future DeleteTestConfigurationOutcomeCallable; -typedef std::future DeleteTestRunOutcomeCallable; -typedef std::future DeleteTestSuiteOutcomeCallable; -typedef std::future GetTestCaseOutcomeCallable; -typedef std::future GetTestConfigurationOutcomeCallable; -typedef std::future GetTestRunStepOutcomeCallable; -typedef std::future GetTestSuiteOutcomeCallable; -typedef std::future ListTagsForResourceOutcomeCallable; -typedef std::future ListTestCasesOutcomeCallable; -typedef std::future ListTestConfigurationsOutcomeCallable; -typedef std::future ListTestRunStepsOutcomeCallable; -typedef std::future ListTestRunTestCasesOutcomeCallable; -typedef std::future ListTestRunsOutcomeCallable; -typedef std::future ListTestSuitesOutcomeCallable; -typedef std::future StartTestRunOutcomeCallable; -typedef std::future TagResourceOutcomeCallable; -typedef std::future UntagResourceOutcomeCallable; -typedef std::future UpdateTestCaseOutcomeCallable; -typedef std::future UpdateTestConfigurationOutcomeCallable; -typedef std::future UpdateTestSuiteOutcomeCallable; -/* End of service model Outcome callable definitions */ -} // namespace Model - -class AppTestClient; - -/* Service model async handlers definitions */ -typedef std::function&)> - CreateTestCaseResponseReceivedHandler; -typedef std::function&)> - CreateTestConfigurationResponseReceivedHandler; -typedef std::function&)> - CreateTestSuiteResponseReceivedHandler; -typedef std::function&)> - DeleteTestCaseResponseReceivedHandler; -typedef std::function&)> - DeleteTestConfigurationResponseReceivedHandler; -typedef std::function&)> - DeleteTestRunResponseReceivedHandler; -typedef std::function&)> - DeleteTestSuiteResponseReceivedHandler; -typedef std::function&)> - GetTestCaseResponseReceivedHandler; -typedef std::function&)> - GetTestConfigurationResponseReceivedHandler; -typedef std::function&)> - GetTestRunStepResponseReceivedHandler; -typedef std::function&)> - GetTestSuiteResponseReceivedHandler; -typedef std::function&)> - ListTagsForResourceResponseReceivedHandler; -typedef std::function&)> - ListTestCasesResponseReceivedHandler; -typedef std::function&)> - ListTestConfigurationsResponseReceivedHandler; -typedef std::function&)> - ListTestRunStepsResponseReceivedHandler; -typedef std::function&)> - ListTestRunTestCasesResponseReceivedHandler; -typedef std::function&)> - ListTestRunsResponseReceivedHandler; -typedef std::function&)> - ListTestSuitesResponseReceivedHandler; -typedef std::function&)> - StartTestRunResponseReceivedHandler; -typedef std::function&)> - TagResourceResponseReceivedHandler; -typedef std::function&)> - UntagResourceResponseReceivedHandler; -typedef std::function&)> - UpdateTestCaseResponseReceivedHandler; -typedef std::function&)> - UpdateTestConfigurationResponseReceivedHandler; -typedef std::function&)> - UpdateTestSuiteResponseReceivedHandler; -/* End of service model async handlers definitions */ -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTest_EXPORTS.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTest_EXPORTS.h deleted file mode 100644 index aac121fb5d3..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/AppTest_EXPORTS.h +++ /dev/null @@ -1,32 +0,0 @@ -/** - * 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_APPTEST_EXPORTS -#define AWS_APPTEST_API __declspec(dllexport) -#else -#define AWS_APPTEST_API __declspec(dllimport) -#endif /* AWS_APPTEST_EXPORTS */ -#define AWS_APPTEST_EXTERN -#else -#define AWS_APPTEST_API -#define AWS_APPTEST_EXTERN extern -#endif // USE_IMPORT_EXPORT -#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) -#define AWS_APPTEST_API -#define AWS_APPTEST_EXTERN extern -#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Batch.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Batch.h deleted file mode 100644 index 995f8849e16..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Batch.h +++ /dev/null @@ -1,114 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Defines a batch.

See Also:

AWS API - * Reference

- */ -class Batch { - public: - AWS_APPTEST_API Batch() = default; - AWS_APPTEST_API Batch(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Batch& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The job name of the batch.

- */ - inline const Aws::String& GetBatchJobName() const { return m_batchJobName; } - inline bool BatchJobNameHasBeenSet() const { return m_batchJobNameHasBeenSet; } - template - void SetBatchJobName(BatchJobNameT&& value) { - m_batchJobNameHasBeenSet = true; - m_batchJobName = std::forward(value); - } - template - Batch& WithBatchJobName(BatchJobNameT&& value) { - SetBatchJobName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The batch job parameters of the batch.

- */ - inline const Aws::Map& GetBatchJobParameters() const { return m_batchJobParameters; } - inline bool BatchJobParametersHasBeenSet() const { return m_batchJobParametersHasBeenSet; } - template > - void SetBatchJobParameters(BatchJobParametersT&& value) { - m_batchJobParametersHasBeenSet = true; - m_batchJobParameters = std::forward(value); - } - template > - Batch& WithBatchJobParameters(BatchJobParametersT&& value) { - SetBatchJobParameters(std::forward(value)); - return *this; - } - template - Batch& AddBatchJobParameters(BatchJobParametersKeyT&& key, BatchJobParametersValueT&& value) { - m_batchJobParametersHasBeenSet = true; - m_batchJobParameters.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The export data set names of the batch.

- */ - inline const Aws::Vector& GetExportDataSetNames() const { return m_exportDataSetNames; } - inline bool ExportDataSetNamesHasBeenSet() const { return m_exportDataSetNamesHasBeenSet; } - template > - void SetExportDataSetNames(ExportDataSetNamesT&& value) { - m_exportDataSetNamesHasBeenSet = true; - m_exportDataSetNames = std::forward(value); - } - template > - Batch& WithExportDataSetNames(ExportDataSetNamesT&& value) { - SetExportDataSetNames(std::forward(value)); - return *this; - } - template - Batch& AddExportDataSetNames(ExportDataSetNamesT&& value) { - m_exportDataSetNamesHasBeenSet = true; - m_exportDataSetNames.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_batchJobName; - bool m_batchJobNameHasBeenSet = false; - - Aws::Map m_batchJobParameters; - bool m_batchJobParametersHasBeenSet = false; - - Aws::Vector m_exportDataSetNames; - bool m_exportDataSetNamesHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/BatchStepInput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/BatchStepInput.h deleted file mode 100644 index 59178da3921..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/BatchStepInput.h +++ /dev/null @@ -1,158 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Defines a batch step input.

See Also:

AWS - * API Reference

- */ -class BatchStepInput { - public: - AWS_APPTEST_API BatchStepInput() = default; - AWS_APPTEST_API BatchStepInput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API BatchStepInput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The resource of the batch step input.

- */ - inline const MainframeResourceSummary& GetResource() const { return m_resource; } - inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } - template - void SetResource(ResourceT&& value) { - m_resourceHasBeenSet = true; - m_resource = std::forward(value); - } - template - BatchStepInput& WithResource(ResourceT&& value) { - SetResource(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The batch job name of the batch step input.

- */ - inline const Aws::String& GetBatchJobName() const { return m_batchJobName; } - inline bool BatchJobNameHasBeenSet() const { return m_batchJobNameHasBeenSet; } - template - void SetBatchJobName(BatchJobNameT&& value) { - m_batchJobNameHasBeenSet = true; - m_batchJobName = std::forward(value); - } - template - BatchStepInput& WithBatchJobName(BatchJobNameT&& value) { - SetBatchJobName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The batch job parameters of the batch step input.

- */ - inline const Aws::Map& GetBatchJobParameters() const { return m_batchJobParameters; } - inline bool BatchJobParametersHasBeenSet() const { return m_batchJobParametersHasBeenSet; } - template > - void SetBatchJobParameters(BatchJobParametersT&& value) { - m_batchJobParametersHasBeenSet = true; - m_batchJobParameters = std::forward(value); - } - template > - BatchStepInput& WithBatchJobParameters(BatchJobParametersT&& value) { - SetBatchJobParameters(std::forward(value)); - return *this; - } - template - BatchStepInput& AddBatchJobParameters(BatchJobParametersKeyT&& key, BatchJobParametersValueT&& value) { - m_batchJobParametersHasBeenSet = true; - m_batchJobParameters.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The export data set names of the batch step input.

- */ - inline const Aws::Vector& GetExportDataSetNames() const { return m_exportDataSetNames; } - inline bool ExportDataSetNamesHasBeenSet() const { return m_exportDataSetNamesHasBeenSet; } - template > - void SetExportDataSetNames(ExportDataSetNamesT&& value) { - m_exportDataSetNamesHasBeenSet = true; - m_exportDataSetNames = std::forward(value); - } - template > - BatchStepInput& WithExportDataSetNames(ExportDataSetNamesT&& value) { - SetExportDataSetNames(std::forward(value)); - return *this; - } - template - BatchStepInput& AddExportDataSetNames(ExportDataSetNamesT&& value) { - m_exportDataSetNamesHasBeenSet = true; - m_exportDataSetNames.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The properties of the batch step input.

- */ - inline const MainframeActionProperties& GetProperties() const { return m_properties; } - inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } - template - void SetProperties(PropertiesT&& value) { - m_propertiesHasBeenSet = true; - m_properties = std::forward(value); - } - template - BatchStepInput& WithProperties(PropertiesT&& value) { - SetProperties(std::forward(value)); - return *this; - } - ///@} - private: - MainframeResourceSummary m_resource; - bool m_resourceHasBeenSet = false; - - Aws::String m_batchJobName; - bool m_batchJobNameHasBeenSet = false; - - Aws::Map m_batchJobParameters; - bool m_batchJobParametersHasBeenSet = false; - - Aws::Vector m_exportDataSetNames; - bool m_exportDataSetNamesHasBeenSet = false; - - MainframeActionProperties m_properties; - bool m_propertiesHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/BatchStepOutput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/BatchStepOutput.h deleted file mode 100644 index 337f922284e..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/BatchStepOutput.h +++ /dev/null @@ -1,109 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Defines a batch step output.

See Also:

AWS - * API Reference

- */ -class BatchStepOutput { - public: - AWS_APPTEST_API BatchStepOutput() = default; - AWS_APPTEST_API BatchStepOutput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API BatchStepOutput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The data set export location of the batch step output.

- */ - inline const Aws::String& GetDataSetExportLocation() const { return m_dataSetExportLocation; } - inline bool DataSetExportLocationHasBeenSet() const { return m_dataSetExportLocationHasBeenSet; } - template - void SetDataSetExportLocation(DataSetExportLocationT&& value) { - m_dataSetExportLocationHasBeenSet = true; - m_dataSetExportLocation = std::forward(value); - } - template - BatchStepOutput& WithDataSetExportLocation(DataSetExportLocationT&& value) { - SetDataSetExportLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Database Migration Service (DMS) output location of the batch step - * output.

- */ - inline const Aws::String& GetDmsOutputLocation() const { return m_dmsOutputLocation; } - inline bool DmsOutputLocationHasBeenSet() const { return m_dmsOutputLocationHasBeenSet; } - template - void SetDmsOutputLocation(DmsOutputLocationT&& value) { - m_dmsOutputLocationHasBeenSet = true; - m_dmsOutputLocation = std::forward(value); - } - template - BatchStepOutput& WithDmsOutputLocation(DmsOutputLocationT&& value) { - SetDmsOutputLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The data set details of the batch step output.

- */ - inline const Aws::Vector& GetDataSetDetails() const { return m_dataSetDetails; } - inline bool DataSetDetailsHasBeenSet() const { return m_dataSetDetailsHasBeenSet; } - template > - void SetDataSetDetails(DataSetDetailsT&& value) { - m_dataSetDetailsHasBeenSet = true; - m_dataSetDetails = std::forward(value); - } - template > - BatchStepOutput& WithDataSetDetails(DataSetDetailsT&& value) { - SetDataSetDetails(std::forward(value)); - return *this; - } - template - BatchStepOutput& AddDataSetDetails(DataSetDetailsT&& value) { - m_dataSetDetailsHasBeenSet = true; - m_dataSetDetails.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_dataSetExportLocation; - bool m_dataSetExportLocationHasBeenSet = false; - - Aws::String m_dmsOutputLocation; - bool m_dmsOutputLocationHasBeenSet = false; - - Aws::Vector m_dataSetDetails; - bool m_dataSetDetailsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/BatchSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/BatchSummary.h deleted file mode 100644 index 9a5e87d4649..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/BatchSummary.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Summarizes a batch job.

See Also:

AWS - * API Reference

- */ -class BatchSummary { - public: - AWS_APPTEST_API BatchSummary() = default; - AWS_APPTEST_API BatchSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API BatchSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The step input of the batch summary.

- */ - inline const BatchStepInput& GetStepInput() const { return m_stepInput; } - inline bool StepInputHasBeenSet() const { return m_stepInputHasBeenSet; } - template - void SetStepInput(StepInputT&& value) { - m_stepInputHasBeenSet = true; - m_stepInput = std::forward(value); - } - template - BatchSummary& WithStepInput(StepInputT&& value) { - SetStepInput(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The step output of the batch summary.

- */ - inline const BatchStepOutput& GetStepOutput() const { return m_stepOutput; } - inline bool StepOutputHasBeenSet() const { return m_stepOutputHasBeenSet; } - template - void SetStepOutput(StepOutputT&& value) { - m_stepOutputHasBeenSet = true; - m_stepOutput = std::forward(value); - } - template - BatchSummary& WithStepOutput(StepOutputT&& value) { - SetStepOutput(std::forward(value)); - return *this; - } - ///@} - private: - BatchStepInput m_stepInput; - bool m_stepInputHasBeenSet = false; - - BatchStepOutput m_stepOutput; - bool m_stepOutputHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CaptureTool.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CaptureTool.h deleted file mode 100644 index ff0eef0137b..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CaptureTool.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class CaptureTool { NOT_SET, Precisely, AWS_DMS }; - -namespace CaptureToolMapper { -AWS_APPTEST_API CaptureTool GetCaptureToolForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForCaptureTool(CaptureTool value); -} // namespace CaptureToolMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormation.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormation.h deleted file mode 100644 index ab64ed155da..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormation.h +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the CloudFormation template and its parameters.

See - * Also:

AWS - * API Reference

- */ -class CloudFormation { - public: - AWS_APPTEST_API CloudFormation() = default; - AWS_APPTEST_API CloudFormation(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CloudFormation& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The template location of the CloudFormation template.

- */ - inline const Aws::String& GetTemplateLocation() const { return m_templateLocation; } - inline bool TemplateLocationHasBeenSet() const { return m_templateLocationHasBeenSet; } - template - void SetTemplateLocation(TemplateLocationT&& value) { - m_templateLocationHasBeenSet = true; - m_templateLocation = std::forward(value); - } - template - CloudFormation& WithTemplateLocation(TemplateLocationT&& value) { - SetTemplateLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The CloudFormation properties in the CloudFormation template.

- */ - inline const Aws::Map& GetParameters() const { return m_parameters; } - inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } - template > - void SetParameters(ParametersT&& value) { - m_parametersHasBeenSet = true; - m_parameters = std::forward(value); - } - template > - CloudFormation& WithParameters(ParametersT&& value) { - SetParameters(std::forward(value)); - return *this; - } - template - CloudFormation& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) { - m_parametersHasBeenSet = true; - m_parameters.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_templateLocation; - bool m_templateLocationHasBeenSet = false; - - Aws::Map m_parameters; - bool m_parametersHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormationAction.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormationAction.h deleted file mode 100644 index 81449c332d7..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormationAction.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the CloudFormation action.

See Also:

AWS - * API Reference

- */ -class CloudFormationAction { - public: - AWS_APPTEST_API CloudFormationAction() = default; - AWS_APPTEST_API CloudFormationAction(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CloudFormationAction& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The resource of the CloudFormation action.

- */ - inline const Aws::String& GetResource() const { return m_resource; } - inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } - template - void SetResource(ResourceT&& value) { - m_resourceHasBeenSet = true; - m_resource = std::forward(value); - } - template - CloudFormationAction& WithResource(ResourceT&& value) { - SetResource(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The action type of the CloudFormation action.

- */ - inline CloudFormationActionType GetActionType() const { return m_actionType; } - inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; } - inline void SetActionType(CloudFormationActionType value) { - m_actionTypeHasBeenSet = true; - m_actionType = value; - } - inline CloudFormationAction& WithActionType(CloudFormationActionType value) { - SetActionType(value); - return *this; - } - ///@} - private: - Aws::String m_resource; - bool m_resourceHasBeenSet = false; - - CloudFormationActionType m_actionType{CloudFormationActionType::NOT_SET}; - bool m_actionTypeHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormationActionType.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormationActionType.h deleted file mode 100644 index 56e26cb34d2..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormationActionType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class CloudFormationActionType { NOT_SET, Create, Delete }; - -namespace CloudFormationActionTypeMapper { -AWS_APPTEST_API CloudFormationActionType GetCloudFormationActionTypeForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForCloudFormationActionType(CloudFormationActionType value); -} // namespace CloudFormationActionTypeMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormationStepSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormationStepSummary.h deleted file mode 100644 index bda8afa11eb..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CloudFormationStepSummary.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the CloudFormation step summary.

See Also:

AWS - * API Reference

- */ -class CloudFormationStepSummary { - public: - AWS_APPTEST_API CloudFormationStepSummary() = default; - AWS_APPTEST_API CloudFormationStepSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CloudFormationStepSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Creates the CloudFormation summary of the step.

- */ - inline const CreateCloudFormationSummary& GetCreateCloudformation() const { return m_createCloudformation; } - inline bool CreateCloudformationHasBeenSet() const { return m_createCloudformationHasBeenSet; } - template - void SetCreateCloudformation(CreateCloudformationT&& value) { - m_createCloudformationHasBeenSet = true; - m_createCloudformation = std::forward(value); - } - template - CloudFormationStepSummary& WithCreateCloudformation(CreateCloudformationT&& value) { - SetCreateCloudformation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Deletes the CloudFormation summary of the CloudFormation step summary.

- */ - inline const DeleteCloudFormationSummary& GetDeleteCloudformation() const { return m_deleteCloudformation; } - inline bool DeleteCloudformationHasBeenSet() const { return m_deleteCloudformationHasBeenSet; } - template - void SetDeleteCloudformation(DeleteCloudformationT&& value) { - m_deleteCloudformationHasBeenSet = true; - m_deleteCloudformation = std::forward(value); - } - template - CloudFormationStepSummary& WithDeleteCloudformation(DeleteCloudformationT&& value) { - SetDeleteCloudformation(std::forward(value)); - return *this; - } - ///@} - private: - CreateCloudFormationSummary m_createCloudformation; - bool m_createCloudformationHasBeenSet = false; - - DeleteCloudFormationSummary m_deleteCloudformation; - bool m_deleteCloudformationHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareAction.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareAction.h deleted file mode 100644 index 0a681c8abc5..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareAction.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Compares the action.

See Also:

AWS - * API Reference

- */ -class CompareAction { - public: - AWS_APPTEST_API CompareAction() = default; - AWS_APPTEST_API CompareAction(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CompareAction& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The input of the compare action.

- */ - inline const Input& GetInput() const { return m_input; } - inline bool InputHasBeenSet() const { return m_inputHasBeenSet; } - template - void SetInput(InputT&& value) { - m_inputHasBeenSet = true; - m_input = std::forward(value); - } - template - CompareAction& WithInput(InputT&& value) { - SetInput(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The output of the compare action.

- */ - inline const Output& GetOutput() const { return m_output; } - inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; } - template - void SetOutput(OutputT&& value) { - m_outputHasBeenSet = true; - m_output = std::forward(value); - } - template - CompareAction& WithOutput(OutputT&& value) { - SetOutput(std::forward(value)); - return *this; - } - ///@} - private: - Input m_input; - bool m_inputHasBeenSet = false; - - Output m_output; - bool m_outputHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareActionSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareActionSummary.h deleted file mode 100644 index ff26ff3ad50..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareActionSummary.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the compare action summary.

See Also:

AWS - * API Reference

- */ -class CompareActionSummary { - public: - AWS_APPTEST_API CompareActionSummary() = default; - AWS_APPTEST_API CompareActionSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CompareActionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The type of the compare action summary.

- */ - inline const File& GetType() const { return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - template - void SetType(TypeT&& value) { - m_typeHasBeenSet = true; - m_type = std::forward(value); - } - template - CompareActionSummary& WithType(TypeT&& value) { - SetType(std::forward(value)); - return *this; - } - ///@} - private: - File m_type; - bool m_typeHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDataSetsStepInput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDataSetsStepInput.h deleted file mode 100644 index 0b01a1e7c5d..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDataSetsStepInput.h +++ /dev/null @@ -1,135 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the compare data sets step input.

See Also:

AWS - * API Reference

- */ -class CompareDataSetsStepInput { - public: - AWS_APPTEST_API CompareDataSetsStepInput() = default; - AWS_APPTEST_API CompareDataSetsStepInput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CompareDataSetsStepInput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The source location of the compare data sets step input location.

- */ - inline const Aws::String& GetSourceLocation() const { return m_sourceLocation; } - inline bool SourceLocationHasBeenSet() const { return m_sourceLocationHasBeenSet; } - template - void SetSourceLocation(SourceLocationT&& value) { - m_sourceLocationHasBeenSet = true; - m_sourceLocation = std::forward(value); - } - template - CompareDataSetsStepInput& WithSourceLocation(SourceLocationT&& value) { - SetSourceLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The target location of the compare data sets step input location.

- */ - inline const Aws::String& GetTargetLocation() const { return m_targetLocation; } - inline bool TargetLocationHasBeenSet() const { return m_targetLocationHasBeenSet; } - template - void SetTargetLocation(TargetLocationT&& value) { - m_targetLocationHasBeenSet = true; - m_targetLocation = std::forward(value); - } - template - CompareDataSetsStepInput& WithTargetLocation(TargetLocationT&& value) { - SetTargetLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The source data sets of the compare data sets step input location.

- */ - inline const Aws::Vector& GetSourceDataSets() const { return m_sourceDataSets; } - inline bool SourceDataSetsHasBeenSet() const { return m_sourceDataSetsHasBeenSet; } - template > - void SetSourceDataSets(SourceDataSetsT&& value) { - m_sourceDataSetsHasBeenSet = true; - m_sourceDataSets = std::forward(value); - } - template > - CompareDataSetsStepInput& WithSourceDataSets(SourceDataSetsT&& value) { - SetSourceDataSets(std::forward(value)); - return *this; - } - template - CompareDataSetsStepInput& AddSourceDataSets(SourceDataSetsT&& value) { - m_sourceDataSetsHasBeenSet = true; - m_sourceDataSets.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The target data sets of the compare data sets step input location.

- */ - inline const Aws::Vector& GetTargetDataSets() const { return m_targetDataSets; } - inline bool TargetDataSetsHasBeenSet() const { return m_targetDataSetsHasBeenSet; } - template > - void SetTargetDataSets(TargetDataSetsT&& value) { - m_targetDataSetsHasBeenSet = true; - m_targetDataSets = std::forward(value); - } - template > - CompareDataSetsStepInput& WithTargetDataSets(TargetDataSetsT&& value) { - SetTargetDataSets(std::forward(value)); - return *this; - } - template - CompareDataSetsStepInput& AddTargetDataSets(TargetDataSetsT&& value) { - m_targetDataSetsHasBeenSet = true; - m_targetDataSets.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_sourceLocation; - bool m_sourceLocationHasBeenSet = false; - - Aws::String m_targetLocation; - bool m_targetLocationHasBeenSet = false; - - Aws::Vector m_sourceDataSets; - bool m_sourceDataSetsHasBeenSet = false; - - Aws::Vector m_targetDataSets; - bool m_targetDataSetsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDataSetsStepOutput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDataSetsStepOutput.h deleted file mode 100644 index bd4ec63c2cf..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDataSetsStepOutput.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the compare data sets step output.

See Also:

AWS - * API Reference

- */ -class CompareDataSetsStepOutput { - public: - AWS_APPTEST_API CompareDataSetsStepOutput() = default; - AWS_APPTEST_API CompareDataSetsStepOutput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CompareDataSetsStepOutput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The comparison output location of the compare data sets step output.

- */ - inline const Aws::String& GetComparisonOutputLocation() const { return m_comparisonOutputLocation; } - inline bool ComparisonOutputLocationHasBeenSet() const { return m_comparisonOutputLocationHasBeenSet; } - template - void SetComparisonOutputLocation(ComparisonOutputLocationT&& value) { - m_comparisonOutputLocationHasBeenSet = true; - m_comparisonOutputLocation = std::forward(value); - } - template - CompareDataSetsStepOutput& WithComparisonOutputLocation(ComparisonOutputLocationT&& value) { - SetComparisonOutputLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The comparison status of the compare data sets step output.

- */ - inline ComparisonStatusEnum GetComparisonStatus() const { return m_comparisonStatus; } - inline bool ComparisonStatusHasBeenSet() const { return m_comparisonStatusHasBeenSet; } - inline void SetComparisonStatus(ComparisonStatusEnum value) { - m_comparisonStatusHasBeenSet = true; - m_comparisonStatus = value; - } - inline CompareDataSetsStepOutput& WithComparisonStatus(ComparisonStatusEnum value) { - SetComparisonStatus(value); - return *this; - } - ///@} - private: - Aws::String m_comparisonOutputLocation; - bool m_comparisonOutputLocationHasBeenSet = false; - - ComparisonStatusEnum m_comparisonStatus{ComparisonStatusEnum::NOT_SET}; - bool m_comparisonStatusHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDataSetsSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDataSetsSummary.h deleted file mode 100644 index 3fd403422f8..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDataSetsSummary.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Compares data sets summary.

See Also:

AWS - * API Reference

- */ -class CompareDataSetsSummary { - public: - AWS_APPTEST_API CompareDataSetsSummary() = default; - AWS_APPTEST_API CompareDataSetsSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CompareDataSetsSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The step input of the compare data sets summary.

- */ - inline const CompareDataSetsStepInput& GetStepInput() const { return m_stepInput; } - inline bool StepInputHasBeenSet() const { return m_stepInputHasBeenSet; } - template - void SetStepInput(StepInputT&& value) { - m_stepInputHasBeenSet = true; - m_stepInput = std::forward(value); - } - template - CompareDataSetsSummary& WithStepInput(StepInputT&& value) { - SetStepInput(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The step output of the compare data sets summary.

- */ - inline const CompareDataSetsStepOutput& GetStepOutput() const { return m_stepOutput; } - inline bool StepOutputHasBeenSet() const { return m_stepOutputHasBeenSet; } - template - void SetStepOutput(StepOutputT&& value) { - m_stepOutputHasBeenSet = true; - m_stepOutput = std::forward(value); - } - template - CompareDataSetsSummary& WithStepOutput(StepOutputT&& value) { - SetStepOutput(std::forward(value)); - return *this; - } - ///@} - private: - CompareDataSetsStepInput m_stepInput; - bool m_stepInputHasBeenSet = false; - - CompareDataSetsStepOutput m_stepOutput; - bool m_stepOutputHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDatabaseCDCStepInput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDatabaseCDCStepInput.h deleted file mode 100644 index 8f2d01b6aee..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDatabaseCDCStepInput.h +++ /dev/null @@ -1,145 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Compares the database Change Data Capture (CDC) step input.

See - * Also:

AWS - * API Reference

- */ -class CompareDatabaseCDCStepInput { - public: - AWS_APPTEST_API CompareDatabaseCDCStepInput() = default; - AWS_APPTEST_API CompareDatabaseCDCStepInput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CompareDatabaseCDCStepInput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The source location of the compare database CDC step input.

- */ - inline const Aws::String& GetSourceLocation() const { return m_sourceLocation; } - inline bool SourceLocationHasBeenSet() const { return m_sourceLocationHasBeenSet; } - template - void SetSourceLocation(SourceLocationT&& value) { - m_sourceLocationHasBeenSet = true; - m_sourceLocation = std::forward(value); - } - template - CompareDatabaseCDCStepInput& WithSourceLocation(SourceLocationT&& value) { - SetSourceLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The target location of the compare database CDC step input.

- */ - inline const Aws::String& GetTargetLocation() const { return m_targetLocation; } - inline bool TargetLocationHasBeenSet() const { return m_targetLocationHasBeenSet; } - template - void SetTargetLocation(TargetLocationT&& value) { - m_targetLocationHasBeenSet = true; - m_targetLocation = std::forward(value); - } - template - CompareDatabaseCDCStepInput& WithTargetLocation(TargetLocationT&& value) { - SetTargetLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The output location of the compare database CDC step input.

- */ - inline const Aws::String& GetOutputLocation() const { return m_outputLocation; } - inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; } - template - void SetOutputLocation(OutputLocationT&& value) { - m_outputLocationHasBeenSet = true; - m_outputLocation = std::forward(value); - } - template - CompareDatabaseCDCStepInput& WithOutputLocation(OutputLocationT&& value) { - SetOutputLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The source metadata of the compare database CDC step input.

- */ - inline const SourceDatabaseMetadata& GetSourceMetadata() const { return m_sourceMetadata; } - inline bool SourceMetadataHasBeenSet() const { return m_sourceMetadataHasBeenSet; } - template - void SetSourceMetadata(SourceMetadataT&& value) { - m_sourceMetadataHasBeenSet = true; - m_sourceMetadata = std::forward(value); - } - template - CompareDatabaseCDCStepInput& WithSourceMetadata(SourceMetadataT&& value) { - SetSourceMetadata(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The target metadata location of the compare database CDC step input.

- */ - inline const TargetDatabaseMetadata& GetTargetMetadata() const { return m_targetMetadata; } - inline bool TargetMetadataHasBeenSet() const { return m_targetMetadataHasBeenSet; } - template - void SetTargetMetadata(TargetMetadataT&& value) { - m_targetMetadataHasBeenSet = true; - m_targetMetadata = std::forward(value); - } - template - CompareDatabaseCDCStepInput& WithTargetMetadata(TargetMetadataT&& value) { - SetTargetMetadata(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_sourceLocation; - bool m_sourceLocationHasBeenSet = false; - - Aws::String m_targetLocation; - bool m_targetLocationHasBeenSet = false; - - Aws::String m_outputLocation; - bool m_outputLocationHasBeenSet = false; - - SourceDatabaseMetadata m_sourceMetadata; - bool m_sourceMetadataHasBeenSet = false; - - TargetDatabaseMetadata m_targetMetadata; - bool m_targetMetadataHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDatabaseCDCStepOutput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDatabaseCDCStepOutput.h deleted file mode 100644 index 9165c9e7acb..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDatabaseCDCStepOutput.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Compares the database CDC step output.

See Also:

AWS - * API Reference

- */ -class CompareDatabaseCDCStepOutput { - public: - AWS_APPTEST_API CompareDatabaseCDCStepOutput() = default; - AWS_APPTEST_API CompareDatabaseCDCStepOutput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CompareDatabaseCDCStepOutput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The comparison output of the compare database CDC step output.

- */ - inline const Aws::String& GetComparisonOutputLocation() const { return m_comparisonOutputLocation; } - inline bool ComparisonOutputLocationHasBeenSet() const { return m_comparisonOutputLocationHasBeenSet; } - template - void SetComparisonOutputLocation(ComparisonOutputLocationT&& value) { - m_comparisonOutputLocationHasBeenSet = true; - m_comparisonOutputLocation = std::forward(value); - } - template - CompareDatabaseCDCStepOutput& WithComparisonOutputLocation(ComparisonOutputLocationT&& value) { - SetComparisonOutputLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The comparison status of the compare database CDC step output.

- */ - inline ComparisonStatusEnum GetComparisonStatus() const { return m_comparisonStatus; } - inline bool ComparisonStatusHasBeenSet() const { return m_comparisonStatusHasBeenSet; } - inline void SetComparisonStatus(ComparisonStatusEnum value) { - m_comparisonStatusHasBeenSet = true; - m_comparisonStatus = value; - } - inline CompareDatabaseCDCStepOutput& WithComparisonStatus(ComparisonStatusEnum value) { - SetComparisonStatus(value); - return *this; - } - ///@} - private: - Aws::String m_comparisonOutputLocation; - bool m_comparisonOutputLocationHasBeenSet = false; - - ComparisonStatusEnum m_comparisonStatus{ComparisonStatusEnum::NOT_SET}; - bool m_comparisonStatusHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDatabaseCDCSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDatabaseCDCSummary.h deleted file mode 100644 index b40cd92f39a..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareDatabaseCDCSummary.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Compares the database CDC summary.

See Also:

AWS - * API Reference

- */ -class CompareDatabaseCDCSummary { - public: - AWS_APPTEST_API CompareDatabaseCDCSummary() = default; - AWS_APPTEST_API CompareDatabaseCDCSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CompareDatabaseCDCSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The step input of the compare database CDC summary.

- */ - inline const CompareDatabaseCDCStepInput& GetStepInput() const { return m_stepInput; } - inline bool StepInputHasBeenSet() const { return m_stepInputHasBeenSet; } - template - void SetStepInput(StepInputT&& value) { - m_stepInputHasBeenSet = true; - m_stepInput = std::forward(value); - } - template - CompareDatabaseCDCSummary& WithStepInput(StepInputT&& value) { - SetStepInput(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The step output of the compare database CDC summary.

- */ - inline const CompareDatabaseCDCStepOutput& GetStepOutput() const { return m_stepOutput; } - inline bool StepOutputHasBeenSet() const { return m_stepOutputHasBeenSet; } - template - void SetStepOutput(StepOutputT&& value) { - m_stepOutputHasBeenSet = true; - m_stepOutput = std::forward(value); - } - template - CompareDatabaseCDCSummary& WithStepOutput(StepOutputT&& value) { - SetStepOutput(std::forward(value)); - return *this; - } - ///@} - private: - CompareDatabaseCDCStepInput m_stepInput; - bool m_stepInputHasBeenSet = false; - - CompareDatabaseCDCStepOutput m_stepOutput; - bool m_stepOutputHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareFileType.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareFileType.h deleted file mode 100644 index 9472471b7c6..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CompareFileType.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Compares the file type.

See Also:

AWS - * API Reference

- */ -class CompareFileType { - public: - AWS_APPTEST_API CompareFileType() = default; - AWS_APPTEST_API CompareFileType(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CompareFileType& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The data sets in the compare file type.

- */ - inline const CompareDataSetsSummary& GetDatasets() const { return m_datasets; } - inline bool DatasetsHasBeenSet() const { return m_datasetsHasBeenSet; } - template - void SetDatasets(DatasetsT&& value) { - m_datasetsHasBeenSet = true; - m_datasets = std::forward(value); - } - template - CompareFileType& WithDatasets(DatasetsT&& value) { - SetDatasets(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The database CDC of the compare file type.

- */ - inline const CompareDatabaseCDCSummary& GetDatabaseCDC() const { return m_databaseCDC; } - inline bool DatabaseCDCHasBeenSet() const { return m_databaseCDCHasBeenSet; } - template - void SetDatabaseCDC(DatabaseCDCT&& value) { - m_databaseCDCHasBeenSet = true; - m_databaseCDC = std::forward(value); - } - template - CompareFileType& WithDatabaseCDC(DatabaseCDCT&& value) { - SetDatabaseCDC(std::forward(value)); - return *this; - } - ///@} - private: - CompareDataSetsSummary m_datasets; - bool m_datasetsHasBeenSet = false; - - CompareDatabaseCDCSummary m_databaseCDC; - bool m_databaseCDCHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ComparisonStatusEnum.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ComparisonStatusEnum.h deleted file mode 100644 index 10c55445c12..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ComparisonStatusEnum.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class ComparisonStatusEnum { NOT_SET, Different, Equivalent, Equal }; - -namespace ComparisonStatusEnumMapper { -AWS_APPTEST_API ComparisonStatusEnum GetComparisonStatusEnumForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForComparisonStatusEnum(ComparisonStatusEnum value); -} // namespace ComparisonStatusEnumMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ConflictException.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ConflictException.h deleted file mode 100644 index da0d162dd16..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ConflictException.h +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

The parameters provided in the request conflict with existing - * resources.

See Also:

AWS - * API Reference

- */ -class ConflictException { - public: - AWS_APPTEST_API ConflictException() = default; - AWS_APPTEST_API ConflictException(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API ConflictException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ConflictException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The resource ID of the conflicts with existing resources.

- */ - inline const Aws::String& GetResourceId() const { return m_resourceId; } - inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } - template - void SetResourceId(ResourceIdT&& value) { - m_resourceIdHasBeenSet = true; - m_resourceId = std::forward(value); - } - template - ConflictException& WithResourceId(ResourceIdT&& value) { - SetResourceId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The resource type of the conflicts with existing resources.

- */ - inline const Aws::String& GetResourceType() const { return m_resourceType; } - inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } - template - void SetResourceType(ResourceTypeT&& value) { - m_resourceTypeHasBeenSet = true; - m_resourceType = std::forward(value); - } - template - ConflictException& WithResourceType(ResourceTypeT&& value) { - SetResourceType(std::forward(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 AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateCloudFormationStepInput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateCloudFormationStepInput.h deleted file mode 100644 index d47ceca16e1..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateCloudFormationStepInput.h +++ /dev/null @@ -1,86 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Creates the CloudFormation step input.

See Also:

AWS - * API Reference

- */ -class CreateCloudFormationStepInput { - public: - AWS_APPTEST_API CreateCloudFormationStepInput() = default; - AWS_APPTEST_API CreateCloudFormationStepInput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CreateCloudFormationStepInput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The template location of the CloudFormation step input.

- */ - inline const Aws::String& GetTemplateLocation() const { return m_templateLocation; } - inline bool TemplateLocationHasBeenSet() const { return m_templateLocationHasBeenSet; } - template - void SetTemplateLocation(TemplateLocationT&& value) { - m_templateLocationHasBeenSet = true; - m_templateLocation = std::forward(value); - } - template - CreateCloudFormationStepInput& WithTemplateLocation(TemplateLocationT&& value) { - SetTemplateLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The CloudFormation properties of the CloudFormation step input.

- */ - inline const Aws::Map& GetParameters() const { return m_parameters; } - inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } - template > - void SetParameters(ParametersT&& value) { - m_parametersHasBeenSet = true; - m_parameters = std::forward(value); - } - template > - CreateCloudFormationStepInput& WithParameters(ParametersT&& value) { - SetParameters(std::forward(value)); - return *this; - } - template - CreateCloudFormationStepInput& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) { - m_parametersHasBeenSet = true; - m_parameters.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_templateLocation; - bool m_templateLocationHasBeenSet = false; - - Aws::Map m_parameters; - bool m_parametersHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateCloudFormationStepOutput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateCloudFormationStepOutput.h deleted file mode 100644 index 3550c5fb48c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateCloudFormationStepOutput.h +++ /dev/null @@ -1,86 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Creates a CloudFormation step output.

See Also:

AWS - * API Reference

- */ -class CreateCloudFormationStepOutput { - public: - AWS_APPTEST_API CreateCloudFormationStepOutput() = default; - AWS_APPTEST_API CreateCloudFormationStepOutput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CreateCloudFormationStepOutput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The stack ID of the CloudFormation step output.

- */ - inline const Aws::String& GetStackId() const { return m_stackId; } - inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; } - template - void SetStackId(StackIdT&& value) { - m_stackIdHasBeenSet = true; - m_stackId = std::forward(value); - } - template - CreateCloudFormationStepOutput& WithStackId(StackIdT&& value) { - SetStackId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The exports of the CloudFormation step output.

- */ - inline const Aws::Map& GetExports() const { return m_exports; } - inline bool ExportsHasBeenSet() const { return m_exportsHasBeenSet; } - template > - void SetExports(ExportsT&& value) { - m_exportsHasBeenSet = true; - m_exports = std::forward(value); - } - template > - CreateCloudFormationStepOutput& WithExports(ExportsT&& value) { - SetExports(std::forward(value)); - return *this; - } - template - CreateCloudFormationStepOutput& AddExports(ExportsKeyT&& key, ExportsValueT&& value) { - m_exportsHasBeenSet = true; - m_exports.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_stackId; - bool m_stackIdHasBeenSet = false; - - Aws::Map m_exports; - bool m_exportsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateCloudFormationSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateCloudFormationSummary.h deleted file mode 100644 index 5c02e1a5182..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateCloudFormationSummary.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Creates a CloudFormation summary.

See Also:

AWS - * API Reference

- */ -class CreateCloudFormationSummary { - public: - AWS_APPTEST_API CreateCloudFormationSummary() = default; - AWS_APPTEST_API CreateCloudFormationSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API CreateCloudFormationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The step input of the CloudFormation summary.

- */ - inline const CreateCloudFormationStepInput& GetStepInput() const { return m_stepInput; } - inline bool StepInputHasBeenSet() const { return m_stepInputHasBeenSet; } - template - void SetStepInput(StepInputT&& value) { - m_stepInputHasBeenSet = true; - m_stepInput = std::forward(value); - } - template - CreateCloudFormationSummary& WithStepInput(StepInputT&& value) { - SetStepInput(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The step output of the CloudFormation summary.

- */ - inline const CreateCloudFormationStepOutput& GetStepOutput() const { return m_stepOutput; } - inline bool StepOutputHasBeenSet() const { return m_stepOutputHasBeenSet; } - template - void SetStepOutput(StepOutputT&& value) { - m_stepOutputHasBeenSet = true; - m_stepOutput = std::forward(value); - } - template - CreateCloudFormationSummary& WithStepOutput(StepOutputT&& value) { - SetStepOutput(std::forward(value)); - return *this; - } - ///@} - private: - CreateCloudFormationStepInput m_stepInput; - bool m_stepInputHasBeenSet = false; - - CreateCloudFormationStepOutput m_stepOutput; - bool m_stepOutputHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestCaseRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestCaseRequest.h deleted file mode 100644 index cf3f1ad8702..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestCaseRequest.h +++ /dev/null @@ -1,155 +0,0 @@ -/** - * 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 - -namespace Aws { -namespace AppTest { -namespace Model { - -/** - */ -class CreateTestCaseRequest : public AppTestRequest { - public: - AWS_APPTEST_API CreateTestCaseRequest() = default; - - // 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 "CreateTestCase"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the test case.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - CreateTestCaseRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description of the test case.

- */ - inline const Aws::String& GetDescription() const { return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - template - void SetDescription(DescriptionT&& value) { - m_descriptionHasBeenSet = true; - m_description = std::forward(value); - } - template - CreateTestCaseRequest& WithDescription(DescriptionT&& value) { - SetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The steps in the test case.

- */ - inline const Aws::Vector& GetSteps() const { return m_steps; } - inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; } - template > - void SetSteps(StepsT&& value) { - m_stepsHasBeenSet = true; - m_steps = std::forward(value); - } - template > - CreateTestCaseRequest& WithSteps(StepsT&& value) { - SetSteps(std::forward(value)); - return *this; - } - template - CreateTestCaseRequest& AddSteps(StepsT&& value) { - m_stepsHasBeenSet = true; - m_steps.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The client token of the test case.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - CreateTestCaseRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The specified tags of the test case.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateTestCaseRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateTestCaseRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; - - Aws::Vector m_steps; - bool m_stepsHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestCaseResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestCaseResult.h deleted file mode 100644 index 671d52d8921..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestCaseResult.h +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class CreateTestCaseResult { - public: - AWS_APPTEST_API CreateTestCaseResult() = default; - AWS_APPTEST_API CreateTestCaseResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API CreateTestCaseResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The test case ID of the test case.

- */ - inline const Aws::String& GetTestCaseId() const { return m_testCaseId; } - template - void SetTestCaseId(TestCaseIdT&& value) { - m_testCaseIdHasBeenSet = true; - m_testCaseId = std::forward(value); - } - template - CreateTestCaseResult& WithTestCaseId(TestCaseIdT&& value) { - SetTestCaseId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test case version of the test case.

- */ - inline int GetTestCaseVersion() const { return m_testCaseVersion; } - inline void SetTestCaseVersion(int value) { - m_testCaseVersionHasBeenSet = true; - m_testCaseVersion = value; - } - inline CreateTestCaseResult& WithTestCaseVersion(int value) { - SetTestCaseVersion(value); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateTestCaseResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testCaseId; - bool m_testCaseIdHasBeenSet = false; - - int m_testCaseVersion{0}; - bool m_testCaseVersionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestConfigurationRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestConfigurationRequest.h deleted file mode 100644 index 435ac4402d8..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestConfigurationRequest.h +++ /dev/null @@ -1,204 +0,0 @@ -/** - * 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 { -namespace AppTest { -namespace Model { - -/** - */ -class CreateTestConfigurationRequest : public AppTestRequest { - public: - AWS_APPTEST_API CreateTestConfigurationRequest() = default; - - // 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 "CreateTestConfiguration"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the test configuration.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - CreateTestConfigurationRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description of the test configuration.

- */ - inline const Aws::String& GetDescription() const { return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - template - void SetDescription(DescriptionT&& value) { - m_descriptionHasBeenSet = true; - m_description = std::forward(value); - } - template - CreateTestConfigurationRequest& WithDescription(DescriptionT&& value) { - SetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The defined resources of the test configuration.

- */ - inline const Aws::Vector& GetResources() const { return m_resources; } - inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; } - template > - void SetResources(ResourcesT&& value) { - m_resourcesHasBeenSet = true; - m_resources = std::forward(value); - } - template > - CreateTestConfigurationRequest& WithResources(ResourcesT&& value) { - SetResources(std::forward(value)); - return *this; - } - template - CreateTestConfigurationRequest& AddResources(ResourcesT&& value) { - m_resourcesHasBeenSet = true; - m_resources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The properties of the test configuration.

- */ - inline const Aws::Map& GetProperties() const { return m_properties; } - inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } - template > - void SetProperties(PropertiesT&& value) { - m_propertiesHasBeenSet = true; - m_properties = std::forward(value); - } - template > - CreateTestConfigurationRequest& WithProperties(PropertiesT&& value) { - SetProperties(std::forward(value)); - return *this; - } - template - CreateTestConfigurationRequest& AddProperties(PropertiesKeyT&& key, PropertiesValueT&& value) { - m_propertiesHasBeenSet = true; - m_properties.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The client token of the test configuration.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - CreateTestConfigurationRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The tags of the test configuration.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateTestConfigurationRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateTestConfigurationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The service settings of the test configuration.

- */ - inline const ServiceSettings& GetServiceSettings() const { return m_serviceSettings; } - inline bool ServiceSettingsHasBeenSet() const { return m_serviceSettingsHasBeenSet; } - template - void SetServiceSettings(ServiceSettingsT&& value) { - m_serviceSettingsHasBeenSet = true; - m_serviceSettings = std::forward(value); - } - template - CreateTestConfigurationRequest& WithServiceSettings(ServiceSettingsT&& value) { - SetServiceSettings(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; - - Aws::Vector m_resources; - bool m_resourcesHasBeenSet = false; - - Aws::Map m_properties; - bool m_propertiesHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - ServiceSettings m_serviceSettings; - bool m_serviceSettingsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestConfigurationResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestConfigurationResult.h deleted file mode 100644 index 30ad83e89d3..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestConfigurationResult.h +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class CreateTestConfigurationResult { - public: - AWS_APPTEST_API CreateTestConfigurationResult() = default; - AWS_APPTEST_API CreateTestConfigurationResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API CreateTestConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The test configuration ID.

- */ - inline const Aws::String& GetTestConfigurationId() const { return m_testConfigurationId; } - template - void SetTestConfigurationId(TestConfigurationIdT&& value) { - m_testConfigurationIdHasBeenSet = true; - m_testConfigurationId = std::forward(value); - } - template - CreateTestConfigurationResult& WithTestConfigurationId(TestConfigurationIdT&& value) { - SetTestConfigurationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test configuration version.

- */ - inline int GetTestConfigurationVersion() const { return m_testConfigurationVersion; } - inline void SetTestConfigurationVersion(int value) { - m_testConfigurationVersionHasBeenSet = true; - m_testConfigurationVersion = value; - } - inline CreateTestConfigurationResult& WithTestConfigurationVersion(int value) { - SetTestConfigurationVersion(value); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateTestConfigurationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testConfigurationId; - bool m_testConfigurationIdHasBeenSet = false; - - int m_testConfigurationVersion{0}; - bool m_testConfigurationVersionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestSuiteRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestSuiteRequest.h deleted file mode 100644 index 6e35867d8d7..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestSuiteRequest.h +++ /dev/null @@ -1,204 +0,0 @@ -/** - * 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 { -namespace AppTest { -namespace Model { - -/** - */ -class CreateTestSuiteRequest : public AppTestRequest { - public: - AWS_APPTEST_API CreateTestSuiteRequest() = default; - - // 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 "CreateTestSuite"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the test suite.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - CreateTestSuiteRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description of the test suite.

- */ - inline const Aws::String& GetDescription() const { return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - template - void SetDescription(DescriptionT&& value) { - m_descriptionHasBeenSet = true; - m_description = std::forward(value); - } - template - CreateTestSuiteRequest& WithDescription(DescriptionT&& value) { - SetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The before steps of the test suite.

- */ - inline const Aws::Vector& GetBeforeSteps() const { return m_beforeSteps; } - inline bool BeforeStepsHasBeenSet() const { return m_beforeStepsHasBeenSet; } - template > - void SetBeforeSteps(BeforeStepsT&& value) { - m_beforeStepsHasBeenSet = true; - m_beforeSteps = std::forward(value); - } - template > - CreateTestSuiteRequest& WithBeforeSteps(BeforeStepsT&& value) { - SetBeforeSteps(std::forward(value)); - return *this; - } - template - CreateTestSuiteRequest& AddBeforeSteps(BeforeStepsT&& value) { - m_beforeStepsHasBeenSet = true; - m_beforeSteps.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The after steps of the test suite.

- */ - inline const Aws::Vector& GetAfterSteps() const { return m_afterSteps; } - inline bool AfterStepsHasBeenSet() const { return m_afterStepsHasBeenSet; } - template > - void SetAfterSteps(AfterStepsT&& value) { - m_afterStepsHasBeenSet = true; - m_afterSteps = std::forward(value); - } - template > - CreateTestSuiteRequest& WithAfterSteps(AfterStepsT&& value) { - SetAfterSteps(std::forward(value)); - return *this; - } - template - CreateTestSuiteRequest& AddAfterSteps(AfterStepsT&& value) { - m_afterStepsHasBeenSet = true; - m_afterSteps.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test cases in the test suite.

- */ - inline const TestCases& GetTestCases() const { return m_testCases; } - inline bool TestCasesHasBeenSet() const { return m_testCasesHasBeenSet; } - template - void SetTestCases(TestCasesT&& value) { - m_testCasesHasBeenSet = true; - m_testCases = std::forward(value); - } - template - CreateTestSuiteRequest& WithTestCases(TestCasesT&& value) { - SetTestCases(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The client token of the test suite.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - CreateTestSuiteRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The tags of the test suite.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateTestSuiteRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateTestSuiteRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; - - Aws::Vector m_beforeSteps; - bool m_beforeStepsHasBeenSet = false; - - Aws::Vector m_afterSteps; - bool m_afterStepsHasBeenSet = false; - - TestCases m_testCases; - bool m_testCasesHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestSuiteResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestSuiteResult.h deleted file mode 100644 index 5f4f45594c5..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/CreateTestSuiteResult.h +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class CreateTestSuiteResult { - public: - AWS_APPTEST_API CreateTestSuiteResult() = default; - AWS_APPTEST_API CreateTestSuiteResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API CreateTestSuiteResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The suite ID of the test suite.

- */ - inline const Aws::String& GetTestSuiteId() const { return m_testSuiteId; } - template - void SetTestSuiteId(TestSuiteIdT&& value) { - m_testSuiteIdHasBeenSet = true; - m_testSuiteId = std::forward(value); - } - template - CreateTestSuiteResult& WithTestSuiteId(TestSuiteIdT&& value) { - SetTestSuiteId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The suite version of the test suite.

- */ - inline int GetTestSuiteVersion() const { return m_testSuiteVersion; } - inline void SetTestSuiteVersion(int value) { - m_testSuiteVersionHasBeenSet = true; - m_testSuiteVersion = value; - } - inline CreateTestSuiteResult& WithTestSuiteVersion(int value) { - SetTestSuiteVersion(value); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateTestSuiteResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testSuiteId; - bool m_testSuiteIdHasBeenSet = false; - - int m_testSuiteVersion{0}; - bool m_testSuiteVersionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DataSet.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DataSet.h deleted file mode 100644 index 7f2eafd95f7..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DataSet.h +++ /dev/null @@ -1,138 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Defines a data set.

See Also:

AWS API - * Reference

- */ -class DataSet { - public: - AWS_APPTEST_API DataSet() = default; - AWS_APPTEST_API DataSet(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API DataSet& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The type of the data set.

- */ - inline DataSetType GetType() const { return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - inline void SetType(DataSetType value) { - m_typeHasBeenSet = true; - m_type = value; - } - inline DataSet& WithType(DataSetType value) { - SetType(value); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the data set.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - DataSet& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The CCSID of the data set.

- */ - inline const Aws::String& GetCcsid() const { return m_ccsid; } - inline bool CcsidHasBeenSet() const { return m_ccsidHasBeenSet; } - template - void SetCcsid(CcsidT&& value) { - m_ccsidHasBeenSet = true; - m_ccsid = std::forward(value); - } - template - DataSet& WithCcsid(CcsidT&& value) { - SetCcsid(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The format of the data set.

- */ - inline Format GetFormat() const { return m_format; } - inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } - inline void SetFormat(Format value) { - m_formatHasBeenSet = true; - m_format = value; - } - inline DataSet& WithFormat(Format value) { - SetFormat(value); - return *this; - } - ///@} - - ///@{ - /** - *

The length of the data set.

- */ - inline int GetLength() const { return m_length; } - inline bool LengthHasBeenSet() const { return m_lengthHasBeenSet; } - inline void SetLength(int value) { - m_lengthHasBeenSet = true; - m_length = value; - } - inline DataSet& WithLength(int value) { - SetLength(value); - return *this; - } - ///@} - private: - DataSetType m_type{DataSetType::NOT_SET}; - bool m_typeHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_ccsid; - bool m_ccsidHasBeenSet = false; - - Format m_format{Format::NOT_SET}; - bool m_formatHasBeenSet = false; - - int m_length{0}; - bool m_lengthHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DataSetType.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DataSetType.h deleted file mode 100644 index 137a0db9d18..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DataSetType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class DataSetType { NOT_SET, PS }; - -namespace DataSetTypeMapper { -AWS_APPTEST_API DataSetType GetDataSetTypeForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForDataSetType(DataSetType value); -} // namespace DataSetTypeMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DatabaseCDC.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DatabaseCDC.h deleted file mode 100644 index 96e5d030395..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DatabaseCDC.h +++ /dev/null @@ -1,81 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Defines the Change Data Capture (CDC) of the database.

See - * Also:

AWS - * API Reference

- */ -class DatabaseCDC { - public: - AWS_APPTEST_API DatabaseCDC() = default; - AWS_APPTEST_API DatabaseCDC(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API DatabaseCDC& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The source metadata of the database CDC.

- */ - inline const SourceDatabaseMetadata& GetSourceMetadata() const { return m_sourceMetadata; } - inline bool SourceMetadataHasBeenSet() const { return m_sourceMetadataHasBeenSet; } - template - void SetSourceMetadata(SourceMetadataT&& value) { - m_sourceMetadataHasBeenSet = true; - m_sourceMetadata = std::forward(value); - } - template - DatabaseCDC& WithSourceMetadata(SourceMetadataT&& value) { - SetSourceMetadata(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The target metadata of the database CDC.

- */ - inline const TargetDatabaseMetadata& GetTargetMetadata() const { return m_targetMetadata; } - inline bool TargetMetadataHasBeenSet() const { return m_targetMetadataHasBeenSet; } - template - void SetTargetMetadata(TargetMetadataT&& value) { - m_targetMetadataHasBeenSet = true; - m_targetMetadata = std::forward(value); - } - template - DatabaseCDC& WithTargetMetadata(TargetMetadataT&& value) { - SetTargetMetadata(std::forward(value)); - return *this; - } - ///@} - private: - SourceDatabaseMetadata m_sourceMetadata; - bool m_sourceMetadataHasBeenSet = false; - - TargetDatabaseMetadata m_targetMetadata; - bool m_targetMetadataHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteCloudFormationStepInput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteCloudFormationStepInput.h deleted file mode 100644 index 669861bc20b..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteCloudFormationStepInput.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Deletes the CloudFormation step input.

See Also:

AWS - * API Reference

- */ -class DeleteCloudFormationStepInput { - public: - AWS_APPTEST_API DeleteCloudFormationStepInput() = default; - AWS_APPTEST_API DeleteCloudFormationStepInput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API DeleteCloudFormationStepInput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The stack ID of the deleted CloudFormation step input.

- */ - inline const Aws::String& GetStackId() const { return m_stackId; } - inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; } - template - void SetStackId(StackIdT&& value) { - m_stackIdHasBeenSet = true; - m_stackId = std::forward(value); - } - template - DeleteCloudFormationStepInput& WithStackId(StackIdT&& value) { - SetStackId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_stackId; - bool m_stackIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteCloudFormationStepOutput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteCloudFormationStepOutput.h deleted file mode 100644 index 158c9d07e31..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteCloudFormationStepOutput.h +++ /dev/null @@ -1,34 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Deletes the CloudFormation summary step output.

See Also:

AWS - * API Reference

- */ -class DeleteCloudFormationStepOutput { - public: - AWS_APPTEST_API DeleteCloudFormationStepOutput() = default; - AWS_APPTEST_API DeleteCloudFormationStepOutput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API DeleteCloudFormationStepOutput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteCloudFormationSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteCloudFormationSummary.h deleted file mode 100644 index 1dffafb99a2..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteCloudFormationSummary.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Deletes the CloudFormation summary.

See Also:

AWS - * API Reference

- */ -class DeleteCloudFormationSummary { - public: - AWS_APPTEST_API DeleteCloudFormationSummary() = default; - AWS_APPTEST_API DeleteCloudFormationSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API DeleteCloudFormationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The step input of the deleted CloudFormation summary.

- */ - inline const DeleteCloudFormationStepInput& GetStepInput() const { return m_stepInput; } - inline bool StepInputHasBeenSet() const { return m_stepInputHasBeenSet; } - template - void SetStepInput(StepInputT&& value) { - m_stepInputHasBeenSet = true; - m_stepInput = std::forward(value); - } - template - DeleteCloudFormationSummary& WithStepInput(StepInputT&& value) { - SetStepInput(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The step output of the deleted CloudFormation summary.

- */ - inline const DeleteCloudFormationStepOutput& GetStepOutput() const { return m_stepOutput; } - inline bool StepOutputHasBeenSet() const { return m_stepOutputHasBeenSet; } - template - void SetStepOutput(StepOutputT&& value) { - m_stepOutputHasBeenSet = true; - m_stepOutput = std::forward(value); - } - template - DeleteCloudFormationSummary& WithStepOutput(StepOutputT&& value) { - SetStepOutput(std::forward(value)); - return *this; - } - ///@} - private: - DeleteCloudFormationStepInput m_stepInput; - bool m_stepInputHasBeenSet = false; - - DeleteCloudFormationStepOutput m_stepOutput; - bool m_stepOutputHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestCaseRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestCaseRequest.h deleted file mode 100644 index 0fb76b8a3b8..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestCaseRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class DeleteTestCaseRequest : public AppTestRequest { - public: - AWS_APPTEST_API DeleteTestCaseRequest() = default; - - // 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 "DeleteTestCase"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The test case ID of the test case.

- */ - inline const Aws::String& GetTestCaseId() const { return m_testCaseId; } - inline bool TestCaseIdHasBeenSet() const { return m_testCaseIdHasBeenSet; } - template - void SetTestCaseId(TestCaseIdT&& value) { - m_testCaseIdHasBeenSet = true; - m_testCaseId = std::forward(value); - } - template - DeleteTestCaseRequest& WithTestCaseId(TestCaseIdT&& value) { - SetTestCaseId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testCaseId; - bool m_testCaseIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestCaseResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestCaseResult.h deleted file mode 100644 index 9b06bca8f09..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestCaseResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class DeleteTestCaseResult { - public: - AWS_APPTEST_API DeleteTestCaseResult() = default; - AWS_APPTEST_API DeleteTestCaseResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API DeleteTestCaseResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DeleteTestCaseResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestConfigurationRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestConfigurationRequest.h deleted file mode 100644 index fea0a8bfeb5..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestConfigurationRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class DeleteTestConfigurationRequest : public AppTestRequest { - public: - AWS_APPTEST_API DeleteTestConfigurationRequest() = default; - - // 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 "DeleteTestConfiguration"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The test ID of the test configuration.

- */ - inline const Aws::String& GetTestConfigurationId() const { return m_testConfigurationId; } - inline bool TestConfigurationIdHasBeenSet() const { return m_testConfigurationIdHasBeenSet; } - template - void SetTestConfigurationId(TestConfigurationIdT&& value) { - m_testConfigurationIdHasBeenSet = true; - m_testConfigurationId = std::forward(value); - } - template - DeleteTestConfigurationRequest& WithTestConfigurationId(TestConfigurationIdT&& value) { - SetTestConfigurationId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testConfigurationId; - bool m_testConfigurationIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestConfigurationResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestConfigurationResult.h deleted file mode 100644 index 8d825969d49..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestConfigurationResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class DeleteTestConfigurationResult { - public: - AWS_APPTEST_API DeleteTestConfigurationResult() = default; - AWS_APPTEST_API DeleteTestConfigurationResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API DeleteTestConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DeleteTestConfigurationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestRunRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestRunRequest.h deleted file mode 100644 index 477d90aef90..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestRunRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class DeleteTestRunRequest : public AppTestRequest { - public: - AWS_APPTEST_API DeleteTestRunRequest() = default; - - // 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 "DeleteTestRun"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The run ID of the test run.

- */ - inline const Aws::String& GetTestRunId() const { return m_testRunId; } - inline bool TestRunIdHasBeenSet() const { return m_testRunIdHasBeenSet; } - template - void SetTestRunId(TestRunIdT&& value) { - m_testRunIdHasBeenSet = true; - m_testRunId = std::forward(value); - } - template - DeleteTestRunRequest& WithTestRunId(TestRunIdT&& value) { - SetTestRunId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testRunId; - bool m_testRunIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestRunResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestRunResult.h deleted file mode 100644 index d9df29fbff8..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestRunResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class DeleteTestRunResult { - public: - AWS_APPTEST_API DeleteTestRunResult() = default; - AWS_APPTEST_API DeleteTestRunResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API DeleteTestRunResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DeleteTestRunResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestSuiteRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestSuiteRequest.h deleted file mode 100644 index b95c12ab803..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestSuiteRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class DeleteTestSuiteRequest : public AppTestRequest { - public: - AWS_APPTEST_API DeleteTestSuiteRequest() = default; - - // 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 "DeleteTestSuite"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The test ID of the test suite.

- */ - inline const Aws::String& GetTestSuiteId() const { return m_testSuiteId; } - inline bool TestSuiteIdHasBeenSet() const { return m_testSuiteIdHasBeenSet; } - template - void SetTestSuiteId(TestSuiteIdT&& value) { - m_testSuiteIdHasBeenSet = true; - m_testSuiteId = std::forward(value); - } - template - DeleteTestSuiteRequest& WithTestSuiteId(TestSuiteIdT&& value) { - SetTestSuiteId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testSuiteId; - bool m_testSuiteIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestSuiteResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestSuiteResult.h deleted file mode 100644 index 8d2be1c834b..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/DeleteTestSuiteResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class DeleteTestSuiteResult { - public: - AWS_APPTEST_API DeleteTestSuiteResult() = default; - AWS_APPTEST_API DeleteTestSuiteResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API DeleteTestSuiteResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DeleteTestSuiteResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/File.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/File.h deleted file mode 100644 index afa0dabfefc..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/File.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Defines a file.

See Also:

AWS API - * Reference

- */ -class File { - public: - AWS_APPTEST_API File() = default; - AWS_APPTEST_API File(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API File& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The file type of the file.

- */ - inline const CompareFileType& GetFileType() const { return m_fileType; } - inline bool FileTypeHasBeenSet() const { return m_fileTypeHasBeenSet; } - template - void SetFileType(FileTypeT&& value) { - m_fileTypeHasBeenSet = true; - m_fileType = std::forward(value); - } - template - File& WithFileType(FileTypeT&& value) { - SetFileType(std::forward(value)); - return *this; - } - ///@} - private: - CompareFileType m_fileType; - bool m_fileTypeHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/FileMetadata.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/FileMetadata.h deleted file mode 100644 index 5a450b9f3c2..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/FileMetadata.h +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies a file metadata.

See Also:

AWS - * API Reference

- */ -class FileMetadata { - public: - AWS_APPTEST_API FileMetadata() = default; - AWS_APPTEST_API FileMetadata(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API FileMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The data sets of the file metadata.

- */ - inline const Aws::Vector& GetDataSets() const { return m_dataSets; } - inline bool DataSetsHasBeenSet() const { return m_dataSetsHasBeenSet; } - template > - void SetDataSets(DataSetsT&& value) { - m_dataSetsHasBeenSet = true; - m_dataSets = std::forward(value); - } - template > - FileMetadata& WithDataSets(DataSetsT&& value) { - SetDataSets(std::forward(value)); - return *this; - } - template - FileMetadata& AddDataSets(DataSetsT&& value) { - m_dataSetsHasBeenSet = true; - m_dataSets.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The database CDC of the file metadata.

- */ - inline const DatabaseCDC& GetDatabaseCDC() const { return m_databaseCDC; } - inline bool DatabaseCDCHasBeenSet() const { return m_databaseCDCHasBeenSet; } - template - void SetDatabaseCDC(DatabaseCDCT&& value) { - m_databaseCDCHasBeenSet = true; - m_databaseCDC = std::forward(value); - } - template - FileMetadata& WithDatabaseCDC(DatabaseCDCT&& value) { - SetDatabaseCDC(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_dataSets; - bool m_dataSetsHasBeenSet = false; - - DatabaseCDC m_databaseCDC; - bool m_databaseCDCHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Format.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Format.h deleted file mode 100644 index 8c1a3c730fc..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Format.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class Format { NOT_SET, FIXED, VARIABLE, LINE_SEQUENTIAL }; - -namespace FormatMapper { -AWS_APPTEST_API Format GetFormatForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForFormat(Format value); -} // namespace FormatMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestCaseRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestCaseRequest.h deleted file mode 100644 index baf1de8de3f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestCaseRequest.h +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class GetTestCaseRequest : public AppTestRequest { - public: - AWS_APPTEST_API GetTestCaseRequest() = default; - - // 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 "GetTestCase"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - AWS_APPTEST_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The request test ID of the test case.

- */ - inline const Aws::String& GetTestCaseId() const { return m_testCaseId; } - inline bool TestCaseIdHasBeenSet() const { return m_testCaseIdHasBeenSet; } - template - void SetTestCaseId(TestCaseIdT&& value) { - m_testCaseIdHasBeenSet = true; - m_testCaseId = std::forward(value); - } - template - GetTestCaseRequest& WithTestCaseId(TestCaseIdT&& value) { - SetTestCaseId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test case version of the test case.

- */ - inline int GetTestCaseVersion() const { return m_testCaseVersion; } - inline bool TestCaseVersionHasBeenSet() const { return m_testCaseVersionHasBeenSet; } - inline void SetTestCaseVersion(int value) { - m_testCaseVersionHasBeenSet = true; - m_testCaseVersion = value; - } - inline GetTestCaseRequest& WithTestCaseVersion(int value) { - SetTestCaseVersion(value); - return *this; - } - ///@} - private: - Aws::String m_testCaseId; - bool m_testCaseIdHasBeenSet = false; - - int m_testCaseVersion{0}; - bool m_testCaseVersionHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestCaseResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestCaseResult.h deleted file mode 100644 index f71fc8f2965..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestCaseResult.h +++ /dev/null @@ -1,304 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class GetTestCaseResult { - public: - AWS_APPTEST_API GetTestCaseResult() = default; - AWS_APPTEST_API GetTestCaseResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API GetTestCaseResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The response test ID of the test case.

- */ - inline const Aws::String& GetTestCaseId() const { return m_testCaseId; } - template - void SetTestCaseId(TestCaseIdT&& value) { - m_testCaseIdHasBeenSet = true; - m_testCaseId = std::forward(value); - } - template - GetTestCaseResult& WithTestCaseId(TestCaseIdT&& value) { - SetTestCaseId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the test case.

- */ - inline const Aws::String& GetTestCaseArn() const { return m_testCaseArn; } - template - void SetTestCaseArn(TestCaseArnT&& value) { - m_testCaseArnHasBeenSet = true; - m_testCaseArn = std::forward(value); - } - template - GetTestCaseResult& WithTestCaseArn(TestCaseArnT&& value) { - SetTestCaseArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the test case.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - GetTestCaseResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description of the test case.

- */ - inline const Aws::String& GetDescription() const { return m_description; } - template - void SetDescription(DescriptionT&& value) { - m_descriptionHasBeenSet = true; - m_description = std::forward(value); - } - template - GetTestCaseResult& WithDescription(DescriptionT&& value) { - SetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The latest version of the test case.

- */ - inline const TestCaseLatestVersion& GetLatestVersion() const { return m_latestVersion; } - template - void SetLatestVersion(LatestVersionT&& value) { - m_latestVersionHasBeenSet = true; - m_latestVersion = std::forward(value); - } - template - GetTestCaseResult& WithLatestVersion(LatestVersionT&& value) { - SetLatestVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The case version of the test case.

- */ - inline int GetTestCaseVersion() const { return m_testCaseVersion; } - inline void SetTestCaseVersion(int value) { - m_testCaseVersionHasBeenSet = true; - m_testCaseVersion = value; - } - inline GetTestCaseResult& WithTestCaseVersion(int value) { - SetTestCaseVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the test case.

- */ - inline TestCaseLifecycle GetStatus() const { return m_status; } - inline void SetStatus(TestCaseLifecycle value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline GetTestCaseResult& WithStatus(TestCaseLifecycle value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status reason of the test case.

- */ - inline const Aws::String& GetStatusReason() const { return m_statusReason; } - template - void SetStatusReason(StatusReasonT&& value) { - m_statusReasonHasBeenSet = true; - m_statusReason = std::forward(value); - } - template - GetTestCaseResult& WithStatusReason(StatusReasonT&& value) { - SetStatusReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The creation time of the test case.

- */ - inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; } - template - void SetCreationTime(CreationTimeT&& value) { - m_creationTimeHasBeenSet = true; - m_creationTime = std::forward(value); - } - template - GetTestCaseResult& WithCreationTime(CreationTimeT&& value) { - SetCreationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The last update time of the test case.

- */ - inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; } - template - void SetLastUpdateTime(LastUpdateTimeT&& value) { - m_lastUpdateTimeHasBeenSet = true; - m_lastUpdateTime = std::forward(value); - } - template - GetTestCaseResult& WithLastUpdateTime(LastUpdateTimeT&& value) { - SetLastUpdateTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The steps of the test case.

- */ - inline const Aws::Vector& GetSteps() const { return m_steps; } - template > - void SetSteps(StepsT&& value) { - m_stepsHasBeenSet = true; - m_steps = std::forward(value); - } - template > - GetTestCaseResult& WithSteps(StepsT&& value) { - SetSteps(std::forward(value)); - return *this; - } - template - GetTestCaseResult& AddSteps(StepsT&& value) { - m_stepsHasBeenSet = true; - m_steps.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The tags of the test case.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - GetTestCaseResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - GetTestCaseResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - GetTestCaseResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testCaseId; - bool m_testCaseIdHasBeenSet = false; - - Aws::String m_testCaseArn; - bool m_testCaseArnHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; - - TestCaseLatestVersion m_latestVersion; - bool m_latestVersionHasBeenSet = false; - - int m_testCaseVersion{0}; - bool m_testCaseVersionHasBeenSet = false; - - TestCaseLifecycle m_status{TestCaseLifecycle::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusReason; - bool m_statusReasonHasBeenSet = false; - - Aws::Utils::DateTime m_creationTime{}; - bool m_creationTimeHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdateTime{}; - bool m_lastUpdateTimeHasBeenSet = false; - - Aws::Vector m_steps; - bool m_stepsHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestConfigurationRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestConfigurationRequest.h deleted file mode 100644 index 09d8ac7ede0..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestConfigurationRequest.h +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class GetTestConfigurationRequest : public AppTestRequest { - public: - AWS_APPTEST_API GetTestConfigurationRequest() = default; - - // 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 "GetTestConfiguration"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - AWS_APPTEST_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The request test configuration ID.

- */ - inline const Aws::String& GetTestConfigurationId() const { return m_testConfigurationId; } - inline bool TestConfigurationIdHasBeenSet() const { return m_testConfigurationIdHasBeenSet; } - template - void SetTestConfigurationId(TestConfigurationIdT&& value) { - m_testConfigurationIdHasBeenSet = true; - m_testConfigurationId = std::forward(value); - } - template - GetTestConfigurationRequest& WithTestConfigurationId(TestConfigurationIdT&& value) { - SetTestConfigurationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test configuration version.

- */ - inline int GetTestConfigurationVersion() const { return m_testConfigurationVersion; } - inline bool TestConfigurationVersionHasBeenSet() const { return m_testConfigurationVersionHasBeenSet; } - inline void SetTestConfigurationVersion(int value) { - m_testConfigurationVersionHasBeenSet = true; - m_testConfigurationVersion = value; - } - inline GetTestConfigurationRequest& WithTestConfigurationVersion(int value) { - SetTestConfigurationVersion(value); - return *this; - } - ///@} - private: - Aws::String m_testConfigurationId; - bool m_testConfigurationIdHasBeenSet = false; - - int m_testConfigurationVersion{0}; - bool m_testConfigurationVersionHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestConfigurationResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestConfigurationResult.h deleted file mode 100644 index a0819fbbdda..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestConfigurationResult.h +++ /dev/null @@ -1,351 +0,0 @@ -/** - * 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 - -#include - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace AppTest { -namespace Model { -class GetTestConfigurationResult { - public: - AWS_APPTEST_API GetTestConfigurationResult() = default; - AWS_APPTEST_API GetTestConfigurationResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API GetTestConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The response test configuration ID.

- */ - inline const Aws::String& GetTestConfigurationId() const { return m_testConfigurationId; } - template - void SetTestConfigurationId(TestConfigurationIdT&& value) { - m_testConfigurationIdHasBeenSet = true; - m_testConfigurationId = std::forward(value); - } - template - GetTestConfigurationResult& WithTestConfigurationId(TestConfigurationIdT&& value) { - SetTestConfigurationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test configuration name

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - GetTestConfigurationResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test configuration Amazon Resource Name (ARN).

- */ - inline const Aws::String& GetTestConfigurationArn() const { return m_testConfigurationArn; } - template - void SetTestConfigurationArn(TestConfigurationArnT&& value) { - m_testConfigurationArnHasBeenSet = true; - m_testConfigurationArn = std::forward(value); - } - template - GetTestConfigurationResult& WithTestConfigurationArn(TestConfigurationArnT&& value) { - SetTestConfigurationArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The latest version of the test configuration.

- */ - inline const TestConfigurationLatestVersion& GetLatestVersion() const { return m_latestVersion; } - template - void SetLatestVersion(LatestVersionT&& value) { - m_latestVersionHasBeenSet = true; - m_latestVersion = std::forward(value); - } - template - GetTestConfigurationResult& WithLatestVersion(LatestVersionT&& value) { - SetLatestVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test configuration version.

- */ - inline int GetTestConfigurationVersion() const { return m_testConfigurationVersion; } - inline void SetTestConfigurationVersion(int value) { - m_testConfigurationVersionHasBeenSet = true; - m_testConfigurationVersion = value; - } - inline GetTestConfigurationResult& WithTestConfigurationVersion(int value) { - SetTestConfigurationVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the test configuration.

- */ - inline TestConfigurationLifecycle GetStatus() const { return m_status; } - inline void SetStatus(TestConfigurationLifecycle value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline GetTestConfigurationResult& WithStatus(TestConfigurationLifecycle value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status reason of the test configuration.

- */ - inline const Aws::String& GetStatusReason() const { return m_statusReason; } - template - void SetStatusReason(StatusReasonT&& value) { - m_statusReasonHasBeenSet = true; - m_statusReason = std::forward(value); - } - template - GetTestConfigurationResult& WithStatusReason(StatusReasonT&& value) { - SetStatusReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The creation time of the test configuration.

- */ - inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; } - template - void SetCreationTime(CreationTimeT&& value) { - m_creationTimeHasBeenSet = true; - m_creationTime = std::forward(value); - } - template - GetTestConfigurationResult& WithCreationTime(CreationTimeT&& value) { - SetCreationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The last update time of the test configuration.

- */ - inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; } - template - void SetLastUpdateTime(LastUpdateTimeT&& value) { - m_lastUpdateTimeHasBeenSet = true; - m_lastUpdateTime = std::forward(value); - } - template - GetTestConfigurationResult& WithLastUpdateTime(LastUpdateTimeT&& value) { - SetLastUpdateTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description of the test configuration.

- */ - inline const Aws::String& GetDescription() const { return m_description; } - template - void SetDescription(DescriptionT&& value) { - m_descriptionHasBeenSet = true; - m_description = std::forward(value); - } - template - GetTestConfigurationResult& WithDescription(DescriptionT&& value) { - SetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The resources of the test configuration.

- */ - inline const Aws::Vector& GetResources() const { return m_resources; } - template > - void SetResources(ResourcesT&& value) { - m_resourcesHasBeenSet = true; - m_resources = std::forward(value); - } - template > - GetTestConfigurationResult& WithResources(ResourcesT&& value) { - SetResources(std::forward(value)); - return *this; - } - template - GetTestConfigurationResult& AddResources(ResourcesT&& value) { - m_resourcesHasBeenSet = true; - m_resources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The properties of the test configuration.

- */ - inline const Aws::Map& GetProperties() const { return m_properties; } - template > - void SetProperties(PropertiesT&& value) { - m_propertiesHasBeenSet = true; - m_properties = std::forward(value); - } - template > - GetTestConfigurationResult& WithProperties(PropertiesT&& value) { - SetProperties(std::forward(value)); - return *this; - } - template - GetTestConfigurationResult& AddProperties(PropertiesKeyT&& key, PropertiesValueT&& value) { - m_propertiesHasBeenSet = true; - m_properties.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The tags of the test configuration.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - GetTestConfigurationResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - GetTestConfigurationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The service settings of the test configuration.

- */ - inline const ServiceSettings& GetServiceSettings() const { return m_serviceSettings; } - template - void SetServiceSettings(ServiceSettingsT&& value) { - m_serviceSettingsHasBeenSet = true; - m_serviceSettings = std::forward(value); - } - template - GetTestConfigurationResult& WithServiceSettings(ServiceSettingsT&& value) { - SetServiceSettings(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - GetTestConfigurationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testConfigurationId; - bool m_testConfigurationIdHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_testConfigurationArn; - bool m_testConfigurationArnHasBeenSet = false; - - TestConfigurationLatestVersion m_latestVersion; - bool m_latestVersionHasBeenSet = false; - - int m_testConfigurationVersion{0}; - bool m_testConfigurationVersionHasBeenSet = false; - - TestConfigurationLifecycle m_status{TestConfigurationLifecycle::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusReason; - bool m_statusReasonHasBeenSet = false; - - Aws::Utils::DateTime m_creationTime{}; - bool m_creationTimeHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdateTime{}; - bool m_lastUpdateTimeHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; - - Aws::Vector m_resources; - bool m_resourcesHasBeenSet = false; - - Aws::Map m_properties; - bool m_propertiesHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - ServiceSettings m_serviceSettings; - bool m_serviceSettingsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestRunStepRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestRunStepRequest.h deleted file mode 100644 index 900a5332e03..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestRunStepRequest.h +++ /dev/null @@ -1,123 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class GetTestRunStepRequest : public AppTestRequest { - public: - AWS_APPTEST_API GetTestRunStepRequest() = default; - - // 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 "GetTestRunStep"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - AWS_APPTEST_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The test run ID of the test run step.

- */ - inline const Aws::String& GetTestRunId() const { return m_testRunId; } - inline bool TestRunIdHasBeenSet() const { return m_testRunIdHasBeenSet; } - template - void SetTestRunId(TestRunIdT&& value) { - m_testRunIdHasBeenSet = true; - m_testRunId = std::forward(value); - } - template - GetTestRunStepRequest& WithTestRunId(TestRunIdT&& value) { - SetTestRunId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The step name of the test run step.

- */ - inline const Aws::String& GetStepName() const { return m_stepName; } - inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; } - template - void SetStepName(StepNameT&& value) { - m_stepNameHasBeenSet = true; - m_stepName = std::forward(value); - } - template - GetTestRunStepRequest& WithStepName(StepNameT&& value) { - SetStepName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test case ID of a test run step.

- */ - inline const Aws::String& GetTestCaseId() const { return m_testCaseId; } - inline bool TestCaseIdHasBeenSet() const { return m_testCaseIdHasBeenSet; } - template - void SetTestCaseId(TestCaseIdT&& value) { - m_testCaseIdHasBeenSet = true; - m_testCaseId = std::forward(value); - } - template - GetTestRunStepRequest& WithTestCaseId(TestCaseIdT&& value) { - SetTestCaseId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test suite ID of a test run step.

- */ - inline const Aws::String& GetTestSuiteId() const { return m_testSuiteId; } - inline bool TestSuiteIdHasBeenSet() const { return m_testSuiteIdHasBeenSet; } - template - void SetTestSuiteId(TestSuiteIdT&& value) { - m_testSuiteIdHasBeenSet = true; - m_testSuiteId = std::forward(value); - } - template - GetTestRunStepRequest& WithTestSuiteId(TestSuiteIdT&& value) { - SetTestSuiteId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testRunId; - bool m_testRunIdHasBeenSet = false; - - Aws::String m_stepName; - bool m_stepNameHasBeenSet = false; - - Aws::String m_testCaseId; - bool m_testCaseIdHasBeenSet = false; - - Aws::String m_testSuiteId; - bool m_testSuiteIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestRunStepResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestRunStepResult.h deleted file mode 100644 index aec1cb0aef2..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestRunStepResult.h +++ /dev/null @@ -1,303 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class GetTestRunStepResult { - public: - AWS_APPTEST_API GetTestRunStepResult() = default; - AWS_APPTEST_API GetTestRunStepResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API GetTestRunStepResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The step name of the test run step.

- */ - inline const Aws::String& GetStepName() const { return m_stepName; } - template - void SetStepName(StepNameT&& value) { - m_stepNameHasBeenSet = true; - m_stepName = std::forward(value); - } - template - GetTestRunStepResult& WithStepName(StepNameT&& value) { - SetStepName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test run ID of the test run step.

- */ - inline const Aws::String& GetTestRunId() const { return m_testRunId; } - template - void SetTestRunId(TestRunIdT&& value) { - m_testRunIdHasBeenSet = true; - m_testRunId = std::forward(value); - } - template - GetTestRunStepResult& WithTestRunId(TestRunIdT&& value) { - SetTestRunId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test case ID of the test run step.

- */ - inline const Aws::String& GetTestCaseId() const { return m_testCaseId; } - template - void SetTestCaseId(TestCaseIdT&& value) { - m_testCaseIdHasBeenSet = true; - m_testCaseId = std::forward(value); - } - template - GetTestRunStepResult& WithTestCaseId(TestCaseIdT&& value) { - SetTestCaseId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test case version of the test run step.

- */ - inline int GetTestCaseVersion() const { return m_testCaseVersion; } - inline void SetTestCaseVersion(int value) { - m_testCaseVersionHasBeenSet = true; - m_testCaseVersion = value; - } - inline GetTestRunStepResult& WithTestCaseVersion(int value) { - SetTestCaseVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The test suite ID of the test run step.

- */ - inline const Aws::String& GetTestSuiteId() const { return m_testSuiteId; } - template - void SetTestSuiteId(TestSuiteIdT&& value) { - m_testSuiteIdHasBeenSet = true; - m_testSuiteId = std::forward(value); - } - template - GetTestRunStepResult& WithTestSuiteId(TestSuiteIdT&& value) { - SetTestSuiteId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test suite version of the test run step.

- */ - inline int GetTestSuiteVersion() const { return m_testSuiteVersion; } - inline void SetTestSuiteVersion(int value) { - m_testSuiteVersionHasBeenSet = true; - m_testSuiteVersion = value; - } - inline GetTestRunStepResult& WithTestSuiteVersion(int value) { - SetTestSuiteVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The before steps of the test run step.

- */ - inline bool GetBeforeStep() const { return m_beforeStep; } - inline void SetBeforeStep(bool value) { - m_beforeStepHasBeenSet = true; - m_beforeStep = value; - } - inline GetTestRunStepResult& WithBeforeStep(bool value) { - SetBeforeStep(value); - return *this; - } - ///@} - - ///@{ - /** - *

The after steps of the test run step.

- */ - inline bool GetAfterStep() const { return m_afterStep; } - inline void SetAfterStep(bool value) { - m_afterStepHasBeenSet = true; - m_afterStep = value; - } - inline GetTestRunStepResult& WithAfterStep(bool value) { - SetAfterStep(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the test run step.

- */ - inline StepRunStatus GetStatus() const { return m_status; } - inline void SetStatus(StepRunStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline GetTestRunStepResult& WithStatus(StepRunStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status reason of the test run step.

- */ - inline const Aws::String& GetStatusReason() const { return m_statusReason; } - template - void SetStatusReason(StatusReasonT&& value) { - m_statusReasonHasBeenSet = true; - m_statusReason = std::forward(value); - } - template - GetTestRunStepResult& WithStatusReason(StatusReasonT&& value) { - SetStatusReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The run start time of the test run step.

- */ - inline const Aws::Utils::DateTime& GetRunStartTime() const { return m_runStartTime; } - template - void SetRunStartTime(RunStartTimeT&& value) { - m_runStartTimeHasBeenSet = true; - m_runStartTime = std::forward(value); - } - template - GetTestRunStepResult& WithRunStartTime(RunStartTimeT&& value) { - SetRunStartTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The run end time of the test run step.

- */ - inline const Aws::Utils::DateTime& GetRunEndTime() const { return m_runEndTime; } - template - void SetRunEndTime(RunEndTimeT&& value) { - m_runEndTimeHasBeenSet = true; - m_runEndTime = std::forward(value); - } - template - GetTestRunStepResult& WithRunEndTime(RunEndTimeT&& value) { - SetRunEndTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The step run summary of the test run step.

- */ - inline const StepRunSummary& GetStepRunSummary() const { return m_stepRunSummary; } - template - void SetStepRunSummary(StepRunSummaryT&& value) { - m_stepRunSummaryHasBeenSet = true; - m_stepRunSummary = std::forward(value); - } - template - GetTestRunStepResult& WithStepRunSummary(StepRunSummaryT&& value) { - SetStepRunSummary(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - GetTestRunStepResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_stepName; - bool m_stepNameHasBeenSet = false; - - Aws::String m_testRunId; - bool m_testRunIdHasBeenSet = false; - - Aws::String m_testCaseId; - bool m_testCaseIdHasBeenSet = false; - - int m_testCaseVersion{0}; - bool m_testCaseVersionHasBeenSet = false; - - Aws::String m_testSuiteId; - bool m_testSuiteIdHasBeenSet = false; - - int m_testSuiteVersion{0}; - bool m_testSuiteVersionHasBeenSet = false; - - bool m_beforeStep{false}; - bool m_beforeStepHasBeenSet = false; - - bool m_afterStep{false}; - bool m_afterStepHasBeenSet = false; - - StepRunStatus m_status{StepRunStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusReason; - bool m_statusReasonHasBeenSet = false; - - Aws::Utils::DateTime m_runStartTime{}; - bool m_runStartTimeHasBeenSet = false; - - Aws::Utils::DateTime m_runEndTime{}; - bool m_runEndTimeHasBeenSet = false; - - StepRunSummary m_stepRunSummary; - bool m_stepRunSummaryHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestSuiteRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestSuiteRequest.h deleted file mode 100644 index cb46ff03f58..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestSuiteRequest.h +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class GetTestSuiteRequest : public AppTestRequest { - public: - AWS_APPTEST_API GetTestSuiteRequest() = default; - - // 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 "GetTestSuite"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - AWS_APPTEST_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The ID of the test suite.

- */ - inline const Aws::String& GetTestSuiteId() const { return m_testSuiteId; } - inline bool TestSuiteIdHasBeenSet() const { return m_testSuiteIdHasBeenSet; } - template - void SetTestSuiteId(TestSuiteIdT&& value) { - m_testSuiteIdHasBeenSet = true; - m_testSuiteId = std::forward(value); - } - template - GetTestSuiteRequest& WithTestSuiteId(TestSuiteIdT&& value) { - SetTestSuiteId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the test suite.

- */ - inline int GetTestSuiteVersion() const { return m_testSuiteVersion; } - inline bool TestSuiteVersionHasBeenSet() const { return m_testSuiteVersionHasBeenSet; } - inline void SetTestSuiteVersion(int value) { - m_testSuiteVersionHasBeenSet = true; - m_testSuiteVersion = value; - } - inline GetTestSuiteRequest& WithTestSuiteVersion(int value) { - SetTestSuiteVersion(value); - return *this; - } - ///@} - private: - Aws::String m_testSuiteId; - bool m_testSuiteIdHasBeenSet = false; - - int m_testSuiteVersion{0}; - bool m_testSuiteVersionHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestSuiteResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestSuiteResult.h deleted file mode 100644 index a8ad0ef95e7..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/GetTestSuiteResult.h +++ /dev/null @@ -1,351 +0,0 @@ -/** - * 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 - -#include - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace AppTest { -namespace Model { -class GetTestSuiteResult { - public: - AWS_APPTEST_API GetTestSuiteResult() = default; - AWS_APPTEST_API GetTestSuiteResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API GetTestSuiteResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The response ID of the test suite.

- */ - inline const Aws::String& GetTestSuiteId() const { return m_testSuiteId; } - template - void SetTestSuiteId(TestSuiteIdT&& value) { - m_testSuiteIdHasBeenSet = true; - m_testSuiteId = std::forward(value); - } - template - GetTestSuiteResult& WithTestSuiteId(TestSuiteIdT&& value) { - SetTestSuiteId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the test suite.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - GetTestSuiteResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The latest version of the test suite.

- */ - inline const TestSuiteLatestVersion& GetLatestVersion() const { return m_latestVersion; } - template - void SetLatestVersion(LatestVersionT&& value) { - m_latestVersionHasBeenSet = true; - m_latestVersion = std::forward(value); - } - template - GetTestSuiteResult& WithLatestVersion(LatestVersionT&& value) { - SetLatestVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the test suite.

- */ - inline int GetTestSuiteVersion() const { return m_testSuiteVersion; } - inline void SetTestSuiteVersion(int value) { - m_testSuiteVersionHasBeenSet = true; - m_testSuiteVersion = value; - } - inline GetTestSuiteResult& WithTestSuiteVersion(int value) { - SetTestSuiteVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the test suite.

- */ - inline TestSuiteLifecycle GetStatus() const { return m_status; } - inline void SetStatus(TestSuiteLifecycle value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline GetTestSuiteResult& WithStatus(TestSuiteLifecycle value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status reason of the test suite.

- */ - inline const Aws::String& GetStatusReason() const { return m_statusReason; } - template - void SetStatusReason(StatusReasonT&& value) { - m_statusReasonHasBeenSet = true; - m_statusReason = std::forward(value); - } - template - GetTestSuiteResult& WithStatusReason(StatusReasonT&& value) { - SetStatusReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test suite Amazon Resource Name (ARN).

- */ - inline const Aws::String& GetTestSuiteArn() const { return m_testSuiteArn; } - template - void SetTestSuiteArn(TestSuiteArnT&& value) { - m_testSuiteArnHasBeenSet = true; - m_testSuiteArn = std::forward(value); - } - template - GetTestSuiteResult& WithTestSuiteArn(TestSuiteArnT&& value) { - SetTestSuiteArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The creation time of the test suite.

- */ - inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; } - template - void SetCreationTime(CreationTimeT&& value) { - m_creationTimeHasBeenSet = true; - m_creationTime = std::forward(value); - } - template - GetTestSuiteResult& WithCreationTime(CreationTimeT&& value) { - SetCreationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The last update time of the test suite.

- */ - inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; } - template - void SetLastUpdateTime(LastUpdateTimeT&& value) { - m_lastUpdateTimeHasBeenSet = true; - m_lastUpdateTime = std::forward(value); - } - template - GetTestSuiteResult& WithLastUpdateTime(LastUpdateTimeT&& value) { - SetLastUpdateTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description of the test suite.

- */ - inline const Aws::String& GetDescription() const { return m_description; } - template - void SetDescription(DescriptionT&& value) { - m_descriptionHasBeenSet = true; - m_description = std::forward(value); - } - template - GetTestSuiteResult& WithDescription(DescriptionT&& value) { - SetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The before steps of the test suite.

- */ - inline const Aws::Vector& GetBeforeSteps() const { return m_beforeSteps; } - template > - void SetBeforeSteps(BeforeStepsT&& value) { - m_beforeStepsHasBeenSet = true; - m_beforeSteps = std::forward(value); - } - template > - GetTestSuiteResult& WithBeforeSteps(BeforeStepsT&& value) { - SetBeforeSteps(std::forward(value)); - return *this; - } - template - GetTestSuiteResult& AddBeforeSteps(BeforeStepsT&& value) { - m_beforeStepsHasBeenSet = true; - m_beforeSteps.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The after steps of the test suite.

- */ - inline const Aws::Vector& GetAfterSteps() const { return m_afterSteps; } - template > - void SetAfterSteps(AfterStepsT&& value) { - m_afterStepsHasBeenSet = true; - m_afterSteps = std::forward(value); - } - template > - GetTestSuiteResult& WithAfterSteps(AfterStepsT&& value) { - SetAfterSteps(std::forward(value)); - return *this; - } - template - GetTestSuiteResult& AddAfterSteps(AfterStepsT&& value) { - m_afterStepsHasBeenSet = true; - m_afterSteps.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test cases of the test suite.

- */ - inline const TestCases& GetTestCases() const { return m_testCases; } - template - void SetTestCases(TestCasesT&& value) { - m_testCasesHasBeenSet = true; - m_testCases = std::forward(value); - } - template - GetTestSuiteResult& WithTestCases(TestCasesT&& value) { - SetTestCases(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The tags of the test suite.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - GetTestSuiteResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - GetTestSuiteResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - GetTestSuiteResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testSuiteId; - bool m_testSuiteIdHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - TestSuiteLatestVersion m_latestVersion; - bool m_latestVersionHasBeenSet = false; - - int m_testSuiteVersion{0}; - bool m_testSuiteVersionHasBeenSet = false; - - TestSuiteLifecycle m_status{TestSuiteLifecycle::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusReason; - bool m_statusReasonHasBeenSet = false; - - Aws::String m_testSuiteArn; - bool m_testSuiteArnHasBeenSet = false; - - Aws::Utils::DateTime m_creationTime{}; - bool m_creationTimeHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdateTime{}; - bool m_lastUpdateTimeHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; - - Aws::Vector m_beforeSteps; - bool m_beforeStepsHasBeenSet = false; - - Aws::Vector m_afterSteps; - bool m_afterStepsHasBeenSet = false; - - TestCases m_testCases; - bool m_testCasesHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Input.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Input.h deleted file mode 100644 index 01da0c84a9d..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Input.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the input.

See Also:

AWS API - * Reference

- */ -class Input { - public: - AWS_APPTEST_API Input() = default; - AWS_APPTEST_API Input(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Input& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The file in the input.

- */ - inline const InputFile& GetFile() const { return m_file; } - inline bool FileHasBeenSet() const { return m_fileHasBeenSet; } - template - void SetFile(FileT&& value) { - m_fileHasBeenSet = true; - m_file = std::forward(value); - } - template - Input& WithFile(FileT&& value) { - SetFile(std::forward(value)); - return *this; - } - ///@} - private: - InputFile m_file; - bool m_fileHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/InputFile.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/InputFile.h deleted file mode 100644 index c6615f4de9f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/InputFile.h +++ /dev/null @@ -1,101 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the input file.

See Also:

AWS - * API Reference

- */ -class InputFile { - public: - AWS_APPTEST_API InputFile() = default; - AWS_APPTEST_API InputFile(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API InputFile& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The source location of the input file.

- */ - inline const Aws::String& GetSourceLocation() const { return m_sourceLocation; } - inline bool SourceLocationHasBeenSet() const { return m_sourceLocationHasBeenSet; } - template - void SetSourceLocation(SourceLocationT&& value) { - m_sourceLocationHasBeenSet = true; - m_sourceLocation = std::forward(value); - } - template - InputFile& WithSourceLocation(SourceLocationT&& value) { - SetSourceLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The target location of the input file.

- */ - inline const Aws::String& GetTargetLocation() const { return m_targetLocation; } - inline bool TargetLocationHasBeenSet() const { return m_targetLocationHasBeenSet; } - template - void SetTargetLocation(TargetLocationT&& value) { - m_targetLocationHasBeenSet = true; - m_targetLocation = std::forward(value); - } - template - InputFile& WithTargetLocation(TargetLocationT&& value) { - SetTargetLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The file metadata of the input file.

- */ - inline const FileMetadata& GetFileMetadata() const { return m_fileMetadata; } - inline bool FileMetadataHasBeenSet() const { return m_fileMetadataHasBeenSet; } - template - void SetFileMetadata(FileMetadataT&& value) { - m_fileMetadataHasBeenSet = true; - m_fileMetadata = std::forward(value); - } - template - InputFile& WithFileMetadata(FileMetadataT&& value) { - SetFileMetadata(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_sourceLocation; - bool m_sourceLocationHasBeenSet = false; - - Aws::String m_targetLocation; - bool m_targetLocationHasBeenSet = false; - - FileMetadata m_fileMetadata; - bool m_fileMetadataHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/InternalServerException.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/InternalServerException.h deleted file mode 100644 index d7ac4939742..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/InternalServerException.h +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

An unexpected error occurred during the processing of the - * request.

See Also:

AWS - * API Reference

- */ -class InternalServerException { - public: - AWS_APPTEST_API InternalServerException() = default; - AWS_APPTEST_API InternalServerException(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API InternalServerException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - InternalServerException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The number of seconds to retry the query.

- */ - 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{0}; - bool m_retryAfterSecondsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTagsForResourceRequest.h deleted file mode 100644 index a335f0d82d2..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTagsForResourceRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class ListTagsForResourceRequest : public AppTestRequest { - public: - AWS_APPTEST_API ListTagsForResourceRequest() = default; - - // 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_APPTEST_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the resource.

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - ListTagsForResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTagsForResourceResult.h deleted file mode 100644 index 0435c8df7ec..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTagsForResourceResult.h +++ /dev/null @@ -1,77 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class ListTagsForResourceResult { - public: - AWS_APPTEST_API ListTagsForResourceResult() = default; - AWS_APPTEST_API ListTagsForResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The tags of the resource.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - ListTagsForResourceResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - ListTagsForResourceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListTagsForResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestCasesRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestCasesRequest.h deleted file mode 100644 index 55a868828b3..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestCasesRequest.h +++ /dev/null @@ -1,107 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class ListTestCasesRequest : public AppTestRequest { - public: - AWS_APPTEST_API ListTestCasesRequest() = default; - - // 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 "ListTestCases"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - AWS_APPTEST_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The IDs of the test cases.

- */ - inline const Aws::Vector& GetTestCaseIds() const { return m_testCaseIds; } - inline bool TestCaseIdsHasBeenSet() const { return m_testCaseIdsHasBeenSet; } - template > - void SetTestCaseIds(TestCaseIdsT&& value) { - m_testCaseIdsHasBeenSet = true; - m_testCaseIds = std::forward(value); - } - template > - ListTestCasesRequest& WithTestCaseIds(TestCaseIdsT&& value) { - SetTestCaseIds(std::forward(value)); - return *this; - } - template - ListTestCasesRequest& AddTestCaseIds(TestCaseIdsT&& value) { - m_testCaseIdsHasBeenSet = true; - m_testCaseIds.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The next token of the test cases.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListTestCasesRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum results of the test case.

- */ - 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 ListTestCasesRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - private: - Aws::Vector m_testCaseIds; - bool m_testCaseIdsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestCasesResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestCasesResult.h deleted file mode 100644 index a431fde09c5..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestCasesResult.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class ListTestCasesResult { - public: - AWS_APPTEST_API ListTestCasesResult() = default; - AWS_APPTEST_API ListTestCasesResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API ListTestCasesResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The test cases in an application.

- */ - inline const Aws::Vector& GetTestCases() const { return m_testCases; } - template > - void SetTestCases(TestCasesT&& value) { - m_testCasesHasBeenSet = true; - m_testCases = std::forward(value); - } - template > - ListTestCasesResult& WithTestCases(TestCasesT&& value) { - SetTestCases(std::forward(value)); - return *this; - } - template - ListTestCasesResult& AddTestCases(TestCasesT&& value) { - m_testCasesHasBeenSet = true; - m_testCases.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The next token in test cases.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListTestCasesResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListTestCasesResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_testCases; - bool m_testCasesHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestConfigurationsRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestConfigurationsRequest.h deleted file mode 100644 index 19901f6c60d..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestConfigurationsRequest.h +++ /dev/null @@ -1,107 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class ListTestConfigurationsRequest : public AppTestRequest { - public: - AWS_APPTEST_API ListTestConfigurationsRequest() = default; - - // 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 "ListTestConfigurations"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - AWS_APPTEST_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The configuration IDs of the test configurations.

- */ - inline const Aws::Vector& GetTestConfigurationIds() const { return m_testConfigurationIds; } - inline bool TestConfigurationIdsHasBeenSet() const { return m_testConfigurationIdsHasBeenSet; } - template > - void SetTestConfigurationIds(TestConfigurationIdsT&& value) { - m_testConfigurationIdsHasBeenSet = true; - m_testConfigurationIds = std::forward(value); - } - template > - ListTestConfigurationsRequest& WithTestConfigurationIds(TestConfigurationIdsT&& value) { - SetTestConfigurationIds(std::forward(value)); - return *this; - } - template - ListTestConfigurationsRequest& AddTestConfigurationIds(TestConfigurationIdsT&& value) { - m_testConfigurationIdsHasBeenSet = true; - m_testConfigurationIds.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The next token for the test configurations.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListTestConfigurationsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum results of the test configuration.

- */ - 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 ListTestConfigurationsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - private: - Aws::Vector m_testConfigurationIds; - bool m_testConfigurationIdsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestConfigurationsResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestConfigurationsResult.h deleted file mode 100644 index 97fedad6647..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestConfigurationsResult.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class ListTestConfigurationsResult { - public: - AWS_APPTEST_API ListTestConfigurationsResult() = default; - AWS_APPTEST_API ListTestConfigurationsResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API ListTestConfigurationsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The test configurations.

- */ - inline const Aws::Vector& GetTestConfigurations() const { return m_testConfigurations; } - template > - void SetTestConfigurations(TestConfigurationsT&& value) { - m_testConfigurationsHasBeenSet = true; - m_testConfigurations = std::forward(value); - } - template > - ListTestConfigurationsResult& WithTestConfigurations(TestConfigurationsT&& value) { - SetTestConfigurations(std::forward(value)); - return *this; - } - template - ListTestConfigurationsResult& AddTestConfigurations(TestConfigurationsT&& value) { - m_testConfigurationsHasBeenSet = true; - m_testConfigurations.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The next token in the test configurations.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListTestConfigurationsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListTestConfigurationsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_testConfigurations; - bool m_testConfigurationsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunStepsRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunStepsRequest.h deleted file mode 100644 index 4db88f566e0..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunStepsRequest.h +++ /dev/null @@ -1,142 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class ListTestRunStepsRequest : public AppTestRequest { - public: - AWS_APPTEST_API ListTestRunStepsRequest() = default; - - // 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 "ListTestRunSteps"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - AWS_APPTEST_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The test run ID of the test run steps.

- */ - inline const Aws::String& GetTestRunId() const { return m_testRunId; } - inline bool TestRunIdHasBeenSet() const { return m_testRunIdHasBeenSet; } - template - void SetTestRunId(TestRunIdT&& value) { - m_testRunIdHasBeenSet = true; - m_testRunId = std::forward(value); - } - template - ListTestRunStepsRequest& WithTestRunId(TestRunIdT&& value) { - SetTestRunId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test case ID of the test run steps.

- */ - inline const Aws::String& GetTestCaseId() const { return m_testCaseId; } - inline bool TestCaseIdHasBeenSet() const { return m_testCaseIdHasBeenSet; } - template - void SetTestCaseId(TestCaseIdT&& value) { - m_testCaseIdHasBeenSet = true; - m_testCaseId = std::forward(value); - } - template - ListTestRunStepsRequest& WithTestCaseId(TestCaseIdT&& value) { - SetTestCaseId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test suite ID of the test run steps.

- */ - inline const Aws::String& GetTestSuiteId() const { return m_testSuiteId; } - inline bool TestSuiteIdHasBeenSet() const { return m_testSuiteIdHasBeenSet; } - template - void SetTestSuiteId(TestSuiteIdT&& value) { - m_testSuiteIdHasBeenSet = true; - m_testSuiteId = std::forward(value); - } - template - ListTestRunStepsRequest& WithTestSuiteId(TestSuiteIdT&& value) { - SetTestSuiteId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The token from a previous step to retrieve the next page of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListTestRunStepsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of test run steps to return in one page of results.

- */ - 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 ListTestRunStepsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - private: - Aws::String m_testRunId; - bool m_testRunIdHasBeenSet = false; - - Aws::String m_testCaseId; - bool m_testCaseIdHasBeenSet = false; - - Aws::String m_testSuiteId; - bool m_testSuiteIdHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunStepsResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunStepsResult.h deleted file mode 100644 index a1fd047de07..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunStepsResult.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class ListTestRunStepsResult { - public: - AWS_APPTEST_API ListTestRunStepsResult() = default; - AWS_APPTEST_API ListTestRunStepsResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API ListTestRunStepsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The test run steps of the response query.

- */ - inline const Aws::Vector& GetTestRunSteps() const { return m_testRunSteps; } - template > - void SetTestRunSteps(TestRunStepsT&& value) { - m_testRunStepsHasBeenSet = true; - m_testRunSteps = std::forward(value); - } - template > - ListTestRunStepsResult& WithTestRunSteps(TestRunStepsT&& value) { - SetTestRunSteps(std::forward(value)); - return *this; - } - template - ListTestRunStepsResult& AddTestRunSteps(TestRunStepsT&& value) { - m_testRunStepsHasBeenSet = true; - m_testRunSteps.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The token from a previous request to retrieve the next page of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListTestRunStepsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListTestRunStepsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_testRunSteps; - bool m_testRunStepsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunTestCasesRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunTestCasesRequest.h deleted file mode 100644 index 67451b19a98..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunTestCasesRequest.h +++ /dev/null @@ -1,101 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class ListTestRunTestCasesRequest : public AppTestRequest { - public: - AWS_APPTEST_API ListTestRunTestCasesRequest() = default; - - // 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 "ListTestRunTestCases"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - AWS_APPTEST_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The test run ID of the test cases.

- */ - inline const Aws::String& GetTestRunId() const { return m_testRunId; } - inline bool TestRunIdHasBeenSet() const { return m_testRunIdHasBeenSet; } - template - void SetTestRunId(TestRunIdT&& value) { - m_testRunIdHasBeenSet = true; - m_testRunId = std::forward(value); - } - template - ListTestRunTestCasesRequest& WithTestRunId(TestRunIdT&& value) { - SetTestRunId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The token from a previous request to retrieve the next page of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListTestRunTestCasesRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of test run test cases to return in one page of - * results.

- */ - 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 ListTestRunTestCasesRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - private: - Aws::String m_testRunId; - bool m_testRunIdHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunTestCasesResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunTestCasesResult.h deleted file mode 100644 index fad0378e98a..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunTestCasesResult.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class ListTestRunTestCasesResult { - public: - AWS_APPTEST_API ListTestRunTestCasesResult() = default; - AWS_APPTEST_API ListTestRunTestCasesResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API ListTestRunTestCasesResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The test run of the test cases.

- */ - inline const Aws::Vector& GetTestRunTestCases() const { return m_testRunTestCases; } - template > - void SetTestRunTestCases(TestRunTestCasesT&& value) { - m_testRunTestCasesHasBeenSet = true; - m_testRunTestCases = std::forward(value); - } - template > - ListTestRunTestCasesResult& WithTestRunTestCases(TestRunTestCasesT&& value) { - SetTestRunTestCases(std::forward(value)); - return *this; - } - template - ListTestRunTestCasesResult& AddTestRunTestCases(TestRunTestCasesT&& value) { - m_testRunTestCasesHasBeenSet = true; - m_testRunTestCases.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The token from a previous request to retrieve the next page of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListTestRunTestCasesResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListTestRunTestCasesResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_testRunTestCases; - bool m_testRunTestCasesHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunsRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunsRequest.h deleted file mode 100644 index 2678d1e298c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunsRequest.h +++ /dev/null @@ -1,129 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class ListTestRunsRequest : public AppTestRequest { - public: - AWS_APPTEST_API ListTestRunsRequest() = default; - - // 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 "ListTestRuns"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - AWS_APPTEST_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The test suite ID of the test runs.

- */ - inline const Aws::String& GetTestSuiteId() const { return m_testSuiteId; } - inline bool TestSuiteIdHasBeenSet() const { return m_testSuiteIdHasBeenSet; } - template - void SetTestSuiteId(TestSuiteIdT&& value) { - m_testSuiteIdHasBeenSet = true; - m_testSuiteId = std::forward(value); - } - template - ListTestRunsRequest& WithTestSuiteId(TestSuiteIdT&& value) { - SetTestSuiteId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test run IDs of the test runs.

- */ - inline const Aws::Vector& GetTestRunIds() const { return m_testRunIds; } - inline bool TestRunIdsHasBeenSet() const { return m_testRunIdsHasBeenSet; } - template > - void SetTestRunIds(TestRunIdsT&& value) { - m_testRunIdsHasBeenSet = true; - m_testRunIds = std::forward(value); - } - template > - ListTestRunsRequest& WithTestRunIds(TestRunIdsT&& value) { - SetTestRunIds(std::forward(value)); - return *this; - } - template - ListTestRunsRequest& AddTestRunIds(TestRunIdsT&& value) { - m_testRunIdsHasBeenSet = true; - m_testRunIds.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The token from the previous request to retrieve the next page of test run - * results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListTestRunsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of test runs to return in one page of results.

- */ - 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 ListTestRunsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - private: - Aws::String m_testSuiteId; - bool m_testSuiteIdHasBeenSet = false; - - Aws::Vector m_testRunIds; - bool m_testRunIdsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunsResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunsResult.h deleted file mode 100644 index bae2ed779c0..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestRunsResult.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class ListTestRunsResult { - public: - AWS_APPTEST_API ListTestRunsResult() = default; - AWS_APPTEST_API ListTestRunsResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API ListTestRunsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The test runs of the response query.

- */ - inline const Aws::Vector& GetTestRuns() const { return m_testRuns; } - template > - void SetTestRuns(TestRunsT&& value) { - m_testRunsHasBeenSet = true; - m_testRuns = std::forward(value); - } - template > - ListTestRunsResult& WithTestRuns(TestRunsT&& value) { - SetTestRuns(std::forward(value)); - return *this; - } - template - ListTestRunsResult& AddTestRuns(TestRunsT&& value) { - m_testRunsHasBeenSet = true; - m_testRuns.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The token from the previous request to retrieve the next page of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListTestRunsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListTestRunsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_testRuns; - bool m_testRunsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestSuitesRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestSuitesRequest.h deleted file mode 100644 index bb0dddd303c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestSuitesRequest.h +++ /dev/null @@ -1,107 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class ListTestSuitesRequest : public AppTestRequest { - public: - AWS_APPTEST_API ListTestSuitesRequest() = default; - - // 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 "ListTestSuites"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - AWS_APPTEST_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The suite ID of the test suites.

- */ - inline const Aws::Vector& GetTestSuiteIds() const { return m_testSuiteIds; } - inline bool TestSuiteIdsHasBeenSet() const { return m_testSuiteIdsHasBeenSet; } - template > - void SetTestSuiteIds(TestSuiteIdsT&& value) { - m_testSuiteIdsHasBeenSet = true; - m_testSuiteIds = std::forward(value); - } - template > - ListTestSuitesRequest& WithTestSuiteIds(TestSuiteIdsT&& value) { - SetTestSuiteIds(std::forward(value)); - return *this; - } - template - ListTestSuitesRequest& AddTestSuiteIds(TestSuiteIdsT&& value) { - m_testSuiteIdsHasBeenSet = true; - m_testSuiteIds.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The token from a previous request to retrieve the next page of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListTestSuitesRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of test suites to return in one page of results.

- */ - 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 ListTestSuitesRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - private: - Aws::Vector m_testSuiteIds; - bool m_testSuiteIdsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestSuitesResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestSuitesResult.h deleted file mode 100644 index c1152767901..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ListTestSuitesResult.h +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class ListTestSuitesResult { - public: - AWS_APPTEST_API ListTestSuitesResult() = default; - AWS_APPTEST_API ListTestSuitesResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API ListTestSuitesResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The test suites returned with the response query.

- */ - inline const Aws::Vector& GetTestSuites() const { return m_testSuites; } - template > - void SetTestSuites(TestSuitesT&& value) { - m_testSuitesHasBeenSet = true; - m_testSuites = std::forward(value); - } - template > - ListTestSuitesResult& WithTestSuites(TestSuitesT&& value) { - SetTestSuites(std::forward(value)); - return *this; - } - template - ListTestSuitesResult& AddTestSuites(TestSuitesT&& value) { - m_testSuitesHasBeenSet = true; - m_testSuites.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The token from a previous request to retrieve the next page of test suites - * results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListTestSuitesResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListTestSuitesResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_testSuites; - bool m_testSuitesHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedActionProperties.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedActionProperties.h deleted file mode 100644 index d2ed5f87914..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedActionProperties.h +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the AWS Mainframe Modernization managed action - * properties.

See Also:

AWS - * API Reference

- */ -class M2ManagedActionProperties { - public: - AWS_APPTEST_API M2ManagedActionProperties() = default; - AWS_APPTEST_API M2ManagedActionProperties(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API M2ManagedActionProperties& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Force stops the AWS Mainframe Modernization managed action properties.

- */ - inline bool GetForceStop() const { return m_forceStop; } - inline bool ForceStopHasBeenSet() const { return m_forceStopHasBeenSet; } - inline void SetForceStop(bool value) { - m_forceStopHasBeenSet = true; - m_forceStop = value; - } - inline M2ManagedActionProperties& WithForceStop(bool value) { - SetForceStop(value); - return *this; - } - ///@} - - ///@{ - /** - *

The import data set location of the AWS Mainframe Modernization managed - * action properties.

- */ - inline const Aws::String& GetImportDataSetLocation() const { return m_importDataSetLocation; } - inline bool ImportDataSetLocationHasBeenSet() const { return m_importDataSetLocationHasBeenSet; } - template - void SetImportDataSetLocation(ImportDataSetLocationT&& value) { - m_importDataSetLocationHasBeenSet = true; - m_importDataSetLocation = std::forward(value); - } - template - M2ManagedActionProperties& WithImportDataSetLocation(ImportDataSetLocationT&& value) { - SetImportDataSetLocation(std::forward(value)); - return *this; - } - ///@} - private: - bool m_forceStop{false}; - bool m_forceStopHasBeenSet = false; - - Aws::String m_importDataSetLocation; - bool m_importDataSetLocationHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedActionType.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedActionType.h deleted file mode 100644 index 39c32c28dd4..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedActionType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class M2ManagedActionType { NOT_SET, Configure, Deconfigure }; - -namespace M2ManagedActionTypeMapper { -AWS_APPTEST_API M2ManagedActionType GetM2ManagedActionTypeForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForM2ManagedActionType(M2ManagedActionType value); -} // namespace M2ManagedActionTypeMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplication.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplication.h deleted file mode 100644 index 985cec4a5e4..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplication.h +++ /dev/null @@ -1,123 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the AWS Mainframe Modernization managed application.

See - * Also:

AWS - * API Reference

- */ -class M2ManagedApplication { - public: - AWS_APPTEST_API M2ManagedApplication() = default; - AWS_APPTEST_API M2ManagedApplication(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API M2ManagedApplication& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The application ID of the AWS Mainframe Modernization managed - * application.

- */ - inline const Aws::String& GetApplicationId() const { return m_applicationId; } - inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } - template - void SetApplicationId(ApplicationIdT&& value) { - m_applicationIdHasBeenSet = true; - m_applicationId = std::forward(value); - } - template - M2ManagedApplication& WithApplicationId(ApplicationIdT&& value) { - SetApplicationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The runtime of the AWS Mainframe Modernization managed application.

- */ - inline M2ManagedRuntime GetRuntime() const { return m_runtime; } - inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; } - inline void SetRuntime(M2ManagedRuntime value) { - m_runtimeHasBeenSet = true; - m_runtime = value; - } - inline M2ManagedApplication& WithRuntime(M2ManagedRuntime value) { - SetRuntime(value); - return *this; - } - ///@} - - ///@{ - /** - *

The VPC endpoint service name of the AWS Mainframe Modernization managed - * application.

- */ - inline const Aws::String& GetVpcEndpointServiceName() const { return m_vpcEndpointServiceName; } - inline bool VpcEndpointServiceNameHasBeenSet() const { return m_vpcEndpointServiceNameHasBeenSet; } - template - void SetVpcEndpointServiceName(VpcEndpointServiceNameT&& value) { - m_vpcEndpointServiceNameHasBeenSet = true; - m_vpcEndpointServiceName = std::forward(value); - } - template - M2ManagedApplication& WithVpcEndpointServiceName(VpcEndpointServiceNameT&& value) { - SetVpcEndpointServiceName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The listener port of the AWS Mainframe Modernization managed application.

- */ - inline const Aws::String& GetListenerPort() const { return m_listenerPort; } - inline bool ListenerPortHasBeenSet() const { return m_listenerPortHasBeenSet; } - template - void SetListenerPort(ListenerPortT&& value) { - m_listenerPortHasBeenSet = true; - m_listenerPort = std::forward(value); - } - template - M2ManagedApplication& WithListenerPort(ListenerPortT&& value) { - SetListenerPort(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_applicationId; - bool m_applicationIdHasBeenSet = false; - - M2ManagedRuntime m_runtime{M2ManagedRuntime::NOT_SET}; - bool m_runtimeHasBeenSet = false; - - Aws::String m_vpcEndpointServiceName; - bool m_vpcEndpointServiceNameHasBeenSet = false; - - Aws::String m_listenerPort; - bool m_listenerPortHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationAction.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationAction.h deleted file mode 100644 index f5afa76f4c6..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationAction.h +++ /dev/null @@ -1,104 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the AWS Mainframe Modernization managed application - * action.

See Also:

AWS - * API Reference

- */ -class M2ManagedApplicationAction { - public: - AWS_APPTEST_API M2ManagedApplicationAction() = default; - AWS_APPTEST_API M2ManagedApplicationAction(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API M2ManagedApplicationAction& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The resource of the AWS Mainframe Modernization managed application - * action.

- */ - inline const Aws::String& GetResource() const { return m_resource; } - inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } - template - void SetResource(ResourceT&& value) { - m_resourceHasBeenSet = true; - m_resource = std::forward(value); - } - template - M2ManagedApplicationAction& WithResource(ResourceT&& value) { - SetResource(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The action type of the AWS Mainframe Modernization managed application - * action.

- */ - inline M2ManagedActionType GetActionType() const { return m_actionType; } - inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; } - inline void SetActionType(M2ManagedActionType value) { - m_actionTypeHasBeenSet = true; - m_actionType = value; - } - inline M2ManagedApplicationAction& WithActionType(M2ManagedActionType value) { - SetActionType(value); - return *this; - } - ///@} - - ///@{ - /** - *

The properties of the AWS Mainframe Modernization managed application - * action.

- */ - inline const M2ManagedActionProperties& GetProperties() const { return m_properties; } - inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } - template - void SetProperties(PropertiesT&& value) { - m_propertiesHasBeenSet = true; - m_properties = std::forward(value); - } - template - M2ManagedApplicationAction& WithProperties(PropertiesT&& value) { - SetProperties(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resource; - bool m_resourceHasBeenSet = false; - - M2ManagedActionType m_actionType{M2ManagedActionType::NOT_SET}; - bool m_actionTypeHasBeenSet = false; - - M2ManagedActionProperties m_properties; - bool m_propertiesHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationStepInput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationStepInput.h deleted file mode 100644 index 076d2f86a42..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationStepInput.h +++ /dev/null @@ -1,168 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the AWS Mainframe Modernization managed application step - * input.

See Also:

AWS - * API Reference

- */ -class M2ManagedApplicationStepInput { - public: - AWS_APPTEST_API M2ManagedApplicationStepInput() = default; - AWS_APPTEST_API M2ManagedApplicationStepInput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API M2ManagedApplicationStepInput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The application ID of the AWS Mainframe Modernization managed application - * step input.

- */ - inline const Aws::String& GetApplicationId() const { return m_applicationId; } - inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } - template - void SetApplicationId(ApplicationIdT&& value) { - m_applicationIdHasBeenSet = true; - m_applicationId = std::forward(value); - } - template - M2ManagedApplicationStepInput& WithApplicationId(ApplicationIdT&& value) { - SetApplicationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The runtime of the AWS Mainframe Modernization managed application step - * input.

- */ - inline const Aws::String& GetRuntime() const { return m_runtime; } - inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; } - template - void SetRuntime(RuntimeT&& value) { - m_runtimeHasBeenSet = true; - m_runtime = std::forward(value); - } - template - M2ManagedApplicationStepInput& WithRuntime(RuntimeT&& value) { - SetRuntime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The VPC endpoint service name of the AWS Mainframe Modernization managed - * application step input.

- */ - inline const Aws::String& GetVpcEndpointServiceName() const { return m_vpcEndpointServiceName; } - inline bool VpcEndpointServiceNameHasBeenSet() const { return m_vpcEndpointServiceNameHasBeenSet; } - template - void SetVpcEndpointServiceName(VpcEndpointServiceNameT&& value) { - m_vpcEndpointServiceNameHasBeenSet = true; - m_vpcEndpointServiceName = std::forward(value); - } - template - M2ManagedApplicationStepInput& WithVpcEndpointServiceName(VpcEndpointServiceNameT&& value) { - SetVpcEndpointServiceName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The listener port of the AWS Mainframe Modernization managed application step - * input.

- */ - inline int GetListenerPort() const { return m_listenerPort; } - inline bool ListenerPortHasBeenSet() const { return m_listenerPortHasBeenSet; } - inline void SetListenerPort(int value) { - m_listenerPortHasBeenSet = true; - m_listenerPort = value; - } - inline M2ManagedApplicationStepInput& WithListenerPort(int value) { - SetListenerPort(value); - return *this; - } - ///@} - - ///@{ - /** - *

The action type of the AWS Mainframe Modernization managed application step - * input.

- */ - inline M2ManagedActionType GetActionType() const { return m_actionType; } - inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; } - inline void SetActionType(M2ManagedActionType value) { - m_actionTypeHasBeenSet = true; - m_actionType = value; - } - inline M2ManagedApplicationStepInput& WithActionType(M2ManagedActionType value) { - SetActionType(value); - return *this; - } - ///@} - - ///@{ - /** - *

The properties of the AWS Mainframe Modernization managed application step - * input.

- */ - inline const M2ManagedActionProperties& GetProperties() const { return m_properties; } - inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } - template - void SetProperties(PropertiesT&& value) { - m_propertiesHasBeenSet = true; - m_properties = std::forward(value); - } - template - M2ManagedApplicationStepInput& WithProperties(PropertiesT&& value) { - SetProperties(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_applicationId; - bool m_applicationIdHasBeenSet = false; - - Aws::String m_runtime; - bool m_runtimeHasBeenSet = false; - - Aws::String m_vpcEndpointServiceName; - bool m_vpcEndpointServiceNameHasBeenSet = false; - - int m_listenerPort{0}; - bool m_listenerPortHasBeenSet = false; - - M2ManagedActionType m_actionType{M2ManagedActionType::NOT_SET}; - bool m_actionTypeHasBeenSet = false; - - M2ManagedActionProperties m_properties; - bool m_propertiesHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationStepOutput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationStepOutput.h deleted file mode 100644 index 33b403c3e93..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationStepOutput.h +++ /dev/null @@ -1,67 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the AWS Mainframe Modernization managed application step - * output.

See Also:

AWS - * API Reference

- */ -class M2ManagedApplicationStepOutput { - public: - AWS_APPTEST_API M2ManagedApplicationStepOutput() = default; - AWS_APPTEST_API M2ManagedApplicationStepOutput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API M2ManagedApplicationStepOutput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The import data set summary of the AWS Mainframe Modernization managed - * application step output.

- */ - inline const Aws::Map& GetImportDataSetSummary() const { return m_importDataSetSummary; } - inline bool ImportDataSetSummaryHasBeenSet() const { return m_importDataSetSummaryHasBeenSet; } - template > - void SetImportDataSetSummary(ImportDataSetSummaryT&& value) { - m_importDataSetSummaryHasBeenSet = true; - m_importDataSetSummary = std::forward(value); - } - template > - M2ManagedApplicationStepOutput& WithImportDataSetSummary(ImportDataSetSummaryT&& value) { - SetImportDataSetSummary(std::forward(value)); - return *this; - } - template - M2ManagedApplicationStepOutput& AddImportDataSetSummary(ImportDataSetSummaryKeyT&& key, ImportDataSetSummaryValueT&& value) { - m_importDataSetSummaryHasBeenSet = true; - m_importDataSetSummary.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::Map m_importDataSetSummary; - bool m_importDataSetSummaryHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationStepSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationStepSummary.h deleted file mode 100644 index 90410c098ba..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationStepSummary.h +++ /dev/null @@ -1,83 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the AWS Mainframe Modernization managed application step - * summary.

See Also:

AWS - * API Reference

- */ -class M2ManagedApplicationStepSummary { - public: - AWS_APPTEST_API M2ManagedApplicationStepSummary() = default; - AWS_APPTEST_API M2ManagedApplicationStepSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API M2ManagedApplicationStepSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The step input of the AWS Mainframe Modernization managed application step - * summary.

- */ - inline const M2ManagedApplicationStepInput& GetStepInput() const { return m_stepInput; } - inline bool StepInputHasBeenSet() const { return m_stepInputHasBeenSet; } - template - void SetStepInput(StepInputT&& value) { - m_stepInputHasBeenSet = true; - m_stepInput = std::forward(value); - } - template - M2ManagedApplicationStepSummary& WithStepInput(StepInputT&& value) { - SetStepInput(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The step output of the AWS Mainframe Modernization managed application step - * summary.

- */ - inline const M2ManagedApplicationStepOutput& GetStepOutput() const { return m_stepOutput; } - inline bool StepOutputHasBeenSet() const { return m_stepOutputHasBeenSet; } - template - void SetStepOutput(StepOutputT&& value) { - m_stepOutputHasBeenSet = true; - m_stepOutput = std::forward(value); - } - template - M2ManagedApplicationStepSummary& WithStepOutput(StepOutputT&& value) { - SetStepOutput(std::forward(value)); - return *this; - } - ///@} - private: - M2ManagedApplicationStepInput m_stepInput; - bool m_stepInputHasBeenSet = false; - - M2ManagedApplicationStepOutput m_stepOutput; - bool m_stepOutputHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationSummary.h deleted file mode 100644 index 65bff9834c7..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedApplicationSummary.h +++ /dev/null @@ -1,101 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the AWS Mainframe Modernization managed application - * summary.

See Also:

AWS - * API Reference

- */ -class M2ManagedApplicationSummary { - public: - AWS_APPTEST_API M2ManagedApplicationSummary() = default; - AWS_APPTEST_API M2ManagedApplicationSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API M2ManagedApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The application ID of the AWS Mainframe Modernization managed application - * summary.

- */ - inline const Aws::String& GetApplicationId() const { return m_applicationId; } - inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } - template - void SetApplicationId(ApplicationIdT&& value) { - m_applicationIdHasBeenSet = true; - m_applicationId = std::forward(value); - } - template - M2ManagedApplicationSummary& WithApplicationId(ApplicationIdT&& value) { - SetApplicationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The runtime of the AWS Mainframe Modernization managed application - * summary.

- */ - inline M2ManagedRuntime GetRuntime() const { return m_runtime; } - inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; } - inline void SetRuntime(M2ManagedRuntime value) { - m_runtimeHasBeenSet = true; - m_runtime = value; - } - inline M2ManagedApplicationSummary& WithRuntime(M2ManagedRuntime value) { - SetRuntime(value); - return *this; - } - ///@} - - ///@{ - /** - *

The listener port of the AWS Mainframe Modernization managed application - * summary.

- */ - inline int GetListenerPort() const { return m_listenerPort; } - inline bool ListenerPortHasBeenSet() const { return m_listenerPortHasBeenSet; } - inline void SetListenerPort(int value) { - m_listenerPortHasBeenSet = true; - m_listenerPort = value; - } - inline M2ManagedApplicationSummary& WithListenerPort(int value) { - SetListenerPort(value); - return *this; - } - ///@} - private: - Aws::String m_applicationId; - bool m_applicationIdHasBeenSet = false; - - M2ManagedRuntime m_runtime{M2ManagedRuntime::NOT_SET}; - bool m_runtimeHasBeenSet = false; - - int m_listenerPort{0}; - bool m_listenerPortHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedRuntime.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedRuntime.h deleted file mode 100644 index bc098174cc2..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2ManagedRuntime.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class M2ManagedRuntime { NOT_SET, MicroFocus }; - -namespace M2ManagedRuntimeMapper { -AWS_APPTEST_API M2ManagedRuntime GetM2ManagedRuntimeForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForM2ManagedRuntime(M2ManagedRuntime value); -} // namespace M2ManagedRuntimeMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedActionType.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedActionType.h deleted file mode 100644 index 4bdefe682cf..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedActionType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class M2NonManagedActionType { NOT_SET, Configure, Deconfigure }; - -namespace M2NonManagedActionTypeMapper { -AWS_APPTEST_API M2NonManagedActionType GetM2NonManagedActionTypeForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForM2NonManagedActionType(M2NonManagedActionType value); -} // namespace M2NonManagedActionTypeMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplication.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplication.h deleted file mode 100644 index aefdd881c21..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplication.h +++ /dev/null @@ -1,124 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the AWS Mainframe Modernization non-managed - * application.

See Also:

AWS - * API Reference

- */ -class M2NonManagedApplication { - public: - AWS_APPTEST_API M2NonManagedApplication() = default; - AWS_APPTEST_API M2NonManagedApplication(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API M2NonManagedApplication& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The VPC endpoint service name of the AWS Mainframe Modernization non-managed - * application.

- */ - inline const Aws::String& GetVpcEndpointServiceName() const { return m_vpcEndpointServiceName; } - inline bool VpcEndpointServiceNameHasBeenSet() const { return m_vpcEndpointServiceNameHasBeenSet; } - template - void SetVpcEndpointServiceName(VpcEndpointServiceNameT&& value) { - m_vpcEndpointServiceNameHasBeenSet = true; - m_vpcEndpointServiceName = std::forward(value); - } - template - M2NonManagedApplication& WithVpcEndpointServiceName(VpcEndpointServiceNameT&& value) { - SetVpcEndpointServiceName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The listener port of the AWS Mainframe Modernization non-managed - * application.

- */ - inline const Aws::String& GetListenerPort() const { return m_listenerPort; } - inline bool ListenerPortHasBeenSet() const { return m_listenerPortHasBeenSet; } - template - void SetListenerPort(ListenerPortT&& value) { - m_listenerPortHasBeenSet = true; - m_listenerPort = std::forward(value); - } - template - M2NonManagedApplication& WithListenerPort(ListenerPortT&& value) { - SetListenerPort(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The runtime of the AWS Mainframe Modernization non-managed application.

- */ - inline M2NonManagedRuntime GetRuntime() const { return m_runtime; } - inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; } - inline void SetRuntime(M2NonManagedRuntime value) { - m_runtimeHasBeenSet = true; - m_runtime = value; - } - inline M2NonManagedApplication& WithRuntime(M2NonManagedRuntime value) { - SetRuntime(value); - return *this; - } - ///@} - - ///@{ - /** - *

The web application name of the AWS Mainframe Modernization non-managed - * application.

- */ - inline const Aws::String& GetWebAppName() const { return m_webAppName; } - inline bool WebAppNameHasBeenSet() const { return m_webAppNameHasBeenSet; } - template - void SetWebAppName(WebAppNameT&& value) { - m_webAppNameHasBeenSet = true; - m_webAppName = std::forward(value); - } - template - M2NonManagedApplication& WithWebAppName(WebAppNameT&& value) { - SetWebAppName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_vpcEndpointServiceName; - bool m_vpcEndpointServiceNameHasBeenSet = false; - - Aws::String m_listenerPort; - bool m_listenerPortHasBeenSet = false; - - M2NonManagedRuntime m_runtime{M2NonManagedRuntime::NOT_SET}; - bool m_runtimeHasBeenSet = false; - - Aws::String m_webAppName; - bool m_webAppNameHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationAction.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationAction.h deleted file mode 100644 index 910290ac9bb..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationAction.h +++ /dev/null @@ -1,81 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the AWS Mainframe Modernization non-managed application - * action.

See Also:

AWS - * API Reference

- */ -class M2NonManagedApplicationAction { - public: - AWS_APPTEST_API M2NonManagedApplicationAction() = default; - AWS_APPTEST_API M2NonManagedApplicationAction(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API M2NonManagedApplicationAction& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The resource of the AWS Mainframe Modernization non-managed application - * action.

- */ - inline const Aws::String& GetResource() const { return m_resource; } - inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } - template - void SetResource(ResourceT&& value) { - m_resourceHasBeenSet = true; - m_resource = std::forward(value); - } - template - M2NonManagedApplicationAction& WithResource(ResourceT&& value) { - SetResource(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The action type of the AWS Mainframe Modernization non-managed application - * action.

- */ - inline M2NonManagedActionType GetActionType() const { return m_actionType; } - inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; } - inline void SetActionType(M2NonManagedActionType value) { - m_actionTypeHasBeenSet = true; - m_actionType = value; - } - inline M2NonManagedApplicationAction& WithActionType(M2NonManagedActionType value) { - SetActionType(value); - return *this; - } - ///@} - private: - Aws::String m_resource; - bool m_resourceHasBeenSet = false; - - M2NonManagedActionType m_actionType{M2NonManagedActionType::NOT_SET}; - bool m_actionTypeHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationStepInput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationStepInput.h deleted file mode 100644 index 7bbd1af6db3..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationStepInput.h +++ /dev/null @@ -1,144 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the AWS Mainframe Modernization non-managed application step - * input.

See Also:

AWS - * API Reference

- */ -class M2NonManagedApplicationStepInput { - public: - AWS_APPTEST_API M2NonManagedApplicationStepInput() = default; - AWS_APPTEST_API M2NonManagedApplicationStepInput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API M2NonManagedApplicationStepInput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The VPC endpoint service name of the AWS Mainframe Modernization non-managed - * application step input.

- */ - inline const Aws::String& GetVpcEndpointServiceName() const { return m_vpcEndpointServiceName; } - inline bool VpcEndpointServiceNameHasBeenSet() const { return m_vpcEndpointServiceNameHasBeenSet; } - template - void SetVpcEndpointServiceName(VpcEndpointServiceNameT&& value) { - m_vpcEndpointServiceNameHasBeenSet = true; - m_vpcEndpointServiceName = std::forward(value); - } - template - M2NonManagedApplicationStepInput& WithVpcEndpointServiceName(VpcEndpointServiceNameT&& value) { - SetVpcEndpointServiceName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The listener port of the AWS Mainframe Modernization non-managed application - * step input.

- */ - inline int GetListenerPort() const { return m_listenerPort; } - inline bool ListenerPortHasBeenSet() const { return m_listenerPortHasBeenSet; } - inline void SetListenerPort(int value) { - m_listenerPortHasBeenSet = true; - m_listenerPort = value; - } - inline M2NonManagedApplicationStepInput& WithListenerPort(int value) { - SetListenerPort(value); - return *this; - } - ///@} - - ///@{ - /** - *

The runtime of the AWS Mainframe Modernization non-managed application step - * input.

- */ - inline M2NonManagedRuntime GetRuntime() const { return m_runtime; } - inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; } - inline void SetRuntime(M2NonManagedRuntime value) { - m_runtimeHasBeenSet = true; - m_runtime = value; - } - inline M2NonManagedApplicationStepInput& WithRuntime(M2NonManagedRuntime value) { - SetRuntime(value); - return *this; - } - ///@} - - ///@{ - /** - *

The web app name of the AWS Mainframe Modernization non-managed application - * step input.

- */ - inline const Aws::String& GetWebAppName() const { return m_webAppName; } - inline bool WebAppNameHasBeenSet() const { return m_webAppNameHasBeenSet; } - template - void SetWebAppName(WebAppNameT&& value) { - m_webAppNameHasBeenSet = true; - m_webAppName = std::forward(value); - } - template - M2NonManagedApplicationStepInput& WithWebAppName(WebAppNameT&& value) { - SetWebAppName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The action type of the AWS Mainframe Modernization non-managed application - * step input.

- */ - inline M2NonManagedActionType GetActionType() const { return m_actionType; } - inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; } - inline void SetActionType(M2NonManagedActionType value) { - m_actionTypeHasBeenSet = true; - m_actionType = value; - } - inline M2NonManagedApplicationStepInput& WithActionType(M2NonManagedActionType value) { - SetActionType(value); - return *this; - } - ///@} - private: - Aws::String m_vpcEndpointServiceName; - bool m_vpcEndpointServiceNameHasBeenSet = false; - - int m_listenerPort{0}; - bool m_listenerPortHasBeenSet = false; - - M2NonManagedRuntime m_runtime{M2NonManagedRuntime::NOT_SET}; - bool m_runtimeHasBeenSet = false; - - Aws::String m_webAppName; - bool m_webAppNameHasBeenSet = false; - - M2NonManagedActionType m_actionType{M2NonManagedActionType::NOT_SET}; - bool m_actionTypeHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationStepOutput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationStepOutput.h deleted file mode 100644 index 28733f2bfeb..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationStepOutput.h +++ /dev/null @@ -1,35 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the AWS Mainframe Modernization non-managed application step - * output.

See Also:

AWS - * API Reference

- */ -class M2NonManagedApplicationStepOutput { - public: - AWS_APPTEST_API M2NonManagedApplicationStepOutput() = default; - AWS_APPTEST_API M2NonManagedApplicationStepOutput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API M2NonManagedApplicationStepOutput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationStepSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationStepSummary.h deleted file mode 100644 index 673c1550a0f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationStepSummary.h +++ /dev/null @@ -1,83 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the AWS Mainframe Modernization non-managed application step - * summary.

See Also:

AWS - * API Reference

- */ -class M2NonManagedApplicationStepSummary { - public: - AWS_APPTEST_API M2NonManagedApplicationStepSummary() = default; - AWS_APPTEST_API M2NonManagedApplicationStepSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API M2NonManagedApplicationStepSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The step input of the AWS Mainframe Modernization non-managed application - * step summary.

- */ - inline const M2NonManagedApplicationStepInput& GetStepInput() const { return m_stepInput; } - inline bool StepInputHasBeenSet() const { return m_stepInputHasBeenSet; } - template - void SetStepInput(StepInputT&& value) { - m_stepInputHasBeenSet = true; - m_stepInput = std::forward(value); - } - template - M2NonManagedApplicationStepSummary& WithStepInput(StepInputT&& value) { - SetStepInput(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The step output of the AWS Mainframe Modernization non-managed application - * step summary.

- */ - inline const M2NonManagedApplicationStepOutput& GetStepOutput() const { return m_stepOutput; } - inline bool StepOutputHasBeenSet() const { return m_stepOutputHasBeenSet; } - template - void SetStepOutput(StepOutputT&& value) { - m_stepOutputHasBeenSet = true; - m_stepOutput = std::forward(value); - } - template - M2NonManagedApplicationStepSummary& WithStepOutput(StepOutputT&& value) { - SetStepOutput(std::forward(value)); - return *this; - } - ///@} - private: - M2NonManagedApplicationStepInput m_stepInput; - bool m_stepInputHasBeenSet = false; - - M2NonManagedApplicationStepOutput m_stepOutput; - bool m_stepOutputHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationSummary.h deleted file mode 100644 index e61eac370e8..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedApplicationSummary.h +++ /dev/null @@ -1,123 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the AWS Mainframe Modernization non-managed application - * summary.

See Also:

AWS - * API Reference

- */ -class M2NonManagedApplicationSummary { - public: - AWS_APPTEST_API M2NonManagedApplicationSummary() = default; - AWS_APPTEST_API M2NonManagedApplicationSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API M2NonManagedApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The VPC endpoint service name of the AWS Mainframe Modernization non-managed - * application summary.

- */ - inline const Aws::String& GetVpcEndpointServiceName() const { return m_vpcEndpointServiceName; } - inline bool VpcEndpointServiceNameHasBeenSet() const { return m_vpcEndpointServiceNameHasBeenSet; } - template - void SetVpcEndpointServiceName(VpcEndpointServiceNameT&& value) { - m_vpcEndpointServiceNameHasBeenSet = true; - m_vpcEndpointServiceName = std::forward(value); - } - template - M2NonManagedApplicationSummary& WithVpcEndpointServiceName(VpcEndpointServiceNameT&& value) { - SetVpcEndpointServiceName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The listener port of the AWS Mainframe Modernization non-managed application - * summary.

- */ - inline int GetListenerPort() const { return m_listenerPort; } - inline bool ListenerPortHasBeenSet() const { return m_listenerPortHasBeenSet; } - inline void SetListenerPort(int value) { - m_listenerPortHasBeenSet = true; - m_listenerPort = value; - } - inline M2NonManagedApplicationSummary& WithListenerPort(int value) { - SetListenerPort(value); - return *this; - } - ///@} - - ///@{ - /** - *

The runtime of the AWS Mainframe Modernization non-managed application - * summary.

- */ - inline M2NonManagedRuntime GetRuntime() const { return m_runtime; } - inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; } - inline void SetRuntime(M2NonManagedRuntime value) { - m_runtimeHasBeenSet = true; - m_runtime = value; - } - inline M2NonManagedApplicationSummary& WithRuntime(M2NonManagedRuntime value) { - SetRuntime(value); - return *this; - } - ///@} - - ///@{ - /** - *

The web application name of the AWS Mainframe Modernization non-managed - * application summary.

- */ - inline const Aws::String& GetWebAppName() const { return m_webAppName; } - inline bool WebAppNameHasBeenSet() const { return m_webAppNameHasBeenSet; } - template - void SetWebAppName(WebAppNameT&& value) { - m_webAppNameHasBeenSet = true; - m_webAppName = std::forward(value); - } - template - M2NonManagedApplicationSummary& WithWebAppName(WebAppNameT&& value) { - SetWebAppName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_vpcEndpointServiceName; - bool m_vpcEndpointServiceNameHasBeenSet = false; - - int m_listenerPort{0}; - bool m_listenerPortHasBeenSet = false; - - M2NonManagedRuntime m_runtime{M2NonManagedRuntime::NOT_SET}; - bool m_runtimeHasBeenSet = false; - - Aws::String m_webAppName; - bool m_webAppNameHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedRuntime.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedRuntime.h deleted file mode 100644 index 53524371ef2..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/M2NonManagedRuntime.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class M2NonManagedRuntime { NOT_SET, BluAge }; - -namespace M2NonManagedRuntimeMapper { -AWS_APPTEST_API M2NonManagedRuntime GetM2NonManagedRuntimeForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForM2NonManagedRuntime(M2NonManagedRuntime value); -} // namespace M2NonManagedRuntimeMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeAction.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeAction.h deleted file mode 100644 index 20d2493a2bc..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeAction.h +++ /dev/null @@ -1,102 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the mainframe action.

See Also:

AWS - * API Reference

- */ -class MainframeAction { - public: - AWS_APPTEST_API MainframeAction() = default; - AWS_APPTEST_API MainframeAction(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API MainframeAction& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The resource of the mainframe action.

- */ - inline const Aws::String& GetResource() const { return m_resource; } - inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } - template - void SetResource(ResourceT&& value) { - m_resourceHasBeenSet = true; - m_resource = std::forward(value); - } - template - MainframeAction& WithResource(ResourceT&& value) { - SetResource(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The action type of the mainframe action.

- */ - inline const MainframeActionType& GetActionType() const { return m_actionType; } - inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; } - template - void SetActionType(ActionTypeT&& value) { - m_actionTypeHasBeenSet = true; - m_actionType = std::forward(value); - } - template - MainframeAction& WithActionType(ActionTypeT&& value) { - SetActionType(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The properties of the mainframe action.

- */ - inline const MainframeActionProperties& GetProperties() const { return m_properties; } - inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } - template - void SetProperties(PropertiesT&& value) { - m_propertiesHasBeenSet = true; - m_properties = std::forward(value); - } - template - MainframeAction& WithProperties(PropertiesT&& value) { - SetProperties(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resource; - bool m_resourceHasBeenSet = false; - - MainframeActionType m_actionType; - bool m_actionTypeHasBeenSet = false; - - MainframeActionProperties m_properties; - bool m_propertiesHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeActionProperties.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeActionProperties.h deleted file mode 100644 index 79d1f98a6c8..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeActionProperties.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the mainframe action properties.

See Also:

AWS - * API Reference

- */ -class MainframeActionProperties { - public: - AWS_APPTEST_API MainframeActionProperties() = default; - AWS_APPTEST_API MainframeActionProperties(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API MainframeActionProperties& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The DMS task ARN of the mainframe action properties.

- */ - inline const Aws::String& GetDmsTaskArn() const { return m_dmsTaskArn; } - inline bool DmsTaskArnHasBeenSet() const { return m_dmsTaskArnHasBeenSet; } - template - void SetDmsTaskArn(DmsTaskArnT&& value) { - m_dmsTaskArnHasBeenSet = true; - m_dmsTaskArn = std::forward(value); - } - template - MainframeActionProperties& WithDmsTaskArn(DmsTaskArnT&& value) { - SetDmsTaskArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_dmsTaskArn; - bool m_dmsTaskArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeActionSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeActionSummary.h deleted file mode 100644 index 343066452b2..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeActionSummary.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the mainframe action summary.

See Also:

AWS - * API Reference

- */ -class MainframeActionSummary { - public: - AWS_APPTEST_API MainframeActionSummary() = default; - AWS_APPTEST_API MainframeActionSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API MainframeActionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The batch of the mainframe action summary.

- */ - inline const BatchSummary& GetBatch() const { return m_batch; } - inline bool BatchHasBeenSet() const { return m_batchHasBeenSet; } - template - void SetBatch(BatchT&& value) { - m_batchHasBeenSet = true; - m_batch = std::forward(value); - } - template - MainframeActionSummary& WithBatch(BatchT&& value) { - SetBatch(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The tn3270 port of the mainframe action summary.

- */ - inline const TN3270Summary& GetTn3270() const { return m_tn3270; } - inline bool Tn3270HasBeenSet() const { return m_tn3270HasBeenSet; } - template - void SetTn3270(Tn3270T&& value) { - m_tn3270HasBeenSet = true; - m_tn3270 = std::forward(value); - } - template - MainframeActionSummary& WithTn3270(Tn3270T&& value) { - SetTn3270(std::forward(value)); - return *this; - } - ///@} - private: - BatchSummary m_batch; - bool m_batchHasBeenSet = false; - - TN3270Summary m_tn3270; - bool m_tn3270HasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeActionType.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeActionType.h deleted file mode 100644 index 67304fd5d6c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeActionType.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the mainframe action type.

See Also:

AWS - * API Reference

- */ -class MainframeActionType { - public: - AWS_APPTEST_API MainframeActionType() = default; - AWS_APPTEST_API MainframeActionType(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API MainframeActionType& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The batch of the mainframe action type.

- */ - inline const Batch& GetBatch() const { return m_batch; } - inline bool BatchHasBeenSet() const { return m_batchHasBeenSet; } - template - void SetBatch(BatchT&& value) { - m_batchHasBeenSet = true; - m_batch = std::forward(value); - } - template - MainframeActionType& WithBatch(BatchT&& value) { - SetBatch(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The tn3270 port of the mainframe action type.

- */ - inline const TN3270& GetTn3270() const { return m_tn3270; } - inline bool Tn3270HasBeenSet() const { return m_tn3270HasBeenSet; } - template - void SetTn3270(Tn3270T&& value) { - m_tn3270HasBeenSet = true; - m_tn3270 = std::forward(value); - } - template - MainframeActionType& WithTn3270(Tn3270T&& value) { - SetTn3270(std::forward(value)); - return *this; - } - ///@} - private: - Batch m_batch; - bool m_batchHasBeenSet = false; - - TN3270 m_tn3270; - bool m_tn3270HasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeResourceSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeResourceSummary.h deleted file mode 100644 index 81a05577f6b..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/MainframeResourceSummary.h +++ /dev/null @@ -1,82 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the mainframe resource summary.

See Also:

AWS - * API Reference

- */ -class MainframeResourceSummary { - public: - AWS_APPTEST_API MainframeResourceSummary() = default; - AWS_APPTEST_API MainframeResourceSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API MainframeResourceSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The AWS Mainframe Modernization managed application in the mainframe resource - * summary.

- */ - inline const M2ManagedApplicationSummary& GetM2ManagedApplication() const { return m_m2ManagedApplication; } - inline bool M2ManagedApplicationHasBeenSet() const { return m_m2ManagedApplicationHasBeenSet; } - template - void SetM2ManagedApplication(M2ManagedApplicationT&& value) { - m_m2ManagedApplicationHasBeenSet = true; - m_m2ManagedApplication = std::forward(value); - } - template - MainframeResourceSummary& WithM2ManagedApplication(M2ManagedApplicationT&& value) { - SetM2ManagedApplication(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The AWS Mainframe Modernization non-managed application in the mainframe - * resource summary.

- */ - inline const M2NonManagedApplicationSummary& GetM2NonManagedApplication() const { return m_m2NonManagedApplication; } - inline bool M2NonManagedApplicationHasBeenSet() const { return m_m2NonManagedApplicationHasBeenSet; } - template - void SetM2NonManagedApplication(M2NonManagedApplicationT&& value) { - m_m2NonManagedApplicationHasBeenSet = true; - m_m2NonManagedApplication = std::forward(value); - } - template - MainframeResourceSummary& WithM2NonManagedApplication(M2NonManagedApplicationT&& value) { - SetM2NonManagedApplication(std::forward(value)); - return *this; - } - ///@} - private: - M2ManagedApplicationSummary m_m2ManagedApplication; - bool m_m2ManagedApplicationHasBeenSet = false; - - M2NonManagedApplicationSummary m_m2NonManagedApplication; - bool m_m2NonManagedApplicationHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Output.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Output.h deleted file mode 100644 index 5f5cc200655..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Output.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies an output.

See Also:

AWS API - * Reference

- */ -class Output { - public: - AWS_APPTEST_API Output() = default; - AWS_APPTEST_API Output(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Output& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The file of the output.

- */ - inline const OutputFile& GetFile() const { return m_file; } - inline bool FileHasBeenSet() const { return m_fileHasBeenSet; } - template - void SetFile(FileT&& value) { - m_fileHasBeenSet = true; - m_file = std::forward(value); - } - template - Output& WithFile(FileT&& value) { - SetFile(std::forward(value)); - return *this; - } - ///@} - private: - OutputFile m_file; - bool m_fileHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/OutputFile.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/OutputFile.h deleted file mode 100644 index 28a5c8a509d..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/OutputFile.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies an output file.

See Also:

AWS - * API Reference

- */ -class OutputFile { - public: - AWS_APPTEST_API OutputFile() = default; - AWS_APPTEST_API OutputFile(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API OutputFile& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The file location of the output file.

- */ - inline const Aws::String& GetFileLocation() const { return m_fileLocation; } - inline bool FileLocationHasBeenSet() const { return m_fileLocationHasBeenSet; } - template - void SetFileLocation(FileLocationT&& value) { - m_fileLocationHasBeenSet = true; - m_fileLocation = std::forward(value); - } - template - OutputFile& WithFileLocation(FileLocationT&& value) { - SetFileLocation(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_fileLocation; - bool m_fileLocationHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Resource.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Resource.h deleted file mode 100644 index 79a71bec4e3..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Resource.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies a resource.

See Also:

AWS - * API Reference

- */ -class Resource { - public: - AWS_APPTEST_API Resource() = default; - AWS_APPTEST_API Resource(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Resource& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the resource.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - Resource& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the resource.

- */ - inline const ResourceType& GetType() const { return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - template - void SetType(TypeT&& value) { - m_typeHasBeenSet = true; - m_type = std::forward(value); - } - template - Resource& WithType(TypeT&& value) { - SetType(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - ResourceType m_type; - bool m_typeHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceAction.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceAction.h deleted file mode 100644 index 7db30b2e995..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceAction.h +++ /dev/null @@ -1,104 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies a resource action.

See Also:

AWS - * API Reference

- */ -class ResourceAction { - public: - AWS_APPTEST_API ResourceAction() = default; - AWS_APPTEST_API ResourceAction(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API ResourceAction& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The AWS Mainframe Modernization managed application action of the resource - * action.

- */ - inline const M2ManagedApplicationAction& GetM2ManagedApplicationAction() const { return m_m2ManagedApplicationAction; } - inline bool M2ManagedApplicationActionHasBeenSet() const { return m_m2ManagedApplicationActionHasBeenSet; } - template - void SetM2ManagedApplicationAction(M2ManagedApplicationActionT&& value) { - m_m2ManagedApplicationActionHasBeenSet = true; - m_m2ManagedApplicationAction = std::forward(value); - } - template - ResourceAction& WithM2ManagedApplicationAction(M2ManagedApplicationActionT&& value) { - SetM2ManagedApplicationAction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The AWS Mainframe Modernization non-managed application action of the - * resource action.

- */ - inline const M2NonManagedApplicationAction& GetM2NonManagedApplicationAction() const { return m_m2NonManagedApplicationAction; } - inline bool M2NonManagedApplicationActionHasBeenSet() const { return m_m2NonManagedApplicationActionHasBeenSet; } - template - void SetM2NonManagedApplicationAction(M2NonManagedApplicationActionT&& value) { - m_m2NonManagedApplicationActionHasBeenSet = true; - m_m2NonManagedApplicationAction = std::forward(value); - } - template - ResourceAction& WithM2NonManagedApplicationAction(M2NonManagedApplicationActionT&& value) { - SetM2NonManagedApplicationAction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The CloudFormation action of the resource action.

- */ - inline const CloudFormationAction& GetCloudFormationAction() const { return m_cloudFormationAction; } - inline bool CloudFormationActionHasBeenSet() const { return m_cloudFormationActionHasBeenSet; } - template - void SetCloudFormationAction(CloudFormationActionT&& value) { - m_cloudFormationActionHasBeenSet = true; - m_cloudFormationAction = std::forward(value); - } - template - ResourceAction& WithCloudFormationAction(CloudFormationActionT&& value) { - SetCloudFormationAction(std::forward(value)); - return *this; - } - ///@} - private: - M2ManagedApplicationAction m_m2ManagedApplicationAction; - bool m_m2ManagedApplicationActionHasBeenSet = false; - - M2NonManagedApplicationAction m_m2NonManagedApplicationAction; - bool m_m2NonManagedApplicationActionHasBeenSet = false; - - CloudFormationAction m_cloudFormationAction; - bool m_cloudFormationActionHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceActionSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceActionSummary.h deleted file mode 100644 index 2faf8c4129b..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceActionSummary.h +++ /dev/null @@ -1,104 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the resource action summary.

See Also:

AWS - * API Reference

- */ -class ResourceActionSummary { - public: - AWS_APPTEST_API ResourceActionSummary() = default; - AWS_APPTEST_API ResourceActionSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API ResourceActionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The CloudFormation template of the resource action summary.

- */ - inline const CloudFormationStepSummary& GetCloudFormation() const { return m_cloudFormation; } - inline bool CloudFormationHasBeenSet() const { return m_cloudFormationHasBeenSet; } - template - void SetCloudFormation(CloudFormationT&& value) { - m_cloudFormationHasBeenSet = true; - m_cloudFormation = std::forward(value); - } - template - ResourceActionSummary& WithCloudFormation(CloudFormationT&& value) { - SetCloudFormation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The AWS Mainframe Modernization managed application of the resource action - * summary.

- */ - inline const M2ManagedApplicationStepSummary& GetM2ManagedApplication() const { return m_m2ManagedApplication; } - inline bool M2ManagedApplicationHasBeenSet() const { return m_m2ManagedApplicationHasBeenSet; } - template - void SetM2ManagedApplication(M2ManagedApplicationT&& value) { - m_m2ManagedApplicationHasBeenSet = true; - m_m2ManagedApplication = std::forward(value); - } - template - ResourceActionSummary& WithM2ManagedApplication(M2ManagedApplicationT&& value) { - SetM2ManagedApplication(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The AWS Mainframe Modernization non-managed application of the resource - * action summary.

- */ - inline const M2NonManagedApplicationStepSummary& GetM2NonManagedApplication() const { return m_m2NonManagedApplication; } - inline bool M2NonManagedApplicationHasBeenSet() const { return m_m2NonManagedApplicationHasBeenSet; } - template - void SetM2NonManagedApplication(M2NonManagedApplicationT&& value) { - m_m2NonManagedApplicationHasBeenSet = true; - m_m2NonManagedApplication = std::forward(value); - } - template - ResourceActionSummary& WithM2NonManagedApplication(M2NonManagedApplicationT&& value) { - SetM2NonManagedApplication(std::forward(value)); - return *this; - } - ///@} - private: - CloudFormationStepSummary m_cloudFormation; - bool m_cloudFormationHasBeenSet = false; - - M2ManagedApplicationStepSummary m_m2ManagedApplication; - bool m_m2ManagedApplicationHasBeenSet = false; - - M2NonManagedApplicationStepSummary m_m2NonManagedApplication; - bool m_m2NonManagedApplicationHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceNotFoundException.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceNotFoundException.h deleted file mode 100644 index d4a2c1b5b5f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceNotFoundException.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

The specified resource was not found.

See Also:

AWS - * API Reference

- */ -class ResourceNotFoundException { - public: - AWS_APPTEST_API ResourceNotFoundException() = default; - AWS_APPTEST_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API ResourceNotFoundException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ResourceNotFoundException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The resource ID of the resource not found.

- */ - inline const Aws::String& GetResourceId() const { return m_resourceId; } - inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } - template - void SetResourceId(ResourceIdT&& value) { - m_resourceIdHasBeenSet = true; - m_resourceId = std::forward(value); - } - template - ResourceNotFoundException& WithResourceId(ResourceIdT&& value) { - SetResourceId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The resource type of the resource not found.

- */ - inline const Aws::String& GetResourceType() const { return m_resourceType; } - inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } - template - void SetResourceType(ResourceTypeT&& value) { - m_resourceTypeHasBeenSet = true; - m_resourceType = std::forward(value); - } - template - ResourceNotFoundException& WithResourceType(ResourceTypeT&& value) { - SetResourceType(std::forward(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 AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceType.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceType.h deleted file mode 100644 index d515726b30f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ResourceType.h +++ /dev/null @@ -1,103 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the resource type.

See Also:

AWS - * API Reference

- */ -class ResourceType { - public: - AWS_APPTEST_API ResourceType() = default; - AWS_APPTEST_API ResourceType(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API ResourceType& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The CloudFormation template of the resource type.

- */ - inline const CloudFormation& GetCloudFormation() const { return m_cloudFormation; } - inline bool CloudFormationHasBeenSet() const { return m_cloudFormationHasBeenSet; } - template - void SetCloudFormation(CloudFormationT&& value) { - m_cloudFormationHasBeenSet = true; - m_cloudFormation = std::forward(value); - } - template - ResourceType& WithCloudFormation(CloudFormationT&& value) { - SetCloudFormation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The AWS Mainframe Modernization managed application of the resource type.

- */ - inline const M2ManagedApplication& GetM2ManagedApplication() const { return m_m2ManagedApplication; } - inline bool M2ManagedApplicationHasBeenSet() const { return m_m2ManagedApplicationHasBeenSet; } - template - void SetM2ManagedApplication(M2ManagedApplicationT&& value) { - m_m2ManagedApplicationHasBeenSet = true; - m_m2ManagedApplication = std::forward(value); - } - template - ResourceType& WithM2ManagedApplication(M2ManagedApplicationT&& value) { - SetM2ManagedApplication(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The AWS Mainframe Modernization non-managed application of the resource - * type.

- */ - inline const M2NonManagedApplication& GetM2NonManagedApplication() const { return m_m2NonManagedApplication; } - inline bool M2NonManagedApplicationHasBeenSet() const { return m_m2NonManagedApplicationHasBeenSet; } - template - void SetM2NonManagedApplication(M2NonManagedApplicationT&& value) { - m_m2NonManagedApplicationHasBeenSet = true; - m_m2NonManagedApplication = std::forward(value); - } - template - ResourceType& WithM2NonManagedApplication(M2NonManagedApplicationT&& value) { - SetM2NonManagedApplication(std::forward(value)); - return *this; - } - ///@} - private: - CloudFormation m_cloudFormation; - bool m_cloudFormationHasBeenSet = false; - - M2ManagedApplication m_m2ManagedApplication; - bool m_m2ManagedApplicationHasBeenSet = false; - - M2NonManagedApplication m_m2NonManagedApplication; - bool m_m2NonManagedApplicationHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Script.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Script.h deleted file mode 100644 index 6ddd99044cc..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Script.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the script.

See Also:

AWS API - * Reference

- */ -class Script { - public: - AWS_APPTEST_API Script() = default; - AWS_APPTEST_API Script(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Script& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The script location of the scripts.

- */ - inline const Aws::String& GetScriptLocation() const { return m_scriptLocation; } - inline bool ScriptLocationHasBeenSet() const { return m_scriptLocationHasBeenSet; } - template - void SetScriptLocation(ScriptLocationT&& value) { - m_scriptLocationHasBeenSet = true; - m_scriptLocation = std::forward(value); - } - template - Script& WithScriptLocation(ScriptLocationT&& value) { - SetScriptLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the scripts.

- */ - inline ScriptType GetType() const { return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - inline void SetType(ScriptType value) { - m_typeHasBeenSet = true; - m_type = value; - } - inline Script& WithType(ScriptType value) { - SetType(value); - return *this; - } - ///@} - private: - Aws::String m_scriptLocation; - bool m_scriptLocationHasBeenSet = false; - - ScriptType m_type{ScriptType::NOT_SET}; - bool m_typeHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ScriptSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ScriptSummary.h deleted file mode 100644 index f074c46487c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ScriptSummary.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the scripts summary.

See Also:

AWS - * API Reference

- */ -class ScriptSummary { - public: - AWS_APPTEST_API ScriptSummary() = default; - AWS_APPTEST_API ScriptSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API ScriptSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The script location of the script summary.

- */ - inline const Aws::String& GetScriptLocation() const { return m_scriptLocation; } - inline bool ScriptLocationHasBeenSet() const { return m_scriptLocationHasBeenSet; } - template - void SetScriptLocation(ScriptLocationT&& value) { - m_scriptLocationHasBeenSet = true; - m_scriptLocation = std::forward(value); - } - template - ScriptSummary& WithScriptLocation(ScriptLocationT&& value) { - SetScriptLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the script summary.

- */ - inline ScriptType GetType() const { return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - inline void SetType(ScriptType value) { - m_typeHasBeenSet = true; - m_type = value; - } - inline ScriptSummary& WithType(ScriptType value) { - SetType(value); - return *this; - } - ///@} - private: - Aws::String m_scriptLocation; - bool m_scriptLocationHasBeenSet = false; - - ScriptType m_type{ScriptType::NOT_SET}; - bool m_typeHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ScriptType.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ScriptType.h deleted file mode 100644 index 0759b445e77..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ScriptType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class ScriptType { NOT_SET, Selenium }; - -namespace ScriptTypeMapper { -AWS_APPTEST_API ScriptType GetScriptTypeForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForScriptType(ScriptType value); -} // namespace ScriptTypeMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ServiceQuotaExceededException.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ServiceQuotaExceededException.h deleted file mode 100644 index 29f38e91280..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ServiceQuotaExceededException.h +++ /dev/null @@ -1,141 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

One or more quotas for AWS Application Testing exceeds the - * limit.

See Also:

AWS - * API Reference

- */ -class ServiceQuotaExceededException { - public: - AWS_APPTEST_API ServiceQuotaExceededException() = default; - AWS_APPTEST_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API ServiceQuotaExceededException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ServiceQuotaExceededException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The resource ID of AWS Application Testing that exceeded the limit.

- */ - inline const Aws::String& GetResourceId() const { return m_resourceId; } - inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } - template - void SetResourceId(ResourceIdT&& value) { - m_resourceIdHasBeenSet = true; - m_resourceId = std::forward(value); - } - template - ServiceQuotaExceededException& WithResourceId(ResourceIdT&& value) { - SetResourceId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The resource type of AWS Application Testing that exceeded the limit.

- */ - inline const Aws::String& GetResourceType() const { return m_resourceType; } - inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } - template - void SetResourceType(ResourceTypeT&& value) { - m_resourceTypeHasBeenSet = true; - m_resourceType = std::forward(value); - } - template - ServiceQuotaExceededException& WithResourceType(ResourceTypeT&& value) { - SetResourceType(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The service code of AWS Application Testing that exceeded the limit.

- */ - inline const Aws::String& GetServiceCode() const { return m_serviceCode; } - inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } - template - void SetServiceCode(ServiceCodeT&& value) { - m_serviceCodeHasBeenSet = true; - m_serviceCode = std::forward(value); - } - template - ServiceQuotaExceededException& WithServiceCode(ServiceCodeT&& value) { - SetServiceCode(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The quote codes of AWS Application Testing that exceeded the limit.

- */ - inline const Aws::String& GetQuotaCode() const { return m_quotaCode; } - inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } - template - void SetQuotaCode(QuotaCodeT&& value) { - m_quotaCodeHasBeenSet = true; - m_quotaCode = std::forward(value); - } - template - ServiceQuotaExceededException& WithQuotaCode(QuotaCodeT&& value) { - SetQuotaCode(std::forward(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 AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ServiceSettings.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ServiceSettings.h deleted file mode 100644 index d2043668854..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ServiceSettings.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the service settings.

See Also:

AWS - * API Reference

- */ -class ServiceSettings { - public: - AWS_APPTEST_API ServiceSettings() = default; - AWS_APPTEST_API ServiceSettings(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API ServiceSettings& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The KMS key ID of the service settings.

- */ - inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; } - inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } - template - void SetKmsKeyId(KmsKeyIdT&& value) { - m_kmsKeyIdHasBeenSet = true; - m_kmsKeyId = std::forward(value); - } - template - ServiceSettings& WithKmsKeyId(KmsKeyIdT&& value) { - SetKmsKeyId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_kmsKeyId; - bool m_kmsKeyIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/SourceDatabase.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/SourceDatabase.h deleted file mode 100644 index 48e790e0a05..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/SourceDatabase.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class SourceDatabase { NOT_SET, z_OS_DB2 }; - -namespace SourceDatabaseMapper { -AWS_APPTEST_API SourceDatabase GetSourceDatabaseForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForSourceDatabase(SourceDatabase value); -} // namespace SourceDatabaseMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/SourceDatabaseMetadata.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/SourceDatabaseMetadata.h deleted file mode 100644 index c5b3261fb3c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/SourceDatabaseMetadata.h +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the source database metadata.

See Also:

AWS - * API Reference

- */ -class SourceDatabaseMetadata { - public: - AWS_APPTEST_API SourceDatabaseMetadata() = default; - AWS_APPTEST_API SourceDatabaseMetadata(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API SourceDatabaseMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The type of the source database metadata.

- */ - inline SourceDatabase GetType() const { return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - inline void SetType(SourceDatabase value) { - m_typeHasBeenSet = true; - m_type = value; - } - inline SourceDatabaseMetadata& WithType(SourceDatabase value) { - SetType(value); - return *this; - } - ///@} - - ///@{ - /** - *

The capture tool of the source database metadata.

- */ - inline CaptureTool GetCaptureTool() const { return m_captureTool; } - inline bool CaptureToolHasBeenSet() const { return m_captureToolHasBeenSet; } - inline void SetCaptureTool(CaptureTool value) { - m_captureToolHasBeenSet = true; - m_captureTool = value; - } - inline SourceDatabaseMetadata& WithCaptureTool(CaptureTool value) { - SetCaptureTool(value); - return *this; - } - ///@} - private: - SourceDatabase m_type{SourceDatabase::NOT_SET}; - bool m_typeHasBeenSet = false; - - CaptureTool m_captureTool{CaptureTool::NOT_SET}; - bool m_captureToolHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StartTestRunRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StartTestRunRequest.h deleted file mode 100644 index b30f802c032..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StartTestRunRequest.h +++ /dev/null @@ -1,126 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class StartTestRunRequest : public AppTestRequest { - public: - AWS_APPTEST_API StartTestRunRequest() = default; - - // 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 "StartTestRun"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The test suite ID of the test run.

- */ - inline const Aws::String& GetTestSuiteId() const { return m_testSuiteId; } - inline bool TestSuiteIdHasBeenSet() const { return m_testSuiteIdHasBeenSet; } - template - void SetTestSuiteId(TestSuiteIdT&& value) { - m_testSuiteIdHasBeenSet = true; - m_testSuiteId = std::forward(value); - } - template - StartTestRunRequest& WithTestSuiteId(TestSuiteIdT&& value) { - SetTestSuiteId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The configuration ID of the test run.

- */ - inline const Aws::String& GetTestConfigurationId() const { return m_testConfigurationId; } - inline bool TestConfigurationIdHasBeenSet() const { return m_testConfigurationIdHasBeenSet; } - template - void SetTestConfigurationId(TestConfigurationIdT&& value) { - m_testConfigurationIdHasBeenSet = true; - m_testConfigurationId = std::forward(value); - } - template - StartTestRunRequest& WithTestConfigurationId(TestConfigurationIdT&& value) { - SetTestConfigurationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The client token of the test run.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - StartTestRunRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The tags of the test run.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - StartTestRunRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - StartTestRunRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testSuiteId; - bool m_testSuiteIdHasBeenSet = false; - - Aws::String m_testConfigurationId; - bool m_testConfigurationIdHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StartTestRunResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StartTestRunResult.h deleted file mode 100644 index 21ce41117ee..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StartTestRunResult.h +++ /dev/null @@ -1,89 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class StartTestRunResult { - public: - AWS_APPTEST_API StartTestRunResult() = default; - AWS_APPTEST_API StartTestRunResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API StartTestRunResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The test run ID of the test run.

- */ - inline const Aws::String& GetTestRunId() const { return m_testRunId; } - template - void SetTestRunId(TestRunIdT&& value) { - m_testRunIdHasBeenSet = true; - m_testRunId = std::forward(value); - } - template - StartTestRunResult& WithTestRunId(TestRunIdT&& value) { - SetTestRunId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test run status of the test run.

- */ - inline TestRunStatus GetTestRunStatus() const { return m_testRunStatus; } - inline void SetTestRunStatus(TestRunStatus value) { - m_testRunStatusHasBeenSet = true; - m_testRunStatus = value; - } - inline StartTestRunResult& WithTestRunStatus(TestRunStatus value) { - SetTestRunStatus(value); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - StartTestRunResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testRunId; - bool m_testRunIdHasBeenSet = false; - - TestRunStatus m_testRunStatus{TestRunStatus::NOT_SET}; - bool m_testRunStatusHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Step.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Step.h deleted file mode 100644 index a51c8fe2049..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/Step.h +++ /dev/null @@ -1,101 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Defines a step.

See Also:

AWS API - * Reference

- */ -class Step { - public: - AWS_APPTEST_API Step() = default; - AWS_APPTEST_API Step(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Step& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the step.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - Step& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description of the step.

- */ - inline const Aws::String& GetDescription() const { return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - template - void SetDescription(DescriptionT&& value) { - m_descriptionHasBeenSet = true; - m_description = std::forward(value); - } - template - Step& WithDescription(DescriptionT&& value) { - SetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The action of the step.

- */ - inline const StepAction& GetAction() const { return m_action; } - inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } - template - void SetAction(ActionT&& value) { - m_actionHasBeenSet = true; - m_action = std::forward(value); - } - template - Step& WithAction(ActionT&& value) { - SetAction(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; - - StepAction m_action; - bool m_actionHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StepAction.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StepAction.h deleted file mode 100644 index 2627585d047..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StepAction.h +++ /dev/null @@ -1,102 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies a step action.

See Also:

AWS - * API Reference

- */ -class StepAction { - public: - AWS_APPTEST_API StepAction() = default; - AWS_APPTEST_API StepAction(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API StepAction& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The resource action of the step action.

- */ - inline const ResourceAction& GetResourceAction() const { return m_resourceAction; } - inline bool ResourceActionHasBeenSet() const { return m_resourceActionHasBeenSet; } - template - void SetResourceAction(ResourceActionT&& value) { - m_resourceActionHasBeenSet = true; - m_resourceAction = std::forward(value); - } - template - StepAction& WithResourceAction(ResourceActionT&& value) { - SetResourceAction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The mainframe action of the step action.

- */ - inline const MainframeAction& GetMainframeAction() const { return m_mainframeAction; } - inline bool MainframeActionHasBeenSet() const { return m_mainframeActionHasBeenSet; } - template - void SetMainframeAction(MainframeActionT&& value) { - m_mainframeActionHasBeenSet = true; - m_mainframeAction = std::forward(value); - } - template - StepAction& WithMainframeAction(MainframeActionT&& value) { - SetMainframeAction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The compare action of the step action.

- */ - inline const CompareAction& GetCompareAction() const { return m_compareAction; } - inline bool CompareActionHasBeenSet() const { return m_compareActionHasBeenSet; } - template - void SetCompareAction(CompareActionT&& value) { - m_compareActionHasBeenSet = true; - m_compareAction = std::forward(value); - } - template - StepAction& WithCompareAction(CompareActionT&& value) { - SetCompareAction(std::forward(value)); - return *this; - } - ///@} - private: - ResourceAction m_resourceAction; - bool m_resourceActionHasBeenSet = false; - - MainframeAction m_mainframeAction; - bool m_mainframeActionHasBeenSet = false; - - CompareAction m_compareAction; - bool m_compareActionHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StepRunStatus.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StepRunStatus.h deleted file mode 100644 index 557ee87cbf6..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StepRunStatus.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class StepRunStatus { NOT_SET, Success, Failed, Running }; - -namespace StepRunStatusMapper { -AWS_APPTEST_API StepRunStatus GetStepRunStatusForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForStepRunStatus(StepRunStatus value); -} // namespace StepRunStatusMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StepRunSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StepRunSummary.h deleted file mode 100644 index dffebb447cd..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/StepRunSummary.h +++ /dev/null @@ -1,102 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Defines the step run summary.

See Also:

AWS - * API Reference

- */ -class StepRunSummary { - public: - AWS_APPTEST_API StepRunSummary() = default; - AWS_APPTEST_API StepRunSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API StepRunSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The mainframe action of the step run summary.

- */ - inline const MainframeActionSummary& GetMainframeAction() const { return m_mainframeAction; } - inline bool MainframeActionHasBeenSet() const { return m_mainframeActionHasBeenSet; } - template - void SetMainframeAction(MainframeActionT&& value) { - m_mainframeActionHasBeenSet = true; - m_mainframeAction = std::forward(value); - } - template - StepRunSummary& WithMainframeAction(MainframeActionT&& value) { - SetMainframeAction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The compare action of the step run summary.

- */ - inline const CompareActionSummary& GetCompareAction() const { return m_compareAction; } - inline bool CompareActionHasBeenSet() const { return m_compareActionHasBeenSet; } - template - void SetCompareAction(CompareActionT&& value) { - m_compareActionHasBeenSet = true; - m_compareAction = std::forward(value); - } - template - StepRunSummary& WithCompareAction(CompareActionT&& value) { - SetCompareAction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The resource action of the step run summary.

- */ - inline const ResourceActionSummary& GetResourceAction() const { return m_resourceAction; } - inline bool ResourceActionHasBeenSet() const { return m_resourceActionHasBeenSet; } - template - void SetResourceAction(ResourceActionT&& value) { - m_resourceActionHasBeenSet = true; - m_resourceAction = std::forward(value); - } - template - StepRunSummary& WithResourceAction(ResourceActionT&& value) { - SetResourceAction(std::forward(value)); - return *this; - } - ///@} - private: - MainframeActionSummary m_mainframeAction; - bool m_mainframeActionHasBeenSet = false; - - CompareActionSummary m_compareAction; - bool m_compareActionHasBeenSet = false; - - ResourceActionSummary m_resourceAction; - bool m_resourceActionHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270.h deleted file mode 100644 index d42b0ee2b6d..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270.h +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the TN3270 protocol.

See Also:

AWS API - * Reference

- */ -class TN3270 { - public: - AWS_APPTEST_API TN3270() = default; - AWS_APPTEST_API TN3270(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TN3270& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The script of the TN3270 protocol.

- */ - inline const Script& GetScript() const { return m_script; } - inline bool ScriptHasBeenSet() const { return m_scriptHasBeenSet; } - template - void SetScript(ScriptT&& value) { - m_scriptHasBeenSet = true; - m_script = std::forward(value); - } - template - TN3270& WithScript(ScriptT&& value) { - SetScript(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The data set names of the TN3270 protocol.

- */ - inline const Aws::Vector& GetExportDataSetNames() const { return m_exportDataSetNames; } - inline bool ExportDataSetNamesHasBeenSet() const { return m_exportDataSetNamesHasBeenSet; } - template > - void SetExportDataSetNames(ExportDataSetNamesT&& value) { - m_exportDataSetNamesHasBeenSet = true; - m_exportDataSetNames = std::forward(value); - } - template > - TN3270& WithExportDataSetNames(ExportDataSetNamesT&& value) { - SetExportDataSetNames(std::forward(value)); - return *this; - } - template - TN3270& AddExportDataSetNames(ExportDataSetNamesT&& value) { - m_exportDataSetNamesHasBeenSet = true; - m_exportDataSetNames.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Script m_script; - bool m_scriptHasBeenSet = false; - - Aws::Vector m_exportDataSetNames; - bool m_exportDataSetNamesHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270StepInput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270StepInput.h deleted file mode 100644 index 6ebf88839be..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270StepInput.h +++ /dev/null @@ -1,131 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies a TN3270 step input.

See Also:

AWS - * API Reference

- */ -class TN3270StepInput { - public: - AWS_APPTEST_API TN3270StepInput() = default; - AWS_APPTEST_API TN3270StepInput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TN3270StepInput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The resource of the TN3270 step input.

- */ - inline const MainframeResourceSummary& GetResource() const { return m_resource; } - inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } - template - void SetResource(ResourceT&& value) { - m_resourceHasBeenSet = true; - m_resource = std::forward(value); - } - template - TN3270StepInput& WithResource(ResourceT&& value) { - SetResource(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The script of the TN3270 step input.

- */ - inline const ScriptSummary& GetScript() const { return m_script; } - inline bool ScriptHasBeenSet() const { return m_scriptHasBeenSet; } - template - void SetScript(ScriptT&& value) { - m_scriptHasBeenSet = true; - m_script = std::forward(value); - } - template - TN3270StepInput& WithScript(ScriptT&& value) { - SetScript(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The export data set names of the TN3270 step input.

- */ - inline const Aws::Vector& GetExportDataSetNames() const { return m_exportDataSetNames; } - inline bool ExportDataSetNamesHasBeenSet() const { return m_exportDataSetNamesHasBeenSet; } - template > - void SetExportDataSetNames(ExportDataSetNamesT&& value) { - m_exportDataSetNamesHasBeenSet = true; - m_exportDataSetNames = std::forward(value); - } - template > - TN3270StepInput& WithExportDataSetNames(ExportDataSetNamesT&& value) { - SetExportDataSetNames(std::forward(value)); - return *this; - } - template - TN3270StepInput& AddExportDataSetNames(ExportDataSetNamesT&& value) { - m_exportDataSetNamesHasBeenSet = true; - m_exportDataSetNames.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The properties of the TN3270 step input.

- */ - inline const MainframeActionProperties& GetProperties() const { return m_properties; } - inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } - template - void SetProperties(PropertiesT&& value) { - m_propertiesHasBeenSet = true; - m_properties = std::forward(value); - } - template - TN3270StepInput& WithProperties(PropertiesT&& value) { - SetProperties(std::forward(value)); - return *this; - } - ///@} - private: - MainframeResourceSummary m_resource; - bool m_resourceHasBeenSet = false; - - ScriptSummary m_script; - bool m_scriptHasBeenSet = false; - - Aws::Vector m_exportDataSetNames; - bool m_exportDataSetNamesHasBeenSet = false; - - MainframeActionProperties m_properties; - bool m_propertiesHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270StepOutput.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270StepOutput.h deleted file mode 100644 index f837d1e216b..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270StepOutput.h +++ /dev/null @@ -1,129 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies a TN3270 step output.

See Also:

AWS - * API Reference

- */ -class TN3270StepOutput { - public: - AWS_APPTEST_API TN3270StepOutput() = default; - AWS_APPTEST_API TN3270StepOutput(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TN3270StepOutput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The data set export location of the TN3270 step output.

- */ - inline const Aws::String& GetDataSetExportLocation() const { return m_dataSetExportLocation; } - inline bool DataSetExportLocationHasBeenSet() const { return m_dataSetExportLocationHasBeenSet; } - template - void SetDataSetExportLocation(DataSetExportLocationT&& value) { - m_dataSetExportLocationHasBeenSet = true; - m_dataSetExportLocation = std::forward(value); - } - template - TN3270StepOutput& WithDataSetExportLocation(DataSetExportLocationT&& value) { - SetDataSetExportLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The output location of the TN3270 step output.

- */ - inline const Aws::String& GetDmsOutputLocation() const { return m_dmsOutputLocation; } - inline bool DmsOutputLocationHasBeenSet() const { return m_dmsOutputLocationHasBeenSet; } - template - void SetDmsOutputLocation(DmsOutputLocationT&& value) { - m_dmsOutputLocationHasBeenSet = true; - m_dmsOutputLocation = std::forward(value); - } - template - TN3270StepOutput& WithDmsOutputLocation(DmsOutputLocationT&& value) { - SetDmsOutputLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The data set details of the TN3270 step output.

- */ - inline const Aws::Vector& GetDataSetDetails() const { return m_dataSetDetails; } - inline bool DataSetDetailsHasBeenSet() const { return m_dataSetDetailsHasBeenSet; } - template > - void SetDataSetDetails(DataSetDetailsT&& value) { - m_dataSetDetailsHasBeenSet = true; - m_dataSetDetails = std::forward(value); - } - template > - TN3270StepOutput& WithDataSetDetails(DataSetDetailsT&& value) { - SetDataSetDetails(std::forward(value)); - return *this; - } - template - TN3270StepOutput& AddDataSetDetails(DataSetDetailsT&& value) { - m_dataSetDetailsHasBeenSet = true; - m_dataSetDetails.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The script output location of the TN3270 step output.

- */ - inline const Aws::String& GetScriptOutputLocation() const { return m_scriptOutputLocation; } - inline bool ScriptOutputLocationHasBeenSet() const { return m_scriptOutputLocationHasBeenSet; } - template - void SetScriptOutputLocation(ScriptOutputLocationT&& value) { - m_scriptOutputLocationHasBeenSet = true; - m_scriptOutputLocation = std::forward(value); - } - template - TN3270StepOutput& WithScriptOutputLocation(ScriptOutputLocationT&& value) { - SetScriptOutputLocation(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_dataSetExportLocation; - bool m_dataSetExportLocationHasBeenSet = false; - - Aws::String m_dmsOutputLocation; - bool m_dmsOutputLocationHasBeenSet = false; - - Aws::Vector m_dataSetDetails; - bool m_dataSetDetailsHasBeenSet = false; - - Aws::String m_scriptOutputLocation; - bool m_scriptOutputLocationHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270Summary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270Summary.h deleted file mode 100644 index 4433ec5d9ab..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TN3270Summary.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies a TN3270 summary.

See Also:

AWS - * API Reference

- */ -class TN3270Summary { - public: - AWS_APPTEST_API TN3270Summary() = default; - AWS_APPTEST_API TN3270Summary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TN3270Summary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The step input of the TN3270 summary.

- */ - inline const TN3270StepInput& GetStepInput() const { return m_stepInput; } - inline bool StepInputHasBeenSet() const { return m_stepInputHasBeenSet; } - template - void SetStepInput(StepInputT&& value) { - m_stepInputHasBeenSet = true; - m_stepInput = std::forward(value); - } - template - TN3270Summary& WithStepInput(StepInputT&& value) { - SetStepInput(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The step output of the TN3270 summary.

- */ - inline const TN3270StepOutput& GetStepOutput() const { return m_stepOutput; } - inline bool StepOutputHasBeenSet() const { return m_stepOutputHasBeenSet; } - template - void SetStepOutput(StepOutputT&& value) { - m_stepOutputHasBeenSet = true; - m_stepOutput = std::forward(value); - } - template - TN3270Summary& WithStepOutput(StepOutputT&& value) { - SetStepOutput(std::forward(value)); - return *this; - } - ///@} - private: - TN3270StepInput m_stepInput; - bool m_stepInputHasBeenSet = false; - - TN3270StepOutput m_stepOutput; - bool m_stepOutputHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TagResourceRequest.h deleted file mode 100644 index c61532778c1..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TagResourceRequest.h +++ /dev/null @@ -1,83 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class TagResourceRequest : public AppTestRequest { - public: - AWS_APPTEST_API TagResourceRequest() = default; - - // 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_APPTEST_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

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

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - TagResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The tags of the resource.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - TagResourceRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - TagResourceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TagResourceResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TagResourceResult.h deleted file mode 100644 index 900465133c0..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TagResourceResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class TagResourceResult { - public: - AWS_APPTEST_API TagResourceResult() = default; - AWS_APPTEST_API TagResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API TagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - TagResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TargetDatabase.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TargetDatabase.h deleted file mode 100644 index d6816b1807d..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TargetDatabase.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class TargetDatabase { NOT_SET, PostgreSQL }; - -namespace TargetDatabaseMapper { -AWS_APPTEST_API TargetDatabase GetTargetDatabaseForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForTargetDatabase(TargetDatabase value); -} // namespace TargetDatabaseMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TargetDatabaseMetadata.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TargetDatabaseMetadata.h deleted file mode 100644 index ce2444d5405..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TargetDatabaseMetadata.h +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies a target database metadata.

See Also:

AWS - * API Reference

- */ -class TargetDatabaseMetadata { - public: - AWS_APPTEST_API TargetDatabaseMetadata() = default; - AWS_APPTEST_API TargetDatabaseMetadata(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TargetDatabaseMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The type of the target database metadata.

- */ - inline TargetDatabase GetType() const { return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - inline void SetType(TargetDatabase value) { - m_typeHasBeenSet = true; - m_type = value; - } - inline TargetDatabaseMetadata& WithType(TargetDatabase value) { - SetType(value); - return *this; - } - ///@} - - ///@{ - /** - *

The capture tool of the target database metadata.

- */ - inline CaptureTool GetCaptureTool() const { return m_captureTool; } - inline bool CaptureToolHasBeenSet() const { return m_captureToolHasBeenSet; } - inline void SetCaptureTool(CaptureTool value) { - m_captureToolHasBeenSet = true; - m_captureTool = value; - } - inline TargetDatabaseMetadata& WithCaptureTool(CaptureTool value) { - SetCaptureTool(value); - return *this; - } - ///@} - private: - TargetDatabase m_type{TargetDatabase::NOT_SET}; - bool m_typeHasBeenSet = false; - - CaptureTool m_captureTool{CaptureTool::NOT_SET}; - bool m_captureToolHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseLatestVersion.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseLatestVersion.h deleted file mode 100644 index 9289402701f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseLatestVersion.h +++ /dev/null @@ -1,97 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the latest version of a test case.

See Also:

AWS - * API Reference

- */ -class TestCaseLatestVersion { - public: - AWS_APPTEST_API TestCaseLatestVersion() = default; - AWS_APPTEST_API TestCaseLatestVersion(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TestCaseLatestVersion& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The version of the test case latest version.

- */ - inline int GetVersion() const { return m_version; } - inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } - inline void SetVersion(int value) { - m_versionHasBeenSet = true; - m_version = value; - } - inline TestCaseLatestVersion& WithVersion(int value) { - SetVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the test case latest version.

- */ - inline TestCaseLifecycle GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(TestCaseLifecycle value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline TestCaseLatestVersion& WithStatus(TestCaseLifecycle value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status reason of the test case latest version.

- */ - inline const Aws::String& GetStatusReason() const { return m_statusReason; } - inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } - template - void SetStatusReason(StatusReasonT&& value) { - m_statusReasonHasBeenSet = true; - m_statusReason = std::forward(value); - } - template - TestCaseLatestVersion& WithStatusReason(StatusReasonT&& value) { - SetStatusReason(std::forward(value)); - return *this; - } - ///@} - private: - int m_version{0}; - bool m_versionHasBeenSet = false; - - TestCaseLifecycle m_status{TestCaseLifecycle::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusReason; - bool m_statusReasonHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseLifecycle.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseLifecycle.h deleted file mode 100644 index c219bd98ec7..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseLifecycle.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class TestCaseLifecycle { NOT_SET, Active, Deleting }; - -namespace TestCaseLifecycleMapper { -AWS_APPTEST_API TestCaseLifecycle GetTestCaseLifecycleForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForTestCaseLifecycle(TestCaseLifecycle value); -} // namespace TestCaseLifecycleMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseRunStatus.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseRunStatus.h deleted file mode 100644 index 96077144c8b..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseRunStatus.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class TestCaseRunStatus { NOT_SET, Success, Running, Failed }; - -namespace TestCaseRunStatusMapper { -AWS_APPTEST_API TestCaseRunStatus GetTestCaseRunStatusForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForTestCaseRunStatus(TestCaseRunStatus value); -} // namespace TestCaseRunStatusMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseRunSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseRunSummary.h deleted file mode 100644 index 0e16cc75bb4..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseRunSummary.h +++ /dev/null @@ -1,182 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the test case run summary.

See Also:

AWS - * API Reference

- */ -class TestCaseRunSummary { - public: - AWS_APPTEST_API TestCaseRunSummary() = default; - AWS_APPTEST_API TestCaseRunSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TestCaseRunSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The test case id of the test case run summary.

- */ - inline const Aws::String& GetTestCaseId() const { return m_testCaseId; } - inline bool TestCaseIdHasBeenSet() const { return m_testCaseIdHasBeenSet; } - template - void SetTestCaseId(TestCaseIdT&& value) { - m_testCaseIdHasBeenSet = true; - m_testCaseId = std::forward(value); - } - template - TestCaseRunSummary& WithTestCaseId(TestCaseIdT&& value) { - SetTestCaseId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test case version of the test case run summary.

- */ - inline int GetTestCaseVersion() const { return m_testCaseVersion; } - inline bool TestCaseVersionHasBeenSet() const { return m_testCaseVersionHasBeenSet; } - inline void SetTestCaseVersion(int value) { - m_testCaseVersionHasBeenSet = true; - m_testCaseVersion = value; - } - inline TestCaseRunSummary& WithTestCaseVersion(int value) { - SetTestCaseVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The test run id of the test case run summary.

- */ - inline const Aws::String& GetTestRunId() const { return m_testRunId; } - inline bool TestRunIdHasBeenSet() const { return m_testRunIdHasBeenSet; } - template - void SetTestRunId(TestRunIdT&& value) { - m_testRunIdHasBeenSet = true; - m_testRunId = std::forward(value); - } - template - TestCaseRunSummary& WithTestRunId(TestRunIdT&& value) { - SetTestRunId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the test case run summary.

- */ - inline TestCaseRunStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(TestCaseRunStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline TestCaseRunSummary& WithStatus(TestCaseRunStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status reason of the test case run summary.

- */ - inline const Aws::String& GetStatusReason() const { return m_statusReason; } - inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } - template - void SetStatusReason(StatusReasonT&& value) { - m_statusReasonHasBeenSet = true; - m_statusReason = std::forward(value); - } - template - TestCaseRunSummary& WithStatusReason(StatusReasonT&& value) { - SetStatusReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The run start time of the test case run summary.

- */ - inline const Aws::Utils::DateTime& GetRunStartTime() const { return m_runStartTime; } - inline bool RunStartTimeHasBeenSet() const { return m_runStartTimeHasBeenSet; } - template - void SetRunStartTime(RunStartTimeT&& value) { - m_runStartTimeHasBeenSet = true; - m_runStartTime = std::forward(value); - } - template - TestCaseRunSummary& WithRunStartTime(RunStartTimeT&& value) { - SetRunStartTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The run end time of the test case run summary.

- */ - inline const Aws::Utils::DateTime& GetRunEndTime() const { return m_runEndTime; } - inline bool RunEndTimeHasBeenSet() const { return m_runEndTimeHasBeenSet; } - template - void SetRunEndTime(RunEndTimeT&& value) { - m_runEndTimeHasBeenSet = true; - m_runEndTime = std::forward(value); - } - template - TestCaseRunSummary& WithRunEndTime(RunEndTimeT&& value) { - SetRunEndTime(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testCaseId; - bool m_testCaseIdHasBeenSet = false; - - int m_testCaseVersion{0}; - bool m_testCaseVersionHasBeenSet = false; - - Aws::String m_testRunId; - bool m_testRunIdHasBeenSet = false; - - TestCaseRunStatus m_status{TestCaseRunStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusReason; - bool m_statusReasonHasBeenSet = false; - - Aws::Utils::DateTime m_runStartTime{}; - bool m_runStartTimeHasBeenSet = false; - - Aws::Utils::DateTime m_runEndTime{}; - bool m_runEndTimeHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseSummary.h deleted file mode 100644 index a29f15647af..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCaseSummary.h +++ /dev/null @@ -1,203 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies a test case summary.

See Also:

AWS - * API Reference

- */ -class TestCaseSummary { - public: - AWS_APPTEST_API TestCaseSummary() = default; - AWS_APPTEST_API TestCaseSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TestCaseSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The test case ID of the test case summary.

- */ - inline const Aws::String& GetTestCaseId() const { return m_testCaseId; } - inline bool TestCaseIdHasBeenSet() const { return m_testCaseIdHasBeenSet; } - template - void SetTestCaseId(TestCaseIdT&& value) { - m_testCaseIdHasBeenSet = true; - m_testCaseId = std::forward(value); - } - template - TestCaseSummary& WithTestCaseId(TestCaseIdT&& value) { - SetTestCaseId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test case Amazon Resource Name (ARN) of the test case summary.

- */ - inline const Aws::String& GetTestCaseArn() const { return m_testCaseArn; } - inline bool TestCaseArnHasBeenSet() const { return m_testCaseArnHasBeenSet; } - template - void SetTestCaseArn(TestCaseArnT&& value) { - m_testCaseArnHasBeenSet = true; - m_testCaseArn = std::forward(value); - } - template - TestCaseSummary& WithTestCaseArn(TestCaseArnT&& value) { - SetTestCaseArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the test case summary.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - TestCaseSummary& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status reason of the test case summary.

- */ - inline const Aws::String& GetStatusReason() const { return m_statusReason; } - inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } - template - void SetStatusReason(StatusReasonT&& value) { - m_statusReasonHasBeenSet = true; - m_statusReason = std::forward(value); - } - template - TestCaseSummary& WithStatusReason(StatusReasonT&& value) { - SetStatusReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The latest version of the test case summary.

- */ - inline int GetLatestVersion() const { return m_latestVersion; } - inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; } - inline void SetLatestVersion(int value) { - m_latestVersionHasBeenSet = true; - m_latestVersion = value; - } - inline TestCaseSummary& WithLatestVersion(int value) { - SetLatestVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the test case summary.

- */ - inline TestCaseLifecycle GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(TestCaseLifecycle value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline TestCaseSummary& WithStatus(TestCaseLifecycle value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The creation time of the test case summary.

- */ - inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; } - inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } - template - void SetCreationTime(CreationTimeT&& value) { - m_creationTimeHasBeenSet = true; - m_creationTime = std::forward(value); - } - template - TestCaseSummary& WithCreationTime(CreationTimeT&& value) { - SetCreationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The last update time of the test case summary.

- */ - inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; } - inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } - template - void SetLastUpdateTime(LastUpdateTimeT&& value) { - m_lastUpdateTimeHasBeenSet = true; - m_lastUpdateTime = std::forward(value); - } - template - TestCaseSummary& WithLastUpdateTime(LastUpdateTimeT&& value) { - SetLastUpdateTime(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testCaseId; - bool m_testCaseIdHasBeenSet = false; - - Aws::String m_testCaseArn; - bool m_testCaseArnHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_statusReason; - bool m_statusReasonHasBeenSet = false; - - int m_latestVersion{0}; - bool m_latestVersionHasBeenSet = false; - - TestCaseLifecycle m_status{TestCaseLifecycle::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Utils::DateTime m_creationTime{}; - bool m_creationTimeHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdateTime{}; - bool m_lastUpdateTimeHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCases.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCases.h deleted file mode 100644 index 10a6723f870..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestCases.h +++ /dev/null @@ -1,65 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies test cases.

See Also:

AWS - * API Reference

- */ -class TestCases { - public: - AWS_APPTEST_API TestCases() = default; - AWS_APPTEST_API TestCases(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TestCases& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The sequential of the test case.

- */ - inline const Aws::Vector& GetSequential() const { return m_sequential; } - inline bool SequentialHasBeenSet() const { return m_sequentialHasBeenSet; } - template > - void SetSequential(SequentialT&& value) { - m_sequentialHasBeenSet = true; - m_sequential = std::forward(value); - } - template > - TestCases& WithSequential(SequentialT&& value) { - SetSequential(std::forward(value)); - return *this; - } - template - TestCases& AddSequential(SequentialT&& value) { - m_sequentialHasBeenSet = true; - m_sequential.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_sequential; - bool m_sequentialHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestConfigurationLatestVersion.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestConfigurationLatestVersion.h deleted file mode 100644 index 56269a3fdb2..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestConfigurationLatestVersion.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the latest version of the test configuration.

See - * Also:

AWS - * API Reference

- */ -class TestConfigurationLatestVersion { - public: - AWS_APPTEST_API TestConfigurationLatestVersion() = default; - AWS_APPTEST_API TestConfigurationLatestVersion(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TestConfigurationLatestVersion& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The version of the test configuration latest version.

- */ - inline int GetVersion() const { return m_version; } - inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } - inline void SetVersion(int value) { - m_versionHasBeenSet = true; - m_version = value; - } - inline TestConfigurationLatestVersion& WithVersion(int value) { - SetVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the test configuration latest version.

- */ - inline TestConfigurationLifecycle GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(TestConfigurationLifecycle value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline TestConfigurationLatestVersion& WithStatus(TestConfigurationLifecycle value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status reason of the test configuration latest version.

- */ - inline const Aws::String& GetStatusReason() const { return m_statusReason; } - inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } - template - void SetStatusReason(StatusReasonT&& value) { - m_statusReasonHasBeenSet = true; - m_statusReason = std::forward(value); - } - template - TestConfigurationLatestVersion& WithStatusReason(StatusReasonT&& value) { - SetStatusReason(std::forward(value)); - return *this; - } - ///@} - private: - int m_version{0}; - bool m_versionHasBeenSet = false; - - TestConfigurationLifecycle m_status{TestConfigurationLifecycle::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusReason; - bool m_statusReasonHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestConfigurationLifecycle.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestConfigurationLifecycle.h deleted file mode 100644 index 73d1fd1196f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestConfigurationLifecycle.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class TestConfigurationLifecycle { NOT_SET, Active, Deleting }; - -namespace TestConfigurationLifecycleMapper { -AWS_APPTEST_API TestConfigurationLifecycle GetTestConfigurationLifecycleForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForTestConfigurationLifecycle(TestConfigurationLifecycle value); -} // namespace TestConfigurationLifecycleMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestConfigurationSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestConfigurationSummary.h deleted file mode 100644 index 7d3191f95ab..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestConfigurationSummary.h +++ /dev/null @@ -1,203 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies a test configuration summary.

See Also:

AWS - * API Reference

- */ -class TestConfigurationSummary { - public: - AWS_APPTEST_API TestConfigurationSummary() = default; - AWS_APPTEST_API TestConfigurationSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TestConfigurationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The test configuration ID of the test configuration summary.

- */ - inline const Aws::String& GetTestConfigurationId() const { return m_testConfigurationId; } - inline bool TestConfigurationIdHasBeenSet() const { return m_testConfigurationIdHasBeenSet; } - template - void SetTestConfigurationId(TestConfigurationIdT&& value) { - m_testConfigurationIdHasBeenSet = true; - m_testConfigurationId = std::forward(value); - } - template - TestConfigurationSummary& WithTestConfigurationId(TestConfigurationIdT&& value) { - SetTestConfigurationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the test configuration summary.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - TestConfigurationSummary& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status reason of the test configuration summary.

- */ - inline const Aws::String& GetStatusReason() const { return m_statusReason; } - inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } - template - void SetStatusReason(StatusReasonT&& value) { - m_statusReasonHasBeenSet = true; - m_statusReason = std::forward(value); - } - template - TestConfigurationSummary& WithStatusReason(StatusReasonT&& value) { - SetStatusReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The latest version of the test configuration summary.

- */ - inline int GetLatestVersion() const { return m_latestVersion; } - inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; } - inline void SetLatestVersion(int value) { - m_latestVersionHasBeenSet = true; - m_latestVersion = value; - } - inline TestConfigurationSummary& WithLatestVersion(int value) { - SetLatestVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The test configuration ARN of the test configuration summary.

- */ - inline const Aws::String& GetTestConfigurationArn() const { return m_testConfigurationArn; } - inline bool TestConfigurationArnHasBeenSet() const { return m_testConfigurationArnHasBeenSet; } - template - void SetTestConfigurationArn(TestConfigurationArnT&& value) { - m_testConfigurationArnHasBeenSet = true; - m_testConfigurationArn = std::forward(value); - } - template - TestConfigurationSummary& WithTestConfigurationArn(TestConfigurationArnT&& value) { - SetTestConfigurationArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the test configuration summary.

- */ - inline TestConfigurationLifecycle GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(TestConfigurationLifecycle value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline TestConfigurationSummary& WithStatus(TestConfigurationLifecycle value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The creation time of the test configuration summary.

- */ - inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; } - inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } - template - void SetCreationTime(CreationTimeT&& value) { - m_creationTimeHasBeenSet = true; - m_creationTime = std::forward(value); - } - template - TestConfigurationSummary& WithCreationTime(CreationTimeT&& value) { - SetCreationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The last update time of the test configuration summary.

- */ - inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; } - inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } - template - void SetLastUpdateTime(LastUpdateTimeT&& value) { - m_lastUpdateTimeHasBeenSet = true; - m_lastUpdateTime = std::forward(value); - } - template - TestConfigurationSummary& WithLastUpdateTime(LastUpdateTimeT&& value) { - SetLastUpdateTime(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testConfigurationId; - bool m_testConfigurationIdHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_statusReason; - bool m_statusReasonHasBeenSet = false; - - int m_latestVersion{0}; - bool m_latestVersionHasBeenSet = false; - - Aws::String m_testConfigurationArn; - bool m_testConfigurationArnHasBeenSet = false; - - TestConfigurationLifecycle m_status{TestConfigurationLifecycle::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Utils::DateTime m_creationTime{}; - bool m_creationTimeHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdateTime{}; - bool m_lastUpdateTimeHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestRunStatus.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestRunStatus.h deleted file mode 100644 index d2ed0a706e1..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestRunStatus.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class TestRunStatus { NOT_SET, Success, Running, Failed, Deleting }; - -namespace TestRunStatusMapper { -AWS_APPTEST_API TestRunStatus GetTestRunStatusForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForTestRunStatus(TestRunStatus value); -} // namespace TestRunStatusMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestRunStepSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestRunStepSummary.h deleted file mode 100644 index 1c0960f13cc..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestRunStepSummary.h +++ /dev/null @@ -1,281 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies a test run step summary.

See Also:

AWS - * API Reference

- */ -class TestRunStepSummary { - public: - AWS_APPTEST_API TestRunStepSummary() = default; - AWS_APPTEST_API TestRunStepSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TestRunStepSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The step name of the test run step summary.

- */ - inline const Aws::String& GetStepName() const { return m_stepName; } - inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; } - template - void SetStepName(StepNameT&& value) { - m_stepNameHasBeenSet = true; - m_stepName = std::forward(value); - } - template - TestRunStepSummary& WithStepName(StepNameT&& value) { - SetStepName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test run ID of the test run step summary.

- */ - inline const Aws::String& GetTestRunId() const { return m_testRunId; } - inline bool TestRunIdHasBeenSet() const { return m_testRunIdHasBeenSet; } - template - void SetTestRunId(TestRunIdT&& value) { - m_testRunIdHasBeenSet = true; - m_testRunId = std::forward(value); - } - template - TestRunStepSummary& WithTestRunId(TestRunIdT&& value) { - SetTestRunId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test case ID of the test run step summary.

- */ - inline const Aws::String& GetTestCaseId() const { return m_testCaseId; } - inline bool TestCaseIdHasBeenSet() const { return m_testCaseIdHasBeenSet; } - template - void SetTestCaseId(TestCaseIdT&& value) { - m_testCaseIdHasBeenSet = true; - m_testCaseId = std::forward(value); - } - template - TestRunStepSummary& WithTestCaseId(TestCaseIdT&& value) { - SetTestCaseId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test case version of the test run step summary.

- */ - inline int GetTestCaseVersion() const { return m_testCaseVersion; } - inline bool TestCaseVersionHasBeenSet() const { return m_testCaseVersionHasBeenSet; } - inline void SetTestCaseVersion(int value) { - m_testCaseVersionHasBeenSet = true; - m_testCaseVersion = value; - } - inline TestRunStepSummary& WithTestCaseVersion(int value) { - SetTestCaseVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The test suite ID of the test run step summary.

- */ - inline const Aws::String& GetTestSuiteId() const { return m_testSuiteId; } - inline bool TestSuiteIdHasBeenSet() const { return m_testSuiteIdHasBeenSet; } - template - void SetTestSuiteId(TestSuiteIdT&& value) { - m_testSuiteIdHasBeenSet = true; - m_testSuiteId = std::forward(value); - } - template - TestRunStepSummary& WithTestSuiteId(TestSuiteIdT&& value) { - SetTestSuiteId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test suite version of the test run step summary.

- */ - inline int GetTestSuiteVersion() const { return m_testSuiteVersion; } - inline bool TestSuiteVersionHasBeenSet() const { return m_testSuiteVersionHasBeenSet; } - inline void SetTestSuiteVersion(int value) { - m_testSuiteVersionHasBeenSet = true; - m_testSuiteVersion = value; - } - inline TestRunStepSummary& WithTestSuiteVersion(int value) { - SetTestSuiteVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The before step of the test run step summary.

- */ - inline bool GetBeforeStep() const { return m_beforeStep; } - inline bool BeforeStepHasBeenSet() const { return m_beforeStepHasBeenSet; } - inline void SetBeforeStep(bool value) { - m_beforeStepHasBeenSet = true; - m_beforeStep = value; - } - inline TestRunStepSummary& WithBeforeStep(bool value) { - SetBeforeStep(value); - return *this; - } - ///@} - - ///@{ - /** - *

The after step of the test run step summary.

- */ - inline bool GetAfterStep() const { return m_afterStep; } - inline bool AfterStepHasBeenSet() const { return m_afterStepHasBeenSet; } - inline void SetAfterStep(bool value) { - m_afterStepHasBeenSet = true; - m_afterStep = value; - } - inline TestRunStepSummary& WithAfterStep(bool value) { - SetAfterStep(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the test run step summary.

- */ - inline StepRunStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(StepRunStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline TestRunStepSummary& WithStatus(StepRunStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status reason of the test run step summary.

- */ - inline const Aws::String& GetStatusReason() const { return m_statusReason; } - inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } - template - void SetStatusReason(StatusReasonT&& value) { - m_statusReasonHasBeenSet = true; - m_statusReason = std::forward(value); - } - template - TestRunStepSummary& WithStatusReason(StatusReasonT&& value) { - SetStatusReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The run start time of the test run step summary.

- */ - inline const Aws::Utils::DateTime& GetRunStartTime() const { return m_runStartTime; } - inline bool RunStartTimeHasBeenSet() const { return m_runStartTimeHasBeenSet; } - template - void SetRunStartTime(RunStartTimeT&& value) { - m_runStartTimeHasBeenSet = true; - m_runStartTime = std::forward(value); - } - template - TestRunStepSummary& WithRunStartTime(RunStartTimeT&& value) { - SetRunStartTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The run end time of the test run step summary.

- */ - inline const Aws::Utils::DateTime& GetRunEndTime() const { return m_runEndTime; } - inline bool RunEndTimeHasBeenSet() const { return m_runEndTimeHasBeenSet; } - template - void SetRunEndTime(RunEndTimeT&& value) { - m_runEndTimeHasBeenSet = true; - m_runEndTime = std::forward(value); - } - template - TestRunStepSummary& WithRunEndTime(RunEndTimeT&& value) { - SetRunEndTime(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_stepName; - bool m_stepNameHasBeenSet = false; - - Aws::String m_testRunId; - bool m_testRunIdHasBeenSet = false; - - Aws::String m_testCaseId; - bool m_testCaseIdHasBeenSet = false; - - int m_testCaseVersion{0}; - bool m_testCaseVersionHasBeenSet = false; - - Aws::String m_testSuiteId; - bool m_testSuiteIdHasBeenSet = false; - - int m_testSuiteVersion{0}; - bool m_testSuiteVersionHasBeenSet = false; - - bool m_beforeStep{false}; - bool m_beforeStepHasBeenSet = false; - - bool m_afterStep{false}; - bool m_afterStepHasBeenSet = false; - - StepRunStatus m_status{StepRunStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusReason; - bool m_statusReasonHasBeenSet = false; - - Aws::Utils::DateTime m_runStartTime{}; - bool m_runStartTimeHasBeenSet = false; - - Aws::Utils::DateTime m_runEndTime{}; - bool m_runEndTimeHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestRunSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestRunSummary.h deleted file mode 100644 index a413d993dc9..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestRunSummary.h +++ /dev/null @@ -1,243 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies a test run summary.

See Also:

AWS - * API Reference

- */ -class TestRunSummary { - public: - AWS_APPTEST_API TestRunSummary() = default; - AWS_APPTEST_API TestRunSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TestRunSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The test run ID of the test run summary.

- */ - inline const Aws::String& GetTestRunId() const { return m_testRunId; } - inline bool TestRunIdHasBeenSet() const { return m_testRunIdHasBeenSet; } - template - void SetTestRunId(TestRunIdT&& value) { - m_testRunIdHasBeenSet = true; - m_testRunId = std::forward(value); - } - template - TestRunSummary& WithTestRunId(TestRunIdT&& value) { - SetTestRunId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test run ARN of the test run summary.

- */ - inline const Aws::String& GetTestRunArn() const { return m_testRunArn; } - inline bool TestRunArnHasBeenSet() const { return m_testRunArnHasBeenSet; } - template - void SetTestRunArn(TestRunArnT&& value) { - m_testRunArnHasBeenSet = true; - m_testRunArn = std::forward(value); - } - template - TestRunSummary& WithTestRunArn(TestRunArnT&& value) { - SetTestRunArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test suite ID of the test run summary.

- */ - inline const Aws::String& GetTestSuiteId() const { return m_testSuiteId; } - inline bool TestSuiteIdHasBeenSet() const { return m_testSuiteIdHasBeenSet; } - template - void SetTestSuiteId(TestSuiteIdT&& value) { - m_testSuiteIdHasBeenSet = true; - m_testSuiteId = std::forward(value); - } - template - TestRunSummary& WithTestSuiteId(TestSuiteIdT&& value) { - SetTestSuiteId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test suite version of the test run summary.

- */ - inline int GetTestSuiteVersion() const { return m_testSuiteVersion; } - inline bool TestSuiteVersionHasBeenSet() const { return m_testSuiteVersionHasBeenSet; } - inline void SetTestSuiteVersion(int value) { - m_testSuiteVersionHasBeenSet = true; - m_testSuiteVersion = value; - } - inline TestRunSummary& WithTestSuiteVersion(int value) { - SetTestSuiteVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The test configuration ID of the test run summary.

- */ - inline const Aws::String& GetTestConfigurationId() const { return m_testConfigurationId; } - inline bool TestConfigurationIdHasBeenSet() const { return m_testConfigurationIdHasBeenSet; } - template - void SetTestConfigurationId(TestConfigurationIdT&& value) { - m_testConfigurationIdHasBeenSet = true; - m_testConfigurationId = std::forward(value); - } - template - TestRunSummary& WithTestConfigurationId(TestConfigurationIdT&& value) { - SetTestConfigurationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test configuration version of the test run summary.

- */ - inline int GetTestConfigurationVersion() const { return m_testConfigurationVersion; } - inline bool TestConfigurationVersionHasBeenSet() const { return m_testConfigurationVersionHasBeenSet; } - inline void SetTestConfigurationVersion(int value) { - m_testConfigurationVersionHasBeenSet = true; - m_testConfigurationVersion = value; - } - inline TestRunSummary& WithTestConfigurationVersion(int value) { - SetTestConfigurationVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the test run summary.

- */ - inline TestRunStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(TestRunStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline TestRunSummary& WithStatus(TestRunStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status reason of the test run summary.

- */ - inline const Aws::String& GetStatusReason() const { return m_statusReason; } - inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } - template - void SetStatusReason(StatusReasonT&& value) { - m_statusReasonHasBeenSet = true; - m_statusReason = std::forward(value); - } - template - TestRunSummary& WithStatusReason(StatusReasonT&& value) { - SetStatusReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The run start time of the test run summary.

- */ - inline const Aws::Utils::DateTime& GetRunStartTime() const { return m_runStartTime; } - inline bool RunStartTimeHasBeenSet() const { return m_runStartTimeHasBeenSet; } - template - void SetRunStartTime(RunStartTimeT&& value) { - m_runStartTimeHasBeenSet = true; - m_runStartTime = std::forward(value); - } - template - TestRunSummary& WithRunStartTime(RunStartTimeT&& value) { - SetRunStartTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The run end time of the test run summary.

- */ - inline const Aws::Utils::DateTime& GetRunEndTime() const { return m_runEndTime; } - inline bool RunEndTimeHasBeenSet() const { return m_runEndTimeHasBeenSet; } - template - void SetRunEndTime(RunEndTimeT&& value) { - m_runEndTimeHasBeenSet = true; - m_runEndTime = std::forward(value); - } - template - TestRunSummary& WithRunEndTime(RunEndTimeT&& value) { - SetRunEndTime(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testRunId; - bool m_testRunIdHasBeenSet = false; - - Aws::String m_testRunArn; - bool m_testRunArnHasBeenSet = false; - - Aws::String m_testSuiteId; - bool m_testSuiteIdHasBeenSet = false; - - int m_testSuiteVersion{0}; - bool m_testSuiteVersionHasBeenSet = false; - - Aws::String m_testConfigurationId; - bool m_testConfigurationIdHasBeenSet = false; - - int m_testConfigurationVersion{0}; - bool m_testConfigurationVersionHasBeenSet = false; - - TestRunStatus m_status{TestRunStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusReason; - bool m_statusReasonHasBeenSet = false; - - Aws::Utils::DateTime m_runStartTime{}; - bool m_runStartTimeHasBeenSet = false; - - Aws::Utils::DateTime m_runEndTime{}; - bool m_runEndTimeHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestSuiteLatestVersion.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestSuiteLatestVersion.h deleted file mode 100644 index 32fbe8fd13c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestSuiteLatestVersion.h +++ /dev/null @@ -1,97 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the latest version of a test suite.

See Also:

AWS - * API Reference

- */ -class TestSuiteLatestVersion { - public: - AWS_APPTEST_API TestSuiteLatestVersion() = default; - AWS_APPTEST_API TestSuiteLatestVersion(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TestSuiteLatestVersion& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The version of the test suite latest version.

- */ - inline int GetVersion() const { return m_version; } - inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } - inline void SetVersion(int value) { - m_versionHasBeenSet = true; - m_version = value; - } - inline TestSuiteLatestVersion& WithVersion(int value) { - SetVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the test suite latest version.

- */ - inline TestSuiteLifecycle GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(TestSuiteLifecycle value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline TestSuiteLatestVersion& WithStatus(TestSuiteLifecycle value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status reason of the test suite latest version.

- */ - inline const Aws::String& GetStatusReason() const { return m_statusReason; } - inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } - template - void SetStatusReason(StatusReasonT&& value) { - m_statusReasonHasBeenSet = true; - m_statusReason = std::forward(value); - } - template - TestSuiteLatestVersion& WithStatusReason(StatusReasonT&& value) { - SetStatusReason(std::forward(value)); - return *this; - } - ///@} - private: - int m_version{0}; - bool m_versionHasBeenSet = false; - - TestSuiteLifecycle m_status{TestSuiteLifecycle::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusReason; - bool m_statusReasonHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestSuiteLifecycle.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestSuiteLifecycle.h deleted file mode 100644 index ad207914e55..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestSuiteLifecycle.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class TestSuiteLifecycle { NOT_SET, Creating, Updating, Active, Failed, Deleting }; - -namespace TestSuiteLifecycleMapper { -AWS_APPTEST_API TestSuiteLifecycle GetTestSuiteLifecycleForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForTestSuiteLifecycle(TestSuiteLifecycle value); -} // namespace TestSuiteLifecycleMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestSuiteSummary.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestSuiteSummary.h deleted file mode 100644 index 0462807ae8b..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/TestSuiteSummary.h +++ /dev/null @@ -1,203 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies the test suite summary.

See Also:

AWS - * API Reference

- */ -class TestSuiteSummary { - public: - AWS_APPTEST_API TestSuiteSummary() = default; - AWS_APPTEST_API TestSuiteSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API TestSuiteSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The test suite ID of the test suite summary.

- */ - inline const Aws::String& GetTestSuiteId() const { return m_testSuiteId; } - inline bool TestSuiteIdHasBeenSet() const { return m_testSuiteIdHasBeenSet; } - template - void SetTestSuiteId(TestSuiteIdT&& value) { - m_testSuiteIdHasBeenSet = true; - m_testSuiteId = std::forward(value); - } - template - TestSuiteSummary& WithTestSuiteId(TestSuiteIdT&& value) { - SetTestSuiteId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the test suite summary.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - TestSuiteSummary& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status reason of the test suite summary.

- */ - inline const Aws::String& GetStatusReason() const { return m_statusReason; } - inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } - template - void SetStatusReason(StatusReasonT&& value) { - m_statusReasonHasBeenSet = true; - m_statusReason = std::forward(value); - } - template - TestSuiteSummary& WithStatusReason(StatusReasonT&& value) { - SetStatusReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The latest version of the test suite summary.

- */ - inline int GetLatestVersion() const { return m_latestVersion; } - inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; } - inline void SetLatestVersion(int value) { - m_latestVersionHasBeenSet = true; - m_latestVersion = value; - } - inline TestSuiteSummary& WithLatestVersion(int value) { - SetLatestVersion(value); - return *this; - } - ///@} - - ///@{ - /** - *

The test suite Amazon Resource Name (ARN) of the test suite summary.

- */ - inline const Aws::String& GetTestSuiteArn() const { return m_testSuiteArn; } - inline bool TestSuiteArnHasBeenSet() const { return m_testSuiteArnHasBeenSet; } - template - void SetTestSuiteArn(TestSuiteArnT&& value) { - m_testSuiteArnHasBeenSet = true; - m_testSuiteArn = std::forward(value); - } - template - TestSuiteSummary& WithTestSuiteArn(TestSuiteArnT&& value) { - SetTestSuiteArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the test suite summary.

- */ - inline TestSuiteLifecycle GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(TestSuiteLifecycle value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline TestSuiteSummary& WithStatus(TestSuiteLifecycle value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The creation time of the test suite summary.

- */ - inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; } - inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } - template - void SetCreationTime(CreationTimeT&& value) { - m_creationTimeHasBeenSet = true; - m_creationTime = std::forward(value); - } - template - TestSuiteSummary& WithCreationTime(CreationTimeT&& value) { - SetCreationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The last update time of the test suite summary.

- */ - inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; } - inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } - template - void SetLastUpdateTime(LastUpdateTimeT&& value) { - m_lastUpdateTimeHasBeenSet = true; - m_lastUpdateTime = std::forward(value); - } - template - TestSuiteSummary& WithLastUpdateTime(LastUpdateTimeT&& value) { - SetLastUpdateTime(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testSuiteId; - bool m_testSuiteIdHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_statusReason; - bool m_statusReasonHasBeenSet = false; - - int m_latestVersion{0}; - bool m_latestVersionHasBeenSet = false; - - Aws::String m_testSuiteArn; - bool m_testSuiteArnHasBeenSet = false; - - TestSuiteLifecycle m_status{TestSuiteLifecycle::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Utils::DateTime m_creationTime{}; - bool m_creationTimeHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdateTime{}; - bool m_lastUpdateTimeHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ThrottlingException.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ThrottlingException.h deleted file mode 100644 index f5b04140b1f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ThrottlingException.h +++ /dev/null @@ -1,117 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

The number of requests made exceeds the limit.

See Also:

AWS - * API Reference

- */ -class ThrottlingException { - public: - AWS_APPTEST_API ThrottlingException() = default; - AWS_APPTEST_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API ThrottlingException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ThrottlingException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The service code of requests that exceed the limit.

- */ - inline const Aws::String& GetServiceCode() const { return m_serviceCode; } - inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } - template - void SetServiceCode(ServiceCodeT&& value) { - m_serviceCodeHasBeenSet = true; - m_serviceCode = std::forward(value); - } - template - ThrottlingException& WithServiceCode(ServiceCodeT&& value) { - SetServiceCode(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The quota code of requests that exceed the limit.

- */ - inline const Aws::String& GetQuotaCode() const { return m_quotaCode; } - inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } - template - void SetQuotaCode(QuotaCodeT&& value) { - m_quotaCodeHasBeenSet = true; - m_quotaCode = std::forward(value); - } - template - ThrottlingException& WithQuotaCode(QuotaCodeT&& value) { - SetQuotaCode(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The number of seconds to retry after for requests that exceed the limit.

- */ - 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{0}; - bool m_retryAfterSecondsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UntagResourceRequest.h deleted file mode 100644 index 4d16b01b282..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UntagResourceRequest.h +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class UntagResourceRequest : public AppTestRequest { - public: - AWS_APPTEST_API UntagResourceRequest() = default; - - // 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_APPTEST_API Aws::String SerializePayload() const override; - - AWS_APPTEST_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the resource.

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - UntagResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The tag keys of the resource.

- */ - inline const Aws::Vector& GetTagKeys() const { return m_tagKeys; } - inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } - template > - void SetTagKeys(TagKeysT&& value) { - m_tagKeysHasBeenSet = true; - m_tagKeys = std::forward(value); - } - template > - UntagResourceRequest& WithTagKeys(TagKeysT&& value) { - SetTagKeys(std::forward(value)); - return *this; - } - template - UntagResourceRequest& AddTagKeys(TagKeysT&& value) { - m_tagKeysHasBeenSet = true; - m_tagKeys.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; - - Aws::Vector m_tagKeys; - bool m_tagKeysHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UntagResourceResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UntagResourceResult.h deleted file mode 100644 index 567c920da25..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UntagResourceResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class UntagResourceResult { - public: - AWS_APPTEST_API UntagResourceResult() = default; - AWS_APPTEST_API UntagResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API UntagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UntagResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestCaseRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestCaseRequest.h deleted file mode 100644 index 73d1301e514..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestCaseRequest.h +++ /dev/null @@ -1,105 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class UpdateTestCaseRequest : public AppTestRequest { - public: - AWS_APPTEST_API UpdateTestCaseRequest() = default; - - // 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 "UpdateTestCase"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The test case ID of the test case.

- */ - inline const Aws::String& GetTestCaseId() const { return m_testCaseId; } - inline bool TestCaseIdHasBeenSet() const { return m_testCaseIdHasBeenSet; } - template - void SetTestCaseId(TestCaseIdT&& value) { - m_testCaseIdHasBeenSet = true; - m_testCaseId = std::forward(value); - } - template - UpdateTestCaseRequest& WithTestCaseId(TestCaseIdT&& value) { - SetTestCaseId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description of the test case.

- */ - inline const Aws::String& GetDescription() const { return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - template - void SetDescription(DescriptionT&& value) { - m_descriptionHasBeenSet = true; - m_description = std::forward(value); - } - template - UpdateTestCaseRequest& WithDescription(DescriptionT&& value) { - SetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The steps of the test case.

- */ - inline const Aws::Vector& GetSteps() const { return m_steps; } - inline bool StepsHasBeenSet() const { return m_stepsHasBeenSet; } - template > - void SetSteps(StepsT&& value) { - m_stepsHasBeenSet = true; - m_steps = std::forward(value); - } - template > - UpdateTestCaseRequest& WithSteps(StepsT&& value) { - SetSteps(std::forward(value)); - return *this; - } - template - UpdateTestCaseRequest& AddSteps(StepsT&& value) { - m_stepsHasBeenSet = true; - m_steps.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testCaseId; - bool m_testCaseIdHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; - - Aws::Vector m_steps; - bool m_stepsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestCaseResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestCaseResult.h deleted file mode 100644 index de7ac68c174..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestCaseResult.h +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class UpdateTestCaseResult { - public: - AWS_APPTEST_API UpdateTestCaseResult() = default; - AWS_APPTEST_API UpdateTestCaseResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API UpdateTestCaseResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The test case ID of the test case.

- */ - inline const Aws::String& GetTestCaseId() const { return m_testCaseId; } - template - void SetTestCaseId(TestCaseIdT&& value) { - m_testCaseIdHasBeenSet = true; - m_testCaseId = std::forward(value); - } - template - UpdateTestCaseResult& WithTestCaseId(TestCaseIdT&& value) { - SetTestCaseId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test case version of the test case.

- */ - inline int GetTestCaseVersion() const { return m_testCaseVersion; } - inline void SetTestCaseVersion(int value) { - m_testCaseVersionHasBeenSet = true; - m_testCaseVersion = value; - } - inline UpdateTestCaseResult& WithTestCaseVersion(int value) { - SetTestCaseVersion(value); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UpdateTestCaseResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testCaseId; - bool m_testCaseIdHasBeenSet = false; - - int m_testCaseVersion{0}; - bool m_testCaseVersionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestConfigurationRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestConfigurationRequest.h deleted file mode 100644 index fbe6877a466..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestConfigurationRequest.h +++ /dev/null @@ -1,155 +0,0 @@ -/** - * 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 - -namespace Aws { -namespace AppTest { -namespace Model { - -/** - */ -class UpdateTestConfigurationRequest : public AppTestRequest { - public: - AWS_APPTEST_API UpdateTestConfigurationRequest() = default; - - // 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 "UpdateTestConfiguration"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The test configuration ID of the test configuration.

- */ - inline const Aws::String& GetTestConfigurationId() const { return m_testConfigurationId; } - inline bool TestConfigurationIdHasBeenSet() const { return m_testConfigurationIdHasBeenSet; } - template - void SetTestConfigurationId(TestConfigurationIdT&& value) { - m_testConfigurationIdHasBeenSet = true; - m_testConfigurationId = std::forward(value); - } - template - UpdateTestConfigurationRequest& WithTestConfigurationId(TestConfigurationIdT&& value) { - SetTestConfigurationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description of the test configuration.

- */ - inline const Aws::String& GetDescription() const { return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - template - void SetDescription(DescriptionT&& value) { - m_descriptionHasBeenSet = true; - m_description = std::forward(value); - } - template - UpdateTestConfigurationRequest& WithDescription(DescriptionT&& value) { - SetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The resources of the test configuration.

- */ - inline const Aws::Vector& GetResources() const { return m_resources; } - inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; } - template > - void SetResources(ResourcesT&& value) { - m_resourcesHasBeenSet = true; - m_resources = std::forward(value); - } - template > - UpdateTestConfigurationRequest& WithResources(ResourcesT&& value) { - SetResources(std::forward(value)); - return *this; - } - template - UpdateTestConfigurationRequest& AddResources(ResourcesT&& value) { - m_resourcesHasBeenSet = true; - m_resources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The properties of the test configuration.

- */ - inline const Aws::Map& GetProperties() const { return m_properties; } - inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } - template > - void SetProperties(PropertiesT&& value) { - m_propertiesHasBeenSet = true; - m_properties = std::forward(value); - } - template > - UpdateTestConfigurationRequest& WithProperties(PropertiesT&& value) { - SetProperties(std::forward(value)); - return *this; - } - template - UpdateTestConfigurationRequest& AddProperties(PropertiesKeyT&& key, PropertiesValueT&& value) { - m_propertiesHasBeenSet = true; - m_properties.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The service settings of the test configuration.

- */ - inline const ServiceSettings& GetServiceSettings() const { return m_serviceSettings; } - inline bool ServiceSettingsHasBeenSet() const { return m_serviceSettingsHasBeenSet; } - template - void SetServiceSettings(ServiceSettingsT&& value) { - m_serviceSettingsHasBeenSet = true; - m_serviceSettings = std::forward(value); - } - template - UpdateTestConfigurationRequest& WithServiceSettings(ServiceSettingsT&& value) { - SetServiceSettings(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testConfigurationId; - bool m_testConfigurationIdHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; - - Aws::Vector m_resources; - bool m_resourcesHasBeenSet = false; - - Aws::Map m_properties; - bool m_propertiesHasBeenSet = false; - - ServiceSettings m_serviceSettings; - bool m_serviceSettingsHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestConfigurationResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestConfigurationResult.h deleted file mode 100644 index 3eaa68e5540..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestConfigurationResult.h +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class UpdateTestConfigurationResult { - public: - AWS_APPTEST_API UpdateTestConfigurationResult() = default; - AWS_APPTEST_API UpdateTestConfigurationResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API UpdateTestConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The configuration ID of the test configuration.

- */ - inline const Aws::String& GetTestConfigurationId() const { return m_testConfigurationId; } - template - void SetTestConfigurationId(TestConfigurationIdT&& value) { - m_testConfigurationIdHasBeenSet = true; - m_testConfigurationId = std::forward(value); - } - template - UpdateTestConfigurationResult& WithTestConfigurationId(TestConfigurationIdT&& value) { - SetTestConfigurationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The configuration version of the test configuration.

- */ - inline int GetTestConfigurationVersion() const { return m_testConfigurationVersion; } - inline void SetTestConfigurationVersion(int value) { - m_testConfigurationVersionHasBeenSet = true; - m_testConfigurationVersion = value; - } - inline UpdateTestConfigurationResult& WithTestConfigurationVersion(int value) { - SetTestConfigurationVersion(value); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UpdateTestConfigurationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testConfigurationId; - bool m_testConfigurationIdHasBeenSet = false; - - int m_testConfigurationVersion{0}; - bool m_testConfigurationVersionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestSuiteRequest.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestSuiteRequest.h deleted file mode 100644 index 77dd262dc12..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestSuiteRequest.h +++ /dev/null @@ -1,154 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - */ -class UpdateTestSuiteRequest : public AppTestRequest { - public: - AWS_APPTEST_API UpdateTestSuiteRequest() = default; - - // 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 "UpdateTestSuite"; } - - AWS_APPTEST_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The test suite ID of the test suite.

- */ - inline const Aws::String& GetTestSuiteId() const { return m_testSuiteId; } - inline bool TestSuiteIdHasBeenSet() const { return m_testSuiteIdHasBeenSet; } - template - void SetTestSuiteId(TestSuiteIdT&& value) { - m_testSuiteIdHasBeenSet = true; - m_testSuiteId = std::forward(value); - } - template - UpdateTestSuiteRequest& WithTestSuiteId(TestSuiteIdT&& value) { - SetTestSuiteId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description of the test suite.

- */ - inline const Aws::String& GetDescription() const { return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - template - void SetDescription(DescriptionT&& value) { - m_descriptionHasBeenSet = true; - m_description = std::forward(value); - } - template - UpdateTestSuiteRequest& WithDescription(DescriptionT&& value) { - SetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The before steps for the test suite.

- */ - inline const Aws::Vector& GetBeforeSteps() const { return m_beforeSteps; } - inline bool BeforeStepsHasBeenSet() const { return m_beforeStepsHasBeenSet; } - template > - void SetBeforeSteps(BeforeStepsT&& value) { - m_beforeStepsHasBeenSet = true; - m_beforeSteps = std::forward(value); - } - template > - UpdateTestSuiteRequest& WithBeforeSteps(BeforeStepsT&& value) { - SetBeforeSteps(std::forward(value)); - return *this; - } - template - UpdateTestSuiteRequest& AddBeforeSteps(BeforeStepsT&& value) { - m_beforeStepsHasBeenSet = true; - m_beforeSteps.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The after steps of the test suite.

- */ - inline const Aws::Vector& GetAfterSteps() const { return m_afterSteps; } - inline bool AfterStepsHasBeenSet() const { return m_afterStepsHasBeenSet; } - template > - void SetAfterSteps(AfterStepsT&& value) { - m_afterStepsHasBeenSet = true; - m_afterSteps = std::forward(value); - } - template > - UpdateTestSuiteRequest& WithAfterSteps(AfterStepsT&& value) { - SetAfterSteps(std::forward(value)); - return *this; - } - template - UpdateTestSuiteRequest& AddAfterSteps(AfterStepsT&& value) { - m_afterStepsHasBeenSet = true; - m_afterSteps.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test cases in the test suite.

- */ - inline const TestCases& GetTestCases() const { return m_testCases; } - inline bool TestCasesHasBeenSet() const { return m_testCasesHasBeenSet; } - template - void SetTestCases(TestCasesT&& value) { - m_testCasesHasBeenSet = true; - m_testCases = std::forward(value); - } - template - UpdateTestSuiteRequest& WithTestCases(TestCasesT&& value) { - SetTestCases(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testSuiteId; - bool m_testSuiteIdHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; - - Aws::Vector m_beforeSteps; - bool m_beforeStepsHasBeenSet = false; - - Aws::Vector m_afterSteps; - bool m_afterStepsHasBeenSet = false; - - TestCases m_testCases; - bool m_testCasesHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestSuiteResult.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestSuiteResult.h deleted file mode 100644 index 146c486949c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/UpdateTestSuiteResult.h +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -class UpdateTestSuiteResult { - public: - AWS_APPTEST_API UpdateTestSuiteResult() = default; - AWS_APPTEST_API UpdateTestSuiteResult(const Aws::AmazonWebServiceResult& result); - AWS_APPTEST_API UpdateTestSuiteResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The test suite ID of the test suite.

- */ - inline const Aws::String& GetTestSuiteId() const { return m_testSuiteId; } - template - void SetTestSuiteId(TestSuiteIdT&& value) { - m_testSuiteIdHasBeenSet = true; - m_testSuiteId = std::forward(value); - } - template - UpdateTestSuiteResult& WithTestSuiteId(TestSuiteIdT&& value) { - SetTestSuiteId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The test suite version of the test suite.

- */ - inline int GetTestSuiteVersion() const { return m_testSuiteVersion; } - inline void SetTestSuiteVersion(int value) { - m_testSuiteVersionHasBeenSet = true; - m_testSuiteVersion = value; - } - inline UpdateTestSuiteResult& WithTestSuiteVersion(int value) { - SetTestSuiteVersion(value); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UpdateTestSuiteResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_testSuiteId; - bool m_testSuiteIdHasBeenSet = false; - - int m_testSuiteVersion{0}; - bool m_testSuiteVersionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ValidationException.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ValidationException.h deleted file mode 100644 index 30e57a3882f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ValidationException.h +++ /dev/null @@ -1,106 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

One or more parameter provided in the request is not valid.

See - * Also:

AWS - * API Reference

- */ -class ValidationException { - public: - AWS_APPTEST_API ValidationException() = default; - AWS_APPTEST_API ValidationException(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API ValidationException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ValidationException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The reason for the validation exception.

- */ - inline ValidationExceptionReason GetReason() const { return m_reason; } - inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } - inline void SetReason(ValidationExceptionReason value) { - m_reasonHasBeenSet = true; - m_reason = value; - } - inline ValidationException& WithReason(ValidationExceptionReason value) { - SetReason(value); - return *this; - } - ///@} - - ///@{ - /** - *

The field list of the validation exception.

- */ - inline const Aws::Vector& GetFieldList() const { return m_fieldList; } - inline bool FieldListHasBeenSet() const { return m_fieldListHasBeenSet; } - template > - void SetFieldList(FieldListT&& value) { - m_fieldListHasBeenSet = true; - m_fieldList = std::forward(value); - } - template > - ValidationException& WithFieldList(FieldListT&& value) { - SetFieldList(std::forward(value)); - return *this; - } - template - ValidationException& AddFieldList(FieldListT&& value) { - m_fieldListHasBeenSet = true; - m_fieldList.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - - ValidationExceptionReason m_reason{ValidationExceptionReason::NOT_SET}; - bool m_reasonHasBeenSet = false; - - Aws::Vector m_fieldList; - bool m_fieldListHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ValidationExceptionField.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ValidationExceptionField.h deleted file mode 100644 index 3e3584cabf9..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ValidationExceptionField.h +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -/** - *

Specifies a validation exception field.

See Also:

AWS - * API Reference

- */ -class ValidationExceptionField { - public: - AWS_APPTEST_API ValidationExceptionField() = default; - AWS_APPTEST_API ValidationExceptionField(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API ValidationExceptionField& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_APPTEST_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the validation exception field.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - ValidationExceptionField& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The message stating reason for why service validation failed.

- */ - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ValidationExceptionField& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_message; - bool m_messageHasBeenSet = false; -}; - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ValidationExceptionReason.h b/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ValidationExceptionReason.h deleted file mode 100644 index a4d2234664f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/include/aws/apptest/model/ValidationExceptionReason.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace AppTest { -namespace Model { -enum class ValidationExceptionReason { NOT_SET, unknownOperation, cannotParse, fieldValidationFailed, other }; - -namespace ValidationExceptionReasonMapper { -AWS_APPTEST_API ValidationExceptionReason GetValidationExceptionReasonForName(const Aws::String& name); - -AWS_APPTEST_API Aws::String GetNameForValidationExceptionReason(ValidationExceptionReason value); -} // namespace ValidationExceptionReasonMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/AppTestClient.cpp b/generated/src/aws-cpp-sdk-apptest/source/AppTestClient.cpp deleted file mode 100644 index f9a3a79cfc6..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/AppTestClient.cpp +++ /dev/null @@ -1,991 +0,0 @@ -/** - * 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 -#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::AppTest; -using namespace Aws::AppTest::Model; -using namespace Aws::Http; -using namespace Aws::Utils::Json; -using namespace smithy::components::tracing; -using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; - -namespace Aws { -namespace AppTest { -const char SERVICE_NAME[] = "apptest"; -const char ALLOCATION_TAG[] = "AppTestClient"; -} // namespace AppTest -} // namespace Aws -const char* AppTestClient::GetServiceName() { return SERVICE_NAME; } -const char* AppTestClient::GetAllocationTag() { return ALLOCATION_TAG; } - -AppTestClient::AppTestClient(const AppTest::AppTestClientConfiguration& clientConfiguration, - std::shared_ptr endpointProvider) - : BASECLASS(clientConfiguration, - Aws::MakeShared( - ALLOCATION_TAG, - Aws::MakeShared(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig), - 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); -} - -AppTestClient::AppTestClient(const AWSCredentials& credentials, std::shared_ptr endpointProvider, - const AppTest::AppTestClientConfiguration& 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); -} - -AppTestClient::AppTestClient(const std::shared_ptr& credentialsProvider, - std::shared_ptr endpointProvider, - const AppTest::AppTestClientConfiguration& 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 */ -AppTestClient::AppTestClient(const Client::ClientConfiguration& clientConfiguration) - : BASECLASS(clientConfiguration, - Aws::MakeShared( - ALLOCATION_TAG, - Aws::MakeShared(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig), - SERVICE_NAME, Aws::Region::ComputeSignerRegion(clientConfiguration.region)), - Aws::MakeShared(ALLOCATION_TAG)), - m_clientConfiguration(clientConfiguration), - m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG)) { - init(m_clientConfiguration); -} - -AppTestClient::AppTestClient(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); -} - -AppTestClient::AppTestClient(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 */ -AppTestClient::~AppTestClient() { ShutdownSdkClient(this, -1); } - -std::shared_ptr& AppTestClient::accessEndpointProvider() { return m_endpointProvider; } - -void AppTestClient::init(const AppTest::AppTestClientConfiguration& config) { - AWSClient::SetServiceClientName("AppTest"); - 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 AppTestClient::OverrideEndpoint(const Aws::String& endpoint) { - AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider); - m_clientConfiguration.endpointOverride = endpoint; - m_endpointProvider->OverrideEndpoint(endpoint); -} - -CreateTestCaseOutcome AppTestClient::CreateTestCase(const CreateTestCaseRequest& request) const { - AWS_OPERATION_GUARD(CreateTestCase); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateTestCase, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateTestCase, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateTestCase, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateTestCase", - {{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( - [&]() -> CreateTestCaseOutcome { - 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, CreateTestCase, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testcase"); - return CreateTestCaseOutcome( - 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()}}); -} - -CreateTestConfigurationOutcome AppTestClient::CreateTestConfiguration(const CreateTestConfigurationRequest& request) const { - AWS_OPERATION_GUARD(CreateTestConfiguration); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateTestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateTestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateTestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateTestConfiguration", - {{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( - [&]() -> CreateTestConfigurationOutcome { - 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, CreateTestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testconfiguration"); - return CreateTestConfigurationOutcome( - 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()}}); -} - -CreateTestSuiteOutcome AppTestClient::CreateTestSuite(const CreateTestSuiteRequest& request) const { - AWS_OPERATION_GUARD(CreateTestSuite); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateTestSuite, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateTestSuite, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateTestSuite, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateTestSuite", - {{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( - [&]() -> CreateTestSuiteOutcome { - 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, CreateTestSuite, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testsuite"); - return CreateTestSuiteOutcome( - 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()}}); -} - -DeleteTestCaseOutcome AppTestClient::DeleteTestCase(const DeleteTestCaseRequest& request) const { - AWS_OPERATION_GUARD(DeleteTestCase); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteTestCase, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.TestCaseIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DeleteTestCase", "Required field: TestCaseId, is not set"); - return DeleteTestCaseOutcome(Aws::Client::AWSError(AppTestErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [TestCaseId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteTestCase, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteTestCase, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteTestCase", - {{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( - [&]() -> DeleteTestCaseOutcome { - 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, DeleteTestCase, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testcases/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTestCaseId()); - return DeleteTestCaseOutcome( - 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()}}); -} - -DeleteTestConfigurationOutcome AppTestClient::DeleteTestConfiguration(const DeleteTestConfigurationRequest& request) const { - AWS_OPERATION_GUARD(DeleteTestConfiguration); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteTestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.TestConfigurationIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DeleteTestConfiguration", "Required field: TestConfigurationId, is not set"); - return DeleteTestConfigurationOutcome(Aws::Client::AWSError(AppTestErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [TestConfigurationId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteTestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteTestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteTestConfiguration", - {{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( - [&]() -> DeleteTestConfigurationOutcome { - 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, DeleteTestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testconfigurations/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTestConfigurationId()); - return DeleteTestConfigurationOutcome( - 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()}}); -} - -DeleteTestRunOutcome AppTestClient::DeleteTestRun(const DeleteTestRunRequest& request) const { - AWS_OPERATION_GUARD(DeleteTestRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteTestRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.TestRunIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DeleteTestRun", "Required field: TestRunId, is not set"); - return DeleteTestRunOutcome(Aws::Client::AWSError(AppTestErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [TestRunId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteTestRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteTestRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteTestRun", - {{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( - [&]() -> DeleteTestRunOutcome { - 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, DeleteTestRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testruns/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTestRunId()); - return DeleteTestRunOutcome( - 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()}}); -} - -DeleteTestSuiteOutcome AppTestClient::DeleteTestSuite(const DeleteTestSuiteRequest& request) const { - AWS_OPERATION_GUARD(DeleteTestSuite); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteTestSuite, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.TestSuiteIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DeleteTestSuite", "Required field: TestSuiteId, is not set"); - return DeleteTestSuiteOutcome(Aws::Client::AWSError(AppTestErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [TestSuiteId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteTestSuite, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteTestSuite, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteTestSuite", - {{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( - [&]() -> DeleteTestSuiteOutcome { - 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, DeleteTestSuite, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testsuites/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTestSuiteId()); - return DeleteTestSuiteOutcome( - 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()}}); -} - -GetTestCaseOutcome AppTestClient::GetTestCase(const GetTestCaseRequest& request) const { - AWS_OPERATION_GUARD(GetTestCase); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetTestCase, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.TestCaseIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("GetTestCase", "Required field: TestCaseId, is not set"); - return GetTestCaseOutcome(Aws::Client::AWSError(AppTestErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [TestCaseId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetTestCase, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetTestCase, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetTestCase", - {{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( - [&]() -> GetTestCaseOutcome { - 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, GetTestCase, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testcases/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTestCaseId()); - return GetTestCaseOutcome( - 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()}}); -} - -GetTestConfigurationOutcome AppTestClient::GetTestConfiguration(const GetTestConfigurationRequest& request) const { - AWS_OPERATION_GUARD(GetTestConfiguration); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetTestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.TestConfigurationIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("GetTestConfiguration", "Required field: TestConfigurationId, is not set"); - return GetTestConfigurationOutcome(Aws::Client::AWSError(AppTestErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [TestConfigurationId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetTestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetTestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetTestConfiguration", - {{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( - [&]() -> GetTestConfigurationOutcome { - 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, GetTestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testconfigurations/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTestConfigurationId()); - return GetTestConfigurationOutcome( - 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()}}); -} - -GetTestRunStepOutcome AppTestClient::GetTestRunStep(const GetTestRunStepRequest& request) const { - AWS_OPERATION_GUARD(GetTestRunStep); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetTestRunStep, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.TestRunIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("GetTestRunStep", "Required field: TestRunId, is not set"); - return GetTestRunStepOutcome(Aws::Client::AWSError(AppTestErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [TestRunId]", false)); - } - if (!request.StepNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("GetTestRunStep", "Required field: StepName, is not set"); - return GetTestRunStepOutcome(Aws::Client::AWSError(AppTestErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [StepName]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetTestRunStep, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetTestRunStep, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetTestRunStep", - {{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( - [&]() -> GetTestRunStepOutcome { - 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, GetTestRunStep, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testruns/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTestRunId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/steps/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStepName()); - return GetTestRunStepOutcome( - 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()}}); -} - -GetTestSuiteOutcome AppTestClient::GetTestSuite(const GetTestSuiteRequest& request) const { - AWS_OPERATION_GUARD(GetTestSuite); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetTestSuite, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.TestSuiteIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("GetTestSuite", "Required field: TestSuiteId, is not set"); - return GetTestSuiteOutcome(Aws::Client::AWSError(AppTestErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [TestSuiteId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetTestSuite, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetTestSuite, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetTestSuite", - {{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( - [&]() -> GetTestSuiteOutcome { - 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, GetTestSuite, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testsuites/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTestSuiteId()); - return GetTestSuiteOutcome( - 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 AppTestClient::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(AppTestErrors::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()}}); -} - -ListTestCasesOutcome AppTestClient::ListTestCases(const ListTestCasesRequest& request) const { - AWS_OPERATION_GUARD(ListTestCases); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTestCases, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTestCases, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListTestCases, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTestCases", - {{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( - [&]() -> ListTestCasesOutcome { - 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, ListTestCases, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testcases"); - return ListTestCasesOutcome( - 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()}}); -} - -ListTestConfigurationsOutcome AppTestClient::ListTestConfigurations(const ListTestConfigurationsRequest& request) const { - AWS_OPERATION_GUARD(ListTestConfigurations); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTestConfigurations, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTestConfigurations, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListTestConfigurations, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTestConfigurations", - {{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( - [&]() -> ListTestConfigurationsOutcome { - 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, ListTestConfigurations, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testconfigurations"); - return ListTestConfigurationsOutcome( - 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()}}); -} - -ListTestRunStepsOutcome AppTestClient::ListTestRunSteps(const ListTestRunStepsRequest& request) const { - AWS_OPERATION_GUARD(ListTestRunSteps); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTestRunSteps, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.TestRunIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("ListTestRunSteps", "Required field: TestRunId, is not set"); - return ListTestRunStepsOutcome(Aws::Client::AWSError(AppTestErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [TestRunId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTestRunSteps, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListTestRunSteps, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTestRunSteps", - {{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( - [&]() -> ListTestRunStepsOutcome { - 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, ListTestRunSteps, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testruns/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTestRunId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/steps"); - return ListTestRunStepsOutcome( - 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()}}); -} - -ListTestRunTestCasesOutcome AppTestClient::ListTestRunTestCases(const ListTestRunTestCasesRequest& request) const { - AWS_OPERATION_GUARD(ListTestRunTestCases); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTestRunTestCases, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.TestRunIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("ListTestRunTestCases", "Required field: TestRunId, is not set"); - return ListTestRunTestCasesOutcome(Aws::Client::AWSError(AppTestErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [TestRunId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTestRunTestCases, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListTestRunTestCases, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTestRunTestCases", - {{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( - [&]() -> ListTestRunTestCasesOutcome { - 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, ListTestRunTestCases, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testruns/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTestRunId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testcases"); - return ListTestRunTestCasesOutcome( - 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()}}); -} - -ListTestRunsOutcome AppTestClient::ListTestRuns(const ListTestRunsRequest& request) const { - AWS_OPERATION_GUARD(ListTestRuns); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTestRuns, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTestRuns, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListTestRuns, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTestRuns", - {{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( - [&]() -> ListTestRunsOutcome { - 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, ListTestRuns, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testruns"); - return ListTestRunsOutcome( - 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()}}); -} - -ListTestSuitesOutcome AppTestClient::ListTestSuites(const ListTestSuitesRequest& request) const { - AWS_OPERATION_GUARD(ListTestSuites); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTestSuites, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTestSuites, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListTestSuites, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTestSuites", - {{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( - [&]() -> ListTestSuitesOutcome { - 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, ListTestSuites, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testsuites"); - return ListTestSuitesOutcome( - 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()}}); -} - -StartTestRunOutcome AppTestClient::StartTestRun(const StartTestRunRequest& request) const { - AWS_OPERATION_GUARD(StartTestRun); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartTestRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartTestRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartTestRun, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartTestRun", - {{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( - [&]() -> StartTestRunOutcome { - 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, StartTestRun, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testrun"); - return StartTestRunOutcome( - 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()}}); -} - -TagResourceOutcome AppTestClient::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(AppTestErrors::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 AppTestClient::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(AppTestErrors::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(AppTestErrors::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()}}); -} - -UpdateTestCaseOutcome AppTestClient::UpdateTestCase(const UpdateTestCaseRequest& request) const { - AWS_OPERATION_GUARD(UpdateTestCase); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTestCase, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.TestCaseIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("UpdateTestCase", "Required field: TestCaseId, is not set"); - return UpdateTestCaseOutcome(Aws::Client::AWSError(AppTestErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [TestCaseId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTestCase, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateTestCase, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTestCase", - {{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( - [&]() -> UpdateTestCaseOutcome { - 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, UpdateTestCase, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testcases/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTestCaseId()); - return UpdateTestCaseOutcome( - MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, - {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - -UpdateTestConfigurationOutcome AppTestClient::UpdateTestConfiguration(const UpdateTestConfigurationRequest& request) const { - AWS_OPERATION_GUARD(UpdateTestConfiguration); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.TestConfigurationIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("UpdateTestConfiguration", "Required field: TestConfigurationId, is not set"); - return UpdateTestConfigurationOutcome(Aws::Client::AWSError(AppTestErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [TestConfigurationId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateTestConfiguration, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTestConfiguration", - {{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( - [&]() -> UpdateTestConfigurationOutcome { - 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, UpdateTestConfiguration, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testconfigurations/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTestConfigurationId()); - return UpdateTestConfigurationOutcome( - MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, - {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - -UpdateTestSuiteOutcome AppTestClient::UpdateTestSuite(const UpdateTestSuiteRequest& request) const { - AWS_OPERATION_GUARD(UpdateTestSuite); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateTestSuite, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.TestSuiteIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("UpdateTestSuite", "Required field: TestSuiteId, is not set"); - return UpdateTestSuiteOutcome(Aws::Client::AWSError(AppTestErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [TestSuiteId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateTestSuite, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateTestSuite, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateTestSuite", - {{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( - [&]() -> UpdateTestSuiteOutcome { - 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, UpdateTestSuite, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/testsuites/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTestSuiteId()); - return UpdateTestSuiteOutcome( - MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, 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-apptest/source/AppTestEndpointProvider.cpp b/generated/src/aws-cpp-sdk-apptest/source/AppTestEndpointProvider.cpp deleted file mode 100644 index e040623f8c9..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/AppTestEndpointProvider.cpp +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include - -namespace Aws { -namespace AppTest { -namespace Endpoint {} // namespace Endpoint -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/AppTestEndpointRules.cpp b/generated/src/aws-cpp-sdk-apptest/source/AppTestEndpointRules.cpp deleted file mode 100644 index 339eeb78106..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/AppTestEndpointRules.cpp +++ /dev/null @@ -1,159 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -namespace Aws { -namespace AppTest { -const size_t AppTestEndpointRules::RulesBlobStrLen = 3728; -const size_t AppTestEndpointRules::RulesBlobSize = 3729; - -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', '"', ',', '"', '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', '"', ':', '[', ']', ',', '"', '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', '"', ':', '[', ']', ',', '"', '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', 'p', 'p', 't', 'e', 's', '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', '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', '"', '}', ']', ',', '"', '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', ']', '}', ']', ',', '"', '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', '"', ':', '[', ']', ',', - '"', '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', - 'p', 'p', 't', 'e', 's', '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', '"', '}', ']', ',', '"', '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', '"', ':', '[', ']', ',', '"', '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', 'p', 'p', 't', - 'e', 's', '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', '"', '}', ']', ',', '"', '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', - '"', ':', '[', ']', ',', '"', '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', 'p', 'p', 't', 'e', 's', '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', '"', '}', ']', ',', '"', '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* AppTestEndpointRules::GetRulesBlob() { return RulesBlob.data(); } - -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/AppTestErrorMarshaller.cpp b/generated/src/aws-cpp-sdk-apptest/source/AppTestErrorMarshaller.cpp deleted file mode 100644 index 590dabf02aa..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/AppTestErrorMarshaller.cpp +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 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::AppTest; - -AWSError AppTestErrorMarshaller::FindErrorByName(const char* errorName) const { - AWSError error = AppTestErrorMapper::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-apptest/source/AppTestErrors.cpp b/generated/src/aws-cpp-sdk-apptest/source/AppTestErrors.cpp deleted file mode 100644 index b826f7ea645..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/AppTestErrors.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 - -using namespace Aws::Client; -using namespace Aws::Utils; -using namespace Aws::AppTest; -using namespace Aws::AppTest::Model; - -namespace Aws { -namespace AppTest { -template <> -AWS_APPTEST_API ConflictException AppTestError::GetModeledError() { - assert(this->GetErrorType() == AppTestErrors::CONFLICT); - return ConflictException(this->GetJsonPayload().View()); -} - -template <> -AWS_APPTEST_API ServiceQuotaExceededException AppTestError::GetModeledError() { - assert(this->GetErrorType() == AppTestErrors::SERVICE_QUOTA_EXCEEDED); - return ServiceQuotaExceededException(this->GetJsonPayload().View()); -} - -template <> -AWS_APPTEST_API ThrottlingException AppTestError::GetModeledError() { - assert(this->GetErrorType() == AppTestErrors::THROTTLING); - return ThrottlingException(this->GetJsonPayload().View()); -} - -template <> -AWS_APPTEST_API InternalServerException AppTestError::GetModeledError() { - assert(this->GetErrorType() == AppTestErrors::INTERNAL_SERVER); - return InternalServerException(this->GetJsonPayload().View()); -} - -template <> -AWS_APPTEST_API ResourceNotFoundException AppTestError::GetModeledError() { - assert(this->GetErrorType() == AppTestErrors::RESOURCE_NOT_FOUND); - return ResourceNotFoundException(this->GetJsonPayload().View()); -} - -template <> -AWS_APPTEST_API ValidationException AppTestError::GetModeledError() { - assert(this->GetErrorType() == AppTestErrors::VALIDATION); - return ValidationException(this->GetJsonPayload().View()); -} - -namespace AppTestErrorMapper { - -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(AppTestErrors::CONFLICT), RetryableType::NOT_RETRYABLE); - } else if (hashCode == SERVICE_QUOTA_EXCEEDED_HASH) { - return AWSError(static_cast(AppTestErrors::SERVICE_QUOTA_EXCEEDED), RetryableType::NOT_RETRYABLE); - } else if (hashCode == INTERNAL_SERVER_HASH) { - return AWSError(static_cast(AppTestErrors::INTERNAL_SERVER), RetryableType::RETRYABLE); - } - return AWSError(CoreErrors::UNKNOWN, false); -} - -} // namespace AppTestErrorMapper -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/AppTestRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/AppTestRequest.cpp deleted file mode 100644 index 97bd0c555a4..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/AppTestRequest.cpp +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include - -namespace Aws { -namespace AppTest {} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/Batch.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/Batch.cpp deleted file mode 100644 index 496b375c7d6..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/Batch.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -Batch::Batch(JsonView jsonValue) { *this = jsonValue; } - -Batch& Batch::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("batchJobName")) { - m_batchJobName = jsonValue.GetString("batchJobName"); - m_batchJobNameHasBeenSet = true; - } - if (jsonValue.ValueExists("batchJobParameters")) { - Aws::Map batchJobParametersJsonMap = jsonValue.GetObject("batchJobParameters").GetAllObjects(); - for (auto& batchJobParametersItem : batchJobParametersJsonMap) { - m_batchJobParameters[batchJobParametersItem.first] = batchJobParametersItem.second.AsString(); - } - m_batchJobParametersHasBeenSet = true; - } - if (jsonValue.ValueExists("exportDataSetNames")) { - Aws::Utils::Array exportDataSetNamesJsonList = jsonValue.GetArray("exportDataSetNames"); - for (unsigned exportDataSetNamesIndex = 0; exportDataSetNamesIndex < exportDataSetNamesJsonList.GetLength(); - ++exportDataSetNamesIndex) { - m_exportDataSetNames.push_back(exportDataSetNamesJsonList[exportDataSetNamesIndex].AsString()); - } - m_exportDataSetNamesHasBeenSet = true; - } - return *this; -} - -JsonValue Batch::Jsonize() const { - JsonValue payload; - - if (m_batchJobNameHasBeenSet) { - payload.WithString("batchJobName", m_batchJobName); - } - - if (m_batchJobParametersHasBeenSet) { - JsonValue batchJobParametersJsonMap; - for (auto& batchJobParametersItem : m_batchJobParameters) { - batchJobParametersJsonMap.WithString(batchJobParametersItem.first, batchJobParametersItem.second); - } - payload.WithObject("batchJobParameters", std::move(batchJobParametersJsonMap)); - } - - if (m_exportDataSetNamesHasBeenSet) { - Aws::Utils::Array exportDataSetNamesJsonList(m_exportDataSetNames.size()); - for (unsigned exportDataSetNamesIndex = 0; exportDataSetNamesIndex < exportDataSetNamesJsonList.GetLength(); - ++exportDataSetNamesIndex) { - exportDataSetNamesJsonList[exportDataSetNamesIndex].AsString(m_exportDataSetNames[exportDataSetNamesIndex]); - } - payload.WithArray("exportDataSetNames", std::move(exportDataSetNamesJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/BatchStepInput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/BatchStepInput.cpp deleted file mode 100644 index 9b01fd90505..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/BatchStepInput.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -BatchStepInput::BatchStepInput(JsonView jsonValue) { *this = jsonValue; } - -BatchStepInput& BatchStepInput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("resource")) { - m_resource = jsonValue.GetObject("resource"); - m_resourceHasBeenSet = true; - } - if (jsonValue.ValueExists("batchJobName")) { - m_batchJobName = jsonValue.GetString("batchJobName"); - m_batchJobNameHasBeenSet = true; - } - if (jsonValue.ValueExists("batchJobParameters")) { - Aws::Map batchJobParametersJsonMap = jsonValue.GetObject("batchJobParameters").GetAllObjects(); - for (auto& batchJobParametersItem : batchJobParametersJsonMap) { - m_batchJobParameters[batchJobParametersItem.first] = batchJobParametersItem.second.AsString(); - } - m_batchJobParametersHasBeenSet = true; - } - if (jsonValue.ValueExists("exportDataSetNames")) { - Aws::Utils::Array exportDataSetNamesJsonList = jsonValue.GetArray("exportDataSetNames"); - for (unsigned exportDataSetNamesIndex = 0; exportDataSetNamesIndex < exportDataSetNamesJsonList.GetLength(); - ++exportDataSetNamesIndex) { - m_exportDataSetNames.push_back(exportDataSetNamesJsonList[exportDataSetNamesIndex].AsString()); - } - m_exportDataSetNamesHasBeenSet = true; - } - if (jsonValue.ValueExists("properties")) { - m_properties = jsonValue.GetObject("properties"); - m_propertiesHasBeenSet = true; - } - return *this; -} - -JsonValue BatchStepInput::Jsonize() const { - JsonValue payload; - - if (m_resourceHasBeenSet) { - payload.WithObject("resource", m_resource.Jsonize()); - } - - if (m_batchJobNameHasBeenSet) { - payload.WithString("batchJobName", m_batchJobName); - } - - if (m_batchJobParametersHasBeenSet) { - JsonValue batchJobParametersJsonMap; - for (auto& batchJobParametersItem : m_batchJobParameters) { - batchJobParametersJsonMap.WithString(batchJobParametersItem.first, batchJobParametersItem.second); - } - payload.WithObject("batchJobParameters", std::move(batchJobParametersJsonMap)); - } - - if (m_exportDataSetNamesHasBeenSet) { - Aws::Utils::Array exportDataSetNamesJsonList(m_exportDataSetNames.size()); - for (unsigned exportDataSetNamesIndex = 0; exportDataSetNamesIndex < exportDataSetNamesJsonList.GetLength(); - ++exportDataSetNamesIndex) { - exportDataSetNamesJsonList[exportDataSetNamesIndex].AsString(m_exportDataSetNames[exportDataSetNamesIndex]); - } - payload.WithArray("exportDataSetNames", std::move(exportDataSetNamesJsonList)); - } - - if (m_propertiesHasBeenSet) { - payload.WithObject("properties", m_properties.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/BatchStepOutput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/BatchStepOutput.cpp deleted file mode 100644 index 78ec3a332fa..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/BatchStepOutput.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -BatchStepOutput::BatchStepOutput(JsonView jsonValue) { *this = jsonValue; } - -BatchStepOutput& BatchStepOutput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("dataSetExportLocation")) { - m_dataSetExportLocation = jsonValue.GetString("dataSetExportLocation"); - m_dataSetExportLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("dmsOutputLocation")) { - m_dmsOutputLocation = jsonValue.GetString("dmsOutputLocation"); - m_dmsOutputLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("dataSetDetails")) { - Aws::Utils::Array dataSetDetailsJsonList = jsonValue.GetArray("dataSetDetails"); - for (unsigned dataSetDetailsIndex = 0; dataSetDetailsIndex < dataSetDetailsJsonList.GetLength(); ++dataSetDetailsIndex) { - m_dataSetDetails.push_back(dataSetDetailsJsonList[dataSetDetailsIndex].AsObject()); - } - m_dataSetDetailsHasBeenSet = true; - } - return *this; -} - -JsonValue BatchStepOutput::Jsonize() const { - JsonValue payload; - - if (m_dataSetExportLocationHasBeenSet) { - payload.WithString("dataSetExportLocation", m_dataSetExportLocation); - } - - if (m_dmsOutputLocationHasBeenSet) { - payload.WithString("dmsOutputLocation", m_dmsOutputLocation); - } - - if (m_dataSetDetailsHasBeenSet) { - Aws::Utils::Array dataSetDetailsJsonList(m_dataSetDetails.size()); - for (unsigned dataSetDetailsIndex = 0; dataSetDetailsIndex < dataSetDetailsJsonList.GetLength(); ++dataSetDetailsIndex) { - dataSetDetailsJsonList[dataSetDetailsIndex].AsObject(m_dataSetDetails[dataSetDetailsIndex].Jsonize()); - } - payload.WithArray("dataSetDetails", std::move(dataSetDetailsJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/BatchSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/BatchSummary.cpp deleted file mode 100644 index b66cb17f154..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/BatchSummary.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -BatchSummary::BatchSummary(JsonView jsonValue) { *this = jsonValue; } - -BatchSummary& BatchSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("stepInput")) { - m_stepInput = jsonValue.GetObject("stepInput"); - m_stepInputHasBeenSet = true; - } - if (jsonValue.ValueExists("stepOutput")) { - m_stepOutput = jsonValue.GetObject("stepOutput"); - m_stepOutputHasBeenSet = true; - } - return *this; -} - -JsonValue BatchSummary::Jsonize() const { - JsonValue payload; - - if (m_stepInputHasBeenSet) { - payload.WithObject("stepInput", m_stepInput.Jsonize()); - } - - if (m_stepOutputHasBeenSet) { - payload.WithObject("stepOutput", m_stepOutput.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CaptureTool.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CaptureTool.cpp deleted file mode 100644 index c5bd19b6a4b..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CaptureTool.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace CaptureToolMapper { - -static const int Precisely_HASH = HashingUtils::HashString("Precisely"); -static const int AWS_DMS_HASH = HashingUtils::HashString("AWS DMS"); - -CaptureTool GetCaptureToolForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Precisely_HASH) { - return CaptureTool::Precisely; - } else if (hashCode == AWS_DMS_HASH) { - return CaptureTool::AWS_DMS; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return CaptureTool::NOT_SET; -} - -Aws::String GetNameForCaptureTool(CaptureTool enumValue) { - switch (enumValue) { - case CaptureTool::NOT_SET: - return {}; - case CaptureTool::Precisely: - return "Precisely"; - case CaptureTool::AWS_DMS: - return "AWS DMS"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace CaptureToolMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CloudFormation.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CloudFormation.cpp deleted file mode 100644 index 8385dd34763..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CloudFormation.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CloudFormation::CloudFormation(JsonView jsonValue) { *this = jsonValue; } - -CloudFormation& CloudFormation::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("templateLocation")) { - m_templateLocation = jsonValue.GetString("templateLocation"); - m_templateLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("parameters")) { - Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); - for (auto& parametersItem : parametersJsonMap) { - m_parameters[parametersItem.first] = parametersItem.second.AsString(); - } - m_parametersHasBeenSet = true; - } - return *this; -} - -JsonValue CloudFormation::Jsonize() const { - JsonValue payload; - - if (m_templateLocationHasBeenSet) { - payload.WithString("templateLocation", m_templateLocation); - } - - if (m_parametersHasBeenSet) { - JsonValue parametersJsonMap; - for (auto& parametersItem : m_parameters) { - parametersJsonMap.WithString(parametersItem.first, parametersItem.second); - } - payload.WithObject("parameters", std::move(parametersJsonMap)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CloudFormationAction.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CloudFormationAction.cpp deleted file mode 100644 index 1ab48b58cd3..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CloudFormationAction.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CloudFormationAction::CloudFormationAction(JsonView jsonValue) { *this = jsonValue; } - -CloudFormationAction& CloudFormationAction::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("resource")) { - m_resource = jsonValue.GetString("resource"); - m_resourceHasBeenSet = true; - } - if (jsonValue.ValueExists("actionType")) { - m_actionType = CloudFormationActionTypeMapper::GetCloudFormationActionTypeForName(jsonValue.GetString("actionType")); - m_actionTypeHasBeenSet = true; - } - return *this; -} - -JsonValue CloudFormationAction::Jsonize() const { - JsonValue payload; - - if (m_resourceHasBeenSet) { - payload.WithString("resource", m_resource); - } - - if (m_actionTypeHasBeenSet) { - payload.WithString("actionType", CloudFormationActionTypeMapper::GetNameForCloudFormationActionType(m_actionType)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CloudFormationActionType.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CloudFormationActionType.cpp deleted file mode 100644 index fab0d61389c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CloudFormationActionType.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace CloudFormationActionTypeMapper { - -static const int Create_HASH = HashingUtils::HashString("Create"); -static const int Delete_HASH = HashingUtils::HashString("Delete"); - -CloudFormationActionType GetCloudFormationActionTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Create_HASH) { - return CloudFormationActionType::Create; - } else if (hashCode == Delete_HASH) { - return CloudFormationActionType::Delete; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return CloudFormationActionType::NOT_SET; -} - -Aws::String GetNameForCloudFormationActionType(CloudFormationActionType enumValue) { - switch (enumValue) { - case CloudFormationActionType::NOT_SET: - return {}; - case CloudFormationActionType::Create: - return "Create"; - case CloudFormationActionType::Delete: - return "Delete"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace CloudFormationActionTypeMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CloudFormationStepSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CloudFormationStepSummary.cpp deleted file mode 100644 index f35ff17fbfa..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CloudFormationStepSummary.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CloudFormationStepSummary::CloudFormationStepSummary(JsonView jsonValue) { *this = jsonValue; } - -CloudFormationStepSummary& CloudFormationStepSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("createCloudformation")) { - m_createCloudformation = jsonValue.GetObject("createCloudformation"); - m_createCloudformationHasBeenSet = true; - } - if (jsonValue.ValueExists("deleteCloudformation")) { - m_deleteCloudformation = jsonValue.GetObject("deleteCloudformation"); - m_deleteCloudformationHasBeenSet = true; - } - return *this; -} - -JsonValue CloudFormationStepSummary::Jsonize() const { - JsonValue payload; - - if (m_createCloudformationHasBeenSet) { - payload.WithObject("createCloudformation", m_createCloudformation.Jsonize()); - } - - if (m_deleteCloudformationHasBeenSet) { - payload.WithObject("deleteCloudformation", m_deleteCloudformation.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CompareAction.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CompareAction.cpp deleted file mode 100644 index 3af3aecff24..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CompareAction.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CompareAction::CompareAction(JsonView jsonValue) { *this = jsonValue; } - -CompareAction& CompareAction::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("input")) { - m_input = jsonValue.GetObject("input"); - m_inputHasBeenSet = true; - } - if (jsonValue.ValueExists("output")) { - m_output = jsonValue.GetObject("output"); - m_outputHasBeenSet = true; - } - return *this; -} - -JsonValue CompareAction::Jsonize() const { - JsonValue payload; - - if (m_inputHasBeenSet) { - payload.WithObject("input", m_input.Jsonize()); - } - - if (m_outputHasBeenSet) { - payload.WithObject("output", m_output.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CompareActionSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CompareActionSummary.cpp deleted file mode 100644 index 4417f3b5647..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CompareActionSummary.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CompareActionSummary::CompareActionSummary(JsonView jsonValue) { *this = jsonValue; } - -CompareActionSummary& CompareActionSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("type")) { - m_type = jsonValue.GetObject("type"); - m_typeHasBeenSet = true; - } - return *this; -} - -JsonValue CompareActionSummary::Jsonize() const { - JsonValue payload; - - if (m_typeHasBeenSet) { - payload.WithObject("type", m_type.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CompareDataSetsStepInput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CompareDataSetsStepInput.cpp deleted file mode 100644 index 49bc73b24ca..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CompareDataSetsStepInput.cpp +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CompareDataSetsStepInput::CompareDataSetsStepInput(JsonView jsonValue) { *this = jsonValue; } - -CompareDataSetsStepInput& CompareDataSetsStepInput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("sourceLocation")) { - m_sourceLocation = jsonValue.GetString("sourceLocation"); - m_sourceLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("targetLocation")) { - m_targetLocation = jsonValue.GetString("targetLocation"); - m_targetLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("sourceDataSets")) { - Aws::Utils::Array sourceDataSetsJsonList = jsonValue.GetArray("sourceDataSets"); - for (unsigned sourceDataSetsIndex = 0; sourceDataSetsIndex < sourceDataSetsJsonList.GetLength(); ++sourceDataSetsIndex) { - m_sourceDataSets.push_back(sourceDataSetsJsonList[sourceDataSetsIndex].AsObject()); - } - m_sourceDataSetsHasBeenSet = true; - } - if (jsonValue.ValueExists("targetDataSets")) { - Aws::Utils::Array targetDataSetsJsonList = jsonValue.GetArray("targetDataSets"); - for (unsigned targetDataSetsIndex = 0; targetDataSetsIndex < targetDataSetsJsonList.GetLength(); ++targetDataSetsIndex) { - m_targetDataSets.push_back(targetDataSetsJsonList[targetDataSetsIndex].AsObject()); - } - m_targetDataSetsHasBeenSet = true; - } - return *this; -} - -JsonValue CompareDataSetsStepInput::Jsonize() const { - JsonValue payload; - - if (m_sourceLocationHasBeenSet) { - payload.WithString("sourceLocation", m_sourceLocation); - } - - if (m_targetLocationHasBeenSet) { - payload.WithString("targetLocation", m_targetLocation); - } - - if (m_sourceDataSetsHasBeenSet) { - Aws::Utils::Array sourceDataSetsJsonList(m_sourceDataSets.size()); - for (unsigned sourceDataSetsIndex = 0; sourceDataSetsIndex < sourceDataSetsJsonList.GetLength(); ++sourceDataSetsIndex) { - sourceDataSetsJsonList[sourceDataSetsIndex].AsObject(m_sourceDataSets[sourceDataSetsIndex].Jsonize()); - } - payload.WithArray("sourceDataSets", std::move(sourceDataSetsJsonList)); - } - - if (m_targetDataSetsHasBeenSet) { - Aws::Utils::Array targetDataSetsJsonList(m_targetDataSets.size()); - for (unsigned targetDataSetsIndex = 0; targetDataSetsIndex < targetDataSetsJsonList.GetLength(); ++targetDataSetsIndex) { - targetDataSetsJsonList[targetDataSetsIndex].AsObject(m_targetDataSets[targetDataSetsIndex].Jsonize()); - } - payload.WithArray("targetDataSets", std::move(targetDataSetsJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CompareDataSetsStepOutput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CompareDataSetsStepOutput.cpp deleted file mode 100644 index 23cfbaaaf6f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CompareDataSetsStepOutput.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CompareDataSetsStepOutput::CompareDataSetsStepOutput(JsonView jsonValue) { *this = jsonValue; } - -CompareDataSetsStepOutput& CompareDataSetsStepOutput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("comparisonOutputLocation")) { - m_comparisonOutputLocation = jsonValue.GetString("comparisonOutputLocation"); - m_comparisonOutputLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("comparisonStatus")) { - m_comparisonStatus = ComparisonStatusEnumMapper::GetComparisonStatusEnumForName(jsonValue.GetString("comparisonStatus")); - m_comparisonStatusHasBeenSet = true; - } - return *this; -} - -JsonValue CompareDataSetsStepOutput::Jsonize() const { - JsonValue payload; - - if (m_comparisonOutputLocationHasBeenSet) { - payload.WithString("comparisonOutputLocation", m_comparisonOutputLocation); - } - - if (m_comparisonStatusHasBeenSet) { - payload.WithString("comparisonStatus", ComparisonStatusEnumMapper::GetNameForComparisonStatusEnum(m_comparisonStatus)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CompareDataSetsSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CompareDataSetsSummary.cpp deleted file mode 100644 index 0bac85c1aaa..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CompareDataSetsSummary.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CompareDataSetsSummary::CompareDataSetsSummary(JsonView jsonValue) { *this = jsonValue; } - -CompareDataSetsSummary& CompareDataSetsSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("stepInput")) { - m_stepInput = jsonValue.GetObject("stepInput"); - m_stepInputHasBeenSet = true; - } - if (jsonValue.ValueExists("stepOutput")) { - m_stepOutput = jsonValue.GetObject("stepOutput"); - m_stepOutputHasBeenSet = true; - } - return *this; -} - -JsonValue CompareDataSetsSummary::Jsonize() const { - JsonValue payload; - - if (m_stepInputHasBeenSet) { - payload.WithObject("stepInput", m_stepInput.Jsonize()); - } - - if (m_stepOutputHasBeenSet) { - payload.WithObject("stepOutput", m_stepOutput.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CompareDatabaseCDCStepInput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CompareDatabaseCDCStepInput.cpp deleted file mode 100644 index b89c98a632c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CompareDatabaseCDCStepInput.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CompareDatabaseCDCStepInput::CompareDatabaseCDCStepInput(JsonView jsonValue) { *this = jsonValue; } - -CompareDatabaseCDCStepInput& CompareDatabaseCDCStepInput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("sourceLocation")) { - m_sourceLocation = jsonValue.GetString("sourceLocation"); - m_sourceLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("targetLocation")) { - m_targetLocation = jsonValue.GetString("targetLocation"); - m_targetLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("outputLocation")) { - m_outputLocation = jsonValue.GetString("outputLocation"); - m_outputLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("sourceMetadata")) { - m_sourceMetadata = jsonValue.GetObject("sourceMetadata"); - m_sourceMetadataHasBeenSet = true; - } - if (jsonValue.ValueExists("targetMetadata")) { - m_targetMetadata = jsonValue.GetObject("targetMetadata"); - m_targetMetadataHasBeenSet = true; - } - return *this; -} - -JsonValue CompareDatabaseCDCStepInput::Jsonize() const { - JsonValue payload; - - if (m_sourceLocationHasBeenSet) { - payload.WithString("sourceLocation", m_sourceLocation); - } - - if (m_targetLocationHasBeenSet) { - payload.WithString("targetLocation", m_targetLocation); - } - - if (m_outputLocationHasBeenSet) { - payload.WithString("outputLocation", m_outputLocation); - } - - if (m_sourceMetadataHasBeenSet) { - payload.WithObject("sourceMetadata", m_sourceMetadata.Jsonize()); - } - - if (m_targetMetadataHasBeenSet) { - payload.WithObject("targetMetadata", m_targetMetadata.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CompareDatabaseCDCStepOutput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CompareDatabaseCDCStepOutput.cpp deleted file mode 100644 index 85bb302ebb3..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CompareDatabaseCDCStepOutput.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CompareDatabaseCDCStepOutput::CompareDatabaseCDCStepOutput(JsonView jsonValue) { *this = jsonValue; } - -CompareDatabaseCDCStepOutput& CompareDatabaseCDCStepOutput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("comparisonOutputLocation")) { - m_comparisonOutputLocation = jsonValue.GetString("comparisonOutputLocation"); - m_comparisonOutputLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("comparisonStatus")) { - m_comparisonStatus = ComparisonStatusEnumMapper::GetComparisonStatusEnumForName(jsonValue.GetString("comparisonStatus")); - m_comparisonStatusHasBeenSet = true; - } - return *this; -} - -JsonValue CompareDatabaseCDCStepOutput::Jsonize() const { - JsonValue payload; - - if (m_comparisonOutputLocationHasBeenSet) { - payload.WithString("comparisonOutputLocation", m_comparisonOutputLocation); - } - - if (m_comparisonStatusHasBeenSet) { - payload.WithString("comparisonStatus", ComparisonStatusEnumMapper::GetNameForComparisonStatusEnum(m_comparisonStatus)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CompareDatabaseCDCSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CompareDatabaseCDCSummary.cpp deleted file mode 100644 index 880109590cd..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CompareDatabaseCDCSummary.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CompareDatabaseCDCSummary::CompareDatabaseCDCSummary(JsonView jsonValue) { *this = jsonValue; } - -CompareDatabaseCDCSummary& CompareDatabaseCDCSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("stepInput")) { - m_stepInput = jsonValue.GetObject("stepInput"); - m_stepInputHasBeenSet = true; - } - if (jsonValue.ValueExists("stepOutput")) { - m_stepOutput = jsonValue.GetObject("stepOutput"); - m_stepOutputHasBeenSet = true; - } - return *this; -} - -JsonValue CompareDatabaseCDCSummary::Jsonize() const { - JsonValue payload; - - if (m_stepInputHasBeenSet) { - payload.WithObject("stepInput", m_stepInput.Jsonize()); - } - - if (m_stepOutputHasBeenSet) { - payload.WithObject("stepOutput", m_stepOutput.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CompareFileType.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CompareFileType.cpp deleted file mode 100644 index de0c3af1e96..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CompareFileType.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CompareFileType::CompareFileType(JsonView jsonValue) { *this = jsonValue; } - -CompareFileType& CompareFileType::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("datasets")) { - m_datasets = jsonValue.GetObject("datasets"); - m_datasetsHasBeenSet = true; - } - if (jsonValue.ValueExists("databaseCDC")) { - m_databaseCDC = jsonValue.GetObject("databaseCDC"); - m_databaseCDCHasBeenSet = true; - } - return *this; -} - -JsonValue CompareFileType::Jsonize() const { - JsonValue payload; - - if (m_datasetsHasBeenSet) { - payload.WithObject("datasets", m_datasets.Jsonize()); - } - - if (m_databaseCDCHasBeenSet) { - payload.WithObject("databaseCDC", m_databaseCDC.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ComparisonStatusEnum.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ComparisonStatusEnum.cpp deleted file mode 100644 index dba80093a2f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ComparisonStatusEnum.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace ComparisonStatusEnumMapper { - -static const int Different_HASH = HashingUtils::HashString("Different"); -static const int Equivalent_HASH = HashingUtils::HashString("Equivalent"); -static const int Equal_HASH = HashingUtils::HashString("Equal"); - -ComparisonStatusEnum GetComparisonStatusEnumForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Different_HASH) { - return ComparisonStatusEnum::Different; - } else if (hashCode == Equivalent_HASH) { - return ComparisonStatusEnum::Equivalent; - } else if (hashCode == Equal_HASH) { - return ComparisonStatusEnum::Equal; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return ComparisonStatusEnum::NOT_SET; -} - -Aws::String GetNameForComparisonStatusEnum(ComparisonStatusEnum enumValue) { - switch (enumValue) { - case ComparisonStatusEnum::NOT_SET: - return {}; - case ComparisonStatusEnum::Different: - return "Different"; - case ComparisonStatusEnum::Equivalent: - return "Equivalent"; - case ComparisonStatusEnum::Equal: - return "Equal"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ComparisonStatusEnumMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ConflictException.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ConflictException.cpp deleted file mode 100644 index 2b96f9f01d9..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ConflictException.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -ConflictException::ConflictException(JsonView jsonValue) { *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 AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CreateCloudFormationStepInput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CreateCloudFormationStepInput.cpp deleted file mode 100644 index 75ba27e955f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CreateCloudFormationStepInput.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CreateCloudFormationStepInput::CreateCloudFormationStepInput(JsonView jsonValue) { *this = jsonValue; } - -CreateCloudFormationStepInput& CreateCloudFormationStepInput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("templateLocation")) { - m_templateLocation = jsonValue.GetString("templateLocation"); - m_templateLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("parameters")) { - Aws::Map parametersJsonMap = jsonValue.GetObject("parameters").GetAllObjects(); - for (auto& parametersItem : parametersJsonMap) { - m_parameters[parametersItem.first] = parametersItem.second.AsString(); - } - m_parametersHasBeenSet = true; - } - return *this; -} - -JsonValue CreateCloudFormationStepInput::Jsonize() const { - JsonValue payload; - - if (m_templateLocationHasBeenSet) { - payload.WithString("templateLocation", m_templateLocation); - } - - if (m_parametersHasBeenSet) { - JsonValue parametersJsonMap; - for (auto& parametersItem : m_parameters) { - parametersJsonMap.WithString(parametersItem.first, parametersItem.second); - } - payload.WithObject("parameters", std::move(parametersJsonMap)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CreateCloudFormationStepOutput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CreateCloudFormationStepOutput.cpp deleted file mode 100644 index 996e6f0c629..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CreateCloudFormationStepOutput.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CreateCloudFormationStepOutput::CreateCloudFormationStepOutput(JsonView jsonValue) { *this = jsonValue; } - -CreateCloudFormationStepOutput& CreateCloudFormationStepOutput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("stackId")) { - m_stackId = jsonValue.GetString("stackId"); - m_stackIdHasBeenSet = true; - } - if (jsonValue.ValueExists("exports")) { - Aws::Map exportsJsonMap = jsonValue.GetObject("exports").GetAllObjects(); - for (auto& exportsItem : exportsJsonMap) { - m_exports[exportsItem.first] = exportsItem.second.AsString(); - } - m_exportsHasBeenSet = true; - } - return *this; -} - -JsonValue CreateCloudFormationStepOutput::Jsonize() const { - JsonValue payload; - - if (m_stackIdHasBeenSet) { - payload.WithString("stackId", m_stackId); - } - - if (m_exportsHasBeenSet) { - JsonValue exportsJsonMap; - for (auto& exportsItem : m_exports) { - exportsJsonMap.WithString(exportsItem.first, exportsItem.second); - } - payload.WithObject("exports", std::move(exportsJsonMap)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CreateCloudFormationSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CreateCloudFormationSummary.cpp deleted file mode 100644 index 8868b04d8d9..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CreateCloudFormationSummary.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -CreateCloudFormationSummary::CreateCloudFormationSummary(JsonView jsonValue) { *this = jsonValue; } - -CreateCloudFormationSummary& CreateCloudFormationSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("stepInput")) { - m_stepInput = jsonValue.GetObject("stepInput"); - m_stepInputHasBeenSet = true; - } - if (jsonValue.ValueExists("stepOutput")) { - m_stepOutput = jsonValue.GetObject("stepOutput"); - m_stepOutputHasBeenSet = true; - } - return *this; -} - -JsonValue CreateCloudFormationSummary::Jsonize() const { - JsonValue payload; - - if (m_stepInputHasBeenSet) { - payload.WithObject("stepInput", m_stepInput.Jsonize()); - } - - if (m_stepOutputHasBeenSet) { - payload.WithObject("stepOutput", m_stepOutput.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestCaseRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestCaseRequest.cpp deleted file mode 100644 index 09d76371219..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestCaseRequest.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateTestCaseRequest::SerializePayload() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_descriptionHasBeenSet) { - payload.WithString("description", m_description); - } - - if (m_stepsHasBeenSet) { - Aws::Utils::Array stepsJsonList(m_steps.size()); - for (unsigned stepsIndex = 0; stepsIndex < stepsJsonList.GetLength(); ++stepsIndex) { - stepsJsonList[stepsIndex].AsObject(m_steps[stepsIndex].Jsonize()); - } - payload.WithArray("steps", std::move(stepsJsonList)); - } - - 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)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestCaseResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestCaseResult.cpp deleted file mode 100644 index 8871a5ed52d..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestCaseResult.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateTestCaseResult::CreateTestCaseResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateTestCaseResult& CreateTestCaseResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testCaseId")) { - m_testCaseId = jsonValue.GetString("testCaseId"); - m_testCaseIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testCaseVersion")) { - m_testCaseVersion = jsonValue.GetInteger("testCaseVersion"); - m_testCaseVersionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestConfigurationRequest.cpp deleted file mode 100644 index 6fe38c5fb7d..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestConfigurationRequest.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateTestConfigurationRequest::SerializePayload() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_descriptionHasBeenSet) { - payload.WithString("description", m_description); - } - - if (m_resourcesHasBeenSet) { - Aws::Utils::Array resourcesJsonList(m_resources.size()); - for (unsigned resourcesIndex = 0; resourcesIndex < resourcesJsonList.GetLength(); ++resourcesIndex) { - resourcesJsonList[resourcesIndex].AsObject(m_resources[resourcesIndex].Jsonize()); - } - payload.WithArray("resources", std::move(resourcesJsonList)); - } - - if (m_propertiesHasBeenSet) { - JsonValue propertiesJsonMap; - for (auto& propertiesItem : m_properties) { - propertiesJsonMap.WithString(propertiesItem.first, propertiesItem.second); - } - payload.WithObject("properties", std::move(propertiesJsonMap)); - } - - 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_serviceSettingsHasBeenSet) { - payload.WithObject("serviceSettings", m_serviceSettings.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestConfigurationResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestConfigurationResult.cpp deleted file mode 100644 index 9215a50c6a1..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestConfigurationResult.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateTestConfigurationResult::CreateTestConfigurationResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateTestConfigurationResult& CreateTestConfigurationResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testConfigurationId")) { - m_testConfigurationId = jsonValue.GetString("testConfigurationId"); - m_testConfigurationIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testConfigurationVersion")) { - m_testConfigurationVersion = jsonValue.GetInteger("testConfigurationVersion"); - m_testConfigurationVersionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestSuiteRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestSuiteRequest.cpp deleted file mode 100644 index 548aee38615..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestSuiteRequest.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateTestSuiteRequest::SerializePayload() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_descriptionHasBeenSet) { - payload.WithString("description", m_description); - } - - if (m_beforeStepsHasBeenSet) { - Aws::Utils::Array beforeStepsJsonList(m_beforeSteps.size()); - for (unsigned beforeStepsIndex = 0; beforeStepsIndex < beforeStepsJsonList.GetLength(); ++beforeStepsIndex) { - beforeStepsJsonList[beforeStepsIndex].AsObject(m_beforeSteps[beforeStepsIndex].Jsonize()); - } - payload.WithArray("beforeSteps", std::move(beforeStepsJsonList)); - } - - if (m_afterStepsHasBeenSet) { - Aws::Utils::Array afterStepsJsonList(m_afterSteps.size()); - for (unsigned afterStepsIndex = 0; afterStepsIndex < afterStepsJsonList.GetLength(); ++afterStepsIndex) { - afterStepsJsonList[afterStepsIndex].AsObject(m_afterSteps[afterStepsIndex].Jsonize()); - } - payload.WithArray("afterSteps", std::move(afterStepsJsonList)); - } - - if (m_testCasesHasBeenSet) { - payload.WithObject("testCases", m_testCases.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)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestSuiteResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestSuiteResult.cpp deleted file mode 100644 index 8526f2d5447..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/CreateTestSuiteResult.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateTestSuiteResult::CreateTestSuiteResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateTestSuiteResult& CreateTestSuiteResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testSuiteId")) { - m_testSuiteId = jsonValue.GetString("testSuiteId"); - m_testSuiteIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testSuiteVersion")) { - m_testSuiteVersion = jsonValue.GetInteger("testSuiteVersion"); - m_testSuiteVersionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/DataSet.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/DataSet.cpp deleted file mode 100644 index fa1e57f6a79..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/DataSet.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -DataSet::DataSet(JsonView jsonValue) { *this = jsonValue; } - -DataSet& DataSet::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("type")) { - m_type = DataSetTypeMapper::GetDataSetTypeForName(jsonValue.GetString("type")); - m_typeHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("ccsid")) { - m_ccsid = jsonValue.GetString("ccsid"); - m_ccsidHasBeenSet = true; - } - if (jsonValue.ValueExists("format")) { - m_format = FormatMapper::GetFormatForName(jsonValue.GetString("format")); - m_formatHasBeenSet = true; - } - if (jsonValue.ValueExists("length")) { - m_length = jsonValue.GetInteger("length"); - m_lengthHasBeenSet = true; - } - return *this; -} - -JsonValue DataSet::Jsonize() const { - JsonValue payload; - - if (m_typeHasBeenSet) { - payload.WithString("type", DataSetTypeMapper::GetNameForDataSetType(m_type)); - } - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_ccsidHasBeenSet) { - payload.WithString("ccsid", m_ccsid); - } - - if (m_formatHasBeenSet) { - payload.WithString("format", FormatMapper::GetNameForFormat(m_format)); - } - - if (m_lengthHasBeenSet) { - payload.WithInteger("length", m_length); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/DataSetType.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/DataSetType.cpp deleted file mode 100644 index e325a5f92d9..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/DataSetType.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace DataSetTypeMapper { - -static const int PS_HASH = HashingUtils::HashString("PS"); - -DataSetType GetDataSetTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == PS_HASH) { - return DataSetType::PS; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return DataSetType::NOT_SET; -} - -Aws::String GetNameForDataSetType(DataSetType enumValue) { - switch (enumValue) { - case DataSetType::NOT_SET: - return {}; - case DataSetType::PS: - return "PS"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace DataSetTypeMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/DatabaseCDC.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/DatabaseCDC.cpp deleted file mode 100644 index a574d9a01c6..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/DatabaseCDC.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -DatabaseCDC::DatabaseCDC(JsonView jsonValue) { *this = jsonValue; } - -DatabaseCDC& DatabaseCDC::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("sourceMetadata")) { - m_sourceMetadata = jsonValue.GetObject("sourceMetadata"); - m_sourceMetadataHasBeenSet = true; - } - if (jsonValue.ValueExists("targetMetadata")) { - m_targetMetadata = jsonValue.GetObject("targetMetadata"); - m_targetMetadataHasBeenSet = true; - } - return *this; -} - -JsonValue DatabaseCDC::Jsonize() const { - JsonValue payload; - - if (m_sourceMetadataHasBeenSet) { - payload.WithObject("sourceMetadata", m_sourceMetadata.Jsonize()); - } - - if (m_targetMetadataHasBeenSet) { - payload.WithObject("targetMetadata", m_targetMetadata.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteCloudFormationStepInput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/DeleteCloudFormationStepInput.cpp deleted file mode 100644 index ba01c7b1e70..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteCloudFormationStepInput.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -DeleteCloudFormationStepInput::DeleteCloudFormationStepInput(JsonView jsonValue) { *this = jsonValue; } - -DeleteCloudFormationStepInput& DeleteCloudFormationStepInput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("stackId")) { - m_stackId = jsonValue.GetString("stackId"); - m_stackIdHasBeenSet = true; - } - return *this; -} - -JsonValue DeleteCloudFormationStepInput::Jsonize() const { - JsonValue payload; - - if (m_stackIdHasBeenSet) { - payload.WithString("stackId", m_stackId); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteCloudFormationStepOutput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/DeleteCloudFormationStepOutput.cpp deleted file mode 100644 index 03c3824ca61..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteCloudFormationStepOutput.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -DeleteCloudFormationStepOutput::DeleteCloudFormationStepOutput(JsonView jsonValue) { *this = jsonValue; } - -DeleteCloudFormationStepOutput& DeleteCloudFormationStepOutput::operator=(JsonView jsonValue) { - AWS_UNREFERENCED_PARAM(jsonValue); - return *this; -} - -JsonValue DeleteCloudFormationStepOutput::Jsonize() const { - JsonValue payload; - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteCloudFormationSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/DeleteCloudFormationSummary.cpp deleted file mode 100644 index d67d098dda0..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteCloudFormationSummary.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -DeleteCloudFormationSummary::DeleteCloudFormationSummary(JsonView jsonValue) { *this = jsonValue; } - -DeleteCloudFormationSummary& DeleteCloudFormationSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("stepInput")) { - m_stepInput = jsonValue.GetObject("stepInput"); - m_stepInputHasBeenSet = true; - } - if (jsonValue.ValueExists("stepOutput")) { - m_stepOutput = jsonValue.GetObject("stepOutput"); - m_stepOutputHasBeenSet = true; - } - return *this; -} - -JsonValue DeleteCloudFormationSummary::Jsonize() const { - JsonValue payload; - - if (m_stepInputHasBeenSet) { - payload.WithObject("stepInput", m_stepInput.Jsonize()); - } - - if (m_stepOutputHasBeenSet) { - payload.WithObject("stepOutput", m_stepOutput.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestCaseRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestCaseRequest.cpp deleted file mode 100644 index bb00d5b6987..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestCaseRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DeleteTestCaseRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestCaseResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestCaseResult.cpp deleted file mode 100644 index 53ca45a7a3a..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestCaseResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DeleteTestCaseResult::DeleteTestCaseResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DeleteTestCaseResult& DeleteTestCaseResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestConfigurationRequest.cpp deleted file mode 100644 index 9a4cb67808a..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestConfigurationRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DeleteTestConfigurationRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestConfigurationResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestConfigurationResult.cpp deleted file mode 100644 index 0d27308cba7..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestConfigurationResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DeleteTestConfigurationResult::DeleteTestConfigurationResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DeleteTestConfigurationResult& DeleteTestConfigurationResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestRunRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestRunRequest.cpp deleted file mode 100644 index 6aa8b4a1aaf..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestRunRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DeleteTestRunRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestRunResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestRunResult.cpp deleted file mode 100644 index 68c9a9b82a2..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestRunResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DeleteTestRunResult::DeleteTestRunResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DeleteTestRunResult& DeleteTestRunResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestSuiteRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestSuiteRequest.cpp deleted file mode 100644 index 996cf4deb27..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestSuiteRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DeleteTestSuiteRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestSuiteResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestSuiteResult.cpp deleted file mode 100644 index 71424df7ba8..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/DeleteTestSuiteResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DeleteTestSuiteResult::DeleteTestSuiteResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DeleteTestSuiteResult& DeleteTestSuiteResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/File.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/File.cpp deleted file mode 100644 index 43fda26fd0c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/File.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -File::File(JsonView jsonValue) { *this = jsonValue; } - -File& File::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("fileType")) { - m_fileType = jsonValue.GetObject("fileType"); - m_fileTypeHasBeenSet = true; - } - return *this; -} - -JsonValue File::Jsonize() const { - JsonValue payload; - - if (m_fileTypeHasBeenSet) { - payload.WithObject("fileType", m_fileType.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/FileMetadata.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/FileMetadata.cpp deleted file mode 100644 index 83e45ece73a..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/FileMetadata.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -FileMetadata::FileMetadata(JsonView jsonValue) { *this = jsonValue; } - -FileMetadata& FileMetadata::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("dataSets")) { - Aws::Utils::Array dataSetsJsonList = jsonValue.GetArray("dataSets"); - for (unsigned dataSetsIndex = 0; dataSetsIndex < dataSetsJsonList.GetLength(); ++dataSetsIndex) { - m_dataSets.push_back(dataSetsJsonList[dataSetsIndex].AsObject()); - } - m_dataSetsHasBeenSet = true; - } - if (jsonValue.ValueExists("databaseCDC")) { - m_databaseCDC = jsonValue.GetObject("databaseCDC"); - m_databaseCDCHasBeenSet = true; - } - return *this; -} - -JsonValue FileMetadata::Jsonize() const { - JsonValue payload; - - if (m_dataSetsHasBeenSet) { - Aws::Utils::Array dataSetsJsonList(m_dataSets.size()); - for (unsigned dataSetsIndex = 0; dataSetsIndex < dataSetsJsonList.GetLength(); ++dataSetsIndex) { - dataSetsJsonList[dataSetsIndex].AsObject(m_dataSets[dataSetsIndex].Jsonize()); - } - payload.WithArray("dataSets", std::move(dataSetsJsonList)); - } - - if (m_databaseCDCHasBeenSet) { - payload.WithObject("databaseCDC", m_databaseCDC.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/Format.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/Format.cpp deleted file mode 100644 index 9918e0642d9..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/Format.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace FormatMapper { - -static const int FIXED_HASH = HashingUtils::HashString("FIXED"); -static const int VARIABLE_HASH = HashingUtils::HashString("VARIABLE"); -static const int LINE_SEQUENTIAL_HASH = HashingUtils::HashString("LINE_SEQUENTIAL"); - -Format GetFormatForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == FIXED_HASH) { - return Format::FIXED; - } else if (hashCode == VARIABLE_HASH) { - return Format::VARIABLE; - } else if (hashCode == LINE_SEQUENTIAL_HASH) { - return Format::LINE_SEQUENTIAL; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return Format::NOT_SET; -} - -Aws::String GetNameForFormat(Format enumValue) { - switch (enumValue) { - case Format::NOT_SET: - return {}; - case Format::FIXED: - return "FIXED"; - case Format::VARIABLE: - return "VARIABLE"; - case Format::LINE_SEQUENTIAL: - return "LINE_SEQUENTIAL"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace FormatMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestCaseRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/GetTestCaseRequest.cpp deleted file mode 100644 index b8276f5f492..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestCaseRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String GetTestCaseRequest::SerializePayload() const { return {}; } - -void GetTestCaseRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_testCaseVersionHasBeenSet) { - ss << m_testCaseVersion; - uri.AddQueryStringParameter("testCaseVersion", ss.str()); - ss.str(""); - } -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestCaseResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/GetTestCaseResult.cpp deleted file mode 100644 index fb697815192..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestCaseResult.cpp +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -GetTestCaseResult::GetTestCaseResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -GetTestCaseResult& GetTestCaseResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testCaseId")) { - m_testCaseId = jsonValue.GetString("testCaseId"); - m_testCaseIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testCaseArn")) { - m_testCaseArn = jsonValue.GetString("testCaseArn"); - m_testCaseArnHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("description")) { - m_description = jsonValue.GetString("description"); - m_descriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("latestVersion")) { - m_latestVersion = jsonValue.GetObject("latestVersion"); - m_latestVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("testCaseVersion")) { - m_testCaseVersion = jsonValue.GetInteger("testCaseVersion"); - m_testCaseVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = TestCaseLifecycleMapper::GetTestCaseLifecycleForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("statusReason")) { - m_statusReason = jsonValue.GetString("statusReason"); - m_statusReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("creationTime")) { - m_creationTime = jsonValue.GetDouble("creationTime"); - m_creationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdateTime")) { - m_lastUpdateTime = jsonValue.GetDouble("lastUpdateTime"); - m_lastUpdateTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("steps")) { - Aws::Utils::Array stepsJsonList = jsonValue.GetArray("steps"); - for (unsigned stepsIndex = 0; stepsIndex < stepsJsonList.GetLength(); ++stepsIndex) { - m_steps.push_back(stepsJsonList[stepsIndex].AsObject()); - } - m_stepsHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/GetTestConfigurationRequest.cpp deleted file mode 100644 index e287951e13f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestConfigurationRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String GetTestConfigurationRequest::SerializePayload() const { return {}; } - -void GetTestConfigurationRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_testConfigurationVersionHasBeenSet) { - ss << m_testConfigurationVersion; - uri.AddQueryStringParameter("testConfigurationVersion", ss.str()); - ss.str(""); - } -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestConfigurationResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/GetTestConfigurationResult.cpp deleted file mode 100644 index b122189325b..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestConfigurationResult.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -GetTestConfigurationResult::GetTestConfigurationResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -GetTestConfigurationResult& GetTestConfigurationResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testConfigurationId")) { - m_testConfigurationId = jsonValue.GetString("testConfigurationId"); - m_testConfigurationIdHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("testConfigurationArn")) { - m_testConfigurationArn = jsonValue.GetString("testConfigurationArn"); - m_testConfigurationArnHasBeenSet = true; - } - if (jsonValue.ValueExists("latestVersion")) { - m_latestVersion = jsonValue.GetObject("latestVersion"); - m_latestVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("testConfigurationVersion")) { - m_testConfigurationVersion = jsonValue.GetInteger("testConfigurationVersion"); - m_testConfigurationVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = TestConfigurationLifecycleMapper::GetTestConfigurationLifecycleForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("statusReason")) { - m_statusReason = jsonValue.GetString("statusReason"); - m_statusReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("creationTime")) { - m_creationTime = jsonValue.GetDouble("creationTime"); - m_creationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdateTime")) { - m_lastUpdateTime = jsonValue.GetDouble("lastUpdateTime"); - m_lastUpdateTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("description")) { - m_description = jsonValue.GetString("description"); - m_descriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("resources")) { - Aws::Utils::Array resourcesJsonList = jsonValue.GetArray("resources"); - for (unsigned resourcesIndex = 0; resourcesIndex < resourcesJsonList.GetLength(); ++resourcesIndex) { - m_resources.push_back(resourcesJsonList[resourcesIndex].AsObject()); - } - m_resourcesHasBeenSet = true; - } - if (jsonValue.ValueExists("properties")) { - Aws::Map propertiesJsonMap = jsonValue.GetObject("properties").GetAllObjects(); - for (auto& propertiesItem : propertiesJsonMap) { - m_properties[propertiesItem.first] = propertiesItem.second.AsString(); - } - m_propertiesHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - if (jsonValue.ValueExists("serviceSettings")) { - m_serviceSettings = jsonValue.GetObject("serviceSettings"); - m_serviceSettingsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestRunStepRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/GetTestRunStepRequest.cpp deleted file mode 100644 index 08b121930a0..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestRunStepRequest.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String GetTestRunStepRequest::SerializePayload() const { return {}; } - -void GetTestRunStepRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_testCaseIdHasBeenSet) { - ss << m_testCaseId; - uri.AddQueryStringParameter("testCaseId", ss.str()); - ss.str(""); - } - - if (m_testSuiteIdHasBeenSet) { - ss << m_testSuiteId; - uri.AddQueryStringParameter("testSuiteId", ss.str()); - ss.str(""); - } -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestRunStepResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/GetTestRunStepResult.cpp deleted file mode 100644 index 691efc0aa2f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestRunStepResult.cpp +++ /dev/null @@ -1,85 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -GetTestRunStepResult::GetTestRunStepResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -GetTestRunStepResult& GetTestRunStepResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("stepName")) { - m_stepName = jsonValue.GetString("stepName"); - m_stepNameHasBeenSet = true; - } - if (jsonValue.ValueExists("testRunId")) { - m_testRunId = jsonValue.GetString("testRunId"); - m_testRunIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testCaseId")) { - m_testCaseId = jsonValue.GetString("testCaseId"); - m_testCaseIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testCaseVersion")) { - m_testCaseVersion = jsonValue.GetInteger("testCaseVersion"); - m_testCaseVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("testSuiteId")) { - m_testSuiteId = jsonValue.GetString("testSuiteId"); - m_testSuiteIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testSuiteVersion")) { - m_testSuiteVersion = jsonValue.GetInteger("testSuiteVersion"); - m_testSuiteVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("beforeStep")) { - m_beforeStep = jsonValue.GetBool("beforeStep"); - m_beforeStepHasBeenSet = true; - } - if (jsonValue.ValueExists("afterStep")) { - m_afterStep = jsonValue.GetBool("afterStep"); - m_afterStepHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = StepRunStatusMapper::GetStepRunStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("statusReason")) { - m_statusReason = jsonValue.GetString("statusReason"); - m_statusReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("runStartTime")) { - m_runStartTime = jsonValue.GetDouble("runStartTime"); - m_runStartTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("runEndTime")) { - m_runEndTime = jsonValue.GetDouble("runEndTime"); - m_runEndTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("stepRunSummary")) { - m_stepRunSummary = jsonValue.GetObject("stepRunSummary"); - m_stepRunSummaryHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestSuiteRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/GetTestSuiteRequest.cpp deleted file mode 100644 index 9854bf41701..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestSuiteRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String GetTestSuiteRequest::SerializePayload() const { return {}; } - -void GetTestSuiteRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_testSuiteVersionHasBeenSet) { - ss << m_testSuiteVersion; - uri.AddQueryStringParameter("testSuiteVersion", ss.str()); - ss.str(""); - } -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestSuiteResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/GetTestSuiteResult.cpp deleted file mode 100644 index 1e310c68627..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/GetTestSuiteResult.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -GetTestSuiteResult::GetTestSuiteResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -GetTestSuiteResult& GetTestSuiteResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testSuiteId")) { - m_testSuiteId = jsonValue.GetString("testSuiteId"); - m_testSuiteIdHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("latestVersion")) { - m_latestVersion = jsonValue.GetObject("latestVersion"); - m_latestVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("testSuiteVersion")) { - m_testSuiteVersion = jsonValue.GetInteger("testSuiteVersion"); - m_testSuiteVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = TestSuiteLifecycleMapper::GetTestSuiteLifecycleForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("statusReason")) { - m_statusReason = jsonValue.GetString("statusReason"); - m_statusReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("testSuiteArn")) { - m_testSuiteArn = jsonValue.GetString("testSuiteArn"); - m_testSuiteArnHasBeenSet = true; - } - if (jsonValue.ValueExists("creationTime")) { - m_creationTime = jsonValue.GetDouble("creationTime"); - m_creationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdateTime")) { - m_lastUpdateTime = jsonValue.GetDouble("lastUpdateTime"); - m_lastUpdateTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("description")) { - m_description = jsonValue.GetString("description"); - m_descriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("beforeSteps")) { - Aws::Utils::Array beforeStepsJsonList = jsonValue.GetArray("beforeSteps"); - for (unsigned beforeStepsIndex = 0; beforeStepsIndex < beforeStepsJsonList.GetLength(); ++beforeStepsIndex) { - m_beforeSteps.push_back(beforeStepsJsonList[beforeStepsIndex].AsObject()); - } - m_beforeStepsHasBeenSet = true; - } - if (jsonValue.ValueExists("afterSteps")) { - Aws::Utils::Array afterStepsJsonList = jsonValue.GetArray("afterSteps"); - for (unsigned afterStepsIndex = 0; afterStepsIndex < afterStepsJsonList.GetLength(); ++afterStepsIndex) { - m_afterSteps.push_back(afterStepsJsonList[afterStepsIndex].AsObject()); - } - m_afterStepsHasBeenSet = true; - } - if (jsonValue.ValueExists("testCases")) { - m_testCases = jsonValue.GetObject("testCases"); - m_testCasesHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/Input.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/Input.cpp deleted file mode 100644 index 29e6c50f30d..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/Input.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -Input::Input(JsonView jsonValue) { *this = jsonValue; } - -Input& Input::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("file")) { - m_file = jsonValue.GetObject("file"); - m_fileHasBeenSet = true; - } - return *this; -} - -JsonValue Input::Jsonize() const { - JsonValue payload; - - if (m_fileHasBeenSet) { - payload.WithObject("file", m_file.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/InputFile.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/InputFile.cpp deleted file mode 100644 index 295f9a75df0..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/InputFile.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -InputFile::InputFile(JsonView jsonValue) { *this = jsonValue; } - -InputFile& InputFile::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("sourceLocation")) { - m_sourceLocation = jsonValue.GetString("sourceLocation"); - m_sourceLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("targetLocation")) { - m_targetLocation = jsonValue.GetString("targetLocation"); - m_targetLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("fileMetadata")) { - m_fileMetadata = jsonValue.GetObject("fileMetadata"); - m_fileMetadataHasBeenSet = true; - } - return *this; -} - -JsonValue InputFile::Jsonize() const { - JsonValue payload; - - if (m_sourceLocationHasBeenSet) { - payload.WithString("sourceLocation", m_sourceLocation); - } - - if (m_targetLocationHasBeenSet) { - payload.WithString("targetLocation", m_targetLocation); - } - - if (m_fileMetadataHasBeenSet) { - payload.WithObject("fileMetadata", m_fileMetadata.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/InternalServerException.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/InternalServerException.cpp deleted file mode 100644 index 65d80158144..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/InternalServerException.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -InternalServerException::InternalServerException(JsonView jsonValue) { *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 AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ListTagsForResourceRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ListTagsForResourceRequest.cpp deleted file mode 100644 index 283d9dee197..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ListTagsForResourceRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListTagsForResourceRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ListTagsForResourceResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ListTagsForResourceResult.cpp deleted file mode 100644 index 5c14c0b3fc1..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ListTagsForResourceResult.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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(); - } - m_tagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestCasesRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ListTestCasesRequest.cpp deleted file mode 100644 index ab4b228c3f4..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestCasesRequest.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListTestCasesRequest::SerializePayload() const { return {}; } - -void ListTestCasesRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_testCaseIdsHasBeenSet) { - for (const auto& item : m_testCaseIds) { - ss << item; - uri.AddQueryStringParameter("testCaseIds", 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-apptest/source/model/ListTestCasesResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ListTestCasesResult.cpp deleted file mode 100644 index aed043506d6..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestCasesResult.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListTestCasesResult::ListTestCasesResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListTestCasesResult& ListTestCasesResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testCases")) { - Aws::Utils::Array testCasesJsonList = jsonValue.GetArray("testCases"); - for (unsigned testCasesIndex = 0; testCasesIndex < testCasesJsonList.GetLength(); ++testCasesIndex) { - m_testCases.push_back(testCasesJsonList[testCasesIndex].AsObject()); - } - m_testCasesHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestConfigurationsRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ListTestConfigurationsRequest.cpp deleted file mode 100644 index 72a3076ee47..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestConfigurationsRequest.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListTestConfigurationsRequest::SerializePayload() const { return {}; } - -void ListTestConfigurationsRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_testConfigurationIdsHasBeenSet) { - for (const auto& item : m_testConfigurationIds) { - ss << item; - uri.AddQueryStringParameter("testConfigurationIds", 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-apptest/source/model/ListTestConfigurationsResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ListTestConfigurationsResult.cpp deleted file mode 100644 index 2fa775bbe99..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestConfigurationsResult.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListTestConfigurationsResult::ListTestConfigurationsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListTestConfigurationsResult& ListTestConfigurationsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testConfigurations")) { - Aws::Utils::Array testConfigurationsJsonList = jsonValue.GetArray("testConfigurations"); - for (unsigned testConfigurationsIndex = 0; testConfigurationsIndex < testConfigurationsJsonList.GetLength(); - ++testConfigurationsIndex) { - m_testConfigurations.push_back(testConfigurationsJsonList[testConfigurationsIndex].AsObject()); - } - m_testConfigurationsHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunStepsRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunStepsRequest.cpp deleted file mode 100644 index 852d9e5998c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunStepsRequest.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListTestRunStepsRequest::SerializePayload() const { return {}; } - -void ListTestRunStepsRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_testCaseIdHasBeenSet) { - ss << m_testCaseId; - uri.AddQueryStringParameter("testCaseId", ss.str()); - ss.str(""); - } - - if (m_testSuiteIdHasBeenSet) { - ss << m_testSuiteId; - uri.AddQueryStringParameter("testSuiteId", 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-apptest/source/model/ListTestRunStepsResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunStepsResult.cpp deleted file mode 100644 index 0dcead49c16..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunStepsResult.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListTestRunStepsResult::ListTestRunStepsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListTestRunStepsResult& ListTestRunStepsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testRunSteps")) { - Aws::Utils::Array testRunStepsJsonList = jsonValue.GetArray("testRunSteps"); - for (unsigned testRunStepsIndex = 0; testRunStepsIndex < testRunStepsJsonList.GetLength(); ++testRunStepsIndex) { - m_testRunSteps.push_back(testRunStepsJsonList[testRunStepsIndex].AsObject()); - } - m_testRunStepsHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunTestCasesRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunTestCasesRequest.cpp deleted file mode 100644 index 32e56598df8..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunTestCasesRequest.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListTestRunTestCasesRequest::SerializePayload() const { return {}; } - -void ListTestRunTestCasesRequest::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-apptest/source/model/ListTestRunTestCasesResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunTestCasesResult.cpp deleted file mode 100644 index 769d94563ef..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunTestCasesResult.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListTestRunTestCasesResult::ListTestRunTestCasesResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListTestRunTestCasesResult& ListTestRunTestCasesResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testRunTestCases")) { - Aws::Utils::Array testRunTestCasesJsonList = jsonValue.GetArray("testRunTestCases"); - for (unsigned testRunTestCasesIndex = 0; testRunTestCasesIndex < testRunTestCasesJsonList.GetLength(); ++testRunTestCasesIndex) { - m_testRunTestCases.push_back(testRunTestCasesJsonList[testRunTestCasesIndex].AsObject()); - } - m_testRunTestCasesHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunsRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunsRequest.cpp deleted file mode 100644 index 478b3120b65..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunsRequest.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListTestRunsRequest::SerializePayload() const { return {}; } - -void ListTestRunsRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_testSuiteIdHasBeenSet) { - ss << m_testSuiteId; - uri.AddQueryStringParameter("testSuiteId", ss.str()); - ss.str(""); - } - - if (m_testRunIdsHasBeenSet) { - for (const auto& item : m_testRunIds) { - ss << item; - uri.AddQueryStringParameter("testrunIds", 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-apptest/source/model/ListTestRunsResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunsResult.cpp deleted file mode 100644 index 24997f48218..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestRunsResult.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListTestRunsResult::ListTestRunsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListTestRunsResult& ListTestRunsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testRuns")) { - Aws::Utils::Array testRunsJsonList = jsonValue.GetArray("testRuns"); - for (unsigned testRunsIndex = 0; testRunsIndex < testRunsJsonList.GetLength(); ++testRunsIndex) { - m_testRuns.push_back(testRunsJsonList[testRunsIndex].AsObject()); - } - m_testRunsHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestSuitesRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ListTestSuitesRequest.cpp deleted file mode 100644 index 9e99bbc40af..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestSuitesRequest.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListTestSuitesRequest::SerializePayload() const { return {}; } - -void ListTestSuitesRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_testSuiteIdsHasBeenSet) { - for (const auto& item : m_testSuiteIds) { - ss << item; - uri.AddQueryStringParameter("testSuiteIds", 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-apptest/source/model/ListTestSuitesResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ListTestSuitesResult.cpp deleted file mode 100644 index 3a6120cad88..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ListTestSuitesResult.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListTestSuitesResult::ListTestSuitesResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListTestSuitesResult& ListTestSuitesResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testSuites")) { - Aws::Utils::Array testSuitesJsonList = jsonValue.GetArray("testSuites"); - for (unsigned testSuitesIndex = 0; testSuitesIndex < testSuitesJsonList.GetLength(); ++testSuitesIndex) { - m_testSuites.push_back(testSuitesJsonList[testSuitesIndex].AsObject()); - } - m_testSuitesHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedActionProperties.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedActionProperties.cpp deleted file mode 100644 index 8640ec00c51..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedActionProperties.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -M2ManagedActionProperties::M2ManagedActionProperties(JsonView jsonValue) { *this = jsonValue; } - -M2ManagedActionProperties& M2ManagedActionProperties::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("forceStop")) { - m_forceStop = jsonValue.GetBool("forceStop"); - m_forceStopHasBeenSet = true; - } - if (jsonValue.ValueExists("importDataSetLocation")) { - m_importDataSetLocation = jsonValue.GetString("importDataSetLocation"); - m_importDataSetLocationHasBeenSet = true; - } - return *this; -} - -JsonValue M2ManagedActionProperties::Jsonize() const { - JsonValue payload; - - if (m_forceStopHasBeenSet) { - payload.WithBool("forceStop", m_forceStop); - } - - if (m_importDataSetLocationHasBeenSet) { - payload.WithString("importDataSetLocation", m_importDataSetLocation); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedActionType.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedActionType.cpp deleted file mode 100644 index 4070e506ad2..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedActionType.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace M2ManagedActionTypeMapper { - -static const int Configure_HASH = HashingUtils::HashString("Configure"); -static const int Deconfigure_HASH = HashingUtils::HashString("Deconfigure"); - -M2ManagedActionType GetM2ManagedActionTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Configure_HASH) { - return M2ManagedActionType::Configure; - } else if (hashCode == Deconfigure_HASH) { - return M2ManagedActionType::Deconfigure; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return M2ManagedActionType::NOT_SET; -} - -Aws::String GetNameForM2ManagedActionType(M2ManagedActionType enumValue) { - switch (enumValue) { - case M2ManagedActionType::NOT_SET: - return {}; - case M2ManagedActionType::Configure: - return "Configure"; - case M2ManagedActionType::Deconfigure: - return "Deconfigure"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace M2ManagedActionTypeMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplication.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplication.cpp deleted file mode 100644 index fe24f437a71..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplication.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -M2ManagedApplication::M2ManagedApplication(JsonView jsonValue) { *this = jsonValue; } - -M2ManagedApplication& M2ManagedApplication::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("applicationId")) { - m_applicationId = jsonValue.GetString("applicationId"); - m_applicationIdHasBeenSet = true; - } - if (jsonValue.ValueExists("runtime")) { - m_runtime = M2ManagedRuntimeMapper::GetM2ManagedRuntimeForName(jsonValue.GetString("runtime")); - m_runtimeHasBeenSet = true; - } - if (jsonValue.ValueExists("vpcEndpointServiceName")) { - m_vpcEndpointServiceName = jsonValue.GetString("vpcEndpointServiceName"); - m_vpcEndpointServiceNameHasBeenSet = true; - } - if (jsonValue.ValueExists("listenerPort")) { - m_listenerPort = jsonValue.GetString("listenerPort"); - m_listenerPortHasBeenSet = true; - } - return *this; -} - -JsonValue M2ManagedApplication::Jsonize() const { - JsonValue payload; - - if (m_applicationIdHasBeenSet) { - payload.WithString("applicationId", m_applicationId); - } - - if (m_runtimeHasBeenSet) { - payload.WithString("runtime", M2ManagedRuntimeMapper::GetNameForM2ManagedRuntime(m_runtime)); - } - - if (m_vpcEndpointServiceNameHasBeenSet) { - payload.WithString("vpcEndpointServiceName", m_vpcEndpointServiceName); - } - - if (m_listenerPortHasBeenSet) { - payload.WithString("listenerPort", m_listenerPort); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationAction.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationAction.cpp deleted file mode 100644 index 05089a036d9..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationAction.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -M2ManagedApplicationAction::M2ManagedApplicationAction(JsonView jsonValue) { *this = jsonValue; } - -M2ManagedApplicationAction& M2ManagedApplicationAction::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("resource")) { - m_resource = jsonValue.GetString("resource"); - m_resourceHasBeenSet = true; - } - if (jsonValue.ValueExists("actionType")) { - m_actionType = M2ManagedActionTypeMapper::GetM2ManagedActionTypeForName(jsonValue.GetString("actionType")); - m_actionTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("properties")) { - m_properties = jsonValue.GetObject("properties"); - m_propertiesHasBeenSet = true; - } - return *this; -} - -JsonValue M2ManagedApplicationAction::Jsonize() const { - JsonValue payload; - - if (m_resourceHasBeenSet) { - payload.WithString("resource", m_resource); - } - - if (m_actionTypeHasBeenSet) { - payload.WithString("actionType", M2ManagedActionTypeMapper::GetNameForM2ManagedActionType(m_actionType)); - } - - if (m_propertiesHasBeenSet) { - payload.WithObject("properties", m_properties.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationStepInput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationStepInput.cpp deleted file mode 100644 index 9690832d204..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationStepInput.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -M2ManagedApplicationStepInput::M2ManagedApplicationStepInput(JsonView jsonValue) { *this = jsonValue; } - -M2ManagedApplicationStepInput& M2ManagedApplicationStepInput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("applicationId")) { - m_applicationId = jsonValue.GetString("applicationId"); - m_applicationIdHasBeenSet = true; - } - if (jsonValue.ValueExists("runtime")) { - m_runtime = jsonValue.GetString("runtime"); - m_runtimeHasBeenSet = true; - } - if (jsonValue.ValueExists("vpcEndpointServiceName")) { - m_vpcEndpointServiceName = jsonValue.GetString("vpcEndpointServiceName"); - m_vpcEndpointServiceNameHasBeenSet = true; - } - if (jsonValue.ValueExists("listenerPort")) { - m_listenerPort = jsonValue.GetInteger("listenerPort"); - m_listenerPortHasBeenSet = true; - } - if (jsonValue.ValueExists("actionType")) { - m_actionType = M2ManagedActionTypeMapper::GetM2ManagedActionTypeForName(jsonValue.GetString("actionType")); - m_actionTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("properties")) { - m_properties = jsonValue.GetObject("properties"); - m_propertiesHasBeenSet = true; - } - return *this; -} - -JsonValue M2ManagedApplicationStepInput::Jsonize() const { - JsonValue payload; - - if (m_applicationIdHasBeenSet) { - payload.WithString("applicationId", m_applicationId); - } - - if (m_runtimeHasBeenSet) { - payload.WithString("runtime", m_runtime); - } - - if (m_vpcEndpointServiceNameHasBeenSet) { - payload.WithString("vpcEndpointServiceName", m_vpcEndpointServiceName); - } - - if (m_listenerPortHasBeenSet) { - payload.WithInteger("listenerPort", m_listenerPort); - } - - if (m_actionTypeHasBeenSet) { - payload.WithString("actionType", M2ManagedActionTypeMapper::GetNameForM2ManagedActionType(m_actionType)); - } - - if (m_propertiesHasBeenSet) { - payload.WithObject("properties", m_properties.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationStepOutput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationStepOutput.cpp deleted file mode 100644 index 2a21f17cb12..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationStepOutput.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -M2ManagedApplicationStepOutput::M2ManagedApplicationStepOutput(JsonView jsonValue) { *this = jsonValue; } - -M2ManagedApplicationStepOutput& M2ManagedApplicationStepOutput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("importDataSetSummary")) { - Aws::Map importDataSetSummaryJsonMap = jsonValue.GetObject("importDataSetSummary").GetAllObjects(); - for (auto& importDataSetSummaryItem : importDataSetSummaryJsonMap) { - m_importDataSetSummary[importDataSetSummaryItem.first] = importDataSetSummaryItem.second.AsString(); - } - m_importDataSetSummaryHasBeenSet = true; - } - return *this; -} - -JsonValue M2ManagedApplicationStepOutput::Jsonize() const { - JsonValue payload; - - if (m_importDataSetSummaryHasBeenSet) { - JsonValue importDataSetSummaryJsonMap; - for (auto& importDataSetSummaryItem : m_importDataSetSummary) { - importDataSetSummaryJsonMap.WithString(importDataSetSummaryItem.first, importDataSetSummaryItem.second); - } - payload.WithObject("importDataSetSummary", std::move(importDataSetSummaryJsonMap)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationStepSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationStepSummary.cpp deleted file mode 100644 index 728673e60fc..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationStepSummary.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -M2ManagedApplicationStepSummary::M2ManagedApplicationStepSummary(JsonView jsonValue) { *this = jsonValue; } - -M2ManagedApplicationStepSummary& M2ManagedApplicationStepSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("stepInput")) { - m_stepInput = jsonValue.GetObject("stepInput"); - m_stepInputHasBeenSet = true; - } - if (jsonValue.ValueExists("stepOutput")) { - m_stepOutput = jsonValue.GetObject("stepOutput"); - m_stepOutputHasBeenSet = true; - } - return *this; -} - -JsonValue M2ManagedApplicationStepSummary::Jsonize() const { - JsonValue payload; - - if (m_stepInputHasBeenSet) { - payload.WithObject("stepInput", m_stepInput.Jsonize()); - } - - if (m_stepOutputHasBeenSet) { - payload.WithObject("stepOutput", m_stepOutput.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationSummary.cpp deleted file mode 100644 index 248d1f754a5..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedApplicationSummary.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -M2ManagedApplicationSummary::M2ManagedApplicationSummary(JsonView jsonValue) { *this = jsonValue; } - -M2ManagedApplicationSummary& M2ManagedApplicationSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("applicationId")) { - m_applicationId = jsonValue.GetString("applicationId"); - m_applicationIdHasBeenSet = true; - } - if (jsonValue.ValueExists("runtime")) { - m_runtime = M2ManagedRuntimeMapper::GetM2ManagedRuntimeForName(jsonValue.GetString("runtime")); - m_runtimeHasBeenSet = true; - } - if (jsonValue.ValueExists("listenerPort")) { - m_listenerPort = jsonValue.GetInteger("listenerPort"); - m_listenerPortHasBeenSet = true; - } - return *this; -} - -JsonValue M2ManagedApplicationSummary::Jsonize() const { - JsonValue payload; - - if (m_applicationIdHasBeenSet) { - payload.WithString("applicationId", m_applicationId); - } - - if (m_runtimeHasBeenSet) { - payload.WithString("runtime", M2ManagedRuntimeMapper::GetNameForM2ManagedRuntime(m_runtime)); - } - - if (m_listenerPortHasBeenSet) { - payload.WithInteger("listenerPort", m_listenerPort); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedRuntime.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedRuntime.cpp deleted file mode 100644 index e1ad019ae2b..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2ManagedRuntime.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace M2ManagedRuntimeMapper { - -static const int MicroFocus_HASH = HashingUtils::HashString("MicroFocus"); - -M2ManagedRuntime GetM2ManagedRuntimeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == MicroFocus_HASH) { - return M2ManagedRuntime::MicroFocus; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return M2ManagedRuntime::NOT_SET; -} - -Aws::String GetNameForM2ManagedRuntime(M2ManagedRuntime enumValue) { - switch (enumValue) { - case M2ManagedRuntime::NOT_SET: - return {}; - case M2ManagedRuntime::MicroFocus: - return "MicroFocus"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace M2ManagedRuntimeMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedActionType.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedActionType.cpp deleted file mode 100644 index 054551d8fa1..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedActionType.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace M2NonManagedActionTypeMapper { - -static const int Configure_HASH = HashingUtils::HashString("Configure"); -static const int Deconfigure_HASH = HashingUtils::HashString("Deconfigure"); - -M2NonManagedActionType GetM2NonManagedActionTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Configure_HASH) { - return M2NonManagedActionType::Configure; - } else if (hashCode == Deconfigure_HASH) { - return M2NonManagedActionType::Deconfigure; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return M2NonManagedActionType::NOT_SET; -} - -Aws::String GetNameForM2NonManagedActionType(M2NonManagedActionType enumValue) { - switch (enumValue) { - case M2NonManagedActionType::NOT_SET: - return {}; - case M2NonManagedActionType::Configure: - return "Configure"; - case M2NonManagedActionType::Deconfigure: - return "Deconfigure"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace M2NonManagedActionTypeMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplication.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplication.cpp deleted file mode 100644 index 153bb4c982e..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplication.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -M2NonManagedApplication::M2NonManagedApplication(JsonView jsonValue) { *this = jsonValue; } - -M2NonManagedApplication& M2NonManagedApplication::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("vpcEndpointServiceName")) { - m_vpcEndpointServiceName = jsonValue.GetString("vpcEndpointServiceName"); - m_vpcEndpointServiceNameHasBeenSet = true; - } - if (jsonValue.ValueExists("listenerPort")) { - m_listenerPort = jsonValue.GetString("listenerPort"); - m_listenerPortHasBeenSet = true; - } - if (jsonValue.ValueExists("runtime")) { - m_runtime = M2NonManagedRuntimeMapper::GetM2NonManagedRuntimeForName(jsonValue.GetString("runtime")); - m_runtimeHasBeenSet = true; - } - if (jsonValue.ValueExists("webAppName")) { - m_webAppName = jsonValue.GetString("webAppName"); - m_webAppNameHasBeenSet = true; - } - return *this; -} - -JsonValue M2NonManagedApplication::Jsonize() const { - JsonValue payload; - - if (m_vpcEndpointServiceNameHasBeenSet) { - payload.WithString("vpcEndpointServiceName", m_vpcEndpointServiceName); - } - - if (m_listenerPortHasBeenSet) { - payload.WithString("listenerPort", m_listenerPort); - } - - if (m_runtimeHasBeenSet) { - payload.WithString("runtime", M2NonManagedRuntimeMapper::GetNameForM2NonManagedRuntime(m_runtime)); - } - - if (m_webAppNameHasBeenSet) { - payload.WithString("webAppName", m_webAppName); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationAction.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationAction.cpp deleted file mode 100644 index 87af91fc2b8..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationAction.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -M2NonManagedApplicationAction::M2NonManagedApplicationAction(JsonView jsonValue) { *this = jsonValue; } - -M2NonManagedApplicationAction& M2NonManagedApplicationAction::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("resource")) { - m_resource = jsonValue.GetString("resource"); - m_resourceHasBeenSet = true; - } - if (jsonValue.ValueExists("actionType")) { - m_actionType = M2NonManagedActionTypeMapper::GetM2NonManagedActionTypeForName(jsonValue.GetString("actionType")); - m_actionTypeHasBeenSet = true; - } - return *this; -} - -JsonValue M2NonManagedApplicationAction::Jsonize() const { - JsonValue payload; - - if (m_resourceHasBeenSet) { - payload.WithString("resource", m_resource); - } - - if (m_actionTypeHasBeenSet) { - payload.WithString("actionType", M2NonManagedActionTypeMapper::GetNameForM2NonManagedActionType(m_actionType)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationStepInput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationStepInput.cpp deleted file mode 100644 index 2e9f1011ac6..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationStepInput.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -M2NonManagedApplicationStepInput::M2NonManagedApplicationStepInput(JsonView jsonValue) { *this = jsonValue; } - -M2NonManagedApplicationStepInput& M2NonManagedApplicationStepInput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("vpcEndpointServiceName")) { - m_vpcEndpointServiceName = jsonValue.GetString("vpcEndpointServiceName"); - m_vpcEndpointServiceNameHasBeenSet = true; - } - if (jsonValue.ValueExists("listenerPort")) { - m_listenerPort = jsonValue.GetInteger("listenerPort"); - m_listenerPortHasBeenSet = true; - } - if (jsonValue.ValueExists("runtime")) { - m_runtime = M2NonManagedRuntimeMapper::GetM2NonManagedRuntimeForName(jsonValue.GetString("runtime")); - m_runtimeHasBeenSet = true; - } - if (jsonValue.ValueExists("webAppName")) { - m_webAppName = jsonValue.GetString("webAppName"); - m_webAppNameHasBeenSet = true; - } - if (jsonValue.ValueExists("actionType")) { - m_actionType = M2NonManagedActionTypeMapper::GetM2NonManagedActionTypeForName(jsonValue.GetString("actionType")); - m_actionTypeHasBeenSet = true; - } - return *this; -} - -JsonValue M2NonManagedApplicationStepInput::Jsonize() const { - JsonValue payload; - - if (m_vpcEndpointServiceNameHasBeenSet) { - payload.WithString("vpcEndpointServiceName", m_vpcEndpointServiceName); - } - - if (m_listenerPortHasBeenSet) { - payload.WithInteger("listenerPort", m_listenerPort); - } - - if (m_runtimeHasBeenSet) { - payload.WithString("runtime", M2NonManagedRuntimeMapper::GetNameForM2NonManagedRuntime(m_runtime)); - } - - if (m_webAppNameHasBeenSet) { - payload.WithString("webAppName", m_webAppName); - } - - if (m_actionTypeHasBeenSet) { - payload.WithString("actionType", M2NonManagedActionTypeMapper::GetNameForM2NonManagedActionType(m_actionType)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationStepOutput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationStepOutput.cpp deleted file mode 100644 index 1489c91ec4b..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationStepOutput.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -M2NonManagedApplicationStepOutput::M2NonManagedApplicationStepOutput(JsonView jsonValue) { *this = jsonValue; } - -M2NonManagedApplicationStepOutput& M2NonManagedApplicationStepOutput::operator=(JsonView jsonValue) { - AWS_UNREFERENCED_PARAM(jsonValue); - return *this; -} - -JsonValue M2NonManagedApplicationStepOutput::Jsonize() const { - JsonValue payload; - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationStepSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationStepSummary.cpp deleted file mode 100644 index c31240951fd..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationStepSummary.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -M2NonManagedApplicationStepSummary::M2NonManagedApplicationStepSummary(JsonView jsonValue) { *this = jsonValue; } - -M2NonManagedApplicationStepSummary& M2NonManagedApplicationStepSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("stepInput")) { - m_stepInput = jsonValue.GetObject("stepInput"); - m_stepInputHasBeenSet = true; - } - if (jsonValue.ValueExists("stepOutput")) { - m_stepOutput = jsonValue.GetObject("stepOutput"); - m_stepOutputHasBeenSet = true; - } - return *this; -} - -JsonValue M2NonManagedApplicationStepSummary::Jsonize() const { - JsonValue payload; - - if (m_stepInputHasBeenSet) { - payload.WithObject("stepInput", m_stepInput.Jsonize()); - } - - if (m_stepOutputHasBeenSet) { - payload.WithObject("stepOutput", m_stepOutput.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationSummary.cpp deleted file mode 100644 index b0ba7441c4f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedApplicationSummary.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -M2NonManagedApplicationSummary::M2NonManagedApplicationSummary(JsonView jsonValue) { *this = jsonValue; } - -M2NonManagedApplicationSummary& M2NonManagedApplicationSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("vpcEndpointServiceName")) { - m_vpcEndpointServiceName = jsonValue.GetString("vpcEndpointServiceName"); - m_vpcEndpointServiceNameHasBeenSet = true; - } - if (jsonValue.ValueExists("listenerPort")) { - m_listenerPort = jsonValue.GetInteger("listenerPort"); - m_listenerPortHasBeenSet = true; - } - if (jsonValue.ValueExists("runtime")) { - m_runtime = M2NonManagedRuntimeMapper::GetM2NonManagedRuntimeForName(jsonValue.GetString("runtime")); - m_runtimeHasBeenSet = true; - } - if (jsonValue.ValueExists("webAppName")) { - m_webAppName = jsonValue.GetString("webAppName"); - m_webAppNameHasBeenSet = true; - } - return *this; -} - -JsonValue M2NonManagedApplicationSummary::Jsonize() const { - JsonValue payload; - - if (m_vpcEndpointServiceNameHasBeenSet) { - payload.WithString("vpcEndpointServiceName", m_vpcEndpointServiceName); - } - - if (m_listenerPortHasBeenSet) { - payload.WithInteger("listenerPort", m_listenerPort); - } - - if (m_runtimeHasBeenSet) { - payload.WithString("runtime", M2NonManagedRuntimeMapper::GetNameForM2NonManagedRuntime(m_runtime)); - } - - if (m_webAppNameHasBeenSet) { - payload.WithString("webAppName", m_webAppName); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedRuntime.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedRuntime.cpp deleted file mode 100644 index 7e29a563254..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/M2NonManagedRuntime.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace M2NonManagedRuntimeMapper { - -static const int BluAge_HASH = HashingUtils::HashString("BluAge"); - -M2NonManagedRuntime GetM2NonManagedRuntimeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == BluAge_HASH) { - return M2NonManagedRuntime::BluAge; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return M2NonManagedRuntime::NOT_SET; -} - -Aws::String GetNameForM2NonManagedRuntime(M2NonManagedRuntime enumValue) { - switch (enumValue) { - case M2NonManagedRuntime::NOT_SET: - return {}; - case M2NonManagedRuntime::BluAge: - return "BluAge"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace M2NonManagedRuntimeMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/MainframeAction.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/MainframeAction.cpp deleted file mode 100644 index e6641e44865..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/MainframeAction.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -MainframeAction::MainframeAction(JsonView jsonValue) { *this = jsonValue; } - -MainframeAction& MainframeAction::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("resource")) { - m_resource = jsonValue.GetString("resource"); - m_resourceHasBeenSet = true; - } - if (jsonValue.ValueExists("actionType")) { - m_actionType = jsonValue.GetObject("actionType"); - m_actionTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("properties")) { - m_properties = jsonValue.GetObject("properties"); - m_propertiesHasBeenSet = true; - } - return *this; -} - -JsonValue MainframeAction::Jsonize() const { - JsonValue payload; - - if (m_resourceHasBeenSet) { - payload.WithString("resource", m_resource); - } - - if (m_actionTypeHasBeenSet) { - payload.WithObject("actionType", m_actionType.Jsonize()); - } - - if (m_propertiesHasBeenSet) { - payload.WithObject("properties", m_properties.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/MainframeActionProperties.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/MainframeActionProperties.cpp deleted file mode 100644 index b5b55167cd5..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/MainframeActionProperties.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -MainframeActionProperties::MainframeActionProperties(JsonView jsonValue) { *this = jsonValue; } - -MainframeActionProperties& MainframeActionProperties::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("dmsTaskArn")) { - m_dmsTaskArn = jsonValue.GetString("dmsTaskArn"); - m_dmsTaskArnHasBeenSet = true; - } - return *this; -} - -JsonValue MainframeActionProperties::Jsonize() const { - JsonValue payload; - - if (m_dmsTaskArnHasBeenSet) { - payload.WithString("dmsTaskArn", m_dmsTaskArn); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/MainframeActionSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/MainframeActionSummary.cpp deleted file mode 100644 index 703e73fe393..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/MainframeActionSummary.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -MainframeActionSummary::MainframeActionSummary(JsonView jsonValue) { *this = jsonValue; } - -MainframeActionSummary& MainframeActionSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("batch")) { - m_batch = jsonValue.GetObject("batch"); - m_batchHasBeenSet = true; - } - if (jsonValue.ValueExists("tn3270")) { - m_tn3270 = jsonValue.GetObject("tn3270"); - m_tn3270HasBeenSet = true; - } - return *this; -} - -JsonValue MainframeActionSummary::Jsonize() const { - JsonValue payload; - - if (m_batchHasBeenSet) { - payload.WithObject("batch", m_batch.Jsonize()); - } - - if (m_tn3270HasBeenSet) { - payload.WithObject("tn3270", m_tn3270.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/MainframeActionType.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/MainframeActionType.cpp deleted file mode 100644 index 4385fd3902e..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/MainframeActionType.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -MainframeActionType::MainframeActionType(JsonView jsonValue) { *this = jsonValue; } - -MainframeActionType& MainframeActionType::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("batch")) { - m_batch = jsonValue.GetObject("batch"); - m_batchHasBeenSet = true; - } - if (jsonValue.ValueExists("tn3270")) { - m_tn3270 = jsonValue.GetObject("tn3270"); - m_tn3270HasBeenSet = true; - } - return *this; -} - -JsonValue MainframeActionType::Jsonize() const { - JsonValue payload; - - if (m_batchHasBeenSet) { - payload.WithObject("batch", m_batch.Jsonize()); - } - - if (m_tn3270HasBeenSet) { - payload.WithObject("tn3270", m_tn3270.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/MainframeResourceSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/MainframeResourceSummary.cpp deleted file mode 100644 index c98e8a5e4f4..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/MainframeResourceSummary.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -MainframeResourceSummary::MainframeResourceSummary(JsonView jsonValue) { *this = jsonValue; } - -MainframeResourceSummary& MainframeResourceSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("m2ManagedApplication")) { - m_m2ManagedApplication = jsonValue.GetObject("m2ManagedApplication"); - m_m2ManagedApplicationHasBeenSet = true; - } - if (jsonValue.ValueExists("m2NonManagedApplication")) { - m_m2NonManagedApplication = jsonValue.GetObject("m2NonManagedApplication"); - m_m2NonManagedApplicationHasBeenSet = true; - } - return *this; -} - -JsonValue MainframeResourceSummary::Jsonize() const { - JsonValue payload; - - if (m_m2ManagedApplicationHasBeenSet) { - payload.WithObject("m2ManagedApplication", m_m2ManagedApplication.Jsonize()); - } - - if (m_m2NonManagedApplicationHasBeenSet) { - payload.WithObject("m2NonManagedApplication", m_m2NonManagedApplication.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/Output.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/Output.cpp deleted file mode 100644 index 8d0e163c78c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/Output.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -Output::Output(JsonView jsonValue) { *this = jsonValue; } - -Output& Output::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("file")) { - m_file = jsonValue.GetObject("file"); - m_fileHasBeenSet = true; - } - return *this; -} - -JsonValue Output::Jsonize() const { - JsonValue payload; - - if (m_fileHasBeenSet) { - payload.WithObject("file", m_file.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/OutputFile.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/OutputFile.cpp deleted file mode 100644 index e37cde50297..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/OutputFile.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -OutputFile::OutputFile(JsonView jsonValue) { *this = jsonValue; } - -OutputFile& OutputFile::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("fileLocation")) { - m_fileLocation = jsonValue.GetString("fileLocation"); - m_fileLocationHasBeenSet = true; - } - return *this; -} - -JsonValue OutputFile::Jsonize() const { - JsonValue payload; - - if (m_fileLocationHasBeenSet) { - payload.WithString("fileLocation", m_fileLocation); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/Resource.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/Resource.cpp deleted file mode 100644 index 7dab4be04ad..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/Resource.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -Resource::Resource(JsonView jsonValue) { *this = jsonValue; } - -Resource& Resource::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("type")) { - m_type = jsonValue.GetObject("type"); - m_typeHasBeenSet = true; - } - return *this; -} - -JsonValue Resource::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_typeHasBeenSet) { - payload.WithObject("type", m_type.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ResourceAction.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ResourceAction.cpp deleted file mode 100644 index 40f662eea4c..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ResourceAction.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -ResourceAction::ResourceAction(JsonView jsonValue) { *this = jsonValue; } - -ResourceAction& ResourceAction::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("m2ManagedApplicationAction")) { - m_m2ManagedApplicationAction = jsonValue.GetObject("m2ManagedApplicationAction"); - m_m2ManagedApplicationActionHasBeenSet = true; - } - if (jsonValue.ValueExists("m2NonManagedApplicationAction")) { - m_m2NonManagedApplicationAction = jsonValue.GetObject("m2NonManagedApplicationAction"); - m_m2NonManagedApplicationActionHasBeenSet = true; - } - if (jsonValue.ValueExists("cloudFormationAction")) { - m_cloudFormationAction = jsonValue.GetObject("cloudFormationAction"); - m_cloudFormationActionHasBeenSet = true; - } - return *this; -} - -JsonValue ResourceAction::Jsonize() const { - JsonValue payload; - - if (m_m2ManagedApplicationActionHasBeenSet) { - payload.WithObject("m2ManagedApplicationAction", m_m2ManagedApplicationAction.Jsonize()); - } - - if (m_m2NonManagedApplicationActionHasBeenSet) { - payload.WithObject("m2NonManagedApplicationAction", m_m2NonManagedApplicationAction.Jsonize()); - } - - if (m_cloudFormationActionHasBeenSet) { - payload.WithObject("cloudFormationAction", m_cloudFormationAction.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ResourceActionSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ResourceActionSummary.cpp deleted file mode 100644 index 046d907029e..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ResourceActionSummary.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -ResourceActionSummary::ResourceActionSummary(JsonView jsonValue) { *this = jsonValue; } - -ResourceActionSummary& ResourceActionSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("cloudFormation")) { - m_cloudFormation = jsonValue.GetObject("cloudFormation"); - m_cloudFormationHasBeenSet = true; - } - if (jsonValue.ValueExists("m2ManagedApplication")) { - m_m2ManagedApplication = jsonValue.GetObject("m2ManagedApplication"); - m_m2ManagedApplicationHasBeenSet = true; - } - if (jsonValue.ValueExists("m2NonManagedApplication")) { - m_m2NonManagedApplication = jsonValue.GetObject("m2NonManagedApplication"); - m_m2NonManagedApplicationHasBeenSet = true; - } - return *this; -} - -JsonValue ResourceActionSummary::Jsonize() const { - JsonValue payload; - - if (m_cloudFormationHasBeenSet) { - payload.WithObject("cloudFormation", m_cloudFormation.Jsonize()); - } - - if (m_m2ManagedApplicationHasBeenSet) { - payload.WithObject("m2ManagedApplication", m_m2ManagedApplication.Jsonize()); - } - - if (m_m2NonManagedApplicationHasBeenSet) { - payload.WithObject("m2NonManagedApplication", m_m2NonManagedApplication.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ResourceNotFoundException.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ResourceNotFoundException.cpp deleted file mode 100644 index 0d9be9d187d..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ResourceNotFoundException.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -ResourceNotFoundException::ResourceNotFoundException(JsonView jsonValue) { *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 AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ResourceType.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ResourceType.cpp deleted file mode 100644 index 83538d7667e..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ResourceType.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -ResourceType::ResourceType(JsonView jsonValue) { *this = jsonValue; } - -ResourceType& ResourceType::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("cloudFormation")) { - m_cloudFormation = jsonValue.GetObject("cloudFormation"); - m_cloudFormationHasBeenSet = true; - } - if (jsonValue.ValueExists("m2ManagedApplication")) { - m_m2ManagedApplication = jsonValue.GetObject("m2ManagedApplication"); - m_m2ManagedApplicationHasBeenSet = true; - } - if (jsonValue.ValueExists("m2NonManagedApplication")) { - m_m2NonManagedApplication = jsonValue.GetObject("m2NonManagedApplication"); - m_m2NonManagedApplicationHasBeenSet = true; - } - return *this; -} - -JsonValue ResourceType::Jsonize() const { - JsonValue payload; - - if (m_cloudFormationHasBeenSet) { - payload.WithObject("cloudFormation", m_cloudFormation.Jsonize()); - } - - if (m_m2ManagedApplicationHasBeenSet) { - payload.WithObject("m2ManagedApplication", m_m2ManagedApplication.Jsonize()); - } - - if (m_m2NonManagedApplicationHasBeenSet) { - payload.WithObject("m2NonManagedApplication", m_m2NonManagedApplication.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/Script.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/Script.cpp deleted file mode 100644 index 0c85ec1ba0f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/Script.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -Script::Script(JsonView jsonValue) { *this = jsonValue; } - -Script& Script::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("scriptLocation")) { - m_scriptLocation = jsonValue.GetString("scriptLocation"); - m_scriptLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("type")) { - m_type = ScriptTypeMapper::GetScriptTypeForName(jsonValue.GetString("type")); - m_typeHasBeenSet = true; - } - return *this; -} - -JsonValue Script::Jsonize() const { - JsonValue payload; - - if (m_scriptLocationHasBeenSet) { - payload.WithString("scriptLocation", m_scriptLocation); - } - - if (m_typeHasBeenSet) { - payload.WithString("type", ScriptTypeMapper::GetNameForScriptType(m_type)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ScriptSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ScriptSummary.cpp deleted file mode 100644 index 3d085354bf5..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ScriptSummary.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -ScriptSummary::ScriptSummary(JsonView jsonValue) { *this = jsonValue; } - -ScriptSummary& ScriptSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("scriptLocation")) { - m_scriptLocation = jsonValue.GetString("scriptLocation"); - m_scriptLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("type")) { - m_type = ScriptTypeMapper::GetScriptTypeForName(jsonValue.GetString("type")); - m_typeHasBeenSet = true; - } - return *this; -} - -JsonValue ScriptSummary::Jsonize() const { - JsonValue payload; - - if (m_scriptLocationHasBeenSet) { - payload.WithString("scriptLocation", m_scriptLocation); - } - - if (m_typeHasBeenSet) { - payload.WithString("type", ScriptTypeMapper::GetNameForScriptType(m_type)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ScriptType.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ScriptType.cpp deleted file mode 100644 index e6e760ef334..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ScriptType.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace ScriptTypeMapper { - -static const int Selenium_HASH = HashingUtils::HashString("Selenium"); - -ScriptType GetScriptTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Selenium_HASH) { - return ScriptType::Selenium; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return ScriptType::NOT_SET; -} - -Aws::String GetNameForScriptType(ScriptType enumValue) { - switch (enumValue) { - case ScriptType::NOT_SET: - return {}; - case ScriptType::Selenium: - return "Selenium"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ScriptTypeMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ServiceQuotaExceededException.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ServiceQuotaExceededException.cpp deleted file mode 100644 index 3765d9e8af5..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ServiceQuotaExceededException.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -ServiceQuotaExceededException::ServiceQuotaExceededException(JsonView jsonValue) { *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 AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ServiceSettings.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ServiceSettings.cpp deleted file mode 100644 index 89ca76382b5..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ServiceSettings.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -ServiceSettings::ServiceSettings(JsonView jsonValue) { *this = jsonValue; } - -ServiceSettings& ServiceSettings::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("kmsKeyId")) { - m_kmsKeyId = jsonValue.GetString("kmsKeyId"); - m_kmsKeyIdHasBeenSet = true; - } - return *this; -} - -JsonValue ServiceSettings::Jsonize() const { - JsonValue payload; - - if (m_kmsKeyIdHasBeenSet) { - payload.WithString("kmsKeyId", m_kmsKeyId); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/SourceDatabase.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/SourceDatabase.cpp deleted file mode 100644 index 4c9a97e92ec..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/SourceDatabase.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace SourceDatabaseMapper { - -static const int z_OS_DB2_HASH = HashingUtils::HashString("z/OS-DB2"); - -SourceDatabase GetSourceDatabaseForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == z_OS_DB2_HASH) { - return SourceDatabase::z_OS_DB2; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return SourceDatabase::NOT_SET; -} - -Aws::String GetNameForSourceDatabase(SourceDatabase enumValue) { - switch (enumValue) { - case SourceDatabase::NOT_SET: - return {}; - case SourceDatabase::z_OS_DB2: - return "z/OS-DB2"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace SourceDatabaseMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/SourceDatabaseMetadata.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/SourceDatabaseMetadata.cpp deleted file mode 100644 index f99afc77784..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/SourceDatabaseMetadata.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -SourceDatabaseMetadata::SourceDatabaseMetadata(JsonView jsonValue) { *this = jsonValue; } - -SourceDatabaseMetadata& SourceDatabaseMetadata::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("type")) { - m_type = SourceDatabaseMapper::GetSourceDatabaseForName(jsonValue.GetString("type")); - m_typeHasBeenSet = true; - } - if (jsonValue.ValueExists("captureTool")) { - m_captureTool = CaptureToolMapper::GetCaptureToolForName(jsonValue.GetString("captureTool")); - m_captureToolHasBeenSet = true; - } - return *this; -} - -JsonValue SourceDatabaseMetadata::Jsonize() const { - JsonValue payload; - - if (m_typeHasBeenSet) { - payload.WithString("type", SourceDatabaseMapper::GetNameForSourceDatabase(m_type)); - } - - if (m_captureToolHasBeenSet) { - payload.WithString("captureTool", CaptureToolMapper::GetNameForCaptureTool(m_captureTool)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/StartTestRunRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/StartTestRunRequest.cpp deleted file mode 100644 index 58dc468a75a..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/StartTestRunRequest.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String StartTestRunRequest::SerializePayload() const { - JsonValue payload; - - if (m_testSuiteIdHasBeenSet) { - payload.WithString("testSuiteId", m_testSuiteId); - } - - if (m_testConfigurationIdHasBeenSet) { - payload.WithString("testConfigurationId", m_testConfigurationId); - } - - 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)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/StartTestRunResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/StartTestRunResult.cpp deleted file mode 100644 index 4663f337505..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/StartTestRunResult.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -StartTestRunResult::StartTestRunResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -StartTestRunResult& StartTestRunResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testRunId")) { - m_testRunId = jsonValue.GetString("testRunId"); - m_testRunIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testRunStatus")) { - m_testRunStatus = TestRunStatusMapper::GetTestRunStatusForName(jsonValue.GetString("testRunStatus")); - m_testRunStatusHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/Step.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/Step.cpp deleted file mode 100644 index bea146f8d75..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/Step.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -Step::Step(JsonView jsonValue) { *this = jsonValue; } - -Step& Step::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("description")) { - m_description = jsonValue.GetString("description"); - m_descriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("action")) { - m_action = jsonValue.GetObject("action"); - m_actionHasBeenSet = true; - } - return *this; -} - -JsonValue Step::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_descriptionHasBeenSet) { - payload.WithString("description", m_description); - } - - if (m_actionHasBeenSet) { - payload.WithObject("action", m_action.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/StepAction.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/StepAction.cpp deleted file mode 100644 index c363c54b714..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/StepAction.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -StepAction::StepAction(JsonView jsonValue) { *this = jsonValue; } - -StepAction& StepAction::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("resourceAction")) { - m_resourceAction = jsonValue.GetObject("resourceAction"); - m_resourceActionHasBeenSet = true; - } - if (jsonValue.ValueExists("mainframeAction")) { - m_mainframeAction = jsonValue.GetObject("mainframeAction"); - m_mainframeActionHasBeenSet = true; - } - if (jsonValue.ValueExists("compareAction")) { - m_compareAction = jsonValue.GetObject("compareAction"); - m_compareActionHasBeenSet = true; - } - return *this; -} - -JsonValue StepAction::Jsonize() const { - JsonValue payload; - - if (m_resourceActionHasBeenSet) { - payload.WithObject("resourceAction", m_resourceAction.Jsonize()); - } - - if (m_mainframeActionHasBeenSet) { - payload.WithObject("mainframeAction", m_mainframeAction.Jsonize()); - } - - if (m_compareActionHasBeenSet) { - payload.WithObject("compareAction", m_compareAction.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/StepRunStatus.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/StepRunStatus.cpp deleted file mode 100644 index 4ef61717321..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/StepRunStatus.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace StepRunStatusMapper { - -static const int Success_HASH = HashingUtils::HashString("Success"); -static const int Failed_HASH = HashingUtils::HashString("Failed"); -static const int Running_HASH = HashingUtils::HashString("Running"); - -StepRunStatus GetStepRunStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Success_HASH) { - return StepRunStatus::Success; - } else if (hashCode == Failed_HASH) { - return StepRunStatus::Failed; - } else if (hashCode == Running_HASH) { - return StepRunStatus::Running; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return StepRunStatus::NOT_SET; -} - -Aws::String GetNameForStepRunStatus(StepRunStatus enumValue) { - switch (enumValue) { - case StepRunStatus::NOT_SET: - return {}; - case StepRunStatus::Success: - return "Success"; - case StepRunStatus::Failed: - return "Failed"; - case StepRunStatus::Running: - return "Running"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace StepRunStatusMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/StepRunSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/StepRunSummary.cpp deleted file mode 100644 index df01cf8aff6..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/StepRunSummary.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -StepRunSummary::StepRunSummary(JsonView jsonValue) { *this = jsonValue; } - -StepRunSummary& StepRunSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("mainframeAction")) { - m_mainframeAction = jsonValue.GetObject("mainframeAction"); - m_mainframeActionHasBeenSet = true; - } - if (jsonValue.ValueExists("compareAction")) { - m_compareAction = jsonValue.GetObject("compareAction"); - m_compareActionHasBeenSet = true; - } - if (jsonValue.ValueExists("resourceAction")) { - m_resourceAction = jsonValue.GetObject("resourceAction"); - m_resourceActionHasBeenSet = true; - } - return *this; -} - -JsonValue StepRunSummary::Jsonize() const { - JsonValue payload; - - if (m_mainframeActionHasBeenSet) { - payload.WithObject("mainframeAction", m_mainframeAction.Jsonize()); - } - - if (m_compareActionHasBeenSet) { - payload.WithObject("compareAction", m_compareAction.Jsonize()); - } - - if (m_resourceActionHasBeenSet) { - payload.WithObject("resourceAction", m_resourceAction.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TN3270.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TN3270.cpp deleted file mode 100644 index e3f2d9feba7..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TN3270.cpp +++ /dev/null @@ -1,57 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TN3270::TN3270(JsonView jsonValue) { *this = jsonValue; } - -TN3270& TN3270::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("script")) { - m_script = jsonValue.GetObject("script"); - m_scriptHasBeenSet = true; - } - if (jsonValue.ValueExists("exportDataSetNames")) { - Aws::Utils::Array exportDataSetNamesJsonList = jsonValue.GetArray("exportDataSetNames"); - for (unsigned exportDataSetNamesIndex = 0; exportDataSetNamesIndex < exportDataSetNamesJsonList.GetLength(); - ++exportDataSetNamesIndex) { - m_exportDataSetNames.push_back(exportDataSetNamesJsonList[exportDataSetNamesIndex].AsString()); - } - m_exportDataSetNamesHasBeenSet = true; - } - return *this; -} - -JsonValue TN3270::Jsonize() const { - JsonValue payload; - - if (m_scriptHasBeenSet) { - payload.WithObject("script", m_script.Jsonize()); - } - - if (m_exportDataSetNamesHasBeenSet) { - Aws::Utils::Array exportDataSetNamesJsonList(m_exportDataSetNames.size()); - for (unsigned exportDataSetNamesIndex = 0; exportDataSetNamesIndex < exportDataSetNamesJsonList.GetLength(); - ++exportDataSetNamesIndex) { - exportDataSetNamesJsonList[exportDataSetNamesIndex].AsString(m_exportDataSetNames[exportDataSetNamesIndex]); - } - payload.WithArray("exportDataSetNames", std::move(exportDataSetNamesJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TN3270StepInput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TN3270StepInput.cpp deleted file mode 100644 index 096d43b680a..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TN3270StepInput.cpp +++ /dev/null @@ -1,73 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TN3270StepInput::TN3270StepInput(JsonView jsonValue) { *this = jsonValue; } - -TN3270StepInput& TN3270StepInput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("resource")) { - m_resource = jsonValue.GetObject("resource"); - m_resourceHasBeenSet = true; - } - if (jsonValue.ValueExists("script")) { - m_script = jsonValue.GetObject("script"); - m_scriptHasBeenSet = true; - } - if (jsonValue.ValueExists("exportDataSetNames")) { - Aws::Utils::Array exportDataSetNamesJsonList = jsonValue.GetArray("exportDataSetNames"); - for (unsigned exportDataSetNamesIndex = 0; exportDataSetNamesIndex < exportDataSetNamesJsonList.GetLength(); - ++exportDataSetNamesIndex) { - m_exportDataSetNames.push_back(exportDataSetNamesJsonList[exportDataSetNamesIndex].AsString()); - } - m_exportDataSetNamesHasBeenSet = true; - } - if (jsonValue.ValueExists("properties")) { - m_properties = jsonValue.GetObject("properties"); - m_propertiesHasBeenSet = true; - } - return *this; -} - -JsonValue TN3270StepInput::Jsonize() const { - JsonValue payload; - - if (m_resourceHasBeenSet) { - payload.WithObject("resource", m_resource.Jsonize()); - } - - if (m_scriptHasBeenSet) { - payload.WithObject("script", m_script.Jsonize()); - } - - if (m_exportDataSetNamesHasBeenSet) { - Aws::Utils::Array exportDataSetNamesJsonList(m_exportDataSetNames.size()); - for (unsigned exportDataSetNamesIndex = 0; exportDataSetNamesIndex < exportDataSetNamesJsonList.GetLength(); - ++exportDataSetNamesIndex) { - exportDataSetNamesJsonList[exportDataSetNamesIndex].AsString(m_exportDataSetNames[exportDataSetNamesIndex]); - } - payload.WithArray("exportDataSetNames", std::move(exportDataSetNamesJsonList)); - } - - if (m_propertiesHasBeenSet) { - payload.WithObject("properties", m_properties.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TN3270StepOutput.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TN3270StepOutput.cpp deleted file mode 100644 index e11798e7630..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TN3270StepOutput.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TN3270StepOutput::TN3270StepOutput(JsonView jsonValue) { *this = jsonValue; } - -TN3270StepOutput& TN3270StepOutput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("dataSetExportLocation")) { - m_dataSetExportLocation = jsonValue.GetString("dataSetExportLocation"); - m_dataSetExportLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("dmsOutputLocation")) { - m_dmsOutputLocation = jsonValue.GetString("dmsOutputLocation"); - m_dmsOutputLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("dataSetDetails")) { - Aws::Utils::Array dataSetDetailsJsonList = jsonValue.GetArray("dataSetDetails"); - for (unsigned dataSetDetailsIndex = 0; dataSetDetailsIndex < dataSetDetailsJsonList.GetLength(); ++dataSetDetailsIndex) { - m_dataSetDetails.push_back(dataSetDetailsJsonList[dataSetDetailsIndex].AsObject()); - } - m_dataSetDetailsHasBeenSet = true; - } - if (jsonValue.ValueExists("scriptOutputLocation")) { - m_scriptOutputLocation = jsonValue.GetString("scriptOutputLocation"); - m_scriptOutputLocationHasBeenSet = true; - } - return *this; -} - -JsonValue TN3270StepOutput::Jsonize() const { - JsonValue payload; - - if (m_dataSetExportLocationHasBeenSet) { - payload.WithString("dataSetExportLocation", m_dataSetExportLocation); - } - - if (m_dmsOutputLocationHasBeenSet) { - payload.WithString("dmsOutputLocation", m_dmsOutputLocation); - } - - if (m_dataSetDetailsHasBeenSet) { - Aws::Utils::Array dataSetDetailsJsonList(m_dataSetDetails.size()); - for (unsigned dataSetDetailsIndex = 0; dataSetDetailsIndex < dataSetDetailsJsonList.GetLength(); ++dataSetDetailsIndex) { - dataSetDetailsJsonList[dataSetDetailsIndex].AsObject(m_dataSetDetails[dataSetDetailsIndex].Jsonize()); - } - payload.WithArray("dataSetDetails", std::move(dataSetDetailsJsonList)); - } - - if (m_scriptOutputLocationHasBeenSet) { - payload.WithString("scriptOutputLocation", m_scriptOutputLocation); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TN3270Summary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TN3270Summary.cpp deleted file mode 100644 index 34f5761a4bf..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TN3270Summary.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TN3270Summary::TN3270Summary(JsonView jsonValue) { *this = jsonValue; } - -TN3270Summary& TN3270Summary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("stepInput")) { - m_stepInput = jsonValue.GetObject("stepInput"); - m_stepInputHasBeenSet = true; - } - if (jsonValue.ValueExists("stepOutput")) { - m_stepOutput = jsonValue.GetObject("stepOutput"); - m_stepOutputHasBeenSet = true; - } - return *this; -} - -JsonValue TN3270Summary::Jsonize() const { - JsonValue payload; - - if (m_stepInputHasBeenSet) { - payload.WithObject("stepInput", m_stepInput.Jsonize()); - } - - if (m_stepOutputHasBeenSet) { - payload.WithObject("stepOutput", m_stepOutput.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TagResourceRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TagResourceRequest.cpp deleted file mode 100644 index 8efd4aba375..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TagResourceRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -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-apptest/source/model/TagResourceResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TagResourceResult.cpp deleted file mode 100644 index c7cadacc10b..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TagResourceResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TargetDatabase.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TargetDatabase.cpp deleted file mode 100644 index bcea2da3c93..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TargetDatabase.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace TargetDatabaseMapper { - -static const int PostgreSQL_HASH = HashingUtils::HashString("PostgreSQL"); - -TargetDatabase GetTargetDatabaseForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == PostgreSQL_HASH) { - return TargetDatabase::PostgreSQL; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return TargetDatabase::NOT_SET; -} - -Aws::String GetNameForTargetDatabase(TargetDatabase enumValue) { - switch (enumValue) { - case TargetDatabase::NOT_SET: - return {}; - case TargetDatabase::PostgreSQL: - return "PostgreSQL"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace TargetDatabaseMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TargetDatabaseMetadata.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TargetDatabaseMetadata.cpp deleted file mode 100644 index 43e22f26f59..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TargetDatabaseMetadata.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TargetDatabaseMetadata::TargetDatabaseMetadata(JsonView jsonValue) { *this = jsonValue; } - -TargetDatabaseMetadata& TargetDatabaseMetadata::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("type")) { - m_type = TargetDatabaseMapper::GetTargetDatabaseForName(jsonValue.GetString("type")); - m_typeHasBeenSet = true; - } - if (jsonValue.ValueExists("captureTool")) { - m_captureTool = CaptureToolMapper::GetCaptureToolForName(jsonValue.GetString("captureTool")); - m_captureToolHasBeenSet = true; - } - return *this; -} - -JsonValue TargetDatabaseMetadata::Jsonize() const { - JsonValue payload; - - if (m_typeHasBeenSet) { - payload.WithString("type", TargetDatabaseMapper::GetNameForTargetDatabase(m_type)); - } - - if (m_captureToolHasBeenSet) { - payload.WithString("captureTool", CaptureToolMapper::GetNameForCaptureTool(m_captureTool)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseLatestVersion.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseLatestVersion.cpp deleted file mode 100644 index b780a6c2d77..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseLatestVersion.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TestCaseLatestVersion::TestCaseLatestVersion(JsonView jsonValue) { *this = jsonValue; } - -TestCaseLatestVersion& TestCaseLatestVersion::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetInteger("version"); - m_versionHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = TestCaseLifecycleMapper::GetTestCaseLifecycleForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("statusReason")) { - m_statusReason = jsonValue.GetString("statusReason"); - m_statusReasonHasBeenSet = true; - } - return *this; -} - -JsonValue TestCaseLatestVersion::Jsonize() const { - JsonValue payload; - - if (m_versionHasBeenSet) { - payload.WithInteger("version", m_version); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", TestCaseLifecycleMapper::GetNameForTestCaseLifecycle(m_status)); - } - - if (m_statusReasonHasBeenSet) { - payload.WithString("statusReason", m_statusReason); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseLifecycle.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseLifecycle.cpp deleted file mode 100644 index e5431d5c2df..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseLifecycle.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace TestCaseLifecycleMapper { - -static const int Active_HASH = HashingUtils::HashString("Active"); -static const int Deleting_HASH = HashingUtils::HashString("Deleting"); - -TestCaseLifecycle GetTestCaseLifecycleForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Active_HASH) { - return TestCaseLifecycle::Active; - } else if (hashCode == Deleting_HASH) { - return TestCaseLifecycle::Deleting; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return TestCaseLifecycle::NOT_SET; -} - -Aws::String GetNameForTestCaseLifecycle(TestCaseLifecycle enumValue) { - switch (enumValue) { - case TestCaseLifecycle::NOT_SET: - return {}; - case TestCaseLifecycle::Active: - return "Active"; - case TestCaseLifecycle::Deleting: - return "Deleting"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace TestCaseLifecycleMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseRunStatus.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseRunStatus.cpp deleted file mode 100644 index 12b6761a5f9..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseRunStatus.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace TestCaseRunStatusMapper { - -static const int Success_HASH = HashingUtils::HashString("Success"); -static const int Running_HASH = HashingUtils::HashString("Running"); -static const int Failed_HASH = HashingUtils::HashString("Failed"); - -TestCaseRunStatus GetTestCaseRunStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Success_HASH) { - return TestCaseRunStatus::Success; - } else if (hashCode == Running_HASH) { - return TestCaseRunStatus::Running; - } else if (hashCode == Failed_HASH) { - return TestCaseRunStatus::Failed; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return TestCaseRunStatus::NOT_SET; -} - -Aws::String GetNameForTestCaseRunStatus(TestCaseRunStatus enumValue) { - switch (enumValue) { - case TestCaseRunStatus::NOT_SET: - return {}; - case TestCaseRunStatus::Success: - return "Success"; - case TestCaseRunStatus::Running: - return "Running"; - case TestCaseRunStatus::Failed: - return "Failed"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace TestCaseRunStatusMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseRunSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseRunSummary.cpp deleted file mode 100644 index 594c339b657..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseRunSummary.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TestCaseRunSummary::TestCaseRunSummary(JsonView jsonValue) { *this = jsonValue; } - -TestCaseRunSummary& TestCaseRunSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("testCaseId")) { - m_testCaseId = jsonValue.GetString("testCaseId"); - m_testCaseIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testCaseVersion")) { - m_testCaseVersion = jsonValue.GetInteger("testCaseVersion"); - m_testCaseVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("testRunId")) { - m_testRunId = jsonValue.GetString("testRunId"); - m_testRunIdHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = TestCaseRunStatusMapper::GetTestCaseRunStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("statusReason")) { - m_statusReason = jsonValue.GetString("statusReason"); - m_statusReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("runStartTime")) { - m_runStartTime = jsonValue.GetDouble("runStartTime"); - m_runStartTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("runEndTime")) { - m_runEndTime = jsonValue.GetDouble("runEndTime"); - m_runEndTimeHasBeenSet = true; - } - return *this; -} - -JsonValue TestCaseRunSummary::Jsonize() const { - JsonValue payload; - - if (m_testCaseIdHasBeenSet) { - payload.WithString("testCaseId", m_testCaseId); - } - - if (m_testCaseVersionHasBeenSet) { - payload.WithInteger("testCaseVersion", m_testCaseVersion); - } - - if (m_testRunIdHasBeenSet) { - payload.WithString("testRunId", m_testRunId); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", TestCaseRunStatusMapper::GetNameForTestCaseRunStatus(m_status)); - } - - if (m_statusReasonHasBeenSet) { - payload.WithString("statusReason", m_statusReason); - } - - if (m_runStartTimeHasBeenSet) { - payload.WithDouble("runStartTime", m_runStartTime.SecondsWithMSPrecision()); - } - - if (m_runEndTimeHasBeenSet) { - payload.WithDouble("runEndTime", m_runEndTime.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseSummary.cpp deleted file mode 100644 index db0d4b4dfa7..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestCaseSummary.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TestCaseSummary::TestCaseSummary(JsonView jsonValue) { *this = jsonValue; } - -TestCaseSummary& TestCaseSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("testCaseId")) { - m_testCaseId = jsonValue.GetString("testCaseId"); - m_testCaseIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testCaseArn")) { - m_testCaseArn = jsonValue.GetString("testCaseArn"); - m_testCaseArnHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("statusReason")) { - m_statusReason = jsonValue.GetString("statusReason"); - m_statusReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("latestVersion")) { - m_latestVersion = jsonValue.GetInteger("latestVersion"); - m_latestVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = TestCaseLifecycleMapper::GetTestCaseLifecycleForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("creationTime")) { - m_creationTime = jsonValue.GetDouble("creationTime"); - m_creationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdateTime")) { - m_lastUpdateTime = jsonValue.GetDouble("lastUpdateTime"); - m_lastUpdateTimeHasBeenSet = true; - } - return *this; -} - -JsonValue TestCaseSummary::Jsonize() const { - JsonValue payload; - - if (m_testCaseIdHasBeenSet) { - payload.WithString("testCaseId", m_testCaseId); - } - - if (m_testCaseArnHasBeenSet) { - payload.WithString("testCaseArn", m_testCaseArn); - } - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_statusReasonHasBeenSet) { - payload.WithString("statusReason", m_statusReason); - } - - if (m_latestVersionHasBeenSet) { - payload.WithInteger("latestVersion", m_latestVersion); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", TestCaseLifecycleMapper::GetNameForTestCaseLifecycle(m_status)); - } - - if (m_creationTimeHasBeenSet) { - payload.WithDouble("creationTime", m_creationTime.SecondsWithMSPrecision()); - } - - if (m_lastUpdateTimeHasBeenSet) { - payload.WithDouble("lastUpdateTime", m_lastUpdateTime.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestCases.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestCases.cpp deleted file mode 100644 index 3f3ae299001..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestCases.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TestCases::TestCases(JsonView jsonValue) { *this = jsonValue; } - -TestCases& TestCases::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("sequential")) { - Aws::Utils::Array sequentialJsonList = jsonValue.GetArray("sequential"); - for (unsigned sequentialIndex = 0; sequentialIndex < sequentialJsonList.GetLength(); ++sequentialIndex) { - m_sequential.push_back(sequentialJsonList[sequentialIndex].AsString()); - } - m_sequentialHasBeenSet = true; - } - return *this; -} - -JsonValue TestCases::Jsonize() const { - JsonValue payload; - - if (m_sequentialHasBeenSet) { - Aws::Utils::Array sequentialJsonList(m_sequential.size()); - for (unsigned sequentialIndex = 0; sequentialIndex < sequentialJsonList.GetLength(); ++sequentialIndex) { - sequentialJsonList[sequentialIndex].AsString(m_sequential[sequentialIndex]); - } - payload.WithArray("sequential", std::move(sequentialJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestConfigurationLatestVersion.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestConfigurationLatestVersion.cpp deleted file mode 100644 index 12ac35cb494..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestConfigurationLatestVersion.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TestConfigurationLatestVersion::TestConfigurationLatestVersion(JsonView jsonValue) { *this = jsonValue; } - -TestConfigurationLatestVersion& TestConfigurationLatestVersion::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetInteger("version"); - m_versionHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = TestConfigurationLifecycleMapper::GetTestConfigurationLifecycleForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("statusReason")) { - m_statusReason = jsonValue.GetString("statusReason"); - m_statusReasonHasBeenSet = true; - } - return *this; -} - -JsonValue TestConfigurationLatestVersion::Jsonize() const { - JsonValue payload; - - if (m_versionHasBeenSet) { - payload.WithInteger("version", m_version); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", TestConfigurationLifecycleMapper::GetNameForTestConfigurationLifecycle(m_status)); - } - - if (m_statusReasonHasBeenSet) { - payload.WithString("statusReason", m_statusReason); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestConfigurationLifecycle.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestConfigurationLifecycle.cpp deleted file mode 100644 index a486e4b39e8..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestConfigurationLifecycle.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace TestConfigurationLifecycleMapper { - -static const int Active_HASH = HashingUtils::HashString("Active"); -static const int Deleting_HASH = HashingUtils::HashString("Deleting"); - -TestConfigurationLifecycle GetTestConfigurationLifecycleForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Active_HASH) { - return TestConfigurationLifecycle::Active; - } else if (hashCode == Deleting_HASH) { - return TestConfigurationLifecycle::Deleting; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return TestConfigurationLifecycle::NOT_SET; -} - -Aws::String GetNameForTestConfigurationLifecycle(TestConfigurationLifecycle enumValue) { - switch (enumValue) { - case TestConfigurationLifecycle::NOT_SET: - return {}; - case TestConfigurationLifecycle::Active: - return "Active"; - case TestConfigurationLifecycle::Deleting: - return "Deleting"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace TestConfigurationLifecycleMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestConfigurationSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestConfigurationSummary.cpp deleted file mode 100644 index ef031877357..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestConfigurationSummary.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TestConfigurationSummary::TestConfigurationSummary(JsonView jsonValue) { *this = jsonValue; } - -TestConfigurationSummary& TestConfigurationSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("testConfigurationId")) { - m_testConfigurationId = jsonValue.GetString("testConfigurationId"); - m_testConfigurationIdHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("statusReason")) { - m_statusReason = jsonValue.GetString("statusReason"); - m_statusReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("latestVersion")) { - m_latestVersion = jsonValue.GetInteger("latestVersion"); - m_latestVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("testConfigurationArn")) { - m_testConfigurationArn = jsonValue.GetString("testConfigurationArn"); - m_testConfigurationArnHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = TestConfigurationLifecycleMapper::GetTestConfigurationLifecycleForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("creationTime")) { - m_creationTime = jsonValue.GetDouble("creationTime"); - m_creationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdateTime")) { - m_lastUpdateTime = jsonValue.GetDouble("lastUpdateTime"); - m_lastUpdateTimeHasBeenSet = true; - } - return *this; -} - -JsonValue TestConfigurationSummary::Jsonize() const { - JsonValue payload; - - if (m_testConfigurationIdHasBeenSet) { - payload.WithString("testConfigurationId", m_testConfigurationId); - } - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_statusReasonHasBeenSet) { - payload.WithString("statusReason", m_statusReason); - } - - if (m_latestVersionHasBeenSet) { - payload.WithInteger("latestVersion", m_latestVersion); - } - - if (m_testConfigurationArnHasBeenSet) { - payload.WithString("testConfigurationArn", m_testConfigurationArn); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", TestConfigurationLifecycleMapper::GetNameForTestConfigurationLifecycle(m_status)); - } - - if (m_creationTimeHasBeenSet) { - payload.WithDouble("creationTime", m_creationTime.SecondsWithMSPrecision()); - } - - if (m_lastUpdateTimeHasBeenSet) { - payload.WithDouble("lastUpdateTime", m_lastUpdateTime.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestRunStatus.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestRunStatus.cpp deleted file mode 100644 index 41c9d15172a..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestRunStatus.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace TestRunStatusMapper { - -static const int Success_HASH = HashingUtils::HashString("Success"); -static const int Running_HASH = HashingUtils::HashString("Running"); -static const int Failed_HASH = HashingUtils::HashString("Failed"); -static const int Deleting_HASH = HashingUtils::HashString("Deleting"); - -TestRunStatus GetTestRunStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Success_HASH) { - return TestRunStatus::Success; - } else if (hashCode == Running_HASH) { - return TestRunStatus::Running; - } else if (hashCode == Failed_HASH) { - return TestRunStatus::Failed; - } else if (hashCode == Deleting_HASH) { - return TestRunStatus::Deleting; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return TestRunStatus::NOT_SET; -} - -Aws::String GetNameForTestRunStatus(TestRunStatus enumValue) { - switch (enumValue) { - case TestRunStatus::NOT_SET: - return {}; - case TestRunStatus::Success: - return "Success"; - case TestRunStatus::Running: - return "Running"; - case TestRunStatus::Failed: - return "Failed"; - case TestRunStatus::Deleting: - return "Deleting"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace TestRunStatusMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestRunStepSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestRunStepSummary.cpp deleted file mode 100644 index 75eea1f0962..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestRunStepSummary.cpp +++ /dev/null @@ -1,128 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TestRunStepSummary::TestRunStepSummary(JsonView jsonValue) { *this = jsonValue; } - -TestRunStepSummary& TestRunStepSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("stepName")) { - m_stepName = jsonValue.GetString("stepName"); - m_stepNameHasBeenSet = true; - } - if (jsonValue.ValueExists("testRunId")) { - m_testRunId = jsonValue.GetString("testRunId"); - m_testRunIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testCaseId")) { - m_testCaseId = jsonValue.GetString("testCaseId"); - m_testCaseIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testCaseVersion")) { - m_testCaseVersion = jsonValue.GetInteger("testCaseVersion"); - m_testCaseVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("testSuiteId")) { - m_testSuiteId = jsonValue.GetString("testSuiteId"); - m_testSuiteIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testSuiteVersion")) { - m_testSuiteVersion = jsonValue.GetInteger("testSuiteVersion"); - m_testSuiteVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("beforeStep")) { - m_beforeStep = jsonValue.GetBool("beforeStep"); - m_beforeStepHasBeenSet = true; - } - if (jsonValue.ValueExists("afterStep")) { - m_afterStep = jsonValue.GetBool("afterStep"); - m_afterStepHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = StepRunStatusMapper::GetStepRunStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("statusReason")) { - m_statusReason = jsonValue.GetString("statusReason"); - m_statusReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("runStartTime")) { - m_runStartTime = jsonValue.GetDouble("runStartTime"); - m_runStartTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("runEndTime")) { - m_runEndTime = jsonValue.GetDouble("runEndTime"); - m_runEndTimeHasBeenSet = true; - } - return *this; -} - -JsonValue TestRunStepSummary::Jsonize() const { - JsonValue payload; - - if (m_stepNameHasBeenSet) { - payload.WithString("stepName", m_stepName); - } - - if (m_testRunIdHasBeenSet) { - payload.WithString("testRunId", m_testRunId); - } - - if (m_testCaseIdHasBeenSet) { - payload.WithString("testCaseId", m_testCaseId); - } - - if (m_testCaseVersionHasBeenSet) { - payload.WithInteger("testCaseVersion", m_testCaseVersion); - } - - if (m_testSuiteIdHasBeenSet) { - payload.WithString("testSuiteId", m_testSuiteId); - } - - if (m_testSuiteVersionHasBeenSet) { - payload.WithInteger("testSuiteVersion", m_testSuiteVersion); - } - - if (m_beforeStepHasBeenSet) { - payload.WithBool("beforeStep", m_beforeStep); - } - - if (m_afterStepHasBeenSet) { - payload.WithBool("afterStep", m_afterStep); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", StepRunStatusMapper::GetNameForStepRunStatus(m_status)); - } - - if (m_statusReasonHasBeenSet) { - payload.WithString("statusReason", m_statusReason); - } - - if (m_runStartTimeHasBeenSet) { - payload.WithDouble("runStartTime", m_runStartTime.SecondsWithMSPrecision()); - } - - if (m_runEndTimeHasBeenSet) { - payload.WithDouble("runEndTime", m_runEndTime.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestRunSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestRunSummary.cpp deleted file mode 100644 index 232e173e04a..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestRunSummary.cpp +++ /dev/null @@ -1,112 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TestRunSummary::TestRunSummary(JsonView jsonValue) { *this = jsonValue; } - -TestRunSummary& TestRunSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("testRunId")) { - m_testRunId = jsonValue.GetString("testRunId"); - m_testRunIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testRunArn")) { - m_testRunArn = jsonValue.GetString("testRunArn"); - m_testRunArnHasBeenSet = true; - } - if (jsonValue.ValueExists("testSuiteId")) { - m_testSuiteId = jsonValue.GetString("testSuiteId"); - m_testSuiteIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testSuiteVersion")) { - m_testSuiteVersion = jsonValue.GetInteger("testSuiteVersion"); - m_testSuiteVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("testConfigurationId")) { - m_testConfigurationId = jsonValue.GetString("testConfigurationId"); - m_testConfigurationIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testConfigurationVersion")) { - m_testConfigurationVersion = jsonValue.GetInteger("testConfigurationVersion"); - m_testConfigurationVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = TestRunStatusMapper::GetTestRunStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("statusReason")) { - m_statusReason = jsonValue.GetString("statusReason"); - m_statusReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("runStartTime")) { - m_runStartTime = jsonValue.GetDouble("runStartTime"); - m_runStartTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("runEndTime")) { - m_runEndTime = jsonValue.GetDouble("runEndTime"); - m_runEndTimeHasBeenSet = true; - } - return *this; -} - -JsonValue TestRunSummary::Jsonize() const { - JsonValue payload; - - if (m_testRunIdHasBeenSet) { - payload.WithString("testRunId", m_testRunId); - } - - if (m_testRunArnHasBeenSet) { - payload.WithString("testRunArn", m_testRunArn); - } - - if (m_testSuiteIdHasBeenSet) { - payload.WithString("testSuiteId", m_testSuiteId); - } - - if (m_testSuiteVersionHasBeenSet) { - payload.WithInteger("testSuiteVersion", m_testSuiteVersion); - } - - if (m_testConfigurationIdHasBeenSet) { - payload.WithString("testConfigurationId", m_testConfigurationId); - } - - if (m_testConfigurationVersionHasBeenSet) { - payload.WithInteger("testConfigurationVersion", m_testConfigurationVersion); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", TestRunStatusMapper::GetNameForTestRunStatus(m_status)); - } - - if (m_statusReasonHasBeenSet) { - payload.WithString("statusReason", m_statusReason); - } - - if (m_runStartTimeHasBeenSet) { - payload.WithDouble("runStartTime", m_runStartTime.SecondsWithMSPrecision()); - } - - if (m_runEndTimeHasBeenSet) { - payload.WithDouble("runEndTime", m_runEndTime.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestSuiteLatestVersion.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestSuiteLatestVersion.cpp deleted file mode 100644 index 5b28c4c0aba..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestSuiteLatestVersion.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TestSuiteLatestVersion::TestSuiteLatestVersion(JsonView jsonValue) { *this = jsonValue; } - -TestSuiteLatestVersion& TestSuiteLatestVersion::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetInteger("version"); - m_versionHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = TestSuiteLifecycleMapper::GetTestSuiteLifecycleForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("statusReason")) { - m_statusReason = jsonValue.GetString("statusReason"); - m_statusReasonHasBeenSet = true; - } - return *this; -} - -JsonValue TestSuiteLatestVersion::Jsonize() const { - JsonValue payload; - - if (m_versionHasBeenSet) { - payload.WithInteger("version", m_version); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", TestSuiteLifecycleMapper::GetNameForTestSuiteLifecycle(m_status)); - } - - if (m_statusReasonHasBeenSet) { - payload.WithString("statusReason", m_statusReason); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestSuiteLifecycle.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestSuiteLifecycle.cpp deleted file mode 100644 index edfecb77354..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestSuiteLifecycle.cpp +++ /dev/null @@ -1,73 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace TestSuiteLifecycleMapper { - -static const int Creating_HASH = HashingUtils::HashString("Creating"); -static const int Updating_HASH = HashingUtils::HashString("Updating"); -static const int Active_HASH = HashingUtils::HashString("Active"); -static const int Failed_HASH = HashingUtils::HashString("Failed"); -static const int Deleting_HASH = HashingUtils::HashString("Deleting"); - -TestSuiteLifecycle GetTestSuiteLifecycleForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Creating_HASH) { - return TestSuiteLifecycle::Creating; - } else if (hashCode == Updating_HASH) { - return TestSuiteLifecycle::Updating; - } else if (hashCode == Active_HASH) { - return TestSuiteLifecycle::Active; - } else if (hashCode == Failed_HASH) { - return TestSuiteLifecycle::Failed; - } else if (hashCode == Deleting_HASH) { - return TestSuiteLifecycle::Deleting; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return TestSuiteLifecycle::NOT_SET; -} - -Aws::String GetNameForTestSuiteLifecycle(TestSuiteLifecycle enumValue) { - switch (enumValue) { - case TestSuiteLifecycle::NOT_SET: - return {}; - case TestSuiteLifecycle::Creating: - return "Creating"; - case TestSuiteLifecycle::Updating: - return "Updating"; - case TestSuiteLifecycle::Active: - return "Active"; - case TestSuiteLifecycle::Failed: - return "Failed"; - case TestSuiteLifecycle::Deleting: - return "Deleting"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace TestSuiteLifecycleMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/TestSuiteSummary.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/TestSuiteSummary.cpp deleted file mode 100644 index d18cb0e19e9..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/TestSuiteSummary.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -TestSuiteSummary::TestSuiteSummary(JsonView jsonValue) { *this = jsonValue; } - -TestSuiteSummary& TestSuiteSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("testSuiteId")) { - m_testSuiteId = jsonValue.GetString("testSuiteId"); - m_testSuiteIdHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("statusReason")) { - m_statusReason = jsonValue.GetString("statusReason"); - m_statusReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("latestVersion")) { - m_latestVersion = jsonValue.GetInteger("latestVersion"); - m_latestVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("testSuiteArn")) { - m_testSuiteArn = jsonValue.GetString("testSuiteArn"); - m_testSuiteArnHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = TestSuiteLifecycleMapper::GetTestSuiteLifecycleForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("creationTime")) { - m_creationTime = jsonValue.GetDouble("creationTime"); - m_creationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdateTime")) { - m_lastUpdateTime = jsonValue.GetDouble("lastUpdateTime"); - m_lastUpdateTimeHasBeenSet = true; - } - return *this; -} - -JsonValue TestSuiteSummary::Jsonize() const { - JsonValue payload; - - if (m_testSuiteIdHasBeenSet) { - payload.WithString("testSuiteId", m_testSuiteId); - } - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_statusReasonHasBeenSet) { - payload.WithString("statusReason", m_statusReason); - } - - if (m_latestVersionHasBeenSet) { - payload.WithInteger("latestVersion", m_latestVersion); - } - - if (m_testSuiteArnHasBeenSet) { - payload.WithString("testSuiteArn", m_testSuiteArn); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", TestSuiteLifecycleMapper::GetNameForTestSuiteLifecycle(m_status)); - } - - if (m_creationTimeHasBeenSet) { - payload.WithDouble("creationTime", m_creationTime.SecondsWithMSPrecision()); - } - - if (m_lastUpdateTimeHasBeenSet) { - payload.WithDouble("lastUpdateTime", m_lastUpdateTime.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ThrottlingException.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ThrottlingException.cpp deleted file mode 100644 index fafc1070f4b..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ThrottlingException.cpp +++ /dev/null @@ -1,57 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -ThrottlingException::ThrottlingException(JsonView jsonValue) { *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 AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/UntagResourceRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/UntagResourceRequest.cpp deleted file mode 100644 index 66989975945..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/UntagResourceRequest.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -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-apptest/source/model/UntagResourceResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/UntagResourceResult.cpp deleted file mode 100644 index 5495b143fb4..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/UntagResourceResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestCaseRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestCaseRequest.cpp deleted file mode 100644 index f8aacb50276..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestCaseRequest.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String UpdateTestCaseRequest::SerializePayload() const { - JsonValue payload; - - if (m_descriptionHasBeenSet) { - payload.WithString("description", m_description); - } - - if (m_stepsHasBeenSet) { - Aws::Utils::Array stepsJsonList(m_steps.size()); - for (unsigned stepsIndex = 0; stepsIndex < stepsJsonList.GetLength(); ++stepsIndex) { - stepsJsonList[stepsIndex].AsObject(m_steps[stepsIndex].Jsonize()); - } - payload.WithArray("steps", std::move(stepsJsonList)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestCaseResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestCaseResult.cpp deleted file mode 100644 index 91f7439cf66..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestCaseResult.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -UpdateTestCaseResult::UpdateTestCaseResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -UpdateTestCaseResult& UpdateTestCaseResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testCaseId")) { - m_testCaseId = jsonValue.GetString("testCaseId"); - m_testCaseIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testCaseVersion")) { - m_testCaseVersion = jsonValue.GetInteger("testCaseVersion"); - m_testCaseVersionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestConfigurationRequest.cpp deleted file mode 100644 index 3c995cb4ecf..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestConfigurationRequest.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String UpdateTestConfigurationRequest::SerializePayload() const { - JsonValue payload; - - if (m_descriptionHasBeenSet) { - payload.WithString("description", m_description); - } - - if (m_resourcesHasBeenSet) { - Aws::Utils::Array resourcesJsonList(m_resources.size()); - for (unsigned resourcesIndex = 0; resourcesIndex < resourcesJsonList.GetLength(); ++resourcesIndex) { - resourcesJsonList[resourcesIndex].AsObject(m_resources[resourcesIndex].Jsonize()); - } - payload.WithArray("resources", std::move(resourcesJsonList)); - } - - if (m_propertiesHasBeenSet) { - JsonValue propertiesJsonMap; - for (auto& propertiesItem : m_properties) { - propertiesJsonMap.WithString(propertiesItem.first, propertiesItem.second); - } - payload.WithObject("properties", std::move(propertiesJsonMap)); - } - - if (m_serviceSettingsHasBeenSet) { - payload.WithObject("serviceSettings", m_serviceSettings.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestConfigurationResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestConfigurationResult.cpp deleted file mode 100644 index 67adbd40a6f..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestConfigurationResult.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -UpdateTestConfigurationResult::UpdateTestConfigurationResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -UpdateTestConfigurationResult& UpdateTestConfigurationResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testConfigurationId")) { - m_testConfigurationId = jsonValue.GetString("testConfigurationId"); - m_testConfigurationIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testConfigurationVersion")) { - m_testConfigurationVersion = jsonValue.GetInteger("testConfigurationVersion"); - m_testConfigurationVersionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestSuiteRequest.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestSuiteRequest.cpp deleted file mode 100644 index b404d53b75a..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestSuiteRequest.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String UpdateTestSuiteRequest::SerializePayload() const { - JsonValue payload; - - if (m_descriptionHasBeenSet) { - payload.WithString("description", m_description); - } - - if (m_beforeStepsHasBeenSet) { - Aws::Utils::Array beforeStepsJsonList(m_beforeSteps.size()); - for (unsigned beforeStepsIndex = 0; beforeStepsIndex < beforeStepsJsonList.GetLength(); ++beforeStepsIndex) { - beforeStepsJsonList[beforeStepsIndex].AsObject(m_beforeSteps[beforeStepsIndex].Jsonize()); - } - payload.WithArray("beforeSteps", std::move(beforeStepsJsonList)); - } - - if (m_afterStepsHasBeenSet) { - Aws::Utils::Array afterStepsJsonList(m_afterSteps.size()); - for (unsigned afterStepsIndex = 0; afterStepsIndex < afterStepsJsonList.GetLength(); ++afterStepsIndex) { - afterStepsJsonList[afterStepsIndex].AsObject(m_afterSteps[afterStepsIndex].Jsonize()); - } - payload.WithArray("afterSteps", std::move(afterStepsJsonList)); - } - - if (m_testCasesHasBeenSet) { - payload.WithObject("testCases", m_testCases.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestSuiteResult.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestSuiteResult.cpp deleted file mode 100644 index eea819db3f3..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/UpdateTestSuiteResult.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * 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::AppTest::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -UpdateTestSuiteResult::UpdateTestSuiteResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -UpdateTestSuiteResult& UpdateTestSuiteResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("testSuiteId")) { - m_testSuiteId = jsonValue.GetString("testSuiteId"); - m_testSuiteIdHasBeenSet = true; - } - if (jsonValue.ValueExists("testSuiteVersion")) { - m_testSuiteVersion = jsonValue.GetInteger("testSuiteVersion"); - m_testSuiteVersionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ValidationException.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ValidationException.cpp deleted file mode 100644 index e9e808175bd..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ValidationException.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -ValidationException::ValidationException(JsonView jsonValue) { *this = jsonValue; } - -ValidationException& ValidationException::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("message")) { - m_message = jsonValue.GetString("message"); - m_messageHasBeenSet = true; - } - if (jsonValue.ValueExists("reason")) { - m_reason = ValidationExceptionReasonMapper::GetValidationExceptionReasonForName(jsonValue.GetString("reason")); - m_reasonHasBeenSet = true; - } - if (jsonValue.ValueExists("fieldList")) { - Aws::Utils::Array fieldListJsonList = jsonValue.GetArray("fieldList"); - for (unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) { - m_fieldList.push_back(fieldListJsonList[fieldListIndex].AsObject()); - } - m_fieldListHasBeenSet = true; - } - return *this; -} - -JsonValue ValidationException::Jsonize() const { - JsonValue payload; - - if (m_messageHasBeenSet) { - payload.WithString("message", m_message); - } - - if (m_reasonHasBeenSet) { - payload.WithString("reason", ValidationExceptionReasonMapper::GetNameForValidationExceptionReason(m_reason)); - } - - if (m_fieldListHasBeenSet) { - Aws::Utils::Array fieldListJsonList(m_fieldList.size()); - for (unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) { - fieldListJsonList[fieldListIndex].AsObject(m_fieldList[fieldListIndex].Jsonize()); - } - payload.WithArray("fieldList", std::move(fieldListJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ValidationExceptionField.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ValidationExceptionField.cpp deleted file mode 100644 index 979bb3d425e..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ValidationExceptionField.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 AppTest { -namespace Model { - -ValidationExceptionField::ValidationExceptionField(JsonView jsonValue) { *this = jsonValue; } - -ValidationExceptionField& ValidationExceptionField::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("message")) { - m_message = jsonValue.GetString("message"); - m_messageHasBeenSet = true; - } - return *this; -} - -JsonValue ValidationExceptionField::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_messageHasBeenSet) { - payload.WithString("message", m_message); - } - - return payload; -} - -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-apptest/source/model/ValidationExceptionReason.cpp b/generated/src/aws-cpp-sdk-apptest/source/model/ValidationExceptionReason.cpp deleted file mode 100644 index f5f55d97ed0..00000000000 --- a/generated/src/aws-cpp-sdk-apptest/source/model/ValidationExceptionReason.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 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 AppTest { -namespace Model { -namespace ValidationExceptionReasonMapper { - -static const int unknownOperation_HASH = HashingUtils::HashString("unknownOperation"); -static const int cannotParse_HASH = HashingUtils::HashString("cannotParse"); -static const int fieldValidationFailed_HASH = HashingUtils::HashString("fieldValidationFailed"); -static const int other_HASH = HashingUtils::HashString("other"); - -ValidationExceptionReason GetValidationExceptionReasonForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == unknownOperation_HASH) { - return ValidationExceptionReason::unknownOperation; - } else if (hashCode == cannotParse_HASH) { - return ValidationExceptionReason::cannotParse; - } else if (hashCode == fieldValidationFailed_HASH) { - return ValidationExceptionReason::fieldValidationFailed; - } else if (hashCode == other_HASH) { - return ValidationExceptionReason::other; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return ValidationExceptionReason::NOT_SET; -} - -Aws::String GetNameForValidationExceptionReason(ValidationExceptionReason enumValue) { - switch (enumValue) { - case ValidationExceptionReason::NOT_SET: - return {}; - case ValidationExceptionReason::unknownOperation: - return "unknownOperation"; - case ValidationExceptionReason::cannotParse: - return "cannotParse"; - case ValidationExceptionReason::fieldValidationFailed: - return "fieldValidationFailed"; - case ValidationExceptionReason::other: - return "other"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ValidationExceptionReasonMapper -} // namespace Model -} // namespace AppTest -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/CMakeLists.txt b/generated/src/aws-cpp-sdk-iotfleethub/CMakeLists.txt deleted file mode 100644 index 5a1717bf051..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/CMakeLists.txt +++ /dev/null @@ -1,76 +0,0 @@ -add_project(aws-cpp-sdk-iotfleethub "C++ SDK for the AWS iotfleethub service" aws-cpp-sdk-core) - -file(GLOB AWS_IOTFLEETHUB_HEADERS - "include/aws/iotfleethub/*.h" -) - -file(GLOB AWS_IOTFLEETHUB_MODEL_HEADERS - "include/aws/iotfleethub/model/*.h" -) - -file(GLOB AWS_IOTFLEETHUB_SOURCE - "source/*.cpp" -) - -file(GLOB AWS_IOTFLEETHUB_MODEL_SOURCE - "source/model/*.cpp" -) - -file(GLOB IOTFLEETHUB_UNIFIED_HEADERS - ${AWS_IOTFLEETHUB_HEADERS} - ${AWS_IOTFLEETHUB_MODEL_HEADERS} -) - -file(GLOB IOTFLEETHUB_UNITY_SRC - ${AWS_IOTFLEETHUB_SOURCE} - ${AWS_IOTFLEETHUB_MODEL_SOURCE} -) - -if(ENABLE_UNITY_BUILD) - enable_unity_build("IOTFLEETHUB" IOTFLEETHUB_UNITY_SRC) -endif() - -file(GLOB IOTFLEETHUB_SRC - ${IOTFLEETHUB_UNIFIED_HEADERS} - ${IOTFLEETHUB_UNITY_SRC} -) - -if(WIN32) - #if we are compiling for visual studio, create a sane directory tree. - if(MSVC) - source_group("Header Files\\aws\\iotfleethub" FILES ${AWS_IOTFLEETHUB_HEADERS}) - source_group("Header Files\\aws\\iotfleethub\\model" FILES ${AWS_IOTFLEETHUB_MODEL_HEADERS}) - source_group("Source Files" FILES ${AWS_IOTFLEETHUB_SOURCE}) - source_group("Source Files\\model" FILES ${AWS_IOTFLEETHUB_MODEL_SOURCE}) - endif(MSVC) -endif() - -set(IOTFLEETHUB_INCLUDES - "${CMAKE_CURRENT_SOURCE_DIR}/include/" -) - -add_library(${PROJECT_NAME} ${IOTFLEETHUB_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_IOTFLEETHUB_EXPORTS") -endif() - -target_include_directories(${PROJECT_NAME} PUBLIC - $ - $) - -target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS}) - - -setup_install() - -install (FILES ${AWS_IOTFLEETHUB_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/iotfleethub) -install (FILES ${AWS_IOTFLEETHUB_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/iotfleethub/model) - -do_packaging() - - diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubClient.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubClient.h deleted file mode 100644 index 0853a9d681d..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubClient.h +++ /dev/null @@ -1,311 +0,0 @@ -/** - * 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 IoTFleetHub { -/** - *

With Fleet Hub for IoT Device Management you can build stand-alone web - * applications for monitoring the health of your device fleets.

- */ -class AWS_IOTFLEETHUB_API IoTFleetHubClient : public Aws::Client::AWSJsonClient, - public Aws::Client::ClientWithAsyncTemplateMethods { - public: - typedef Aws::Client::AWSJsonClient BASECLASS; - static const char* GetServiceName(); - static const char* GetAllocationTag(); - - typedef IoTFleetHubClientConfiguration ClientConfigurationType; - typedef IoTFleetHubEndpointProvider 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. - */ - IoTFleetHubClient( - const Aws::IoTFleetHub::IoTFleetHubClientConfiguration& clientConfiguration = Aws::IoTFleetHub::IoTFleetHubClientConfiguration(), - 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. - */ - IoTFleetHubClient( - const Aws::Auth::AWSCredentials& credentials, std::shared_ptr endpointProvider = nullptr, - const Aws::IoTFleetHub::IoTFleetHubClientConfiguration& clientConfiguration = Aws::IoTFleetHub::IoTFleetHubClientConfiguration()); - - /** - * 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 - */ - IoTFleetHubClient( - const std::shared_ptr& credentialsProvider, - std::shared_ptr endpointProvider = nullptr, - const Aws::IoTFleetHub::IoTFleetHubClientConfiguration& clientConfiguration = Aws::IoTFleetHub::IoTFleetHubClientConfiguration()); - - /* 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. - */ - IoTFleetHubClient(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. - */ - IoTFleetHubClient(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 - */ - IoTFleetHubClient(const std::shared_ptr& credentialsProvider, - const Aws::Client::ClientConfiguration& clientConfiguration); - - /* End of legacy constructors due deprecation */ - virtual ~IoTFleetHubClient(); - - /** - *

Creates a Fleet Hub for IoT Device Management web application.

When - * creating a Fleet Hub application, you must create an organization instance of - * IAM Identity Center if you don't already have one. The Fleet Hub application you - * create must also be in the same Amazon Web Services Region of the organization - * instance of IAM Identity Center. For more information see Enabling - * IAM Identity Center and Organization - * instances of IAM Identity Center.

See Also:

AWS - * API Reference

- */ - virtual Model::CreateApplicationOutcome CreateApplication(const Model::CreateApplicationRequest& request) const; - - /** - * A Callable wrapper for CreateApplication that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::CreateApplicationOutcomeCallable CreateApplicationCallable(const CreateApplicationRequestT& request) const { - return SubmitCallable(&IoTFleetHubClient::CreateApplication, request); - } - - /** - * An Async wrapper for CreateApplication that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void CreateApplicationAsync(const CreateApplicationRequestT& request, const CreateApplicationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&IoTFleetHubClient::CreateApplication, request, handler, context); - } - - /** - *

Deletes a Fleet Hub for IoT Device Management web application.

See - * Also:

AWS - * API Reference

- */ - virtual Model::DeleteApplicationOutcome DeleteApplication(const Model::DeleteApplicationRequest& request) const; - - /** - * A Callable wrapper for DeleteApplication that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DeleteApplicationOutcomeCallable DeleteApplicationCallable(const DeleteApplicationRequestT& request) const { - return SubmitCallable(&IoTFleetHubClient::DeleteApplication, request); - } - - /** - * An Async wrapper for DeleteApplication that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void DeleteApplicationAsync(const DeleteApplicationRequestT& request, const DeleteApplicationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&IoTFleetHubClient::DeleteApplication, request, handler, context); - } - - /** - *

Gets information about a Fleet Hub for IoT Device Management web - * application.

See Also:

AWS - * API Reference

- */ - virtual Model::DescribeApplicationOutcome DescribeApplication(const Model::DescribeApplicationRequest& request) const; - - /** - * A Callable wrapper for DescribeApplication that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DescribeApplicationOutcomeCallable DescribeApplicationCallable(const DescribeApplicationRequestT& request) const { - return SubmitCallable(&IoTFleetHubClient::DescribeApplication, request); - } - - /** - * An Async wrapper for DescribeApplication that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void DescribeApplicationAsync(const DescribeApplicationRequestT& request, const DescribeApplicationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&IoTFleetHubClient::DescribeApplication, request, handler, context); - } - - /** - *

Gets a list of Fleet Hub for IoT Device Management web applications for the - * current account.

See Also:

AWS - * API Reference

- */ - virtual Model::ListApplicationsOutcome ListApplications(const Model::ListApplicationsRequest& request = {}) const; - - /** - * A Callable wrapper for ListApplications that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListApplicationsOutcomeCallable ListApplicationsCallable(const ListApplicationsRequestT& request = {}) const { - return SubmitCallable(&IoTFleetHubClient::ListApplications, request); - } - - /** - * An Async wrapper for ListApplications that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void ListApplicationsAsync(const ListApplicationsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListApplicationsRequestT& request = {}) const { - return SubmitAsync(&IoTFleetHubClient::ListApplications, request, handler, context); - } - - /** - *

Lists the tags for the specified resource.

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(&IoTFleetHubClient::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(&IoTFleetHubClient::ListTagsForResource, request, handler, context); - } - - /** - *

Adds to or modifies the tags of the specified resource. Tags are metadata - * which can be used to manage a resource.

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(&IoTFleetHubClient::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(&IoTFleetHubClient::TagResource, request, handler, context); - } - - /** - *

Removes the specified tags (metadata) from the 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(&IoTFleetHubClient::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(&IoTFleetHubClient::UntagResource, request, handler, context); - } - - /** - *

Updates information about a Fleet Hub for IoT Device Management web - * application.

See Also:

AWS - * API Reference

- */ - virtual Model::UpdateApplicationOutcome UpdateApplication(const Model::UpdateApplicationRequest& request) const; - - /** - * A Callable wrapper for UpdateApplication that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::UpdateApplicationOutcomeCallable UpdateApplicationCallable(const UpdateApplicationRequestT& request) const { - return SubmitCallable(&IoTFleetHubClient::UpdateApplication, request); - } - - /** - * An Async wrapper for UpdateApplication that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void UpdateApplicationAsync(const UpdateApplicationRequestT& request, const UpdateApplicationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&IoTFleetHubClient::UpdateApplication, request, handler, context); - } - - void OverrideEndpoint(const Aws::String& endpoint); - std::shared_ptr& accessEndpointProvider(); - - private: - friend class Aws::Client::ClientWithAsyncTemplateMethods; - void init(const IoTFleetHubClientConfiguration& clientConfiguration); - - IoTFleetHubClientConfiguration m_clientConfiguration; - std::shared_ptr m_endpointProvider; -}; - -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubEndpointProvider.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubEndpointProvider.h deleted file mode 100644 index e84fcbc23d1..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubEndpointProvider.h +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Endpoint { -using EndpointParameters = Aws::Endpoint::EndpointParameters; -using Aws::Endpoint::DefaultEndpointProvider; -using Aws::Endpoint::EndpointProviderBase; - -using IoTFleetHubClientContextParameters = Aws::Endpoint::ClientContextParameters; - -using IoTFleetHubClientConfiguration = Aws::Client::GenericClientConfiguration; -using IoTFleetHubBuiltInParameters = Aws::Endpoint::BuiltInParameters; - -/** - * The type for the IoTFleetHub 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 IoTFleetHubEndpointProviderBase = - EndpointProviderBase; - -using IoTFleetHubDefaultEpProviderBase = - DefaultEndpointProvider; - -/** - * Default endpoint provider used for this service - */ -class AWS_IOTFLEETHUB_API IoTFleetHubEndpointProvider : public IoTFleetHubDefaultEpProviderBase { - public: - using IoTFleetHubResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; - - IoTFleetHubEndpointProvider() - : IoTFleetHubDefaultEpProviderBase(Aws::IoTFleetHub::IoTFleetHubEndpointRules::GetRulesBlob(), - Aws::IoTFleetHub::IoTFleetHubEndpointRules::RulesBlobSize) {} - - ~IoTFleetHubEndpointProvider() {} -}; -} // namespace Endpoint -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubEndpointRules.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubEndpointRules.h deleted file mode 100644 index e486f485aca..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubEndpointRules.h +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include - -#include - -namespace Aws { -namespace IoTFleetHub { -class IoTFleetHubEndpointRules { - public: - static const size_t RulesBlobStrLen; - static const size_t RulesBlobSize; - - static const char* GetRulesBlob(); -}; -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubErrorMarshaller.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubErrorMarshaller.h deleted file mode 100644 index 2ae1950d23a..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubErrorMarshaller.h +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 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_IOTFLEETHUB_API IoTFleetHubErrorMarshaller : 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-iotfleethub/include/aws/iotfleethub/IoTFleetHubErrors.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubErrors.h deleted file mode 100644 index d8af569e4dc..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubErrors.h +++ /dev/null @@ -1,69 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once - -#include -#include -#include - -namespace Aws { -namespace IoTFleetHub { -enum class IoTFleetHubErrors { - // 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, - INVALID_REQUEST, - LIMIT_EXCEEDED -}; - -class AWS_IOTFLEETHUB_API IoTFleetHubError : public Aws::Client::AWSError { - public: - IoTFleetHubError() {} - IoTFleetHubError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} - IoTFleetHubError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} - IoTFleetHubError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} - IoTFleetHubError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} - - template - T GetModeledError(); -}; - -namespace IoTFleetHubErrorMapper { -AWS_IOTFLEETHUB_API Aws::Client::AWSError GetErrorForName(const char* errorName); -} - -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubRequest.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubRequest.h deleted file mode 100644 index c983a61ece0..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubRequest.h +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 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 IoTFleetHub { -class AWS_IOTFLEETHUB_API IoTFleetHubRequest : public Aws::AmazonSerializableWebServiceRequest { - public: - using EndpointParameter = Aws::Endpoint::EndpointParameter; - using EndpointParameters = Aws::Endpoint::EndpointParameters; - - virtual ~IoTFleetHubRequest() {} - - 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, "2020-11-03")); - return headers; - } - - protected: - virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); } -}; - -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubServiceClientModel.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubServiceClientModel.h deleted file mode 100644 index 6bf250e7c28..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHubServiceClientModel.h +++ /dev/null @@ -1,126 +0,0 @@ -/** - * 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 IoTFleetHubClient header */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -/* End of service model headers required in IoTFleetHubClient header */ - -namespace Aws { -namespace Http { -class HttpClient; -class HttpClientFactory; -} // namespace Http - -namespace Utils { -template -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 IoTFleetHub { -using IoTFleetHubClientConfiguration = Aws::Client::GenericClientConfiguration; -using IoTFleetHubEndpointProviderBase = Aws::IoTFleetHub::Endpoint::IoTFleetHubEndpointProviderBase; -using IoTFleetHubEndpointProvider = Aws::IoTFleetHub::Endpoint::IoTFleetHubEndpointProvider; - -namespace Model { -/* Service model forward declarations required in IoTFleetHubClient header */ -class CreateApplicationRequest; -class DeleteApplicationRequest; -class DescribeApplicationRequest; -class ListApplicationsRequest; -class ListTagsForResourceRequest; -class TagResourceRequest; -class UntagResourceRequest; -class UpdateApplicationRequest; -/* End of service model forward declarations required in IoTFleetHubClient header */ - -/* Service model Outcome class definitions */ -typedef Aws::Utils::Outcome CreateApplicationOutcome; -typedef Aws::Utils::Outcome DeleteApplicationOutcome; -typedef Aws::Utils::Outcome DescribeApplicationOutcome; -typedef Aws::Utils::Outcome ListApplicationsOutcome; -typedef Aws::Utils::Outcome ListTagsForResourceOutcome; -typedef Aws::Utils::Outcome TagResourceOutcome; -typedef Aws::Utils::Outcome UntagResourceOutcome; -typedef Aws::Utils::Outcome UpdateApplicationOutcome; -/* End of service model Outcome class definitions */ - -/* Service model Outcome callable definitions */ -typedef std::future CreateApplicationOutcomeCallable; -typedef std::future DeleteApplicationOutcomeCallable; -typedef std::future DescribeApplicationOutcomeCallable; -typedef std::future ListApplicationsOutcomeCallable; -typedef std::future ListTagsForResourceOutcomeCallable; -typedef std::future TagResourceOutcomeCallable; -typedef std::future UntagResourceOutcomeCallable; -typedef std::future UpdateApplicationOutcomeCallable; -/* End of service model Outcome callable definitions */ -} // namespace Model - -class IoTFleetHubClient; - -/* Service model async handlers definitions */ -typedef std::function&)> - CreateApplicationResponseReceivedHandler; -typedef std::function&)> - DeleteApplicationResponseReceivedHandler; -typedef std::function&)> - DescribeApplicationResponseReceivedHandler; -typedef std::function&)> - ListApplicationsResponseReceivedHandler; -typedef std::function&)> - ListTagsForResourceResponseReceivedHandler; -typedef std::function&)> - TagResourceResponseReceivedHandler; -typedef std::function&)> - UntagResourceResponseReceivedHandler; -typedef std::function&)> - UpdateApplicationResponseReceivedHandler; -/* End of service model async handlers definitions */ -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHub_EXPORTS.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHub_EXPORTS.h deleted file mode 100644 index df15c88f4d5..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/IoTFleetHub_EXPORTS.h +++ /dev/null @@ -1,32 +0,0 @@ -/** - * 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_IOTFLEETHUB_EXPORTS -#define AWS_IOTFLEETHUB_API __declspec(dllexport) -#else -#define AWS_IOTFLEETHUB_API __declspec(dllimport) -#endif /* AWS_IOTFLEETHUB_EXPORTS */ -#define AWS_IOTFLEETHUB_EXTERN -#else -#define AWS_IOTFLEETHUB_API -#define AWS_IOTFLEETHUB_EXTERN extern -#endif // USE_IMPORT_EXPORT -#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) -#define AWS_IOTFLEETHUB_API -#define AWS_IOTFLEETHUB_EXTERN extern -#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ApplicationState.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ApplicationState.h deleted file mode 100644 index 9f40fac7868..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ApplicationState.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace IoTFleetHub { -namespace Model { -enum class ApplicationState { NOT_SET, CREATING, DELETING, ACTIVE, CREATE_FAILED, DELETE_FAILED }; - -namespace ApplicationStateMapper { -AWS_IOTFLEETHUB_API ApplicationState GetApplicationStateForName(const Aws::String& name); - -AWS_IOTFLEETHUB_API Aws::String GetNameForApplicationState(ApplicationState value); -} // namespace ApplicationStateMapper -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ApplicationSummary.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ApplicationSummary.h deleted file mode 100644 index ef2a6392ebb..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ApplicationSummary.h +++ /dev/null @@ -1,180 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { - -/** - *

A summary of information about a Fleet Hub for IoT Device Management web - * application.

See Also:

AWS - * API Reference

- */ -class ApplicationSummary { - public: - AWS_IOTFLEETHUB_API ApplicationSummary() = default; - AWS_IOTFLEETHUB_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_IOTFLEETHUB_API ApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_IOTFLEETHUB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The unique Id of the web application.

- */ - inline const Aws::String& GetApplicationId() const { return m_applicationId; } - inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } - template - void SetApplicationId(ApplicationIdT&& value) { - m_applicationIdHasBeenSet = true; - m_applicationId = std::forward(value); - } - template - ApplicationSummary& WithApplicationId(ApplicationIdT&& value) { - SetApplicationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the web application.

- */ - inline const Aws::String& GetApplicationName() const { return m_applicationName; } - inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } - template - void SetApplicationName(ApplicationNameT&& value) { - m_applicationNameHasBeenSet = true; - m_applicationName = std::forward(value); - } - template - ApplicationSummary& WithApplicationName(ApplicationNameT&& value) { - SetApplicationName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An optional description of the web application.

- */ - inline const Aws::String& GetApplicationDescription() const { return m_applicationDescription; } - inline bool ApplicationDescriptionHasBeenSet() const { return m_applicationDescriptionHasBeenSet; } - template - void SetApplicationDescription(ApplicationDescriptionT&& value) { - m_applicationDescriptionHasBeenSet = true; - m_applicationDescription = std::forward(value); - } - template - ApplicationSummary& WithApplicationDescription(ApplicationDescriptionT&& value) { - SetApplicationDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The URL of the web application.

- */ - inline const Aws::String& GetApplicationUrl() const { return m_applicationUrl; } - inline bool ApplicationUrlHasBeenSet() const { return m_applicationUrlHasBeenSet; } - template - void SetApplicationUrl(ApplicationUrlT&& value) { - m_applicationUrlHasBeenSet = true; - m_applicationUrl = std::forward(value); - } - template - ApplicationSummary& WithApplicationUrl(ApplicationUrlT&& value) { - SetApplicationUrl(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The date (in Unix epoch time) when the web application was created.

- */ - inline long long GetApplicationCreationDate() const { return m_applicationCreationDate; } - inline bool ApplicationCreationDateHasBeenSet() const { return m_applicationCreationDateHasBeenSet; } - inline void SetApplicationCreationDate(long long value) { - m_applicationCreationDateHasBeenSet = true; - m_applicationCreationDate = value; - } - inline ApplicationSummary& WithApplicationCreationDate(long long value) { - SetApplicationCreationDate(value); - return *this; - } - ///@} - - ///@{ - /** - *

The date (in Unix epoch time) when the web application was last updated.

- */ - inline long long GetApplicationLastUpdateDate() const { return m_applicationLastUpdateDate; } - inline bool ApplicationLastUpdateDateHasBeenSet() const { return m_applicationLastUpdateDateHasBeenSet; } - inline void SetApplicationLastUpdateDate(long long value) { - m_applicationLastUpdateDateHasBeenSet = true; - m_applicationLastUpdateDate = value; - } - inline ApplicationSummary& WithApplicationLastUpdateDate(long long value) { - SetApplicationLastUpdateDate(value); - return *this; - } - ///@} - - ///@{ - /** - *

The current state of the web application.

- */ - inline ApplicationState GetApplicationState() const { return m_applicationState; } - inline bool ApplicationStateHasBeenSet() const { return m_applicationStateHasBeenSet; } - inline void SetApplicationState(ApplicationState value) { - m_applicationStateHasBeenSet = true; - m_applicationState = value; - } - inline ApplicationSummary& WithApplicationState(ApplicationState value) { - SetApplicationState(value); - return *this; - } - ///@} - private: - Aws::String m_applicationId; - bool m_applicationIdHasBeenSet = false; - - Aws::String m_applicationName; - bool m_applicationNameHasBeenSet = false; - - Aws::String m_applicationDescription; - bool m_applicationDescriptionHasBeenSet = false; - - Aws::String m_applicationUrl; - bool m_applicationUrlHasBeenSet = false; - - long long m_applicationCreationDate{0}; - bool m_applicationCreationDateHasBeenSet = false; - - long long m_applicationLastUpdateDate{0}; - bool m_applicationLastUpdateDateHasBeenSet = false; - - ApplicationState m_applicationState{ApplicationState::NOT_SET}; - bool m_applicationStateHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/CreateApplicationRequest.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/CreateApplicationRequest.h deleted file mode 100644 index c8e436a437f..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/CreateApplicationRequest.h +++ /dev/null @@ -1,152 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { - -/** - */ -class CreateApplicationRequest : public IoTFleetHubRequest { - public: - AWS_IOTFLEETHUB_API CreateApplicationRequest() = default; - - // 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 "CreateApplication"; } - - AWS_IOTFLEETHUB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the web application.

- */ - inline const Aws::String& GetApplicationName() const { return m_applicationName; } - inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } - template - void SetApplicationName(ApplicationNameT&& value) { - m_applicationNameHasBeenSet = true; - m_applicationName = std::forward(value); - } - template - CreateApplicationRequest& WithApplicationName(ApplicationNameT&& value) { - SetApplicationName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An optional description of the web application.

- */ - inline const Aws::String& GetApplicationDescription() const { return m_applicationDescription; } - inline bool ApplicationDescriptionHasBeenSet() const { return m_applicationDescriptionHasBeenSet; } - template - void SetApplicationDescription(ApplicationDescriptionT&& value) { - m_applicationDescriptionHasBeenSet = true; - m_applicationDescription = std::forward(value); - } - template - CreateApplicationRequest& WithApplicationDescription(ApplicationDescriptionT&& value) { - SetApplicationDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A unique case-sensitive identifier that you can provide to ensure the - * idempotency of the request. Don't reuse this client token if a new idempotent - * request is required.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - CreateApplicationRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the role that the web application assumes when it interacts with - * Amazon Web Services IoT Core.

The name of the role must be in the - * form AWSIotFleetHub_random_string .

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - CreateApplicationRequest& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A set of key/value pairs that you can use to manage the web application - * resource.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateApplicationRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateApplicationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_applicationName; - bool m_applicationNameHasBeenSet = false; - - Aws::String m_applicationDescription; - bool m_applicationDescriptionHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; - - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/CreateApplicationResult.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/CreateApplicationResult.h deleted file mode 100644 index d01ff83e6e3..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/CreateApplicationResult.h +++ /dev/null @@ -1,90 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { -class CreateApplicationResult { - public: - AWS_IOTFLEETHUB_API CreateApplicationResult() = default; - AWS_IOTFLEETHUB_API CreateApplicationResult(const Aws::AmazonWebServiceResult& result); - AWS_IOTFLEETHUB_API CreateApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The unique Id of the web application.

- */ - inline const Aws::String& GetApplicationId() const { return m_applicationId; } - template - void SetApplicationId(ApplicationIdT&& value) { - m_applicationIdHasBeenSet = true; - m_applicationId = std::forward(value); - } - template - CreateApplicationResult& WithApplicationId(ApplicationIdT&& value) { - SetApplicationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the web application.

- */ - inline const Aws::String& GetApplicationArn() const { return m_applicationArn; } - template - void SetApplicationArn(ApplicationArnT&& value) { - m_applicationArnHasBeenSet = true; - m_applicationArn = std::forward(value); - } - template - CreateApplicationResult& WithApplicationArn(ApplicationArnT&& value) { - SetApplicationArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateApplicationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_applicationId; - bool m_applicationIdHasBeenSet = false; - - Aws::String m_applicationArn; - bool m_applicationArnHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DeleteApplicationRequest.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DeleteApplicationRequest.h deleted file mode 100644 index 39954ee248e..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DeleteApplicationRequest.h +++ /dev/null @@ -1,84 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { - -/** - */ -class DeleteApplicationRequest : public IoTFleetHubRequest { - public: - AWS_IOTFLEETHUB_API DeleteApplicationRequest() = default; - - // 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 "DeleteApplication"; } - - AWS_IOTFLEETHUB_API Aws::String SerializePayload() const override; - - AWS_IOTFLEETHUB_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The unique Id of the web application.

- */ - inline const Aws::String& GetApplicationId() const { return m_applicationId; } - inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } - template - void SetApplicationId(ApplicationIdT&& value) { - m_applicationIdHasBeenSet = true; - m_applicationId = std::forward(value); - } - template - DeleteApplicationRequest& WithApplicationId(ApplicationIdT&& value) { - SetApplicationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A unique case-sensitive identifier that you can provide to ensure the - * idempotency of the request. Don't reuse this client token if a new idempotent - * request is required.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - DeleteApplicationRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_applicationId; - bool m_applicationIdHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DeleteApplicationResult.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DeleteApplicationResult.h deleted file mode 100644 index 9582f8f2e9c..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DeleteApplicationResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { -class DeleteApplicationResult { - public: - AWS_IOTFLEETHUB_API DeleteApplicationResult() = default; - AWS_IOTFLEETHUB_API DeleteApplicationResult(const Aws::AmazonWebServiceResult& result); - AWS_IOTFLEETHUB_API DeleteApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DeleteApplicationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DescribeApplicationRequest.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DescribeApplicationRequest.h deleted file mode 100644 index 3d3320d3a2a..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DescribeApplicationRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { - -/** - */ -class DescribeApplicationRequest : public IoTFleetHubRequest { - public: - AWS_IOTFLEETHUB_API DescribeApplicationRequest() = default; - - // 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 "DescribeApplication"; } - - AWS_IOTFLEETHUB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The unique Id of the web application.

- */ - inline const Aws::String& GetApplicationId() const { return m_applicationId; } - inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } - template - void SetApplicationId(ApplicationIdT&& value) { - m_applicationIdHasBeenSet = true; - m_applicationId = std::forward(value); - } - template - DescribeApplicationRequest& WithApplicationId(ApplicationIdT&& value) { - SetApplicationId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_applicationId; - bool m_applicationIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DescribeApplicationResult.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DescribeApplicationResult.h deleted file mode 100644 index b66dfec7b62..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/DescribeApplicationResult.h +++ /dev/null @@ -1,298 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { -class DescribeApplicationResult { - public: - AWS_IOTFLEETHUB_API DescribeApplicationResult() = default; - AWS_IOTFLEETHUB_API DescribeApplicationResult(const Aws::AmazonWebServiceResult& result); - AWS_IOTFLEETHUB_API DescribeApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The unique Id of the web application.

- */ - inline const Aws::String& GetApplicationId() const { return m_applicationId; } - template - void SetApplicationId(ApplicationIdT&& value) { - m_applicationIdHasBeenSet = true; - m_applicationId = std::forward(value); - } - template - DescribeApplicationResult& WithApplicationId(ApplicationIdT&& value) { - SetApplicationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the web application.

- */ - inline const Aws::String& GetApplicationArn() const { return m_applicationArn; } - template - void SetApplicationArn(ApplicationArnT&& value) { - m_applicationArnHasBeenSet = true; - m_applicationArn = std::forward(value); - } - template - DescribeApplicationResult& WithApplicationArn(ApplicationArnT&& value) { - SetApplicationArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the web application.

- */ - inline const Aws::String& GetApplicationName() const { return m_applicationName; } - template - void SetApplicationName(ApplicationNameT&& value) { - m_applicationNameHasBeenSet = true; - m_applicationName = std::forward(value); - } - template - DescribeApplicationResult& WithApplicationName(ApplicationNameT&& value) { - SetApplicationName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An optional description of the web application.

- */ - inline const Aws::String& GetApplicationDescription() const { return m_applicationDescription; } - template - void SetApplicationDescription(ApplicationDescriptionT&& value) { - m_applicationDescriptionHasBeenSet = true; - m_applicationDescription = std::forward(value); - } - template - DescribeApplicationResult& WithApplicationDescription(ApplicationDescriptionT&& value) { - SetApplicationDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The URL of the web application.

- */ - inline const Aws::String& GetApplicationUrl() const { return m_applicationUrl; } - template - void SetApplicationUrl(ApplicationUrlT&& value) { - m_applicationUrlHasBeenSet = true; - m_applicationUrl = std::forward(value); - } - template - DescribeApplicationResult& WithApplicationUrl(ApplicationUrlT&& value) { - SetApplicationUrl(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The current state of the web application.

- */ - inline ApplicationState GetApplicationState() const { return m_applicationState; } - inline void SetApplicationState(ApplicationState value) { - m_applicationStateHasBeenSet = true; - m_applicationState = value; - } - inline DescribeApplicationResult& WithApplicationState(ApplicationState value) { - SetApplicationState(value); - return *this; - } - ///@} - - ///@{ - /** - *

The date (in Unix epoch time) when the application was created.

- */ - inline long long GetApplicationCreationDate() const { return m_applicationCreationDate; } - inline void SetApplicationCreationDate(long long value) { - m_applicationCreationDateHasBeenSet = true; - m_applicationCreationDate = value; - } - inline DescribeApplicationResult& WithApplicationCreationDate(long long value) { - SetApplicationCreationDate(value); - return *this; - } - ///@} - - ///@{ - /** - *

The date (in Unix epoch time) when the application was last updated.

- */ - inline long long GetApplicationLastUpdateDate() const { return m_applicationLastUpdateDate; } - inline void SetApplicationLastUpdateDate(long long value) { - m_applicationLastUpdateDateHasBeenSet = true; - m_applicationLastUpdateDate = value; - } - inline DescribeApplicationResult& WithApplicationLastUpdateDate(long long value) { - SetApplicationLastUpdateDate(value); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the role that the web application assumes when it interacts with - * Amazon Web Services IoT Core.

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - DescribeApplicationResult& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Id of the single sign-on client that you use to authenticate and - * authorize users on the web application.

- */ - inline const Aws::String& GetSsoClientId() const { return m_ssoClientId; } - template - void SetSsoClientId(SsoClientIdT&& value) { - m_ssoClientIdHasBeenSet = true; - m_ssoClientId = std::forward(value); - } - template - DescribeApplicationResult& WithSsoClientId(SsoClientIdT&& value) { - SetSsoClientId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A message that explains any failures included in the - * applicationState response field. This message explains failures in - * the CreateApplication and DeleteApplication - * actions.

- */ - inline const Aws::String& GetErrorMessage() const { return m_errorMessage; } - template - void SetErrorMessage(ErrorMessageT&& value) { - m_errorMessageHasBeenSet = true; - m_errorMessage = std::forward(value); - } - template - DescribeApplicationResult& WithErrorMessage(ErrorMessageT&& value) { - SetErrorMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A set of key/value pairs that you can use to manage the web application - * resource.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - DescribeApplicationResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - DescribeApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeApplicationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_applicationId; - bool m_applicationIdHasBeenSet = false; - - Aws::String m_applicationArn; - bool m_applicationArnHasBeenSet = false; - - Aws::String m_applicationName; - bool m_applicationNameHasBeenSet = false; - - Aws::String m_applicationDescription; - bool m_applicationDescriptionHasBeenSet = false; - - Aws::String m_applicationUrl; - bool m_applicationUrlHasBeenSet = false; - - ApplicationState m_applicationState{ApplicationState::NOT_SET}; - bool m_applicationStateHasBeenSet = false; - - long long m_applicationCreationDate{0}; - bool m_applicationCreationDateHasBeenSet = false; - - long long m_applicationLastUpdateDate{0}; - bool m_applicationLastUpdateDateHasBeenSet = false; - - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - Aws::String m_ssoClientId; - bool m_ssoClientIdHasBeenSet = false; - - Aws::String m_errorMessage; - bool m_errorMessageHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListApplicationsRequest.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListApplicationsRequest.h deleted file mode 100644 index 5b7222edfb4..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListApplicationsRequest.h +++ /dev/null @@ -1,60 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { - -/** - */ -class ListApplicationsRequest : public IoTFleetHubRequest { - public: - AWS_IOTFLEETHUB_API ListApplicationsRequest() = default; - - // 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 "ListApplications"; } - - AWS_IOTFLEETHUB_API Aws::String SerializePayload() const override; - - AWS_IOTFLEETHUB_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

A token used to get the next set of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListApplicationsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListApplicationsResult.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListApplicationsResult.h deleted file mode 100644 index f729e04372c..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListApplicationsResult.h +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { -class ListApplicationsResult { - public: - AWS_IOTFLEETHUB_API ListApplicationsResult() = default; - AWS_IOTFLEETHUB_API ListApplicationsResult(const Aws::AmazonWebServiceResult& result); - AWS_IOTFLEETHUB_API ListApplicationsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

An array of objects that provide summaries of information about the web - * applications in the list.

- */ - inline const Aws::Vector& GetApplicationSummaries() const { return m_applicationSummaries; } - template > - void SetApplicationSummaries(ApplicationSummariesT&& value) { - m_applicationSummariesHasBeenSet = true; - m_applicationSummaries = std::forward(value); - } - template > - ListApplicationsResult& WithApplicationSummaries(ApplicationSummariesT&& value) { - SetApplicationSummaries(std::forward(value)); - return *this; - } - template - ListApplicationsResult& AddApplicationSummaries(ApplicationSummariesT&& value) { - m_applicationSummariesHasBeenSet = true; - m_applicationSummaries.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A token used to get the next set of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListApplicationsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListApplicationsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_applicationSummaries; - bool m_applicationSummariesHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListTagsForResourceRequest.h deleted file mode 100644 index b6abbd218e9..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListTagsForResourceRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { - -/** - */ -class ListTagsForResourceRequest : public IoTFleetHubRequest { - public: - AWS_IOTFLEETHUB_API ListTagsForResourceRequest() = default; - - // 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_IOTFLEETHUB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ARN of the resource.

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - ListTagsForResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListTagsForResourceResult.h deleted file mode 100644 index 42e8059d4c1..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/ListTagsForResourceResult.h +++ /dev/null @@ -1,77 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { -class ListTagsForResourceResult { - public: - AWS_IOTFLEETHUB_API ListTagsForResourceResult() = default; - AWS_IOTFLEETHUB_API ListTagsForResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_IOTFLEETHUB_API ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The list of tags assigned to the resource.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - ListTagsForResourceResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - ListTagsForResourceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListTagsForResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/TagResourceRequest.h deleted file mode 100644 index 344cfa43731..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/TagResourceRequest.h +++ /dev/null @@ -1,83 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { - -/** - */ -class TagResourceRequest : public IoTFleetHubRequest { - public: - AWS_IOTFLEETHUB_API TagResourceRequest() = default; - - // 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_IOTFLEETHUB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ARN of the resource.

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - TagResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The new or modified tags for the resource.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - TagResourceRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - TagResourceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/TagResourceResult.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/TagResourceResult.h deleted file mode 100644 index 38d3d88abb1..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/TagResourceResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { -class TagResourceResult { - public: - AWS_IOTFLEETHUB_API TagResourceResult() = default; - AWS_IOTFLEETHUB_API TagResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_IOTFLEETHUB_API TagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - TagResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UntagResourceRequest.h deleted file mode 100644 index 5c15e92494b..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UntagResourceRequest.h +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { - -/** - */ -class UntagResourceRequest : public IoTFleetHubRequest { - public: - AWS_IOTFLEETHUB_API UntagResourceRequest() = default; - - // 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_IOTFLEETHUB_API Aws::String SerializePayload() const override; - - AWS_IOTFLEETHUB_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The ARN of the resource.

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - UntagResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of the keys of the tags to be removed from the resource.

- */ - inline const Aws::Vector& GetTagKeys() const { return m_tagKeys; } - inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } - template > - void SetTagKeys(TagKeysT&& value) { - m_tagKeysHasBeenSet = true; - m_tagKeys = std::forward(value); - } - template > - UntagResourceRequest& WithTagKeys(TagKeysT&& value) { - SetTagKeys(std::forward(value)); - return *this; - } - template - UntagResourceRequest& AddTagKeys(TagKeysT&& value) { - m_tagKeysHasBeenSet = true; - m_tagKeys.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; - - Aws::Vector m_tagKeys; - bool m_tagKeysHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UntagResourceResult.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UntagResourceResult.h deleted file mode 100644 index 1634ed373cd..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UntagResourceResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { -class UntagResourceResult { - public: - AWS_IOTFLEETHUB_API UntagResourceResult() = default; - AWS_IOTFLEETHUB_API UntagResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_IOTFLEETHUB_API UntagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UntagResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UpdateApplicationRequest.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UpdateApplicationRequest.h deleted file mode 100644 index 76c865d64c7..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UpdateApplicationRequest.h +++ /dev/null @@ -1,121 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { - -/** - */ -class UpdateApplicationRequest : public IoTFleetHubRequest { - public: - AWS_IOTFLEETHUB_API UpdateApplicationRequest() = default; - - // 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 "UpdateApplication"; } - - AWS_IOTFLEETHUB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The unique Id of the web application.

- */ - inline const Aws::String& GetApplicationId() const { return m_applicationId; } - inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } - template - void SetApplicationId(ApplicationIdT&& value) { - m_applicationIdHasBeenSet = true; - m_applicationId = std::forward(value); - } - template - UpdateApplicationRequest& WithApplicationId(ApplicationIdT&& value) { - SetApplicationId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the web application.

- */ - inline const Aws::String& GetApplicationName() const { return m_applicationName; } - inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } - template - void SetApplicationName(ApplicationNameT&& value) { - m_applicationNameHasBeenSet = true; - m_applicationName = std::forward(value); - } - template - UpdateApplicationRequest& WithApplicationName(ApplicationNameT&& value) { - SetApplicationName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An optional description of the web application.

- */ - inline const Aws::String& GetApplicationDescription() const { return m_applicationDescription; } - inline bool ApplicationDescriptionHasBeenSet() const { return m_applicationDescriptionHasBeenSet; } - template - void SetApplicationDescription(ApplicationDescriptionT&& value) { - m_applicationDescriptionHasBeenSet = true; - m_applicationDescription = std::forward(value); - } - template - UpdateApplicationRequest& WithApplicationDescription(ApplicationDescriptionT&& value) { - SetApplicationDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A unique case-sensitive identifier that you can provide to ensure the - * idempotency of the request. Don't reuse this client token if a new idempotent - * request is required.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - UpdateApplicationRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_applicationId; - bool m_applicationIdHasBeenSet = false; - - Aws::String m_applicationName; - bool m_applicationNameHasBeenSet = false; - - Aws::String m_applicationDescription; - bool m_applicationDescriptionHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UpdateApplicationResult.h b/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UpdateApplicationResult.h deleted file mode 100644 index 0d1771a151b..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/include/aws/iotfleethub/model/UpdateApplicationResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { -class UpdateApplicationResult { - public: - AWS_IOTFLEETHUB_API UpdateApplicationResult() = default; - AWS_IOTFLEETHUB_API UpdateApplicationResult(const Aws::AmazonWebServiceResult& result); - AWS_IOTFLEETHUB_API UpdateApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UpdateApplicationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubClient.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubClient.cpp deleted file mode 100644 index 70a186515fc..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubClient.cpp +++ /dev/null @@ -1,426 +0,0 @@ -/** - * 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 - -using namespace Aws; -using namespace Aws::Auth; -using namespace Aws::Client; -using namespace Aws::IoTFleetHub; -using namespace Aws::IoTFleetHub::Model; -using namespace Aws::Http; -using namespace Aws::Utils::Json; -using namespace smithy::components::tracing; -using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; - -namespace Aws { -namespace IoTFleetHub { -const char SERVICE_NAME[] = "iotfleethub"; -const char ALLOCATION_TAG[] = "IoTFleetHubClient"; -} // namespace IoTFleetHub -} // namespace Aws -const char* IoTFleetHubClient::GetServiceName() { return SERVICE_NAME; } -const char* IoTFleetHubClient::GetAllocationTag() { return ALLOCATION_TAG; } - -IoTFleetHubClient::IoTFleetHubClient(const IoTFleetHub::IoTFleetHubClientConfiguration& clientConfiguration, - std::shared_ptr endpointProvider) - : BASECLASS(clientConfiguration, - Aws::MakeShared( - ALLOCATION_TAG, - Aws::MakeShared(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig), - 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); -} - -IoTFleetHubClient::IoTFleetHubClient(const AWSCredentials& credentials, std::shared_ptr endpointProvider, - const IoTFleetHub::IoTFleetHubClientConfiguration& 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); -} - -IoTFleetHubClient::IoTFleetHubClient(const std::shared_ptr& credentialsProvider, - std::shared_ptr endpointProvider, - const IoTFleetHub::IoTFleetHubClientConfiguration& 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 */ -IoTFleetHubClient::IoTFleetHubClient(const Client::ClientConfiguration& clientConfiguration) - : BASECLASS(clientConfiguration, - Aws::MakeShared( - ALLOCATION_TAG, - Aws::MakeShared(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig), - SERVICE_NAME, Aws::Region::ComputeSignerRegion(clientConfiguration.region)), - Aws::MakeShared(ALLOCATION_TAG)), - m_clientConfiguration(clientConfiguration), - m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG)) { - init(m_clientConfiguration); -} - -IoTFleetHubClient::IoTFleetHubClient(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); -} - -IoTFleetHubClient::IoTFleetHubClient(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 */ -IoTFleetHubClient::~IoTFleetHubClient() { ShutdownSdkClient(this, -1); } - -std::shared_ptr& IoTFleetHubClient::accessEndpointProvider() { return m_endpointProvider; } - -void IoTFleetHubClient::init(const IoTFleetHub::IoTFleetHubClientConfiguration& config) { - AWSClient::SetServiceClientName("IoTFleetHub"); - 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 IoTFleetHubClient::OverrideEndpoint(const Aws::String& endpoint) { - AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider); - m_clientConfiguration.endpointOverride = endpoint; - m_endpointProvider->OverrideEndpoint(endpoint); -} - -CreateApplicationOutcome IoTFleetHubClient::CreateApplication(const CreateApplicationRequest& request) const { - AWS_OPERATION_GUARD(CreateApplication); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateApplication", - {{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( - [&]() -> CreateApplicationOutcome { - 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, CreateApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/applications"); - return CreateApplicationOutcome( - 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()}}); -} - -DeleteApplicationOutcome IoTFleetHubClient::DeleteApplication(const DeleteApplicationRequest& request) const { - AWS_OPERATION_GUARD(DeleteApplication); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ApplicationIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DeleteApplication", "Required field: ApplicationId, is not set"); - return DeleteApplicationOutcome(Aws::Client::AWSError(IoTFleetHubErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [ApplicationId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteApplication", - {{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( - [&]() -> DeleteApplicationOutcome { - 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, DeleteApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/applications/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetApplicationId()); - return DeleteApplicationOutcome( - 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()}}); -} - -DescribeApplicationOutcome IoTFleetHubClient::DescribeApplication(const DescribeApplicationRequest& request) const { - AWS_OPERATION_GUARD(DescribeApplication); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ApplicationIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DescribeApplication", "Required field: ApplicationId, is not set"); - return DescribeApplicationOutcome(Aws::Client::AWSError(IoTFleetHubErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [ApplicationId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeApplication", - {{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( - [&]() -> DescribeApplicationOutcome { - 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, DescribeApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/applications/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetApplicationId()); - return DescribeApplicationOutcome( - 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()}}); -} - -ListApplicationsOutcome IoTFleetHubClient::ListApplications(const ListApplicationsRequest& request) const { - AWS_OPERATION_GUARD(ListApplications); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListApplications, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListApplications, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListApplications, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListApplications", - {{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( - [&]() -> ListApplicationsOutcome { - 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, ListApplications, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/applications"); - return ListApplicationsOutcome( - 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 IoTFleetHubClient::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(IoTFleetHubErrors::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()}}); -} - -TagResourceOutcome IoTFleetHubClient::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(IoTFleetHubErrors::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 IoTFleetHubClient::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(IoTFleetHubErrors::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(IoTFleetHubErrors::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()}}); -} - -UpdateApplicationOutcome IoTFleetHubClient::UpdateApplication(const UpdateApplicationRequest& request) const { - AWS_OPERATION_GUARD(UpdateApplication); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ApplicationIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("UpdateApplication", "Required field: ApplicationId, is not set"); - return UpdateApplicationOutcome(Aws::Client::AWSError(IoTFleetHubErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [ApplicationId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateApplication", - {{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( - [&]() -> UpdateApplicationOutcome { - 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, UpdateApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/applications/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetApplicationId()); - return UpdateApplicationOutcome( - MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, 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-iotfleethub/source/IoTFleetHubEndpointProvider.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubEndpointProvider.cpp deleted file mode 100644 index ec27f863d0f..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubEndpointProvider.cpp +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include - -namespace Aws { -namespace IoTFleetHub { -namespace Endpoint {} // namespace Endpoint -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubEndpointRules.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubEndpointRules.cpp deleted file mode 100644 index 12c90daafee..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubEndpointRules.cpp +++ /dev/null @@ -1,151 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -namespace Aws { -namespace IoTFleetHub { -const size_t IoTFleetHubEndpointRules::RulesBlobStrLen = 3512; -const size_t IoTFleetHubEndpointRules::RulesBlobSize = 3513; - -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', '"', ',', '"', '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', '"', ':', '[', '{', '"', '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', '"', ':', '"', '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', 'p', 'i', '.', 'f', 'l', - 'e', 'e', 't', 'h', 'u', 'b', '.', 'i', 'o', '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', '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', '"', '}', ']', ',', '"', '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', 'p', 'i', '.', 'f', 'l', 'e', 'e', 't', 'h', 'u', 'b', '.', 'i', 'o', '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', 'p', - 'i', '.', 'f', 'l', 'e', 'e', 't', 'h', 'u', 'b', '.', 'i', 'o', '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', 'p', 'i', '.', 'f', 'l', 'e', 'e', 't', 'h', 'u', 'b', '.', 'i', 'o', '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'}}; - -const char* IoTFleetHubEndpointRules::GetRulesBlob() { return RulesBlob.data(); } - -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubErrorMarshaller.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubErrorMarshaller.cpp deleted file mode 100644 index e00f2ad1590..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubErrorMarshaller.cpp +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 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::IoTFleetHub; - -AWSError IoTFleetHubErrorMarshaller::FindErrorByName(const char* errorName) const { - AWSError error = IoTFleetHubErrorMapper::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-iotfleethub/source/IoTFleetHubErrors.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubErrors.cpp deleted file mode 100644 index 640b15b6deb..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubErrors.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::Utils; -using namespace Aws::IoTFleetHub; - -namespace Aws { -namespace IoTFleetHub { -namespace IoTFleetHubErrorMapper { - -static const int CONFLICT_HASH = HashingUtils::HashString("ConflictException"); -static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException"); -static const int INVALID_REQUEST_HASH = HashingUtils::HashString("InvalidRequestException"); - -AWSError GetErrorForName(const char* errorName) { - int hashCode = HashingUtils::HashString(errorName); - - if (hashCode == CONFLICT_HASH) { - return AWSError(static_cast(IoTFleetHubErrors::CONFLICT), RetryableType::NOT_RETRYABLE); - } else if (hashCode == LIMIT_EXCEEDED_HASH) { - return AWSError(static_cast(IoTFleetHubErrors::LIMIT_EXCEEDED), RetryableType::RETRYABLE); - } else if (hashCode == INVALID_REQUEST_HASH) { - return AWSError(static_cast(IoTFleetHubErrors::INVALID_REQUEST), RetryableType::NOT_RETRYABLE); - } - return AWSError(CoreErrors::UNKNOWN, false); -} - -} // namespace IoTFleetHubErrorMapper -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubRequest.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubRequest.cpp deleted file mode 100644 index 49965042681..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/IoTFleetHubRequest.cpp +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include - -namespace Aws { -namespace IoTFleetHub {} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/ApplicationState.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/ApplicationState.cpp deleted file mode 100644 index 39892ed8c6b..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/ApplicationState.cpp +++ /dev/null @@ -1,73 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { -namespace ApplicationStateMapper { - -static const int CREATING_HASH = HashingUtils::HashString("CREATING"); -static const int DELETING_HASH = HashingUtils::HashString("DELETING"); -static const int ACTIVE_HASH = HashingUtils::HashString("ACTIVE"); -static const int CREATE_FAILED_HASH = HashingUtils::HashString("CREATE_FAILED"); -static const int DELETE_FAILED_HASH = HashingUtils::HashString("DELETE_FAILED"); - -ApplicationState GetApplicationStateForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == CREATING_HASH) { - return ApplicationState::CREATING; - } else if (hashCode == DELETING_HASH) { - return ApplicationState::DELETING; - } else if (hashCode == ACTIVE_HASH) { - return ApplicationState::ACTIVE; - } else if (hashCode == CREATE_FAILED_HASH) { - return ApplicationState::CREATE_FAILED; - } else if (hashCode == DELETE_FAILED_HASH) { - return ApplicationState::DELETE_FAILED; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return ApplicationState::NOT_SET; -} - -Aws::String GetNameForApplicationState(ApplicationState enumValue) { - switch (enumValue) { - case ApplicationState::NOT_SET: - return {}; - case ApplicationState::CREATING: - return "CREATING"; - case ApplicationState::DELETING: - return "DELETING"; - case ApplicationState::ACTIVE: - return "ACTIVE"; - case ApplicationState::CREATE_FAILED: - return "CREATE_FAILED"; - case ApplicationState::DELETE_FAILED: - return "DELETE_FAILED"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ApplicationStateMapper -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/ApplicationSummary.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/ApplicationSummary.cpp deleted file mode 100644 index 2e3d592a0e4..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/ApplicationSummary.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 IoTFleetHub { -namespace Model { - -ApplicationSummary::ApplicationSummary(JsonView jsonValue) { *this = jsonValue; } - -ApplicationSummary& ApplicationSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("applicationId")) { - m_applicationId = jsonValue.GetString("applicationId"); - m_applicationIdHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationName")) { - m_applicationName = jsonValue.GetString("applicationName"); - m_applicationNameHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationDescription")) { - m_applicationDescription = jsonValue.GetString("applicationDescription"); - m_applicationDescriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationUrl")) { - m_applicationUrl = jsonValue.GetString("applicationUrl"); - m_applicationUrlHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationCreationDate")) { - m_applicationCreationDate = jsonValue.GetInt64("applicationCreationDate"); - m_applicationCreationDateHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationLastUpdateDate")) { - m_applicationLastUpdateDate = jsonValue.GetInt64("applicationLastUpdateDate"); - m_applicationLastUpdateDateHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationState")) { - m_applicationState = ApplicationStateMapper::GetApplicationStateForName(jsonValue.GetString("applicationState")); - m_applicationStateHasBeenSet = true; - } - return *this; -} - -JsonValue ApplicationSummary::Jsonize() const { - JsonValue payload; - - if (m_applicationIdHasBeenSet) { - payload.WithString("applicationId", m_applicationId); - } - - if (m_applicationNameHasBeenSet) { - payload.WithString("applicationName", m_applicationName); - } - - if (m_applicationDescriptionHasBeenSet) { - payload.WithString("applicationDescription", m_applicationDescription); - } - - if (m_applicationUrlHasBeenSet) { - payload.WithString("applicationUrl", m_applicationUrl); - } - - if (m_applicationCreationDateHasBeenSet) { - payload.WithInt64("applicationCreationDate", m_applicationCreationDate); - } - - if (m_applicationLastUpdateDateHasBeenSet) { - payload.WithInt64("applicationLastUpdateDate", m_applicationLastUpdateDate); - } - - if (m_applicationStateHasBeenSet) { - payload.WithString("applicationState", ApplicationStateMapper::GetNameForApplicationState(m_applicationState)); - } - - return payload; -} - -} // namespace Model -} // namespace IoTFleetHub -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/CreateApplicationRequest.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/CreateApplicationRequest.cpp deleted file mode 100644 index b92ee3a08cd..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/CreateApplicationRequest.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateApplicationRequest::SerializePayload() const { - JsonValue payload; - - if (m_applicationNameHasBeenSet) { - payload.WithString("applicationName", m_applicationName); - } - - if (m_applicationDescriptionHasBeenSet) { - payload.WithString("applicationDescription", m_applicationDescription); - } - - if (m_clientTokenHasBeenSet) { - payload.WithString("clientToken", m_clientToken); - } - - if (m_roleArnHasBeenSet) { - payload.WithString("roleArn", m_roleArn); - } - - 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-iotfleethub/source/model/CreateApplicationResult.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/CreateApplicationResult.cpp deleted file mode 100644 index 9120bb3e1f7..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/CreateApplicationResult.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * 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::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateApplicationResult::CreateApplicationResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateApplicationResult& CreateApplicationResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("applicationId")) { - m_applicationId = jsonValue.GetString("applicationId"); - m_applicationIdHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationArn")) { - m_applicationArn = jsonValue.GetString("applicationArn"); - m_applicationArnHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/DeleteApplicationRequest.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/DeleteApplicationRequest.cpp deleted file mode 100644 index 7fe01bb506e..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/DeleteApplicationRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String DeleteApplicationRequest::SerializePayload() const { return {}; } - -void DeleteApplicationRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_clientTokenHasBeenSet) { - ss << m_clientToken; - uri.AddQueryStringParameter("clientToken", ss.str()); - ss.str(""); - } -} diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/DeleteApplicationResult.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/DeleteApplicationResult.cpp deleted file mode 100644 index a9f2ed4aa34..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/DeleteApplicationResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DeleteApplicationResult::DeleteApplicationResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DeleteApplicationResult& DeleteApplicationResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/DescribeApplicationRequest.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/DescribeApplicationRequest.cpp deleted file mode 100644 index cb8ef664ca3..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/DescribeApplicationRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeApplicationRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/DescribeApplicationResult.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/DescribeApplicationResult.cpp deleted file mode 100644 index 82f3abd69bf..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/DescribeApplicationResult.cpp +++ /dev/null @@ -1,84 +0,0 @@ -/** - * 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::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeApplicationResult::DescribeApplicationResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeApplicationResult& DescribeApplicationResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("applicationId")) { - m_applicationId = jsonValue.GetString("applicationId"); - m_applicationIdHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationArn")) { - m_applicationArn = jsonValue.GetString("applicationArn"); - m_applicationArnHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationName")) { - m_applicationName = jsonValue.GetString("applicationName"); - m_applicationNameHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationDescription")) { - m_applicationDescription = jsonValue.GetString("applicationDescription"); - m_applicationDescriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationUrl")) { - m_applicationUrl = jsonValue.GetString("applicationUrl"); - m_applicationUrlHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationState")) { - m_applicationState = ApplicationStateMapper::GetApplicationStateForName(jsonValue.GetString("applicationState")); - m_applicationStateHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationCreationDate")) { - m_applicationCreationDate = jsonValue.GetInt64("applicationCreationDate"); - m_applicationCreationDateHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationLastUpdateDate")) { - m_applicationLastUpdateDate = jsonValue.GetInt64("applicationLastUpdateDate"); - m_applicationLastUpdateDateHasBeenSet = true; - } - if (jsonValue.ValueExists("roleArn")) { - m_roleArn = jsonValue.GetString("roleArn"); - m_roleArnHasBeenSet = true; - } - if (jsonValue.ValueExists("ssoClientId")) { - m_ssoClientId = jsonValue.GetString("ssoClientId"); - m_ssoClientIdHasBeenSet = true; - } - if (jsonValue.ValueExists("errorMessage")) { - m_errorMessage = jsonValue.GetString("errorMessage"); - m_errorMessageHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/ListApplicationsRequest.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/ListApplicationsRequest.cpp deleted file mode 100644 index 7ebe692878d..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/ListApplicationsRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListApplicationsRequest::SerializePayload() const { return {}; } - -void ListApplicationsRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_nextTokenHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("nextToken", ss.str()); - ss.str(""); - } -} diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/ListApplicationsResult.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/ListApplicationsResult.cpp deleted file mode 100644 index d7efca0267a..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/ListApplicationsResult.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/** - * 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::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListApplicationsResult::ListApplicationsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListApplicationsResult& ListApplicationsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("applicationSummaries")) { - Aws::Utils::Array applicationSummariesJsonList = jsonValue.GetArray("applicationSummaries"); - for (unsigned applicationSummariesIndex = 0; applicationSummariesIndex < applicationSummariesJsonList.GetLength(); - ++applicationSummariesIndex) { - m_applicationSummaries.push_back(applicationSummariesJsonList[applicationSummariesIndex].AsObject()); - } - m_applicationSummariesHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/ListTagsForResourceRequest.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/ListTagsForResourceRequest.cpp deleted file mode 100644 index ec4ebf76340..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/ListTagsForResourceRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListTagsForResourceRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/ListTagsForResourceResult.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/ListTagsForResourceResult.cpp deleted file mode 100644 index 0c51bb4c2d4..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/ListTagsForResourceResult.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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(); - } - m_tagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/TagResourceRequest.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/TagResourceRequest.cpp deleted file mode 100644 index 69a3b02eaad..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/TagResourceRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -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-iotfleethub/source/model/TagResourceResult.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/TagResourceResult.cpp deleted file mode 100644 index 48f536cab23..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/TagResourceResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/UntagResourceRequest.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/UntagResourceRequest.cpp deleted file mode 100644 index 10d7f2a932b..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/UntagResourceRequest.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -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-iotfleethub/source/model/UntagResourceResult.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/UntagResourceResult.cpp deleted file mode 100644 index 6dadbd82553..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/UntagResourceResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/UpdateApplicationRequest.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/UpdateApplicationRequest.cpp deleted file mode 100644 index 8f64e1f30d7..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/UpdateApplicationRequest.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String UpdateApplicationRequest::SerializePayload() const { - JsonValue payload; - - if (m_applicationNameHasBeenSet) { - payload.WithString("applicationName", m_applicationName); - } - - if (m_applicationDescriptionHasBeenSet) { - payload.WithString("applicationDescription", m_applicationDescription); - } - - if (m_clientTokenHasBeenSet) { - payload.WithString("clientToken", m_clientToken); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-iotfleethub/source/model/UpdateApplicationResult.cpp b/generated/src/aws-cpp-sdk-iotfleethub/source/model/UpdateApplicationResult.cpp deleted file mode 100644 index a2cb963f1d1..00000000000 --- a/generated/src/aws-cpp-sdk-iotfleethub/source/model/UpdateApplicationResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::IoTFleetHub::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -UpdateApplicationResult::UpdateApplicationResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -UpdateApplicationResult& UpdateApplicationResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/CMakeLists.txt b/generated/src/aws-cpp-sdk-lookoutmetrics/CMakeLists.txt deleted file mode 100644 index 1f7e0211fb4..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/CMakeLists.txt +++ /dev/null @@ -1,76 +0,0 @@ -add_project(aws-cpp-sdk-lookoutmetrics "C++ SDK for the AWS lookoutmetrics service" aws-cpp-sdk-core) - -file(GLOB AWS_LOOKOUTMETRICS_HEADERS - "include/aws/lookoutmetrics/*.h" -) - -file(GLOB AWS_LOOKOUTMETRICS_MODEL_HEADERS - "include/aws/lookoutmetrics/model/*.h" -) - -file(GLOB AWS_LOOKOUTMETRICS_SOURCE - "source/*.cpp" -) - -file(GLOB AWS_LOOKOUTMETRICS_MODEL_SOURCE - "source/model/*.cpp" -) - -file(GLOB LOOKOUTMETRICS_UNIFIED_HEADERS - ${AWS_LOOKOUTMETRICS_HEADERS} - ${AWS_LOOKOUTMETRICS_MODEL_HEADERS} -) - -file(GLOB LOOKOUTMETRICS_UNITY_SRC - ${AWS_LOOKOUTMETRICS_SOURCE} - ${AWS_LOOKOUTMETRICS_MODEL_SOURCE} -) - -if(ENABLE_UNITY_BUILD) - enable_unity_build("LOOKOUTMETRICS" LOOKOUTMETRICS_UNITY_SRC) -endif() - -file(GLOB LOOKOUTMETRICS_SRC - ${LOOKOUTMETRICS_UNIFIED_HEADERS} - ${LOOKOUTMETRICS_UNITY_SRC} -) - -if(WIN32) - #if we are compiling for visual studio, create a sane directory tree. - if(MSVC) - source_group("Header Files\\aws\\lookoutmetrics" FILES ${AWS_LOOKOUTMETRICS_HEADERS}) - source_group("Header Files\\aws\\lookoutmetrics\\model" FILES ${AWS_LOOKOUTMETRICS_MODEL_HEADERS}) - source_group("Source Files" FILES ${AWS_LOOKOUTMETRICS_SOURCE}) - source_group("Source Files\\model" FILES ${AWS_LOOKOUTMETRICS_MODEL_SOURCE}) - endif(MSVC) -endif() - -set(LOOKOUTMETRICS_INCLUDES - "${CMAKE_CURRENT_SOURCE_DIR}/include/" -) - -add_library(${PROJECT_NAME} ${LOOKOUTMETRICS_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_LOOKOUTMETRICS_EXPORTS") -endif() - -target_include_directories(${PROJECT_NAME} PUBLIC - $ - $) - -target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS}) - - -setup_install() - -install (FILES ${AWS_LOOKOUTMETRICS_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/lookoutmetrics) -install (FILES ${AWS_LOOKOUTMETRICS_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/lookoutmetrics/model) - -do_packaging() - - diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsClient.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsClient.h deleted file mode 100644 index 7e9e2f33f50..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsClient.h +++ /dev/null @@ -1,914 +0,0 @@ -/** - * 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 LookoutMetrics { -/** - *

This is the Amazon Lookout for Metrics API Reference. For an - * introduction to the service with tutorials for getting started, visit Amazon Lookout for - * Metrics Developer Guide.

- */ -class AWS_LOOKOUTMETRICS_API LookoutMetricsClient : public Aws::Client::AWSJsonClient, - public Aws::Client::ClientWithAsyncTemplateMethods { - public: - typedef Aws::Client::AWSJsonClient BASECLASS; - static const char* GetServiceName(); - static const char* GetAllocationTag(); - - typedef LookoutMetricsClientConfiguration ClientConfigurationType; - typedef LookoutMetricsEndpointProvider 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. - */ - LookoutMetricsClient(const Aws::LookoutMetrics::LookoutMetricsClientConfiguration& clientConfiguration = - Aws::LookoutMetrics::LookoutMetricsClientConfiguration(), - 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. - */ - LookoutMetricsClient(const Aws::Auth::AWSCredentials& credentials, - std::shared_ptr endpointProvider = nullptr, - const Aws::LookoutMetrics::LookoutMetricsClientConfiguration& clientConfiguration = - Aws::LookoutMetrics::LookoutMetricsClientConfiguration()); - - /** - * 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 - */ - LookoutMetricsClient(const std::shared_ptr& credentialsProvider, - std::shared_ptr endpointProvider = nullptr, - const Aws::LookoutMetrics::LookoutMetricsClientConfiguration& clientConfiguration = - Aws::LookoutMetrics::LookoutMetricsClientConfiguration()); - - /* 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. - */ - LookoutMetricsClient(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. - */ - LookoutMetricsClient(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 - */ - LookoutMetricsClient(const std::shared_ptr& credentialsProvider, - const Aws::Client::ClientConfiguration& clientConfiguration); - - /* End of legacy constructors due deprecation */ - virtual ~LookoutMetricsClient(); - - /** - *

Activates an anomaly detector.

See Also:

AWS - * API Reference

- */ - virtual Model::ActivateAnomalyDetectorOutcome ActivateAnomalyDetector(const Model::ActivateAnomalyDetectorRequest& request) const; - - /** - * A Callable wrapper for ActivateAnomalyDetector that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ActivateAnomalyDetectorOutcomeCallable ActivateAnomalyDetectorCallable(const ActivateAnomalyDetectorRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::ActivateAnomalyDetector, request); - } - - /** - * An Async wrapper for ActivateAnomalyDetector that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void ActivateAnomalyDetectorAsync(const ActivateAnomalyDetectorRequestT& request, - const ActivateAnomalyDetectorResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::ActivateAnomalyDetector, request, handler, context); - } - - /** - *

Runs a backtest for anomaly detection for the specified - * resource.

See Also:

AWS - * API Reference

- */ - virtual Model::BackTestAnomalyDetectorOutcome BackTestAnomalyDetector(const Model::BackTestAnomalyDetectorRequest& request) const; - - /** - * A Callable wrapper for BackTestAnomalyDetector that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::BackTestAnomalyDetectorOutcomeCallable BackTestAnomalyDetectorCallable(const BackTestAnomalyDetectorRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::BackTestAnomalyDetector, request); - } - - /** - * An Async wrapper for BackTestAnomalyDetector that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void BackTestAnomalyDetectorAsync(const BackTestAnomalyDetectorRequestT& request, - const BackTestAnomalyDetectorResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::BackTestAnomalyDetector, request, handler, context); - } - - /** - *

Creates an alert for an anomaly detector.

See Also:

AWS - * API Reference

- */ - virtual Model::CreateAlertOutcome CreateAlert(const Model::CreateAlertRequest& request) const; - - /** - * A Callable wrapper for CreateAlert that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::CreateAlertOutcomeCallable CreateAlertCallable(const CreateAlertRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::CreateAlert, request); - } - - /** - * An Async wrapper for CreateAlert that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void CreateAlertAsync(const CreateAlertRequestT& request, const CreateAlertResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::CreateAlert, request, handler, context); - } - - /** - *

Creates an anomaly detector.

See Also:

AWS - * API Reference

- */ - virtual Model::CreateAnomalyDetectorOutcome CreateAnomalyDetector(const Model::CreateAnomalyDetectorRequest& request) const; - - /** - * A Callable wrapper for CreateAnomalyDetector that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::CreateAnomalyDetectorOutcomeCallable CreateAnomalyDetectorCallable(const CreateAnomalyDetectorRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::CreateAnomalyDetector, request); - } - - /** - * An Async wrapper for CreateAnomalyDetector that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void CreateAnomalyDetectorAsync(const CreateAnomalyDetectorRequestT& request, const CreateAnomalyDetectorResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::CreateAnomalyDetector, request, handler, context); - } - - /** - *

Creates a dataset.

See Also:

AWS - * API Reference

- */ - virtual Model::CreateMetricSetOutcome CreateMetricSet(const Model::CreateMetricSetRequest& request) const; - - /** - * A Callable wrapper for CreateMetricSet that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::CreateMetricSetOutcomeCallable CreateMetricSetCallable(const CreateMetricSetRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::CreateMetricSet, request); - } - - /** - * An Async wrapper for CreateMetricSet that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void CreateMetricSetAsync(const CreateMetricSetRequestT& request, const CreateMetricSetResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::CreateMetricSet, request, handler, context); - } - - /** - *

Deactivates an anomaly detector.

See Also:

AWS - * API Reference

- */ - virtual Model::DeactivateAnomalyDetectorOutcome DeactivateAnomalyDetector(const Model::DeactivateAnomalyDetectorRequest& request) const; - - /** - * A Callable wrapper for DeactivateAnomalyDetector that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DeactivateAnomalyDetectorOutcomeCallable DeactivateAnomalyDetectorCallable( - const DeactivateAnomalyDetectorRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::DeactivateAnomalyDetector, request); - } - - /** - * An Async wrapper for DeactivateAnomalyDetector that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DeactivateAnomalyDetectorAsync(const DeactivateAnomalyDetectorRequestT& request, - const DeactivateAnomalyDetectorResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::DeactivateAnomalyDetector, request, handler, context); - } - - /** - *

Deletes an alert.

See Also:

AWS - * API Reference

- */ - virtual Model::DeleteAlertOutcome DeleteAlert(const Model::DeleteAlertRequest& request) const; - - /** - * A Callable wrapper for DeleteAlert that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DeleteAlertOutcomeCallable DeleteAlertCallable(const DeleteAlertRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::DeleteAlert, request); - } - - /** - * An Async wrapper for DeleteAlert that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DeleteAlertAsync(const DeleteAlertRequestT& request, const DeleteAlertResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::DeleteAlert, request, handler, context); - } - - /** - *

Deletes a detector. Deleting an anomaly detector will delete all of its - * corresponding resources including any configured datasets and - * alerts.

See Also:

AWS - * API Reference

- */ - virtual Model::DeleteAnomalyDetectorOutcome DeleteAnomalyDetector(const Model::DeleteAnomalyDetectorRequest& request) const; - - /** - * A Callable wrapper for DeleteAnomalyDetector that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DeleteAnomalyDetectorOutcomeCallable DeleteAnomalyDetectorCallable(const DeleteAnomalyDetectorRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::DeleteAnomalyDetector, request); - } - - /** - * An Async wrapper for DeleteAnomalyDetector that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DeleteAnomalyDetectorAsync(const DeleteAnomalyDetectorRequestT& request, const DeleteAnomalyDetectorResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::DeleteAnomalyDetector, request, handler, context); - } - - /** - *

Describes an alert.

Amazon Lookout for Metrics API actions are - * eventually consistent. If you do a read operation on a resource immediately - * after creating or modifying it, use retries to allow time for the write - * operation to complete.

See Also:

AWS - * API Reference

- */ - virtual Model::DescribeAlertOutcome DescribeAlert(const Model::DescribeAlertRequest& request) const; - - /** - * A Callable wrapper for DescribeAlert that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DescribeAlertOutcomeCallable DescribeAlertCallable(const DescribeAlertRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::DescribeAlert, request); - } - - /** - * An Async wrapper for DescribeAlert that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DescribeAlertAsync(const DescribeAlertRequestT& request, const DescribeAlertResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::DescribeAlert, request, handler, context); - } - - /** - *

Returns information about the status of the specified anomaly detection - * jobs.

See Also:

AWS - * API Reference

- */ - virtual Model::DescribeAnomalyDetectionExecutionsOutcome DescribeAnomalyDetectionExecutions( - const Model::DescribeAnomalyDetectionExecutionsRequest& request) const; - - /** - * A Callable wrapper for DescribeAnomalyDetectionExecutions that returns a future to the operation so that it can be executed in parallel - * to other requests. - */ - template - Model::DescribeAnomalyDetectionExecutionsOutcomeCallable DescribeAnomalyDetectionExecutionsCallable( - const DescribeAnomalyDetectionExecutionsRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::DescribeAnomalyDetectionExecutions, request); - } - - /** - * An Async wrapper for DescribeAnomalyDetectionExecutions that queues the request into a thread executor and triggers associated callback - * when operation has finished. - */ - template - void DescribeAnomalyDetectionExecutionsAsync(const DescribeAnomalyDetectionExecutionsRequestT& request, - const DescribeAnomalyDetectionExecutionsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::DescribeAnomalyDetectionExecutions, request, handler, context); - } - - /** - *

Describes a detector.

Amazon Lookout for Metrics API actions are - * eventually consistent. If you do a read operation on a resource immediately - * after creating or modifying it, use retries to allow time for the write - * operation to complete.

See Also:

AWS - * API Reference

- */ - virtual Model::DescribeAnomalyDetectorOutcome DescribeAnomalyDetector(const Model::DescribeAnomalyDetectorRequest& request) const; - - /** - * A Callable wrapper for DescribeAnomalyDetector that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DescribeAnomalyDetectorOutcomeCallable DescribeAnomalyDetectorCallable(const DescribeAnomalyDetectorRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::DescribeAnomalyDetector, request); - } - - /** - * An Async wrapper for DescribeAnomalyDetector that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DescribeAnomalyDetectorAsync(const DescribeAnomalyDetectorRequestT& request, - const DescribeAnomalyDetectorResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::DescribeAnomalyDetector, request, handler, context); - } - - /** - *

Describes a dataset.

Amazon Lookout for Metrics API actions are - * eventually consistent. If you do a read operation on a resource immediately - * after creating or modifying it, use retries to allow time for the write - * operation to complete.

See Also:

AWS - * API Reference

- */ - virtual Model::DescribeMetricSetOutcome DescribeMetricSet(const Model::DescribeMetricSetRequest& request) const; - - /** - * A Callable wrapper for DescribeMetricSet that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DescribeMetricSetOutcomeCallable DescribeMetricSetCallable(const DescribeMetricSetRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::DescribeMetricSet, request); - } - - /** - * An Async wrapper for DescribeMetricSet that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void DescribeMetricSetAsync(const DescribeMetricSetRequestT& request, const DescribeMetricSetResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::DescribeMetricSet, request, handler, context); - } - - /** - *

Detects an Amazon S3 dataset's file format, interval, and - * offset.

See Also:

AWS - * API Reference

- */ - virtual Model::DetectMetricSetConfigOutcome DetectMetricSetConfig(const Model::DetectMetricSetConfigRequest& request) const; - - /** - * A Callable wrapper for DetectMetricSetConfig that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DetectMetricSetConfigOutcomeCallable DetectMetricSetConfigCallable(const DetectMetricSetConfigRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::DetectMetricSetConfig, request); - } - - /** - * An Async wrapper for DetectMetricSetConfig that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DetectMetricSetConfigAsync(const DetectMetricSetConfigRequestT& request, const DetectMetricSetConfigResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::DetectMetricSetConfig, request, handler, context); - } - - /** - *

Returns details about a group of anomalous metrics.

See Also:

- * AWS - * API Reference

- */ - virtual Model::GetAnomalyGroupOutcome GetAnomalyGroup(const Model::GetAnomalyGroupRequest& request) const; - - /** - * A Callable wrapper for GetAnomalyGroup that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::GetAnomalyGroupOutcomeCallable GetAnomalyGroupCallable(const GetAnomalyGroupRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::GetAnomalyGroup, request); - } - - /** - * An Async wrapper for GetAnomalyGroup that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void GetAnomalyGroupAsync(const GetAnomalyGroupRequestT& request, const GetAnomalyGroupResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::GetAnomalyGroup, request, handler, context); - } - - /** - *

Returns details about the requested data quality metrics.

See - * Also:

AWS - * API Reference

- */ - virtual Model::GetDataQualityMetricsOutcome GetDataQualityMetrics(const Model::GetDataQualityMetricsRequest& request) const; - - /** - * A Callable wrapper for GetDataQualityMetrics that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::GetDataQualityMetricsOutcomeCallable GetDataQualityMetricsCallable(const GetDataQualityMetricsRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::GetDataQualityMetrics, request); - } - - /** - * An Async wrapper for GetDataQualityMetrics that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void GetDataQualityMetricsAsync(const GetDataQualityMetricsRequestT& request, const GetDataQualityMetricsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::GetDataQualityMetrics, request, handler, context); - } - - /** - *

Get feedback for an anomaly group.

See Also:

AWS - * API Reference

- */ - virtual Model::GetFeedbackOutcome GetFeedback(const Model::GetFeedbackRequest& request) const; - - /** - * A Callable wrapper for GetFeedback that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::GetFeedbackOutcomeCallable GetFeedbackCallable(const GetFeedbackRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::GetFeedback, request); - } - - /** - * An Async wrapper for GetFeedback that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void GetFeedbackAsync(const GetFeedbackRequestT& request, const GetFeedbackResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::GetFeedback, request, handler, context); - } - - /** - *

Returns a selection of sample records from an Amazon S3 - * datasource.

See Also:

AWS - * API Reference

- */ - virtual Model::GetSampleDataOutcome GetSampleData(const Model::GetSampleDataRequest& request = {}) const; - - /** - * A Callable wrapper for GetSampleData that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::GetSampleDataOutcomeCallable GetSampleDataCallable(const GetSampleDataRequestT& request = {}) const { - return SubmitCallable(&LookoutMetricsClient::GetSampleData, request); - } - - /** - * An Async wrapper for GetSampleData that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void GetSampleDataAsync(const GetSampleDataResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const GetSampleDataRequestT& request = {}) const { - return SubmitAsync(&LookoutMetricsClient::GetSampleData, request, handler, context); - } - - /** - *

Lists the alerts attached to a detector.

Amazon Lookout for Metrics - * API actions are eventually consistent. If you do a read operation on a resource - * immediately after creating or modifying it, use retries to allow time for the - * write operation to complete.

See Also:

AWS - * API Reference

- */ - virtual Model::ListAlertsOutcome ListAlerts(const Model::ListAlertsRequest& request = {}) const; - - /** - * A Callable wrapper for ListAlerts that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::ListAlertsOutcomeCallable ListAlertsCallable(const ListAlertsRequestT& request = {}) const { - return SubmitCallable(&LookoutMetricsClient::ListAlerts, request); - } - - /** - * An Async wrapper for ListAlerts that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void ListAlertsAsync(const ListAlertsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListAlertsRequestT& request = {}) const { - return SubmitAsync(&LookoutMetricsClient::ListAlerts, request, handler, context); - } - - /** - *

Lists the detectors in the current AWS Region.

Amazon Lookout for - * Metrics API actions are eventually consistent. If you do a read operation on a - * resource immediately after creating or modifying it, use retries to allow time - * for the write operation to complete.

See Also:

AWS - * API Reference

- */ - virtual Model::ListAnomalyDetectorsOutcome ListAnomalyDetectors(const Model::ListAnomalyDetectorsRequest& request = {}) const; - - /** - * A Callable wrapper for ListAnomalyDetectors that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListAnomalyDetectorsOutcomeCallable ListAnomalyDetectorsCallable(const ListAnomalyDetectorsRequestT& request = {}) const { - return SubmitCallable(&LookoutMetricsClient::ListAnomalyDetectors, request); - } - - /** - * An Async wrapper for ListAnomalyDetectors that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void ListAnomalyDetectorsAsync(const ListAnomalyDetectorsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListAnomalyDetectorsRequestT& request = {}) const { - return SubmitAsync(&LookoutMetricsClient::ListAnomalyDetectors, request, handler, context); - } - - /** - *

Returns a list of measures that are potential causes or effects of an anomaly - * group.

See Also:

AWS - * API Reference

- */ - virtual Model::ListAnomalyGroupRelatedMetricsOutcome ListAnomalyGroupRelatedMetrics( - const Model::ListAnomalyGroupRelatedMetricsRequest& request) const; - - /** - * A Callable wrapper for ListAnomalyGroupRelatedMetrics that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::ListAnomalyGroupRelatedMetricsOutcomeCallable ListAnomalyGroupRelatedMetricsCallable( - const ListAnomalyGroupRelatedMetricsRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::ListAnomalyGroupRelatedMetrics, request); - } - - /** - * An Async wrapper for ListAnomalyGroupRelatedMetrics that queues the request into a thread executor and triggers associated callback - * when operation has finished. - */ - template - void ListAnomalyGroupRelatedMetricsAsync(const ListAnomalyGroupRelatedMetricsRequestT& request, - const ListAnomalyGroupRelatedMetricsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::ListAnomalyGroupRelatedMetrics, request, handler, context); - } - - /** - *

Returns a list of anomaly groups.

See Also:

AWS - * API Reference

- */ - virtual Model::ListAnomalyGroupSummariesOutcome ListAnomalyGroupSummaries(const Model::ListAnomalyGroupSummariesRequest& request) const; - - /** - * A Callable wrapper for ListAnomalyGroupSummaries that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListAnomalyGroupSummariesOutcomeCallable ListAnomalyGroupSummariesCallable( - const ListAnomalyGroupSummariesRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::ListAnomalyGroupSummaries, request); - } - - /** - * An Async wrapper for ListAnomalyGroupSummaries that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void ListAnomalyGroupSummariesAsync(const ListAnomalyGroupSummariesRequestT& request, - const ListAnomalyGroupSummariesResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::ListAnomalyGroupSummaries, request, handler, context); - } - - /** - *

Gets a list of anomalous metrics for a measure in an anomaly - * group.

See Also:

AWS - * API Reference

- */ - virtual Model::ListAnomalyGroupTimeSeriesOutcome ListAnomalyGroupTimeSeries( - const Model::ListAnomalyGroupTimeSeriesRequest& request) const; - - /** - * A Callable wrapper for ListAnomalyGroupTimeSeries that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::ListAnomalyGroupTimeSeriesOutcomeCallable ListAnomalyGroupTimeSeriesCallable( - const ListAnomalyGroupTimeSeriesRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::ListAnomalyGroupTimeSeries, request); - } - - /** - * An Async wrapper for ListAnomalyGroupTimeSeries that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void ListAnomalyGroupTimeSeriesAsync(const ListAnomalyGroupTimeSeriesRequestT& request, - const ListAnomalyGroupTimeSeriesResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::ListAnomalyGroupTimeSeries, request, handler, context); - } - - /** - *

Lists the datasets in the current AWS Region.

Amazon Lookout for - * Metrics API actions are eventually consistent. If you do a read operation on a - * resource immediately after creating or modifying it, use retries to allow time - * for the write operation to complete.

See Also:

AWS - * API Reference

- */ - virtual Model::ListMetricSetsOutcome ListMetricSets(const Model::ListMetricSetsRequest& request = {}) const; - - /** - * A Callable wrapper for ListMetricSets that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::ListMetricSetsOutcomeCallable ListMetricSetsCallable(const ListMetricSetsRequestT& request = {}) const { - return SubmitCallable(&LookoutMetricsClient::ListMetricSets, request); - } - - /** - * An Async wrapper for ListMetricSets that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void ListMetricSetsAsync(const ListMetricSetsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListMetricSetsRequestT& request = {}) const { - return SubmitAsync(&LookoutMetricsClient::ListMetricSets, request, handler, context); - } - - /** - *

Gets a list of tags - * for a detector, dataset, or alert.

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(&LookoutMetricsClient::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(&LookoutMetricsClient::ListTagsForResource, request, handler, context); - } - - /** - *

Add feedback for an anomalous metric.

See Also:

AWS - * API Reference

- */ - virtual Model::PutFeedbackOutcome PutFeedback(const Model::PutFeedbackRequest& request) const; - - /** - * A Callable wrapper for PutFeedback that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::PutFeedbackOutcomeCallable PutFeedbackCallable(const PutFeedbackRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::PutFeedback, request); - } - - /** - * An Async wrapper for PutFeedback that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void PutFeedbackAsync(const PutFeedbackRequestT& request, const PutFeedbackResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::PutFeedback, request, handler, context); - } - - /** - *

Adds tags - * to a detector, dataset, or alert.

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(&LookoutMetricsClient::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(&LookoutMetricsClient::TagResource, request, handler, context); - } - - /** - *

Removes tags - * from a detector, dataset, or alert.

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(&LookoutMetricsClient::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(&LookoutMetricsClient::UntagResource, request, handler, context); - } - - /** - *

Make changes to an existing alert.

See Also:

AWS - * API Reference

- */ - virtual Model::UpdateAlertOutcome UpdateAlert(const Model::UpdateAlertRequest& request) const; - - /** - * A Callable wrapper for UpdateAlert that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::UpdateAlertOutcomeCallable UpdateAlertCallable(const UpdateAlertRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::UpdateAlert, request); - } - - /** - * An Async wrapper for UpdateAlert that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void UpdateAlertAsync(const UpdateAlertRequestT& request, const UpdateAlertResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::UpdateAlert, request, handler, context); - } - - /** - *

Updates a detector. After activation, you can only change a detector's - * ingestion delay and description.

See Also:

AWS - * API Reference

- */ - virtual Model::UpdateAnomalyDetectorOutcome UpdateAnomalyDetector(const Model::UpdateAnomalyDetectorRequest& request) const; - - /** - * A Callable wrapper for UpdateAnomalyDetector that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::UpdateAnomalyDetectorOutcomeCallable UpdateAnomalyDetectorCallable(const UpdateAnomalyDetectorRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::UpdateAnomalyDetector, request); - } - - /** - * An Async wrapper for UpdateAnomalyDetector that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void UpdateAnomalyDetectorAsync(const UpdateAnomalyDetectorRequestT& request, const UpdateAnomalyDetectorResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::UpdateAnomalyDetector, request, handler, context); - } - - /** - *

Updates a dataset.

See Also:

AWS - * API Reference

- */ - virtual Model::UpdateMetricSetOutcome UpdateMetricSet(const Model::UpdateMetricSetRequest& request) const; - - /** - * A Callable wrapper for UpdateMetricSet that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::UpdateMetricSetOutcomeCallable UpdateMetricSetCallable(const UpdateMetricSetRequestT& request) const { - return SubmitCallable(&LookoutMetricsClient::UpdateMetricSet, request); - } - - /** - * An Async wrapper for UpdateMetricSet that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void UpdateMetricSetAsync(const UpdateMetricSetRequestT& request, const UpdateMetricSetResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutMetricsClient::UpdateMetricSet, request, handler, context); - } - - void OverrideEndpoint(const Aws::String& endpoint); - std::shared_ptr& accessEndpointProvider(); - - private: - friend class Aws::Client::ClientWithAsyncTemplateMethods; - void init(const LookoutMetricsClientConfiguration& clientConfiguration); - - LookoutMetricsClientConfiguration m_clientConfiguration; - std::shared_ptr m_endpointProvider; -}; - -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsEndpointProvider.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsEndpointProvider.h deleted file mode 100644 index 218dcee25c8..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsEndpointProvider.h +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Endpoint { -using EndpointParameters = Aws::Endpoint::EndpointParameters; -using Aws::Endpoint::DefaultEndpointProvider; -using Aws::Endpoint::EndpointProviderBase; - -using LookoutMetricsClientContextParameters = Aws::Endpoint::ClientContextParameters; - -using LookoutMetricsClientConfiguration = Aws::Client::GenericClientConfiguration; -using LookoutMetricsBuiltInParameters = Aws::Endpoint::BuiltInParameters; - -/** - * The type for the LookoutMetrics 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 LookoutMetricsEndpointProviderBase = - EndpointProviderBase; - -using LookoutMetricsDefaultEpProviderBase = - DefaultEndpointProvider; - -/** - * Default endpoint provider used for this service - */ -class AWS_LOOKOUTMETRICS_API LookoutMetricsEndpointProvider : public LookoutMetricsDefaultEpProviderBase { - public: - using LookoutMetricsResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; - - LookoutMetricsEndpointProvider() - : LookoutMetricsDefaultEpProviderBase(Aws::LookoutMetrics::LookoutMetricsEndpointRules::GetRulesBlob(), - Aws::LookoutMetrics::LookoutMetricsEndpointRules::RulesBlobSize) {} - - ~LookoutMetricsEndpointProvider() {} -}; -} // namespace Endpoint -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsEndpointRules.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsEndpointRules.h deleted file mode 100644 index d1a0619488d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsEndpointRules.h +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include - -#include - -namespace Aws { -namespace LookoutMetrics { -class LookoutMetricsEndpointRules { - public: - static const size_t RulesBlobStrLen; - static const size_t RulesBlobSize; - - static const char* GetRulesBlob(); -}; -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsErrorMarshaller.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsErrorMarshaller.h deleted file mode 100644 index 4844bb95178..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsErrorMarshaller.h +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 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_LOOKOUTMETRICS_API LookoutMetricsErrorMarshaller : 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-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsErrors.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsErrors.h deleted file mode 100644 index dfea441e872..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsErrors.h +++ /dev/null @@ -1,70 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once - -#include -#include -#include - -namespace Aws { -namespace LookoutMetrics { -enum class LookoutMetricsErrors { - // 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, - TOO_MANY_REQUESTS -}; - -class AWS_LOOKOUTMETRICS_API LookoutMetricsError : public Aws::Client::AWSError { - public: - LookoutMetricsError() {} - LookoutMetricsError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} - LookoutMetricsError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} - LookoutMetricsError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} - LookoutMetricsError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} - - template - T GetModeledError(); -}; - -namespace LookoutMetricsErrorMapper { -AWS_LOOKOUTMETRICS_API Aws::Client::AWSError GetErrorForName(const char* errorName); -} - -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsRequest.h deleted file mode 100644 index 75daf6eea39..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsRequest.h +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 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 LookoutMetrics { -class AWS_LOOKOUTMETRICS_API LookoutMetricsRequest : public Aws::AmazonSerializableWebServiceRequest { - public: - using EndpointParameter = Aws::Endpoint::EndpointParameter; - using EndpointParameters = Aws::Endpoint::EndpointParameters; - - virtual ~LookoutMetricsRequest() {} - - 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, "2017-07-25")); - return headers; - } - - protected: - virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); } -}; - -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsServiceClientModel.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsServiceClientModel.h deleted file mode 100644 index e9ea7db9f47..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetricsServiceClientModel.h +++ /dev/null @@ -1,285 +0,0 @@ -/** - * 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 LookoutMetricsClient header */ -#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 -#include -#include -#include -#include -/* End of service model headers required in LookoutMetricsClient header */ - -namespace Aws { -namespace Http { -class HttpClient; -class HttpClientFactory; -} // namespace Http - -namespace Utils { -template -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 LookoutMetrics { -using LookoutMetricsClientConfiguration = Aws::Client::GenericClientConfiguration; -using LookoutMetricsEndpointProviderBase = Aws::LookoutMetrics::Endpoint::LookoutMetricsEndpointProviderBase; -using LookoutMetricsEndpointProvider = Aws::LookoutMetrics::Endpoint::LookoutMetricsEndpointProvider; - -namespace Model { -/* Service model forward declarations required in LookoutMetricsClient header */ -class ActivateAnomalyDetectorRequest; -class BackTestAnomalyDetectorRequest; -class CreateAlertRequest; -class CreateAnomalyDetectorRequest; -class CreateMetricSetRequest; -class DeactivateAnomalyDetectorRequest; -class DeleteAlertRequest; -class DeleteAnomalyDetectorRequest; -class DescribeAlertRequest; -class DescribeAnomalyDetectionExecutionsRequest; -class DescribeAnomalyDetectorRequest; -class DescribeMetricSetRequest; -class DetectMetricSetConfigRequest; -class GetAnomalyGroupRequest; -class GetDataQualityMetricsRequest; -class GetFeedbackRequest; -class GetSampleDataRequest; -class ListAlertsRequest; -class ListAnomalyDetectorsRequest; -class ListAnomalyGroupRelatedMetricsRequest; -class ListAnomalyGroupSummariesRequest; -class ListAnomalyGroupTimeSeriesRequest; -class ListMetricSetsRequest; -class ListTagsForResourceRequest; -class PutFeedbackRequest; -class TagResourceRequest; -class UntagResourceRequest; -class UpdateAlertRequest; -class UpdateAnomalyDetectorRequest; -class UpdateMetricSetRequest; -/* End of service model forward declarations required in LookoutMetricsClient header */ - -/* Service model Outcome class definitions */ -typedef Aws::Utils::Outcome ActivateAnomalyDetectorOutcome; -typedef Aws::Utils::Outcome BackTestAnomalyDetectorOutcome; -typedef Aws::Utils::Outcome CreateAlertOutcome; -typedef Aws::Utils::Outcome CreateAnomalyDetectorOutcome; -typedef Aws::Utils::Outcome CreateMetricSetOutcome; -typedef Aws::Utils::Outcome DeactivateAnomalyDetectorOutcome; -typedef Aws::Utils::Outcome DeleteAlertOutcome; -typedef Aws::Utils::Outcome DeleteAnomalyDetectorOutcome; -typedef Aws::Utils::Outcome DescribeAlertOutcome; -typedef Aws::Utils::Outcome DescribeAnomalyDetectionExecutionsOutcome; -typedef Aws::Utils::Outcome DescribeAnomalyDetectorOutcome; -typedef Aws::Utils::Outcome DescribeMetricSetOutcome; -typedef Aws::Utils::Outcome DetectMetricSetConfigOutcome; -typedef Aws::Utils::Outcome GetAnomalyGroupOutcome; -typedef Aws::Utils::Outcome GetDataQualityMetricsOutcome; -typedef Aws::Utils::Outcome GetFeedbackOutcome; -typedef Aws::Utils::Outcome GetSampleDataOutcome; -typedef Aws::Utils::Outcome ListAlertsOutcome; -typedef Aws::Utils::Outcome ListAnomalyDetectorsOutcome; -typedef Aws::Utils::Outcome ListAnomalyGroupRelatedMetricsOutcome; -typedef Aws::Utils::Outcome ListAnomalyGroupSummariesOutcome; -typedef Aws::Utils::Outcome ListAnomalyGroupTimeSeriesOutcome; -typedef Aws::Utils::Outcome ListMetricSetsOutcome; -typedef Aws::Utils::Outcome ListTagsForResourceOutcome; -typedef Aws::Utils::Outcome PutFeedbackOutcome; -typedef Aws::Utils::Outcome TagResourceOutcome; -typedef Aws::Utils::Outcome UntagResourceOutcome; -typedef Aws::Utils::Outcome UpdateAlertOutcome; -typedef Aws::Utils::Outcome UpdateAnomalyDetectorOutcome; -typedef Aws::Utils::Outcome UpdateMetricSetOutcome; -/* End of service model Outcome class definitions */ - -/* Service model Outcome callable definitions */ -typedef std::future ActivateAnomalyDetectorOutcomeCallable; -typedef std::future BackTestAnomalyDetectorOutcomeCallable; -typedef std::future CreateAlertOutcomeCallable; -typedef std::future CreateAnomalyDetectorOutcomeCallable; -typedef std::future CreateMetricSetOutcomeCallable; -typedef std::future DeactivateAnomalyDetectorOutcomeCallable; -typedef std::future DeleteAlertOutcomeCallable; -typedef std::future DeleteAnomalyDetectorOutcomeCallable; -typedef std::future DescribeAlertOutcomeCallable; -typedef std::future DescribeAnomalyDetectionExecutionsOutcomeCallable; -typedef std::future DescribeAnomalyDetectorOutcomeCallable; -typedef std::future DescribeMetricSetOutcomeCallable; -typedef std::future DetectMetricSetConfigOutcomeCallable; -typedef std::future GetAnomalyGroupOutcomeCallable; -typedef std::future GetDataQualityMetricsOutcomeCallable; -typedef std::future GetFeedbackOutcomeCallable; -typedef std::future GetSampleDataOutcomeCallable; -typedef std::future ListAlertsOutcomeCallable; -typedef std::future ListAnomalyDetectorsOutcomeCallable; -typedef std::future ListAnomalyGroupRelatedMetricsOutcomeCallable; -typedef std::future ListAnomalyGroupSummariesOutcomeCallable; -typedef std::future ListAnomalyGroupTimeSeriesOutcomeCallable; -typedef std::future ListMetricSetsOutcomeCallable; -typedef std::future ListTagsForResourceOutcomeCallable; -typedef std::future PutFeedbackOutcomeCallable; -typedef std::future TagResourceOutcomeCallable; -typedef std::future UntagResourceOutcomeCallable; -typedef std::future UpdateAlertOutcomeCallable; -typedef std::future UpdateAnomalyDetectorOutcomeCallable; -typedef std::future UpdateMetricSetOutcomeCallable; -/* End of service model Outcome callable definitions */ -} // namespace Model - -class LookoutMetricsClient; - -/* Service model async handlers definitions */ -typedef std::function&)> - ActivateAnomalyDetectorResponseReceivedHandler; -typedef std::function&)> - BackTestAnomalyDetectorResponseReceivedHandler; -typedef std::function&)> - CreateAlertResponseReceivedHandler; -typedef std::function&)> - CreateAnomalyDetectorResponseReceivedHandler; -typedef std::function&)> - CreateMetricSetResponseReceivedHandler; -typedef std::function&)> - DeactivateAnomalyDetectorResponseReceivedHandler; -typedef std::function&)> - DeleteAlertResponseReceivedHandler; -typedef std::function&)> - DeleteAnomalyDetectorResponseReceivedHandler; -typedef std::function&)> - DescribeAlertResponseReceivedHandler; -typedef std::function&)> - DescribeAnomalyDetectionExecutionsResponseReceivedHandler; -typedef std::function&)> - DescribeAnomalyDetectorResponseReceivedHandler; -typedef std::function&)> - DescribeMetricSetResponseReceivedHandler; -typedef std::function&)> - DetectMetricSetConfigResponseReceivedHandler; -typedef std::function&)> - GetAnomalyGroupResponseReceivedHandler; -typedef std::function&)> - GetDataQualityMetricsResponseReceivedHandler; -typedef std::function&)> - GetFeedbackResponseReceivedHandler; -typedef std::function&)> - GetSampleDataResponseReceivedHandler; -typedef std::function&)> - ListAlertsResponseReceivedHandler; -typedef std::function&)> - ListAnomalyDetectorsResponseReceivedHandler; -typedef std::function&)> - ListAnomalyGroupRelatedMetricsResponseReceivedHandler; -typedef std::function&)> - ListAnomalyGroupSummariesResponseReceivedHandler; -typedef std::function&)> - ListAnomalyGroupTimeSeriesResponseReceivedHandler; -typedef std::function&)> - ListMetricSetsResponseReceivedHandler; -typedef std::function&)> - ListTagsForResourceResponseReceivedHandler; -typedef std::function&)> - PutFeedbackResponseReceivedHandler; -typedef std::function&)> - TagResourceResponseReceivedHandler; -typedef std::function&)> - UntagResourceResponseReceivedHandler; -typedef std::function&)> - UpdateAlertResponseReceivedHandler; -typedef std::function&)> - UpdateAnomalyDetectorResponseReceivedHandler; -typedef std::function&)> - UpdateMetricSetResponseReceivedHandler; -/* End of service model async handlers definitions */ -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetrics_EXPORTS.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetrics_EXPORTS.h deleted file mode 100644 index 8b5afb3da93..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/LookoutMetrics_EXPORTS.h +++ /dev/null @@ -1,32 +0,0 @@ -/** - * 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_LOOKOUTMETRICS_EXPORTS -#define AWS_LOOKOUTMETRICS_API __declspec(dllexport) -#else -#define AWS_LOOKOUTMETRICS_API __declspec(dllimport) -#endif /* AWS_LOOKOUTMETRICS_EXPORTS */ -#define AWS_LOOKOUTMETRICS_EXTERN -#else -#define AWS_LOOKOUTMETRICS_API -#define AWS_LOOKOUTMETRICS_EXTERN extern -#endif // USE_IMPORT_EXPORT -#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) -#define AWS_LOOKOUTMETRICS_API -#define AWS_LOOKOUTMETRICS_EXTERN extern -#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Action.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Action.h deleted file mode 100644 index 0ba2431fddf..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Action.h +++ /dev/null @@ -1,81 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

A configuration that specifies the action to perform when anomalies are - * detected.

See Also:

AWS - * API Reference

- */ -class Action { - public: - AWS_LOOKOUTMETRICS_API Action() = default; - AWS_LOOKOUTMETRICS_API Action(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Action& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

A configuration for an Amazon SNS channel.

- */ - inline const SNSConfiguration& GetSNSConfiguration() const { return m_sNSConfiguration; } - inline bool SNSConfigurationHasBeenSet() const { return m_sNSConfigurationHasBeenSet; } - template - void SetSNSConfiguration(SNSConfigurationT&& value) { - m_sNSConfigurationHasBeenSet = true; - m_sNSConfiguration = std::forward(value); - } - template - Action& WithSNSConfiguration(SNSConfigurationT&& value) { - SetSNSConfiguration(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A configuration for an AWS Lambda channel.

- */ - inline const LambdaConfiguration& GetLambdaConfiguration() const { return m_lambdaConfiguration; } - inline bool LambdaConfigurationHasBeenSet() const { return m_lambdaConfigurationHasBeenSet; } - template - void SetLambdaConfiguration(LambdaConfigurationT&& value) { - m_lambdaConfigurationHasBeenSet = true; - m_lambdaConfiguration = std::forward(value); - } - template - Action& WithLambdaConfiguration(LambdaConfigurationT&& value) { - SetLambdaConfiguration(std::forward(value)); - return *this; - } - ///@} - private: - SNSConfiguration m_sNSConfiguration; - bool m_sNSConfigurationHasBeenSet = false; - - LambdaConfiguration m_lambdaConfiguration; - bool m_lambdaConfigurationHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ActivateAnomalyDetectorRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ActivateAnomalyDetectorRequest.h deleted file mode 100644 index 0451849d05d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ActivateAnomalyDetectorRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class ActivateAnomalyDetectorRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API ActivateAnomalyDetectorRequest() = default; - - // 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 "ActivateAnomalyDetector"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ARN of the anomaly detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - ActivateAnomalyDetectorRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ActivateAnomalyDetectorResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ActivateAnomalyDetectorResult.h deleted file mode 100644 index ce3c5fab58d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ActivateAnomalyDetectorResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class ActivateAnomalyDetectorResult { - public: - AWS_LOOKOUTMETRICS_API ActivateAnomalyDetectorResult() = default; - AWS_LOOKOUTMETRICS_API ActivateAnomalyDetectorResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API ActivateAnomalyDetectorResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ActivateAnomalyDetectorResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AggregationFunction.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AggregationFunction.h deleted file mode 100644 index 1b618070b65..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AggregationFunction.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class AggregationFunction { NOT_SET, AVG, SUM }; - -namespace AggregationFunctionMapper { -AWS_LOOKOUTMETRICS_API AggregationFunction GetAggregationFunctionForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForAggregationFunction(AggregationFunction value); -} // namespace AggregationFunctionMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Alert.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Alert.h deleted file mode 100644 index efba6da9e8d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Alert.h +++ /dev/null @@ -1,269 +0,0 @@ -/** - * 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 - -namespace Aws { -namespace Utils { -namespace Json { -class JsonValue; -class JsonView; -} // namespace Json -} // namespace Utils -namespace LookoutMetrics { -namespace Model { - -/** - *

A configuration for Amazon SNS-integrated notifications.

See - * Also:

AWS - * API Reference

- */ -class Alert { - public: - AWS_LOOKOUTMETRICS_API Alert() = default; - AWS_LOOKOUTMETRICS_API Alert(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Alert& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Action that will be triggered when there is an alert.

- */ - inline const Action& GetAction() const { return m_action; } - inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } - template - void SetAction(ActionT&& value) { - m_actionHasBeenSet = true; - m_action = std::forward(value); - } - template - Alert& WithAction(ActionT&& value) { - SetAction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A description of the alert.

- */ - inline const Aws::String& GetAlertDescription() const { return m_alertDescription; } - inline bool AlertDescriptionHasBeenSet() const { return m_alertDescriptionHasBeenSet; } - template - void SetAlertDescription(AlertDescriptionT&& value) { - m_alertDescriptionHasBeenSet = true; - m_alertDescription = std::forward(value); - } - template - Alert& WithAlertDescription(AlertDescriptionT&& value) { - SetAlertDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the alert.

- */ - inline const Aws::String& GetAlertArn() const { return m_alertArn; } - inline bool AlertArnHasBeenSet() const { return m_alertArnHasBeenSet; } - template - void SetAlertArn(AlertArnT&& value) { - m_alertArnHasBeenSet = true; - m_alertArn = std::forward(value); - } - template - Alert& WithAlertArn(AlertArnT&& value) { - SetAlertArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the detector to which the alert is attached.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - Alert& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the alert.

- */ - inline const Aws::String& GetAlertName() const { return m_alertName; } - inline bool AlertNameHasBeenSet() const { return m_alertNameHasBeenSet; } - template - void SetAlertName(AlertNameT&& value) { - m_alertNameHasBeenSet = true; - m_alertName = std::forward(value); - } - template - Alert& WithAlertName(AlertNameT&& value) { - SetAlertName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The minimum severity for an anomaly to trigger the alert.

- */ - inline int GetAlertSensitivityThreshold() const { return m_alertSensitivityThreshold; } - inline bool AlertSensitivityThresholdHasBeenSet() const { return m_alertSensitivityThresholdHasBeenSet; } - inline void SetAlertSensitivityThreshold(int value) { - m_alertSensitivityThresholdHasBeenSet = true; - m_alertSensitivityThreshold = value; - } - inline Alert& WithAlertSensitivityThreshold(int value) { - SetAlertSensitivityThreshold(value); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the alert.

- */ - inline AlertType GetAlertType() const { return m_alertType; } - inline bool AlertTypeHasBeenSet() const { return m_alertTypeHasBeenSet; } - inline void SetAlertType(AlertType value) { - m_alertTypeHasBeenSet = true; - m_alertType = value; - } - inline Alert& WithAlertType(AlertType value) { - SetAlertType(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the alert.

- */ - inline AlertStatus GetAlertStatus() const { return m_alertStatus; } - inline bool AlertStatusHasBeenSet() const { return m_alertStatusHasBeenSet; } - inline void SetAlertStatus(AlertStatus value) { - m_alertStatusHasBeenSet = true; - m_alertStatus = value; - } - inline Alert& WithAlertStatus(AlertStatus value) { - SetAlertStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time at which the alert was last modified.

- */ - inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; } - inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; } - template - void SetLastModificationTime(LastModificationTimeT&& value) { - m_lastModificationTimeHasBeenSet = true; - m_lastModificationTime = std::forward(value); - } - template - Alert& WithLastModificationTime(LastModificationTimeT&& value) { - SetLastModificationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time at which the alert was created.

- */ - inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; } - inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } - template - void SetCreationTime(CreationTimeT&& value) { - m_creationTimeHasBeenSet = true; - m_creationTime = std::forward(value); - } - template - Alert& WithCreationTime(CreationTimeT&& value) { - SetCreationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The configuration of the alert filters, containing MetricList and - * DimensionFilter.

- */ - inline const AlertFilters& GetAlertFilters() const { return m_alertFilters; } - inline bool AlertFiltersHasBeenSet() const { return m_alertFiltersHasBeenSet; } - template - void SetAlertFilters(AlertFiltersT&& value) { - m_alertFiltersHasBeenSet = true; - m_alertFilters = std::forward(value); - } - template - Alert& WithAlertFilters(AlertFiltersT&& value) { - SetAlertFilters(std::forward(value)); - return *this; - } - ///@} - private: - Action m_action; - bool m_actionHasBeenSet = false; - - Aws::String m_alertDescription; - bool m_alertDescriptionHasBeenSet = false; - - Aws::String m_alertArn; - bool m_alertArnHasBeenSet = false; - - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_alertName; - bool m_alertNameHasBeenSet = false; - - int m_alertSensitivityThreshold{0}; - bool m_alertSensitivityThresholdHasBeenSet = false; - - AlertType m_alertType{AlertType::NOT_SET}; - bool m_alertTypeHasBeenSet = false; - - AlertStatus m_alertStatus{AlertStatus::NOT_SET}; - bool m_alertStatusHasBeenSet = false; - - Aws::Utils::DateTime m_lastModificationTime{}; - bool m_lastModificationTimeHasBeenSet = false; - - Aws::Utils::DateTime m_creationTime{}; - bool m_creationTimeHasBeenSet = false; - - AlertFilters m_alertFilters; - bool m_alertFiltersHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertFilters.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertFilters.h deleted file mode 100644 index 7709f0e9bfa..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertFilters.h +++ /dev/null @@ -1,94 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

The configuration of the alert filters.

See Also:

AWS - * API Reference

- */ -class AlertFilters { - public: - AWS_LOOKOUTMETRICS_API AlertFilters() = default; - AWS_LOOKOUTMETRICS_API AlertFilters(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AlertFilters& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The list of measures that you want to get alerts for.

- */ - inline const Aws::Vector& GetMetricList() const { return m_metricList; } - inline bool MetricListHasBeenSet() const { return m_metricListHasBeenSet; } - template > - void SetMetricList(MetricListT&& value) { - m_metricListHasBeenSet = true; - m_metricList = std::forward(value); - } - template > - AlertFilters& WithMetricList(MetricListT&& value) { - SetMetricList(std::forward(value)); - return *this; - } - template - AlertFilters& AddMetricList(MetricListT&& value) { - m_metricListHasBeenSet = true; - m_metricList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The list of DimensionFilter objects that are used for dimension-based - * filtering.

- */ - inline const Aws::Vector& GetDimensionFilterList() const { return m_dimensionFilterList; } - inline bool DimensionFilterListHasBeenSet() const { return m_dimensionFilterListHasBeenSet; } - template > - void SetDimensionFilterList(DimensionFilterListT&& value) { - m_dimensionFilterListHasBeenSet = true; - m_dimensionFilterList = std::forward(value); - } - template > - AlertFilters& WithDimensionFilterList(DimensionFilterListT&& value) { - SetDimensionFilterList(std::forward(value)); - return *this; - } - template - AlertFilters& AddDimensionFilterList(DimensionFilterListT&& value) { - m_dimensionFilterListHasBeenSet = true; - m_dimensionFilterList.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_metricList; - bool m_metricListHasBeenSet = false; - - Aws::Vector m_dimensionFilterList; - bool m_dimensionFilterListHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertStatus.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertStatus.h deleted file mode 100644 index c556ea40f4c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertStatus.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class AlertStatus { NOT_SET, ACTIVE, INACTIVE }; - -namespace AlertStatusMapper { -AWS_LOOKOUTMETRICS_API AlertStatus GetAlertStatusForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForAlertStatus(AlertStatus value); -} // namespace AlertStatusMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertSummary.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertSummary.h deleted file mode 100644 index cfd6081f70f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertSummary.h +++ /dev/null @@ -1,231 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Provides a summary of an alert's configuration.

See Also:

AWS - * API Reference

- */ -class AlertSummary { - public: - AWS_LOOKOUTMETRICS_API AlertSummary() = default; - AWS_LOOKOUTMETRICS_API AlertSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AlertSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The ARN of the alert.

- */ - inline const Aws::String& GetAlertArn() const { return m_alertArn; } - inline bool AlertArnHasBeenSet() const { return m_alertArnHasBeenSet; } - template - void SetAlertArn(AlertArnT&& value) { - m_alertArnHasBeenSet = true; - m_alertArn = std::forward(value); - } - template - AlertSummary& WithAlertArn(AlertArnT&& value) { - SetAlertArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the detector to which the alert is attached.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - AlertSummary& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the alert.

- */ - inline const Aws::String& GetAlertName() const { return m_alertName; } - inline bool AlertNameHasBeenSet() const { return m_alertNameHasBeenSet; } - template - void SetAlertName(AlertNameT&& value) { - m_alertNameHasBeenSet = true; - m_alertName = std::forward(value); - } - template - AlertSummary& WithAlertName(AlertNameT&& value) { - SetAlertName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The minimum severity for an anomaly to trigger the alert.

- */ - inline int GetAlertSensitivityThreshold() const { return m_alertSensitivityThreshold; } - inline bool AlertSensitivityThresholdHasBeenSet() const { return m_alertSensitivityThresholdHasBeenSet; } - inline void SetAlertSensitivityThreshold(int value) { - m_alertSensitivityThresholdHasBeenSet = true; - m_alertSensitivityThreshold = value; - } - inline AlertSummary& WithAlertSensitivityThreshold(int value) { - SetAlertSensitivityThreshold(value); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the alert.

- */ - inline AlertType GetAlertType() const { return m_alertType; } - inline bool AlertTypeHasBeenSet() const { return m_alertTypeHasBeenSet; } - inline void SetAlertType(AlertType value) { - m_alertTypeHasBeenSet = true; - m_alertType = value; - } - inline AlertSummary& WithAlertType(AlertType value) { - SetAlertType(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the alert.

- */ - inline AlertStatus GetAlertStatus() const { return m_alertStatus; } - inline bool AlertStatusHasBeenSet() const { return m_alertStatusHasBeenSet; } - inline void SetAlertStatus(AlertStatus value) { - m_alertStatusHasBeenSet = true; - m_alertStatus = value; - } - inline AlertSummary& WithAlertStatus(AlertStatus value) { - SetAlertStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time at which the alert was last modified.

- */ - inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; } - inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; } - template - void SetLastModificationTime(LastModificationTimeT&& value) { - m_lastModificationTimeHasBeenSet = true; - m_lastModificationTime = std::forward(value); - } - template - AlertSummary& WithLastModificationTime(LastModificationTimeT&& value) { - SetLastModificationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time at which the alert was created.

- */ - inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; } - inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } - template - void SetCreationTime(CreationTimeT&& value) { - m_creationTimeHasBeenSet = true; - m_creationTime = std::forward(value); - } - template - AlertSummary& WithCreationTime(CreationTimeT&& value) { - SetCreationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The alert's tags.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - AlertSummary& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - AlertSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_alertArn; - bool m_alertArnHasBeenSet = false; - - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_alertName; - bool m_alertNameHasBeenSet = false; - - int m_alertSensitivityThreshold{0}; - bool m_alertSensitivityThresholdHasBeenSet = false; - - AlertType m_alertType{AlertType::NOT_SET}; - bool m_alertTypeHasBeenSet = false; - - AlertStatus m_alertStatus{AlertStatus::NOT_SET}; - bool m_alertStatusHasBeenSet = false; - - Aws::Utils::DateTime m_lastModificationTime{}; - bool m_lastModificationTimeHasBeenSet = false; - - Aws::Utils::DateTime m_creationTime{}; - bool m_creationTimeHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertType.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertType.h deleted file mode 100644 index e813c1ceb3e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AlertType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class AlertType { NOT_SET, SNS, LAMBDA }; - -namespace AlertTypeMapper { -AWS_LOOKOUTMETRICS_API AlertType GetAlertTypeForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForAlertType(AlertType value); -} // namespace AlertTypeMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectionTaskStatus.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectionTaskStatus.h deleted file mode 100644 index 522d325dd63..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectionTaskStatus.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class AnomalyDetectionTaskStatus { NOT_SET, PENDING, IN_PROGRESS, COMPLETED, FAILED, FAILED_TO_SCHEDULE }; - -namespace AnomalyDetectionTaskStatusMapper { -AWS_LOOKOUTMETRICS_API AnomalyDetectionTaskStatus GetAnomalyDetectionTaskStatusForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForAnomalyDetectionTaskStatus(AnomalyDetectionTaskStatus value); -} // namespace AnomalyDetectionTaskStatusMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorConfig.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorConfig.h deleted file mode 100644 index affe1524dc0..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorConfig.h +++ /dev/null @@ -1,57 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains information about a detector's configuration.

See - * Also:

AWS - * API Reference

- */ -class AnomalyDetectorConfig { - public: - AWS_LOOKOUTMETRICS_API AnomalyDetectorConfig() = default; - AWS_LOOKOUTMETRICS_API AnomalyDetectorConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AnomalyDetectorConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The frequency at which the detector analyzes its source data.

- */ - inline Frequency GetAnomalyDetectorFrequency() const { return m_anomalyDetectorFrequency; } - inline bool AnomalyDetectorFrequencyHasBeenSet() const { return m_anomalyDetectorFrequencyHasBeenSet; } - inline void SetAnomalyDetectorFrequency(Frequency value) { - m_anomalyDetectorFrequencyHasBeenSet = true; - m_anomalyDetectorFrequency = value; - } - inline AnomalyDetectorConfig& WithAnomalyDetectorFrequency(Frequency value) { - SetAnomalyDetectorFrequency(value); - return *this; - } - ///@} - private: - Frequency m_anomalyDetectorFrequency{Frequency::NOT_SET}; - bool m_anomalyDetectorFrequencyHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorConfigSummary.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorConfigSummary.h deleted file mode 100644 index f87c7a3e6e0..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorConfigSummary.h +++ /dev/null @@ -1,57 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains information about a detector's configuration.

See - * Also:

AWS - * API Reference

- */ -class AnomalyDetectorConfigSummary { - public: - AWS_LOOKOUTMETRICS_API AnomalyDetectorConfigSummary() = default; - AWS_LOOKOUTMETRICS_API AnomalyDetectorConfigSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AnomalyDetectorConfigSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The interval at which the detector analyzes its source data.

- */ - inline Frequency GetAnomalyDetectorFrequency() const { return m_anomalyDetectorFrequency; } - inline bool AnomalyDetectorFrequencyHasBeenSet() const { return m_anomalyDetectorFrequencyHasBeenSet; } - inline void SetAnomalyDetectorFrequency(Frequency value) { - m_anomalyDetectorFrequencyHasBeenSet = true; - m_anomalyDetectorFrequency = value; - } - inline AnomalyDetectorConfigSummary& WithAnomalyDetectorFrequency(Frequency value) { - SetAnomalyDetectorFrequency(value); - return *this; - } - ///@} - private: - Frequency m_anomalyDetectorFrequency{Frequency::NOT_SET}; - bool m_anomalyDetectorFrequencyHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorDataQualityMetric.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorDataQualityMetric.h deleted file mode 100644 index d77740f2dd7..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorDataQualityMetric.h +++ /dev/null @@ -1,92 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Aggregated details about the data quality metrics collected for the - * AnomalyDetectorArn provided in the GetDataQualityMetrics - * object.

See Also:

AWS - * API Reference

- */ -class AnomalyDetectorDataQualityMetric { - public: - AWS_LOOKOUTMETRICS_API AnomalyDetectorDataQualityMetric() = default; - AWS_LOOKOUTMETRICS_API AnomalyDetectorDataQualityMetric(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AnomalyDetectorDataQualityMetric& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The start time for the data quality metrics collection.

- */ - inline const Aws::Utils::DateTime& GetStartTimestamp() const { return m_startTimestamp; } - inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; } - template - void SetStartTimestamp(StartTimestampT&& value) { - m_startTimestampHasBeenSet = true; - m_startTimestamp = std::forward(value); - } - template - AnomalyDetectorDataQualityMetric& WithStartTimestamp(StartTimestampT&& value) { - SetStartTimestamp(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An array of DataQualityMetricList objects. Each object in the - * array contains information about a data quality metric.

- */ - inline const Aws::Vector& GetMetricSetDataQualityMetricList() const { - return m_metricSetDataQualityMetricList; - } - inline bool MetricSetDataQualityMetricListHasBeenSet() const { return m_metricSetDataQualityMetricListHasBeenSet; } - template > - void SetMetricSetDataQualityMetricList(MetricSetDataQualityMetricListT&& value) { - m_metricSetDataQualityMetricListHasBeenSet = true; - m_metricSetDataQualityMetricList = std::forward(value); - } - template > - AnomalyDetectorDataQualityMetric& WithMetricSetDataQualityMetricList(MetricSetDataQualityMetricListT&& value) { - SetMetricSetDataQualityMetricList(std::forward(value)); - return *this; - } - template - AnomalyDetectorDataQualityMetric& AddMetricSetDataQualityMetricList(MetricSetDataQualityMetricListT&& value) { - m_metricSetDataQualityMetricListHasBeenSet = true; - m_metricSetDataQualityMetricList.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Utils::DateTime m_startTimestamp{}; - bool m_startTimestampHasBeenSet = false; - - Aws::Vector m_metricSetDataQualityMetricList; - bool m_metricSetDataQualityMetricListHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorFailureType.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorFailureType.h deleted file mode 100644 index 5eff86a95de..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorFailureType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class AnomalyDetectorFailureType { NOT_SET, ACTIVATION_FAILURE, BACK_TEST_ACTIVATION_FAILURE, DELETION_FAILURE, DEACTIVATION_FAILURE }; - -namespace AnomalyDetectorFailureTypeMapper { -AWS_LOOKOUTMETRICS_API AnomalyDetectorFailureType GetAnomalyDetectorFailureTypeForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForAnomalyDetectorFailureType(AnomalyDetectorFailureType value); -} // namespace AnomalyDetectorFailureTypeMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorStatus.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorStatus.h deleted file mode 100644 index 521d834338f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorStatus.h +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class AnomalyDetectorStatus { - NOT_SET, - ACTIVE, - ACTIVATING, - DELETING, - FAILED, - INACTIVE, - LEARNING, - BACK_TEST_ACTIVATING, - BACK_TEST_ACTIVE, - BACK_TEST_COMPLETE, - DEACTIVATED, - DEACTIVATING -}; - -namespace AnomalyDetectorStatusMapper { -AWS_LOOKOUTMETRICS_API AnomalyDetectorStatus GetAnomalyDetectorStatusForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForAnomalyDetectorStatus(AnomalyDetectorStatus value); -} // namespace AnomalyDetectorStatusMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorSummary.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorSummary.h deleted file mode 100644 index 83b3a9b77c2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyDetectorSummary.h +++ /dev/null @@ -1,193 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains information about an an anomaly detector.

See Also:

- * AWS - * API Reference

- */ -class AnomalyDetectorSummary { - public: - AWS_LOOKOUTMETRICS_API AnomalyDetectorSummary() = default; - AWS_LOOKOUTMETRICS_API AnomalyDetectorSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AnomalyDetectorSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The ARN of the detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - AnomalyDetectorSummary& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the detector.

- */ - inline const Aws::String& GetAnomalyDetectorName() const { return m_anomalyDetectorName; } - inline bool AnomalyDetectorNameHasBeenSet() const { return m_anomalyDetectorNameHasBeenSet; } - template - void SetAnomalyDetectorName(AnomalyDetectorNameT&& value) { - m_anomalyDetectorNameHasBeenSet = true; - m_anomalyDetectorName = std::forward(value); - } - template - AnomalyDetectorSummary& WithAnomalyDetectorName(AnomalyDetectorNameT&& value) { - SetAnomalyDetectorName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A description of the detector.

- */ - inline const Aws::String& GetAnomalyDetectorDescription() const { return m_anomalyDetectorDescription; } - inline bool AnomalyDetectorDescriptionHasBeenSet() const { return m_anomalyDetectorDescriptionHasBeenSet; } - template - void SetAnomalyDetectorDescription(AnomalyDetectorDescriptionT&& value) { - m_anomalyDetectorDescriptionHasBeenSet = true; - m_anomalyDetectorDescription = std::forward(value); - } - template - AnomalyDetectorSummary& WithAnomalyDetectorDescription(AnomalyDetectorDescriptionT&& value) { - SetAnomalyDetectorDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time at which the detector was created.

- */ - inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; } - inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } - template - void SetCreationTime(CreationTimeT&& value) { - m_creationTimeHasBeenSet = true; - m_creationTime = std::forward(value); - } - template - AnomalyDetectorSummary& WithCreationTime(CreationTimeT&& value) { - SetCreationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time at which the detector was last modified.

- */ - inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; } - inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; } - template - void SetLastModificationTime(LastModificationTimeT&& value) { - m_lastModificationTimeHasBeenSet = true; - m_lastModificationTime = std::forward(value); - } - template - AnomalyDetectorSummary& WithLastModificationTime(LastModificationTimeT&& value) { - SetLastModificationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of detector.

- */ - inline AnomalyDetectorStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(AnomalyDetectorStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline AnomalyDetectorSummary& WithStatus(AnomalyDetectorStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The detector's tags.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - AnomalyDetectorSummary& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - AnomalyDetectorSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_anomalyDetectorName; - bool m_anomalyDetectorNameHasBeenSet = false; - - Aws::String m_anomalyDetectorDescription; - bool m_anomalyDetectorDescriptionHasBeenSet = false; - - Aws::Utils::DateTime m_creationTime{}; - bool m_creationTimeHasBeenSet = false; - - Aws::Utils::DateTime m_lastModificationTime{}; - bool m_lastModificationTimeHasBeenSet = false; - - AnomalyDetectorStatus m_status{AnomalyDetectorStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroup.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroup.h deleted file mode 100644 index 9abbf6b86cd..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroup.h +++ /dev/null @@ -1,169 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

A group of anomalous metrics

See Also:

AWS - * API Reference

- */ -class AnomalyGroup { - public: - AWS_LOOKOUTMETRICS_API AnomalyGroup() = default; - AWS_LOOKOUTMETRICS_API AnomalyGroup(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AnomalyGroup& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The start time for the group.

- */ - inline const Aws::String& GetStartTime() const { return m_startTime; } - inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } - template - void SetStartTime(StartTimeT&& value) { - m_startTimeHasBeenSet = true; - m_startTime = std::forward(value); - } - template - AnomalyGroup& WithStartTime(StartTimeT&& value) { - SetStartTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The end time for the group.

- */ - inline const Aws::String& GetEndTime() const { return m_endTime; } - inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } - template - void SetEndTime(EndTimeT&& value) { - m_endTimeHasBeenSet = true; - m_endTime = std::forward(value); - } - template - AnomalyGroup& WithEndTime(EndTimeT&& value) { - SetEndTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ID of the anomaly group.

- */ - inline const Aws::String& GetAnomalyGroupId() const { return m_anomalyGroupId; } - inline bool AnomalyGroupIdHasBeenSet() const { return m_anomalyGroupIdHasBeenSet; } - template - void SetAnomalyGroupId(AnomalyGroupIdT&& value) { - m_anomalyGroupIdHasBeenSet = true; - m_anomalyGroupId = std::forward(value); - } - template - AnomalyGroup& WithAnomalyGroupId(AnomalyGroupIdT&& value) { - SetAnomalyGroupId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The severity score of the group.

- */ - inline double GetAnomalyGroupScore() const { return m_anomalyGroupScore; } - inline bool AnomalyGroupScoreHasBeenSet() const { return m_anomalyGroupScoreHasBeenSet; } - inline void SetAnomalyGroupScore(double value) { - m_anomalyGroupScoreHasBeenSet = true; - m_anomalyGroupScore = value; - } - inline AnomalyGroup& WithAnomalyGroupScore(double value) { - SetAnomalyGroupScore(value); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the primary affected measure for the group.

- */ - inline const Aws::String& GetPrimaryMetricName() const { return m_primaryMetricName; } - inline bool PrimaryMetricNameHasBeenSet() const { return m_primaryMetricNameHasBeenSet; } - template - void SetPrimaryMetricName(PrimaryMetricNameT&& value) { - m_primaryMetricNameHasBeenSet = true; - m_primaryMetricName = std::forward(value); - } - template - AnomalyGroup& WithPrimaryMetricName(PrimaryMetricNameT&& value) { - SetPrimaryMetricName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of measures affected by the anomaly.

- */ - inline const Aws::Vector& GetMetricLevelImpactList() const { return m_metricLevelImpactList; } - inline bool MetricLevelImpactListHasBeenSet() const { return m_metricLevelImpactListHasBeenSet; } - template > - void SetMetricLevelImpactList(MetricLevelImpactListT&& value) { - m_metricLevelImpactListHasBeenSet = true; - m_metricLevelImpactList = std::forward(value); - } - template > - AnomalyGroup& WithMetricLevelImpactList(MetricLevelImpactListT&& value) { - SetMetricLevelImpactList(std::forward(value)); - return *this; - } - template - AnomalyGroup& AddMetricLevelImpactList(MetricLevelImpactListT&& value) { - m_metricLevelImpactListHasBeenSet = true; - m_metricLevelImpactList.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_startTime; - bool m_startTimeHasBeenSet = false; - - Aws::String m_endTime; - bool m_endTimeHasBeenSet = false; - - Aws::String m_anomalyGroupId; - bool m_anomalyGroupIdHasBeenSet = false; - - double m_anomalyGroupScore{0.0}; - bool m_anomalyGroupScoreHasBeenSet = false; - - Aws::String m_primaryMetricName; - bool m_primaryMetricNameHasBeenSet = false; - - Aws::Vector m_metricLevelImpactList; - bool m_metricLevelImpactListHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupStatistics.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupStatistics.h deleted file mode 100644 index fa4e61cb981..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupStatistics.h +++ /dev/null @@ -1,107 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Aggregated statistics for a group of anomalous metrics.

See - * Also:

AWS - * API Reference

- */ -class AnomalyGroupStatistics { - public: - AWS_LOOKOUTMETRICS_API AnomalyGroupStatistics() = default; - AWS_LOOKOUTMETRICS_API AnomalyGroupStatistics(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AnomalyGroupStatistics& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The start of the time range that was searched.

- */ - inline const Aws::String& GetEvaluationStartDate() const { return m_evaluationStartDate; } - inline bool EvaluationStartDateHasBeenSet() const { return m_evaluationStartDateHasBeenSet; } - template - void SetEvaluationStartDate(EvaluationStartDateT&& value) { - m_evaluationStartDateHasBeenSet = true; - m_evaluationStartDate = std::forward(value); - } - template - AnomalyGroupStatistics& WithEvaluationStartDate(EvaluationStartDateT&& value) { - SetEvaluationStartDate(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The number of groups found.

- */ - inline int GetTotalCount() const { return m_totalCount; } - inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; } - inline void SetTotalCount(int value) { - m_totalCountHasBeenSet = true; - m_totalCount = value; - } - inline AnomalyGroupStatistics& WithTotalCount(int value) { - SetTotalCount(value); - return *this; - } - ///@} - - ///@{ - /** - *

Statistics for individual metrics within the group.

- */ - inline const Aws::Vector& GetItemizedMetricStatsList() const { return m_itemizedMetricStatsList; } - inline bool ItemizedMetricStatsListHasBeenSet() const { return m_itemizedMetricStatsListHasBeenSet; } - template > - void SetItemizedMetricStatsList(ItemizedMetricStatsListT&& value) { - m_itemizedMetricStatsListHasBeenSet = true; - m_itemizedMetricStatsList = std::forward(value); - } - template > - AnomalyGroupStatistics& WithItemizedMetricStatsList(ItemizedMetricStatsListT&& value) { - SetItemizedMetricStatsList(std::forward(value)); - return *this; - } - template - AnomalyGroupStatistics& AddItemizedMetricStatsList(ItemizedMetricStatsListT&& value) { - m_itemizedMetricStatsListHasBeenSet = true; - m_itemizedMetricStatsList.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_evaluationStartDate; - bool m_evaluationStartDateHasBeenSet = false; - - int m_totalCount{0}; - bool m_totalCountHasBeenSet = false; - - Aws::Vector m_itemizedMetricStatsList; - bool m_itemizedMetricStatsListHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupSummary.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupSummary.h deleted file mode 100644 index 6121f2d1e1d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupSummary.h +++ /dev/null @@ -1,140 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Details about a group of anomalous metrics.

See Also:

AWS - * API Reference

- */ -class AnomalyGroupSummary { - public: - AWS_LOOKOUTMETRICS_API AnomalyGroupSummary() = default; - AWS_LOOKOUTMETRICS_API AnomalyGroupSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AnomalyGroupSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The start time for the group.

- */ - inline const Aws::String& GetStartTime() const { return m_startTime; } - inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } - template - void SetStartTime(StartTimeT&& value) { - m_startTimeHasBeenSet = true; - m_startTime = std::forward(value); - } - template - AnomalyGroupSummary& WithStartTime(StartTimeT&& value) { - SetStartTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The end time for the group.

- */ - inline const Aws::String& GetEndTime() const { return m_endTime; } - inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } - template - void SetEndTime(EndTimeT&& value) { - m_endTimeHasBeenSet = true; - m_endTime = std::forward(value); - } - template - AnomalyGroupSummary& WithEndTime(EndTimeT&& value) { - SetEndTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ID of the anomaly group.

- */ - inline const Aws::String& GetAnomalyGroupId() const { return m_anomalyGroupId; } - inline bool AnomalyGroupIdHasBeenSet() const { return m_anomalyGroupIdHasBeenSet; } - template - void SetAnomalyGroupId(AnomalyGroupIdT&& value) { - m_anomalyGroupIdHasBeenSet = true; - m_anomalyGroupId = std::forward(value); - } - template - AnomalyGroupSummary& WithAnomalyGroupId(AnomalyGroupIdT&& value) { - SetAnomalyGroupId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The severity score of the group.

- */ - inline double GetAnomalyGroupScore() const { return m_anomalyGroupScore; } - inline bool AnomalyGroupScoreHasBeenSet() const { return m_anomalyGroupScoreHasBeenSet; } - inline void SetAnomalyGroupScore(double value) { - m_anomalyGroupScoreHasBeenSet = true; - m_anomalyGroupScore = value; - } - inline AnomalyGroupSummary& WithAnomalyGroupScore(double value) { - SetAnomalyGroupScore(value); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the primary affected measure for the group.

- */ - inline const Aws::String& GetPrimaryMetricName() const { return m_primaryMetricName; } - inline bool PrimaryMetricNameHasBeenSet() const { return m_primaryMetricNameHasBeenSet; } - template - void SetPrimaryMetricName(PrimaryMetricNameT&& value) { - m_primaryMetricNameHasBeenSet = true; - m_primaryMetricName = std::forward(value); - } - template - AnomalyGroupSummary& WithPrimaryMetricName(PrimaryMetricNameT&& value) { - SetPrimaryMetricName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_startTime; - bool m_startTimeHasBeenSet = false; - - Aws::String m_endTime; - bool m_endTimeHasBeenSet = false; - - Aws::String m_anomalyGroupId; - bool m_anomalyGroupIdHasBeenSet = false; - - double m_anomalyGroupScore{0.0}; - bool m_anomalyGroupScoreHasBeenSet = false; - - Aws::String m_primaryMetricName; - bool m_primaryMetricNameHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupTimeSeries.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupTimeSeries.h deleted file mode 100644 index 587ff69413f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupTimeSeries.h +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

An anomalous metric in an anomaly group.

See Also:

AWS - * API Reference

- */ -class AnomalyGroupTimeSeries { - public: - AWS_LOOKOUTMETRICS_API AnomalyGroupTimeSeries() = default; - AWS_LOOKOUTMETRICS_API AnomalyGroupTimeSeries(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AnomalyGroupTimeSeries& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The ID of the anomaly group.

- */ - inline const Aws::String& GetAnomalyGroupId() const { return m_anomalyGroupId; } - inline bool AnomalyGroupIdHasBeenSet() const { return m_anomalyGroupIdHasBeenSet; } - template - void SetAnomalyGroupId(AnomalyGroupIdT&& value) { - m_anomalyGroupIdHasBeenSet = true; - m_anomalyGroupId = std::forward(value); - } - template - AnomalyGroupTimeSeries& WithAnomalyGroupId(AnomalyGroupIdT&& value) { - SetAnomalyGroupId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ID of the metric.

- */ - inline const Aws::String& GetTimeSeriesId() const { return m_timeSeriesId; } - inline bool TimeSeriesIdHasBeenSet() const { return m_timeSeriesIdHasBeenSet; } - template - void SetTimeSeriesId(TimeSeriesIdT&& value) { - m_timeSeriesIdHasBeenSet = true; - m_timeSeriesId = std::forward(value); - } - template - AnomalyGroupTimeSeries& WithTimeSeriesId(TimeSeriesIdT&& value) { - SetTimeSeriesId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyGroupId; - bool m_anomalyGroupIdHasBeenSet = false; - - Aws::String m_timeSeriesId; - bool m_timeSeriesIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupTimeSeriesFeedback.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupTimeSeriesFeedback.h deleted file mode 100644 index 68ef899c5fe..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AnomalyGroupTimeSeriesFeedback.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Feedback for an anomalous metric.

See Also:

AWS - * API Reference

- */ -class AnomalyGroupTimeSeriesFeedback { - public: - AWS_LOOKOUTMETRICS_API AnomalyGroupTimeSeriesFeedback() = default; - AWS_LOOKOUTMETRICS_API AnomalyGroupTimeSeriesFeedback(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AnomalyGroupTimeSeriesFeedback& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The ID of the anomaly group.

- */ - inline const Aws::String& GetAnomalyGroupId() const { return m_anomalyGroupId; } - inline bool AnomalyGroupIdHasBeenSet() const { return m_anomalyGroupIdHasBeenSet; } - template - void SetAnomalyGroupId(AnomalyGroupIdT&& value) { - m_anomalyGroupIdHasBeenSet = true; - m_anomalyGroupId = std::forward(value); - } - template - AnomalyGroupTimeSeriesFeedback& WithAnomalyGroupId(AnomalyGroupIdT&& value) { - SetAnomalyGroupId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ID of the metric.

- */ - inline const Aws::String& GetTimeSeriesId() const { return m_timeSeriesId; } - inline bool TimeSeriesIdHasBeenSet() const { return m_timeSeriesIdHasBeenSet; } - template - void SetTimeSeriesId(TimeSeriesIdT&& value) { - m_timeSeriesIdHasBeenSet = true; - m_timeSeriesId = std::forward(value); - } - template - AnomalyGroupTimeSeriesFeedback& WithTimeSeriesId(TimeSeriesIdT&& value) { - SetTimeSeriesId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Feedback on whether the metric is a legitimate anomaly.

- */ - inline bool GetIsAnomaly() const { return m_isAnomaly; } - inline bool IsAnomalyHasBeenSet() const { return m_isAnomalyHasBeenSet; } - inline void SetIsAnomaly(bool value) { - m_isAnomalyHasBeenSet = true; - m_isAnomaly = value; - } - inline AnomalyGroupTimeSeriesFeedback& WithIsAnomaly(bool value) { - SetIsAnomaly(value); - return *this; - } - ///@} - private: - Aws::String m_anomalyGroupId; - bool m_anomalyGroupIdHasBeenSet = false; - - Aws::String m_timeSeriesId; - bool m_timeSeriesIdHasBeenSet = false; - - bool m_isAnomaly{false}; - bool m_isAnomalyHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AppFlowConfig.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AppFlowConfig.h deleted file mode 100644 index 43e8d7190bf..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AppFlowConfig.h +++ /dev/null @@ -1,81 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Details about an Amazon AppFlow flow datasource.

See Also:

- * AWS - * API Reference

- */ -class AppFlowConfig { - public: - AWS_LOOKOUTMETRICS_API AppFlowConfig() = default; - AWS_LOOKOUTMETRICS_API AppFlowConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AppFlowConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

An IAM role that gives Amazon Lookout for Metrics permission to access the - * flow.

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - AppFlowConfig& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

name of the flow.

- */ - inline const Aws::String& GetFlowName() const { return m_flowName; } - inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; } - template - void SetFlowName(FlowNameT&& value) { - m_flowNameHasBeenSet = true; - m_flowName = std::forward(value); - } - template - AppFlowConfig& WithFlowName(FlowNameT&& value) { - SetFlowName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - Aws::String m_flowName; - bool m_flowNameHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AthenaSourceConfig.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AthenaSourceConfig.h deleted file mode 100644 index 506cc86a595..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AthenaSourceConfig.h +++ /dev/null @@ -1,186 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Details about an Amazon Athena datasource.

See Also:

AWS - * API Reference

- */ -class AthenaSourceConfig { - public: - AWS_LOOKOUTMETRICS_API AthenaSourceConfig() = default; - AWS_LOOKOUTMETRICS_API AthenaSourceConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AthenaSourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

An IAM role that gives Amazon Lookout for Metrics permission to access the - * data.

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - AthenaSourceConfig& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The database's name.

- */ - inline const Aws::String& GetDatabaseName() const { return m_databaseName; } - inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } - template - void SetDatabaseName(DatabaseNameT&& value) { - m_databaseNameHasBeenSet = true; - m_databaseName = std::forward(value); - } - template - AthenaSourceConfig& WithDatabaseName(DatabaseNameT&& value) { - SetDatabaseName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The database's data catalog.

- */ - inline const Aws::String& GetDataCatalog() const { return m_dataCatalog; } - inline bool DataCatalogHasBeenSet() const { return m_dataCatalogHasBeenSet; } - template - void SetDataCatalog(DataCatalogT&& value) { - m_dataCatalogHasBeenSet = true; - m_dataCatalog = std::forward(value); - } - template - AthenaSourceConfig& WithDataCatalog(DataCatalogT&& value) { - SetDataCatalog(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The database's table name.

- */ - inline const Aws::String& GetTableName() const { return m_tableName; } - inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } - template - void SetTableName(TableNameT&& value) { - m_tableNameHasBeenSet = true; - m_tableName = std::forward(value); - } - template - AthenaSourceConfig& WithTableName(TableNameT&& value) { - SetTableName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The database's work group name.

- */ - inline const Aws::String& GetWorkGroupName() const { return m_workGroupName; } - inline bool WorkGroupNameHasBeenSet() const { return m_workGroupNameHasBeenSet; } - template - void SetWorkGroupName(WorkGroupNameT&& value) { - m_workGroupNameHasBeenSet = true; - m_workGroupName = std::forward(value); - } - template - AthenaSourceConfig& WithWorkGroupName(WorkGroupNameT&& value) { - SetWorkGroupName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The database's results path.

- */ - inline const Aws::String& GetS3ResultsPath() const { return m_s3ResultsPath; } - inline bool S3ResultsPathHasBeenSet() const { return m_s3ResultsPathHasBeenSet; } - template - void SetS3ResultsPath(S3ResultsPathT&& value) { - m_s3ResultsPathHasBeenSet = true; - m_s3ResultsPath = std::forward(value); - } - template - AthenaSourceConfig& WithS3ResultsPath(S3ResultsPathT&& value) { - SetS3ResultsPath(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Settings for backtest mode.

- */ - inline const BackTestConfiguration& GetBackTestConfiguration() const { return m_backTestConfiguration; } - inline bool BackTestConfigurationHasBeenSet() const { return m_backTestConfigurationHasBeenSet; } - template - void SetBackTestConfiguration(BackTestConfigurationT&& value) { - m_backTestConfigurationHasBeenSet = true; - m_backTestConfiguration = std::forward(value); - } - template - AthenaSourceConfig& WithBackTestConfiguration(BackTestConfigurationT&& value) { - SetBackTestConfiguration(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - Aws::String m_databaseName; - bool m_databaseNameHasBeenSet = false; - - Aws::String m_dataCatalog; - bool m_dataCatalogHasBeenSet = false; - - Aws::String m_tableName; - bool m_tableNameHasBeenSet = false; - - Aws::String m_workGroupName; - bool m_workGroupNameHasBeenSet = false; - - Aws::String m_s3ResultsPath; - bool m_s3ResultsPathHasBeenSet = false; - - BackTestConfiguration m_backTestConfiguration; - bool m_backTestConfigurationHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AttributeValue.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AttributeValue.h deleted file mode 100644 index 95d713d6f1b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AttributeValue.h +++ /dev/null @@ -1,182 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

An attribute value.

See Also:

AWS - * API Reference

- */ -class AttributeValue { - public: - AWS_LOOKOUTMETRICS_API AttributeValue() = default; - AWS_LOOKOUTMETRICS_API AttributeValue(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AttributeValue& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

A string.

- */ - inline const Aws::String& GetS() const { return m_s; } - inline bool SHasBeenSet() const { return m_sHasBeenSet; } - template - void SetS(ST&& value) { - m_sHasBeenSet = true; - m_s = std::forward(value); - } - template - AttributeValue& WithS(ST&& value) { - SetS(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A number.

- */ - inline const Aws::String& GetN() const { return m_n; } - inline bool NHasBeenSet() const { return m_nHasBeenSet; } - template - void SetN(NT&& value) { - m_nHasBeenSet = true; - m_n = std::forward(value); - } - template - AttributeValue& WithN(NT&& value) { - SetN(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A binary value.

- */ - inline const Aws::String& GetB() const { return m_b; } - inline bool BHasBeenSet() const { return m_bHasBeenSet; } - template - void SetB(BT&& value) { - m_bHasBeenSet = true; - m_b = std::forward(value); - } - template - AttributeValue& WithB(BT&& value) { - SetB(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of strings.

- */ - inline const Aws::Vector& GetSS() const { return m_sS; } - inline bool SSHasBeenSet() const { return m_sSHasBeenSet; } - template > - void SetSS(SST&& value) { - m_sSHasBeenSet = true; - m_sS = std::forward(value); - } - template > - AttributeValue& WithSS(SST&& value) { - SetSS(std::forward(value)); - return *this; - } - template - AttributeValue& AddSS(SST&& value) { - m_sSHasBeenSet = true; - m_sS.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of numbers.

- */ - inline const Aws::Vector& GetNS() const { return m_nS; } - inline bool NSHasBeenSet() const { return m_nSHasBeenSet; } - template > - void SetNS(NST&& value) { - m_nSHasBeenSet = true; - m_nS = std::forward(value); - } - template > - AttributeValue& WithNS(NST&& value) { - SetNS(std::forward(value)); - return *this; - } - template - AttributeValue& AddNS(NST&& value) { - m_nSHasBeenSet = true; - m_nS.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of binary values.

- */ - inline const Aws::Vector& GetBS() const { return m_bS; } - inline bool BSHasBeenSet() const { return m_bSHasBeenSet; } - template > - void SetBS(BST&& value) { - m_bSHasBeenSet = true; - m_bS = std::forward(value); - } - template > - AttributeValue& WithBS(BST&& value) { - SetBS(std::forward(value)); - return *this; - } - template - AttributeValue& AddBS(BST&& value) { - m_bSHasBeenSet = true; - m_bS.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_s; - bool m_sHasBeenSet = false; - - Aws::String m_n; - bool m_nHasBeenSet = false; - - Aws::String m_b; - bool m_bHasBeenSet = false; - - Aws::Vector m_sS; - bool m_sSHasBeenSet = false; - - Aws::Vector m_nS; - bool m_nSHasBeenSet = false; - - Aws::Vector m_bS; - bool m_bSHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AutoDetectionMetricSource.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AutoDetectionMetricSource.h deleted file mode 100644 index 823171c16c2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AutoDetectionMetricSource.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

An auto detection metric source.

See Also:

AWS - * API Reference

- */ -class AutoDetectionMetricSource { - public: - AWS_LOOKOUTMETRICS_API AutoDetectionMetricSource() = default; - AWS_LOOKOUTMETRICS_API AutoDetectionMetricSource(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AutoDetectionMetricSource& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The source's source config.

- */ - inline const AutoDetectionS3SourceConfig& GetS3SourceConfig() const { return m_s3SourceConfig; } - inline bool S3SourceConfigHasBeenSet() const { return m_s3SourceConfigHasBeenSet; } - template - void SetS3SourceConfig(S3SourceConfigT&& value) { - m_s3SourceConfigHasBeenSet = true; - m_s3SourceConfig = std::forward(value); - } - template - AutoDetectionMetricSource& WithS3SourceConfig(S3SourceConfigT&& value) { - SetS3SourceConfig(std::forward(value)); - return *this; - } - ///@} - private: - AutoDetectionS3SourceConfig m_s3SourceConfig; - bool m_s3SourceConfigHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AutoDetectionS3SourceConfig.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AutoDetectionS3SourceConfig.h deleted file mode 100644 index 62de641de09..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/AutoDetectionS3SourceConfig.h +++ /dev/null @@ -1,92 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

An auto detection source config.

See Also:

AWS - * API Reference

- */ -class AutoDetectionS3SourceConfig { - public: - AWS_LOOKOUTMETRICS_API AutoDetectionS3SourceConfig() = default; - AWS_LOOKOUTMETRICS_API AutoDetectionS3SourceConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API AutoDetectionS3SourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The config's templated path list.

- */ - inline const Aws::Vector& GetTemplatedPathList() const { return m_templatedPathList; } - inline bool TemplatedPathListHasBeenSet() const { return m_templatedPathListHasBeenSet; } - template > - void SetTemplatedPathList(TemplatedPathListT&& value) { - m_templatedPathListHasBeenSet = true; - m_templatedPathList = std::forward(value); - } - template > - AutoDetectionS3SourceConfig& WithTemplatedPathList(TemplatedPathListT&& value) { - SetTemplatedPathList(std::forward(value)); - return *this; - } - template - AutoDetectionS3SourceConfig& AddTemplatedPathList(TemplatedPathListT&& value) { - m_templatedPathListHasBeenSet = true; - m_templatedPathList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The config's historical data path list.

- */ - inline const Aws::Vector& GetHistoricalDataPathList() const { return m_historicalDataPathList; } - inline bool HistoricalDataPathListHasBeenSet() const { return m_historicalDataPathListHasBeenSet; } - template > - void SetHistoricalDataPathList(HistoricalDataPathListT&& value) { - m_historicalDataPathListHasBeenSet = true; - m_historicalDataPathList = std::forward(value); - } - template > - AutoDetectionS3SourceConfig& WithHistoricalDataPathList(HistoricalDataPathListT&& value) { - SetHistoricalDataPathList(std::forward(value)); - return *this; - } - template - AutoDetectionS3SourceConfig& AddHistoricalDataPathList(HistoricalDataPathListT&& value) { - m_historicalDataPathListHasBeenSet = true; - m_historicalDataPathList.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_templatedPathList; - bool m_templatedPathListHasBeenSet = false; - - Aws::Vector m_historicalDataPathList; - bool m_historicalDataPathListHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/BackTestAnomalyDetectorRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/BackTestAnomalyDetectorRequest.h deleted file mode 100644 index e0c99d2d10e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/BackTestAnomalyDetectorRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class BackTestAnomalyDetectorRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API BackTestAnomalyDetectorRequest() = default; - - // 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 "BackTestAnomalyDetector"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the anomaly detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - BackTestAnomalyDetectorRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/BackTestAnomalyDetectorResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/BackTestAnomalyDetectorResult.h deleted file mode 100644 index e7daece3e82..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/BackTestAnomalyDetectorResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class BackTestAnomalyDetectorResult { - public: - AWS_LOOKOUTMETRICS_API BackTestAnomalyDetectorResult() = default; - AWS_LOOKOUTMETRICS_API BackTestAnomalyDetectorResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API BackTestAnomalyDetectorResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - BackTestAnomalyDetectorResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/BackTestConfiguration.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/BackTestConfiguration.h deleted file mode 100644 index 5382b0f9ff8..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/BackTestConfiguration.h +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Settings for backtest mode.

See Also:

AWS - * API Reference

- */ -class BackTestConfiguration { - public: - AWS_LOOKOUTMETRICS_API BackTestConfiguration() = default; - AWS_LOOKOUTMETRICS_API BackTestConfiguration(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API BackTestConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Run a backtest instead of monitoring new data.

- */ - inline bool GetRunBackTestMode() const { return m_runBackTestMode; } - inline bool RunBackTestModeHasBeenSet() const { return m_runBackTestModeHasBeenSet; } - inline void SetRunBackTestMode(bool value) { - m_runBackTestModeHasBeenSet = true; - m_runBackTestMode = value; - } - inline BackTestConfiguration& WithRunBackTestMode(bool value) { - SetRunBackTestMode(value); - return *this; - } - ///@} - private: - bool m_runBackTestMode{false}; - bool m_runBackTestModeHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CSVFileCompression.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CSVFileCompression.h deleted file mode 100644 index 620e9a50a52..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CSVFileCompression.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class CSVFileCompression { NOT_SET, NONE, GZIP }; - -namespace CSVFileCompressionMapper { -AWS_LOOKOUTMETRICS_API CSVFileCompression GetCSVFileCompressionForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForCSVFileCompression(CSVFileCompression value); -} // namespace CSVFileCompressionMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CloudWatchConfig.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CloudWatchConfig.h deleted file mode 100644 index 8e37430401e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CloudWatchConfig.h +++ /dev/null @@ -1,81 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Details about an Amazon CloudWatch datasource.

See Also:

AWS - * API Reference

- */ -class CloudWatchConfig { - public: - AWS_LOOKOUTMETRICS_API CloudWatchConfig() = default; - AWS_LOOKOUTMETRICS_API CloudWatchConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API CloudWatchConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

An IAM role that gives Amazon Lookout for Metrics permission to access data - * in Amazon CloudWatch.

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - CloudWatchConfig& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Settings for backtest mode.

- */ - inline const BackTestConfiguration& GetBackTestConfiguration() const { return m_backTestConfiguration; } - inline bool BackTestConfigurationHasBeenSet() const { return m_backTestConfigurationHasBeenSet; } - template - void SetBackTestConfiguration(BackTestConfigurationT&& value) { - m_backTestConfigurationHasBeenSet = true; - m_backTestConfiguration = std::forward(value); - } - template - CloudWatchConfig& WithBackTestConfiguration(BackTestConfigurationT&& value) { - SetBackTestConfiguration(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - BackTestConfiguration m_backTestConfiguration; - bool m_backTestConfigurationHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Confidence.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Confidence.h deleted file mode 100644 index ed0cd52df51..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Confidence.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class Confidence { NOT_SET, HIGH, LOW, NONE }; - -namespace ConfidenceMapper { -AWS_LOOKOUTMETRICS_API Confidence GetConfidenceForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForConfidence(Confidence value); -} // namespace ConfidenceMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ConflictException.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ConflictException.h deleted file mode 100644 index e037e384a05..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ConflictException.h +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

There was a conflict processing the request. Try your request - * again.

See Also:

AWS - * API Reference

- */ -class ConflictException { - public: - AWS_LOOKOUTMETRICS_API ConflictException() = default; - AWS_LOOKOUTMETRICS_API ConflictException(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API ConflictException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ConflictException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ID of the resource.

- */ - inline const Aws::String& GetResourceId() const { return m_resourceId; } - inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } - template - void SetResourceId(ResourceIdT&& value) { - m_resourceIdHasBeenSet = true; - m_resourceId = std::forward(value); - } - template - ConflictException& WithResourceId(ResourceIdT&& value) { - SetResourceId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the resource.

- */ - inline const Aws::String& GetResourceType() const { return m_resourceType; } - inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } - template - void SetResourceType(ResourceTypeT&& value) { - m_resourceTypeHasBeenSet = true; - m_resourceType = std::forward(value); - } - template - ConflictException& WithResourceType(ResourceTypeT&& value) { - SetResourceType(std::forward(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 LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ContributionMatrix.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ContributionMatrix.h deleted file mode 100644 index 662b6b9313f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ContributionMatrix.h +++ /dev/null @@ -1,66 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Details about dimensions that contributed to an anomaly.

See - * Also:

AWS - * API Reference

- */ -class ContributionMatrix { - public: - AWS_LOOKOUTMETRICS_API ContributionMatrix() = default; - AWS_LOOKOUTMETRICS_API ContributionMatrix(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API ContributionMatrix& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

A list of contributing dimensions.

- */ - inline const Aws::Vector& GetDimensionContributionList() const { return m_dimensionContributionList; } - inline bool DimensionContributionListHasBeenSet() const { return m_dimensionContributionListHasBeenSet; } - template > - void SetDimensionContributionList(DimensionContributionListT&& value) { - m_dimensionContributionListHasBeenSet = true; - m_dimensionContributionList = std::forward(value); - } - template > - ContributionMatrix& WithDimensionContributionList(DimensionContributionListT&& value) { - SetDimensionContributionList(std::forward(value)); - return *this; - } - template - ContributionMatrix& AddDimensionContributionList(DimensionContributionListT&& value) { - m_dimensionContributionListHasBeenSet = true; - m_dimensionContributionList.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_dimensionContributionList; - bool m_dimensionContributionListHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAlertRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAlertRequest.h deleted file mode 100644 index ddea5a907a6..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAlertRequest.h +++ /dev/null @@ -1,191 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class CreateAlertRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API CreateAlertRequest() = default; - - // 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 "CreateAlert"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the alert.

- */ - inline const Aws::String& GetAlertName() const { return m_alertName; } - inline bool AlertNameHasBeenSet() const { return m_alertNameHasBeenSet; } - template - void SetAlertName(AlertNameT&& value) { - m_alertNameHasBeenSet = true; - m_alertName = std::forward(value); - } - template - CreateAlertRequest& WithAlertName(AlertNameT&& value) { - SetAlertName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An integer from 0 to 100 specifying the alert sensitivity threshold.

- */ - inline int GetAlertSensitivityThreshold() const { return m_alertSensitivityThreshold; } - inline bool AlertSensitivityThresholdHasBeenSet() const { return m_alertSensitivityThresholdHasBeenSet; } - inline void SetAlertSensitivityThreshold(int value) { - m_alertSensitivityThresholdHasBeenSet = true; - m_alertSensitivityThreshold = value; - } - inline CreateAlertRequest& WithAlertSensitivityThreshold(int value) { - SetAlertSensitivityThreshold(value); - return *this; - } - ///@} - - ///@{ - /** - *

A description of the alert.

- */ - inline const Aws::String& GetAlertDescription() const { return m_alertDescription; } - inline bool AlertDescriptionHasBeenSet() const { return m_alertDescriptionHasBeenSet; } - template - void SetAlertDescription(AlertDescriptionT&& value) { - m_alertDescriptionHasBeenSet = true; - m_alertDescription = std::forward(value); - } - template - CreateAlertRequest& WithAlertDescription(AlertDescriptionT&& value) { - SetAlertDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the detector to which the alert is attached.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - CreateAlertRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Action that will be triggered when there is an alert.

- */ - inline const Action& GetAction() const { return m_action; } - inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } - template - void SetAction(ActionT&& value) { - m_actionHasBeenSet = true; - m_action = std::forward(value); - } - template - CreateAlertRequest& WithAction(ActionT&& value) { - SetAction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of tags - * to apply to the alert.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateAlertRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateAlertRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The configuration of the alert filters, containing MetricList and - * DimensionFilterList.

- */ - inline const AlertFilters& GetAlertFilters() const { return m_alertFilters; } - inline bool AlertFiltersHasBeenSet() const { return m_alertFiltersHasBeenSet; } - template - void SetAlertFilters(AlertFiltersT&& value) { - m_alertFiltersHasBeenSet = true; - m_alertFilters = std::forward(value); - } - template - CreateAlertRequest& WithAlertFilters(AlertFiltersT&& value) { - SetAlertFilters(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_alertName; - bool m_alertNameHasBeenSet = false; - - int m_alertSensitivityThreshold{0}; - bool m_alertSensitivityThresholdHasBeenSet = false; - - Aws::String m_alertDescription; - bool m_alertDescriptionHasBeenSet = false; - - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Action m_action; - bool m_actionHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - AlertFilters m_alertFilters; - bool m_alertFiltersHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAlertResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAlertResult.h deleted file mode 100644 index 309b343734e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAlertResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class CreateAlertResult { - public: - AWS_LOOKOUTMETRICS_API CreateAlertResult() = default; - AWS_LOOKOUTMETRICS_API CreateAlertResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API CreateAlertResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The ARN of the alert.

- */ - inline const Aws::String& GetAlertArn() const { return m_alertArn; } - template - void SetAlertArn(AlertArnT&& value) { - m_alertArnHasBeenSet = true; - m_alertArn = std::forward(value); - } - template - CreateAlertResult& WithAlertArn(AlertArnT&& value) { - SetAlertArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateAlertResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_alertArn; - bool m_alertArnHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAnomalyDetectorRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAnomalyDetectorRequest.h deleted file mode 100644 index ebf87fc5834..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAnomalyDetectorRequest.h +++ /dev/null @@ -1,149 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class CreateAnomalyDetectorRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API CreateAnomalyDetectorRequest() = default; - - // 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 "CreateAnomalyDetector"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the detector.

- */ - inline const Aws::String& GetAnomalyDetectorName() const { return m_anomalyDetectorName; } - inline bool AnomalyDetectorNameHasBeenSet() const { return m_anomalyDetectorNameHasBeenSet; } - template - void SetAnomalyDetectorName(AnomalyDetectorNameT&& value) { - m_anomalyDetectorNameHasBeenSet = true; - m_anomalyDetectorName = std::forward(value); - } - template - CreateAnomalyDetectorRequest& WithAnomalyDetectorName(AnomalyDetectorNameT&& value) { - SetAnomalyDetectorName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A description of the detector.

- */ - inline const Aws::String& GetAnomalyDetectorDescription() const { return m_anomalyDetectorDescription; } - inline bool AnomalyDetectorDescriptionHasBeenSet() const { return m_anomalyDetectorDescriptionHasBeenSet; } - template - void SetAnomalyDetectorDescription(AnomalyDetectorDescriptionT&& value) { - m_anomalyDetectorDescriptionHasBeenSet = true; - m_anomalyDetectorDescription = std::forward(value); - } - template - CreateAnomalyDetectorRequest& WithAnomalyDetectorDescription(AnomalyDetectorDescriptionT&& value) { - SetAnomalyDetectorDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains information about the configuration of the anomaly detector.

- */ - inline const AnomalyDetectorConfig& GetAnomalyDetectorConfig() const { return m_anomalyDetectorConfig; } - inline bool AnomalyDetectorConfigHasBeenSet() const { return m_anomalyDetectorConfigHasBeenSet; } - template - void SetAnomalyDetectorConfig(AnomalyDetectorConfigT&& value) { - m_anomalyDetectorConfigHasBeenSet = true; - m_anomalyDetectorConfig = std::forward(value); - } - template - CreateAnomalyDetectorRequest& WithAnomalyDetectorConfig(AnomalyDetectorConfigT&& value) { - SetAnomalyDetectorConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the KMS key to use to encrypt your data.

- */ - inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; } - inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } - template - void SetKmsKeyArn(KmsKeyArnT&& value) { - m_kmsKeyArnHasBeenSet = true; - m_kmsKeyArn = std::forward(value); - } - template - CreateAnomalyDetectorRequest& WithKmsKeyArn(KmsKeyArnT&& value) { - SetKmsKeyArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of tags - * to apply to the anomaly detector.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateAnomalyDetectorRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateAnomalyDetectorRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorName; - bool m_anomalyDetectorNameHasBeenSet = false; - - Aws::String m_anomalyDetectorDescription; - bool m_anomalyDetectorDescriptionHasBeenSet = false; - - AnomalyDetectorConfig m_anomalyDetectorConfig; - bool m_anomalyDetectorConfigHasBeenSet = false; - - Aws::String m_kmsKeyArn; - bool m_kmsKeyArnHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAnomalyDetectorResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAnomalyDetectorResult.h deleted file mode 100644 index b131de01bcd..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateAnomalyDetectorResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class CreateAnomalyDetectorResult { - public: - AWS_LOOKOUTMETRICS_API CreateAnomalyDetectorResult() = default; - AWS_LOOKOUTMETRICS_API CreateAnomalyDetectorResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API CreateAnomalyDetectorResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The ARN of the detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - CreateAnomalyDetectorResult& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateAnomalyDetectorResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateMetricSetRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateMetricSetRequest.h deleted file mode 100644 index fb50739119f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateMetricSetRequest.h +++ /dev/null @@ -1,318 +0,0 @@ -/** - * 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 -#include - -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { - -/** - */ -class CreateMetricSetRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API CreateMetricSetRequest() = default; - - // 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 "CreateMetricSet"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ARN of the anomaly detector that will use the dataset.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - CreateMetricSetRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the dataset.

- */ - inline const Aws::String& GetMetricSetName() const { return m_metricSetName; } - inline bool MetricSetNameHasBeenSet() const { return m_metricSetNameHasBeenSet; } - template - void SetMetricSetName(MetricSetNameT&& value) { - m_metricSetNameHasBeenSet = true; - m_metricSetName = std::forward(value); - } - template - CreateMetricSetRequest& WithMetricSetName(MetricSetNameT&& value) { - SetMetricSetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A description of the dataset you are creating.

- */ - inline const Aws::String& GetMetricSetDescription() const { return m_metricSetDescription; } - inline bool MetricSetDescriptionHasBeenSet() const { return m_metricSetDescriptionHasBeenSet; } - template - void SetMetricSetDescription(MetricSetDescriptionT&& value) { - m_metricSetDescriptionHasBeenSet = true; - m_metricSetDescription = std::forward(value); - } - template - CreateMetricSetRequest& WithMetricSetDescription(MetricSetDescriptionT&& value) { - SetMetricSetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of metrics that the dataset will contain.

- */ - inline const Aws::Vector& GetMetricList() const { return m_metricList; } - inline bool MetricListHasBeenSet() const { return m_metricListHasBeenSet; } - template > - void SetMetricList(MetricListT&& value) { - m_metricListHasBeenSet = true; - m_metricList = std::forward(value); - } - template > - CreateMetricSetRequest& WithMetricList(MetricListT&& value) { - SetMetricList(std::forward(value)); - return *this; - } - template - CreateMetricSetRequest& AddMetricList(MetricListT&& value) { - m_metricListHasBeenSet = true; - m_metricList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

After an interval ends, the amount of seconds that the detector waits before - * importing data. Offset is only supported for S3, Redshift, Athena and - * datasources.

- */ - inline int GetOffset() const { return m_offset; } - inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; } - inline void SetOffset(int value) { - m_offsetHasBeenSet = true; - m_offset = value; - } - inline CreateMetricSetRequest& WithOffset(int value) { - SetOffset(value); - return *this; - } - ///@} - - ///@{ - /** - *

Contains information about the column used for tracking time in your source - * data.

- */ - inline const TimestampColumn& GetTimestampColumn() const { return m_timestampColumn; } - inline bool TimestampColumnHasBeenSet() const { return m_timestampColumnHasBeenSet; } - template - void SetTimestampColumn(TimestampColumnT&& value) { - m_timestampColumnHasBeenSet = true; - m_timestampColumn = std::forward(value); - } - template - CreateMetricSetRequest& WithTimestampColumn(TimestampColumnT&& value) { - SetTimestampColumn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of the fields you want to treat as dimensions.

- */ - inline const Aws::Vector& GetDimensionList() const { return m_dimensionList; } - inline bool DimensionListHasBeenSet() const { return m_dimensionListHasBeenSet; } - template > - void SetDimensionList(DimensionListT&& value) { - m_dimensionListHasBeenSet = true; - m_dimensionList = std::forward(value); - } - template > - CreateMetricSetRequest& WithDimensionList(DimensionListT&& value) { - SetDimensionList(std::forward(value)); - return *this; - } - template - CreateMetricSetRequest& AddDimensionList(DimensionListT&& value) { - m_dimensionListHasBeenSet = true; - m_dimensionList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The frequency with which the source data will be analyzed for anomalies.

- */ - inline Frequency GetMetricSetFrequency() const { return m_metricSetFrequency; } - inline bool MetricSetFrequencyHasBeenSet() const { return m_metricSetFrequencyHasBeenSet; } - inline void SetMetricSetFrequency(Frequency value) { - m_metricSetFrequencyHasBeenSet = true; - m_metricSetFrequency = value; - } - inline CreateMetricSetRequest& WithMetricSetFrequency(Frequency value) { - SetMetricSetFrequency(value); - return *this; - } - ///@} - - ///@{ - /** - *

Contains information about how the source data should be interpreted.

- */ - inline const MetricSource& GetMetricSource() const { return m_metricSource; } - inline bool MetricSourceHasBeenSet() const { return m_metricSourceHasBeenSet; } - template - void SetMetricSource(MetricSourceT&& value) { - m_metricSourceHasBeenSet = true; - m_metricSource = std::forward(value); - } - template - CreateMetricSetRequest& WithMetricSource(MetricSourceT&& value) { - SetMetricSource(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time zone in which your source data was recorded.

- */ - inline const Aws::String& GetTimezone() const { return m_timezone; } - inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; } - template - void SetTimezone(TimezoneT&& value) { - m_timezoneHasBeenSet = true; - m_timezone = std::forward(value); - } - template - CreateMetricSetRequest& WithTimezone(TimezoneT&& value) { - SetTimezone(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of tags - * to apply to the dataset.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateMetricSetRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateMetricSetRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of filters that specify which data is kept for anomaly detection.

- */ - inline const Aws::Vector& GetDimensionFilterList() const { return m_dimensionFilterList; } - inline bool DimensionFilterListHasBeenSet() const { return m_dimensionFilterListHasBeenSet; } - template > - void SetDimensionFilterList(DimensionFilterListT&& value) { - m_dimensionFilterListHasBeenSet = true; - m_dimensionFilterList = std::forward(value); - } - template > - CreateMetricSetRequest& WithDimensionFilterList(DimensionFilterListT&& value) { - SetDimensionFilterList(std::forward(value)); - return *this; - } - template - CreateMetricSetRequest& AddDimensionFilterList(DimensionFilterListT&& value) { - m_dimensionFilterListHasBeenSet = true; - m_dimensionFilterList.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_metricSetName; - bool m_metricSetNameHasBeenSet = false; - - Aws::String m_metricSetDescription; - bool m_metricSetDescriptionHasBeenSet = false; - - Aws::Vector m_metricList; - bool m_metricListHasBeenSet = false; - - int m_offset{0}; - bool m_offsetHasBeenSet = false; - - TimestampColumn m_timestampColumn; - bool m_timestampColumnHasBeenSet = false; - - Aws::Vector m_dimensionList; - bool m_dimensionListHasBeenSet = false; - - Frequency m_metricSetFrequency{Frequency::NOT_SET}; - bool m_metricSetFrequencyHasBeenSet = false; - - MetricSource m_metricSource; - bool m_metricSourceHasBeenSet = false; - - Aws::String m_timezone; - bool m_timezoneHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::Vector m_dimensionFilterList; - bool m_dimensionFilterListHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateMetricSetResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateMetricSetResult.h deleted file mode 100644 index aa069816acb..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CreateMetricSetResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class CreateMetricSetResult { - public: - AWS_LOOKOUTMETRICS_API CreateMetricSetResult() = default; - AWS_LOOKOUTMETRICS_API CreateMetricSetResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API CreateMetricSetResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The ARN of the dataset.

- */ - inline const Aws::String& GetMetricSetArn() const { return m_metricSetArn; } - template - void SetMetricSetArn(MetricSetArnT&& value) { - m_metricSetArnHasBeenSet = true; - m_metricSetArn = std::forward(value); - } - template - CreateMetricSetResult& WithMetricSetArn(MetricSetArnT&& value) { - SetMetricSetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateMetricSetResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_metricSetArn; - bool m_metricSetArnHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CsvFormatDescriptor.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CsvFormatDescriptor.h deleted file mode 100644 index ffca580052d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/CsvFormatDescriptor.h +++ /dev/null @@ -1,168 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains information about how a source CSV data file should be - * analyzed.

See Also:

AWS - * API Reference

- */ -class CsvFormatDescriptor { - public: - AWS_LOOKOUTMETRICS_API CsvFormatDescriptor() = default; - AWS_LOOKOUTMETRICS_API CsvFormatDescriptor(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API CsvFormatDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The level of compression of the source CSV file.

- */ - inline CSVFileCompression GetFileCompression() const { return m_fileCompression; } - inline bool FileCompressionHasBeenSet() const { return m_fileCompressionHasBeenSet; } - inline void SetFileCompression(CSVFileCompression value) { - m_fileCompressionHasBeenSet = true; - m_fileCompression = value; - } - inline CsvFormatDescriptor& WithFileCompression(CSVFileCompression value) { - SetFileCompression(value); - return *this; - } - ///@} - - ///@{ - /** - *

The character set in which the source CSV file is written.

- */ - inline const Aws::String& GetCharset() const { return m_charset; } - inline bool CharsetHasBeenSet() const { return m_charsetHasBeenSet; } - template - void SetCharset(CharsetT&& value) { - m_charsetHasBeenSet = true; - m_charset = std::forward(value); - } - template - CsvFormatDescriptor& WithCharset(CharsetT&& value) { - SetCharset(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Whether or not the source CSV file contains a header.

- */ - inline bool GetContainsHeader() const { return m_containsHeader; } - inline bool ContainsHeaderHasBeenSet() const { return m_containsHeaderHasBeenSet; } - inline void SetContainsHeader(bool value) { - m_containsHeaderHasBeenSet = true; - m_containsHeader = value; - } - inline CsvFormatDescriptor& WithContainsHeader(bool value) { - SetContainsHeader(value); - return *this; - } - ///@} - - ///@{ - /** - *

The character used to delimit the source CSV file.

- */ - inline const Aws::String& GetDelimiter() const { return m_delimiter; } - inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; } - template - void SetDelimiter(DelimiterT&& value) { - m_delimiterHasBeenSet = true; - m_delimiter = std::forward(value); - } - template - CsvFormatDescriptor& WithDelimiter(DelimiterT&& value) { - SetDelimiter(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of the source CSV file's headers, if any.

- */ - inline const Aws::Vector& GetHeaderList() const { return m_headerList; } - inline bool HeaderListHasBeenSet() const { return m_headerListHasBeenSet; } - template > - void SetHeaderList(HeaderListT&& value) { - m_headerListHasBeenSet = true; - m_headerList = std::forward(value); - } - template > - CsvFormatDescriptor& WithHeaderList(HeaderListT&& value) { - SetHeaderList(std::forward(value)); - return *this; - } - template - CsvFormatDescriptor& AddHeaderList(HeaderListT&& value) { - m_headerListHasBeenSet = true; - m_headerList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The character used as a quote character.

- */ - inline const Aws::String& GetQuoteSymbol() const { return m_quoteSymbol; } - inline bool QuoteSymbolHasBeenSet() const { return m_quoteSymbolHasBeenSet; } - template - void SetQuoteSymbol(QuoteSymbolT&& value) { - m_quoteSymbolHasBeenSet = true; - m_quoteSymbol = std::forward(value); - } - template - CsvFormatDescriptor& WithQuoteSymbol(QuoteSymbolT&& value) { - SetQuoteSymbol(std::forward(value)); - return *this; - } - ///@} - private: - CSVFileCompression m_fileCompression{CSVFileCompression::NOT_SET}; - bool m_fileCompressionHasBeenSet = false; - - Aws::String m_charset; - bool m_charsetHasBeenSet = false; - - bool m_containsHeader{false}; - bool m_containsHeaderHasBeenSet = false; - - Aws::String m_delimiter; - bool m_delimiterHasBeenSet = false; - - Aws::Vector m_headerList; - bool m_headerListHasBeenSet = false; - - Aws::String m_quoteSymbol; - bool m_quoteSymbolHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DataQualityMetric.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DataQualityMetric.h deleted file mode 100644 index f0ee4bc751a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DataQualityMetric.h +++ /dev/null @@ -1,121 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

An array that describes a data quality metric. Each - * DataQualityMetric object contains the data quality metric name, its - * value, a description of the metric, and the affected column.

See - * Also:

AWS - * API Reference

- */ -class DataQualityMetric { - public: - AWS_LOOKOUTMETRICS_API DataQualityMetric() = default; - AWS_LOOKOUTMETRICS_API DataQualityMetric(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API DataQualityMetric& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the data quality metric.

- */ - inline DataQualityMetricType GetMetricType() const { return m_metricType; } - inline bool MetricTypeHasBeenSet() const { return m_metricTypeHasBeenSet; } - inline void SetMetricType(DataQualityMetricType value) { - m_metricTypeHasBeenSet = true; - m_metricType = value; - } - inline DataQualityMetric& WithMetricType(DataQualityMetricType value) { - SetMetricType(value); - return *this; - } - ///@} - - ///@{ - /** - *

A description of the data quality metric.

- */ - inline const Aws::String& GetMetricDescription() const { return m_metricDescription; } - inline bool MetricDescriptionHasBeenSet() const { return m_metricDescriptionHasBeenSet; } - template - void SetMetricDescription(MetricDescriptionT&& value) { - m_metricDescriptionHasBeenSet = true; - m_metricDescription = std::forward(value); - } - template - DataQualityMetric& WithMetricDescription(MetricDescriptionT&& value) { - SetMetricDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The column that is being monitored.

- */ - inline const Aws::String& GetRelatedColumnName() const { return m_relatedColumnName; } - inline bool RelatedColumnNameHasBeenSet() const { return m_relatedColumnNameHasBeenSet; } - template - void SetRelatedColumnName(RelatedColumnNameT&& value) { - m_relatedColumnNameHasBeenSet = true; - m_relatedColumnName = std::forward(value); - } - template - DataQualityMetric& WithRelatedColumnName(RelatedColumnNameT&& value) { - SetRelatedColumnName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The value of the data quality metric.

- */ - inline double GetMetricValue() const { return m_metricValue; } - inline bool MetricValueHasBeenSet() const { return m_metricValueHasBeenSet; } - inline void SetMetricValue(double value) { - m_metricValueHasBeenSet = true; - m_metricValue = value; - } - inline DataQualityMetric& WithMetricValue(double value) { - SetMetricValue(value); - return *this; - } - ///@} - private: - DataQualityMetricType m_metricType{DataQualityMetricType::NOT_SET}; - bool m_metricTypeHasBeenSet = false; - - Aws::String m_metricDescription; - bool m_metricDescriptionHasBeenSet = false; - - Aws::String m_relatedColumnName; - bool m_relatedColumnNameHasBeenSet = false; - - double m_metricValue{0.0}; - bool m_metricValueHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DataQualityMetricType.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DataQualityMetricType.h deleted file mode 100644 index 703b1c1ded9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DataQualityMetricType.h +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class DataQualityMetricType { - NOT_SET, - COLUMN_COMPLETENESS, - DIMENSION_UNIQUENESS, - TIME_SERIES_COUNT, - ROWS_PROCESSED, - ROWS_PARTIAL_COMPLIANCE, - INVALID_ROWS_COMPLIANCE, - BACKTEST_TRAINING_DATA_START_TIME_STAMP, - BACKTEST_TRAINING_DATA_END_TIME_STAMP, - BACKTEST_INFERENCE_DATA_START_TIME_STAMP, - BACKTEST_INFERENCE_DATA_END_TIME_STAMP -}; - -namespace DataQualityMetricTypeMapper { -AWS_LOOKOUTMETRICS_API DataQualityMetricType GetDataQualityMetricTypeForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForDataQualityMetricType(DataQualityMetricType value); -} // namespace DataQualityMetricTypeMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeactivateAnomalyDetectorRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeactivateAnomalyDetectorRequest.h deleted file mode 100644 index 3706f674318..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeactivateAnomalyDetectorRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class DeactivateAnomalyDetectorRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API DeactivateAnomalyDetectorRequest() = default; - - // 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 "DeactivateAnomalyDetector"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the anomaly detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - DeactivateAnomalyDetectorRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeactivateAnomalyDetectorResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeactivateAnomalyDetectorResult.h deleted file mode 100644 index 6ce6a61eb0d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeactivateAnomalyDetectorResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class DeactivateAnomalyDetectorResult { - public: - AWS_LOOKOUTMETRICS_API DeactivateAnomalyDetectorResult() = default; - AWS_LOOKOUTMETRICS_API DeactivateAnomalyDetectorResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API DeactivateAnomalyDetectorResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DeactivateAnomalyDetectorResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAlertRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAlertRequest.h deleted file mode 100644 index 9f13492c7be..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAlertRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class DeleteAlertRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API DeleteAlertRequest() = default; - - // 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 "DeleteAlert"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ARN of the alert to delete.

- */ - inline const Aws::String& GetAlertArn() const { return m_alertArn; } - inline bool AlertArnHasBeenSet() const { return m_alertArnHasBeenSet; } - template - void SetAlertArn(AlertArnT&& value) { - m_alertArnHasBeenSet = true; - m_alertArn = std::forward(value); - } - template - DeleteAlertRequest& WithAlertArn(AlertArnT&& value) { - SetAlertArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_alertArn; - bool m_alertArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAlertResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAlertResult.h deleted file mode 100644 index a5bb0df66e5..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAlertResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class DeleteAlertResult { - public: - AWS_LOOKOUTMETRICS_API DeleteAlertResult() = default; - AWS_LOOKOUTMETRICS_API DeleteAlertResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API DeleteAlertResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DeleteAlertResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAnomalyDetectorRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAnomalyDetectorRequest.h deleted file mode 100644 index 1a1b1925d4d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAnomalyDetectorRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class DeleteAnomalyDetectorRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API DeleteAnomalyDetectorRequest() = default; - - // 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 "DeleteAnomalyDetector"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ARN of the detector to delete.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - DeleteAnomalyDetectorRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAnomalyDetectorResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAnomalyDetectorResult.h deleted file mode 100644 index 52c56963f9d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DeleteAnomalyDetectorResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class DeleteAnomalyDetectorResult { - public: - AWS_LOOKOUTMETRICS_API DeleteAnomalyDetectorResult() = default; - AWS_LOOKOUTMETRICS_API DeleteAnomalyDetectorResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API DeleteAnomalyDetectorResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DeleteAnomalyDetectorResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAlertRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAlertRequest.h deleted file mode 100644 index c252b9676ad..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAlertRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class DescribeAlertRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API DescribeAlertRequest() = default; - - // 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 "DescribeAlert"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ARN of the alert to describe.

- */ - inline const Aws::String& GetAlertArn() const { return m_alertArn; } - inline bool AlertArnHasBeenSet() const { return m_alertArnHasBeenSet; } - template - void SetAlertArn(AlertArnT&& value) { - m_alertArnHasBeenSet = true; - m_alertArn = std::forward(value); - } - template - DescribeAlertRequest& WithAlertArn(AlertArnT&& value) { - SetAlertArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_alertArn; - bool m_alertArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAlertResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAlertResult.h deleted file mode 100644 index 5dc502c13ca..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAlertResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class DescribeAlertResult { - public: - AWS_LOOKOUTMETRICS_API DescribeAlertResult() = default; - AWS_LOOKOUTMETRICS_API DescribeAlertResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API DescribeAlertResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Contains information about an alert.

- */ - inline const Alert& GetAlert() const { return m_alert; } - template - void SetAlert(AlertT&& value) { - m_alertHasBeenSet = true; - m_alert = std::forward(value); - } - template - DescribeAlertResult& WithAlert(AlertT&& value) { - SetAlert(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeAlertResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Alert m_alert; - bool m_alertHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectionExecutionsRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectionExecutionsRequest.h deleted file mode 100644 index 97255f4fc8c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectionExecutionsRequest.h +++ /dev/null @@ -1,117 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class DescribeAnomalyDetectionExecutionsRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API DescribeAnomalyDetectionExecutionsRequest() = default; - - // 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 "DescribeAnomalyDetectionExecutions"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the anomaly detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - DescribeAnomalyDetectionExecutionsRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The timestamp of the anomaly detection job.

- */ - inline const Aws::String& GetTimestamp() const { return m_timestamp; } - inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } - template - void SetTimestamp(TimestampT&& value) { - m_timestampHasBeenSet = true; - m_timestamp = std::forward(value); - } - template - DescribeAnomalyDetectionExecutionsRequest& WithTimestamp(TimestampT&& value) { - SetTimestamp(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The number of items to return in the response.

- */ - 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 DescribeAnomalyDetectionExecutionsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

Specify the pagination token that's returned by a previous request to - * retrieve the next page of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - DescribeAnomalyDetectionExecutionsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_timestamp; - bool m_timestampHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectionExecutionsResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectionExecutionsResult.h deleted file mode 100644 index 7ba0d3f4a33..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectionExecutionsResult.h +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class DescribeAnomalyDetectionExecutionsResult { - public: - AWS_LOOKOUTMETRICS_API DescribeAnomalyDetectionExecutionsResult() = default; - AWS_LOOKOUTMETRICS_API DescribeAnomalyDetectionExecutionsResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API DescribeAnomalyDetectionExecutionsResult& operator=( - const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of detection jobs.

- */ - inline const Aws::Vector& GetExecutionList() const { return m_executionList; } - template > - void SetExecutionList(ExecutionListT&& value) { - m_executionListHasBeenSet = true; - m_executionList = std::forward(value); - } - template > - DescribeAnomalyDetectionExecutionsResult& WithExecutionList(ExecutionListT&& value) { - SetExecutionList(std::forward(value)); - return *this; - } - template - DescribeAnomalyDetectionExecutionsResult& AddExecutionList(ExecutionListT&& value) { - m_executionListHasBeenSet = true; - m_executionList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The pagination token that's included if more results are available.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - DescribeAnomalyDetectionExecutionsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeAnomalyDetectionExecutionsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_executionList; - bool m_executionListHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectorRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectorRequest.h deleted file mode 100644 index e228907d469..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectorRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class DescribeAnomalyDetectorRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API DescribeAnomalyDetectorRequest() = default; - - // 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 "DescribeAnomalyDetector"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ARN of the detector to describe.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - DescribeAnomalyDetectorRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectorResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectorResult.h deleted file mode 100644 index 7ef0cc30107..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeAnomalyDetectorResult.h +++ /dev/null @@ -1,250 +0,0 @@ -/** - * 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 { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace LookoutMetrics { -namespace Model { -class DescribeAnomalyDetectorResult { - public: - AWS_LOOKOUTMETRICS_API DescribeAnomalyDetectorResult() = default; - AWS_LOOKOUTMETRICS_API DescribeAnomalyDetectorResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API DescribeAnomalyDetectorResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The ARN of the detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - DescribeAnomalyDetectorResult& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the detector.

- */ - inline const Aws::String& GetAnomalyDetectorName() const { return m_anomalyDetectorName; } - template - void SetAnomalyDetectorName(AnomalyDetectorNameT&& value) { - m_anomalyDetectorNameHasBeenSet = true; - m_anomalyDetectorName = std::forward(value); - } - template - DescribeAnomalyDetectorResult& WithAnomalyDetectorName(AnomalyDetectorNameT&& value) { - SetAnomalyDetectorName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A description of the detector.

- */ - inline const Aws::String& GetAnomalyDetectorDescription() const { return m_anomalyDetectorDescription; } - template - void SetAnomalyDetectorDescription(AnomalyDetectorDescriptionT&& value) { - m_anomalyDetectorDescriptionHasBeenSet = true; - m_anomalyDetectorDescription = std::forward(value); - } - template - DescribeAnomalyDetectorResult& WithAnomalyDetectorDescription(AnomalyDetectorDescriptionT&& value) { - SetAnomalyDetectorDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains information about the detector's configuration.

- */ - inline const AnomalyDetectorConfigSummary& GetAnomalyDetectorConfig() const { return m_anomalyDetectorConfig; } - template - void SetAnomalyDetectorConfig(AnomalyDetectorConfigT&& value) { - m_anomalyDetectorConfigHasBeenSet = true; - m_anomalyDetectorConfig = std::forward(value); - } - template - DescribeAnomalyDetectorResult& WithAnomalyDetectorConfig(AnomalyDetectorConfigT&& value) { - SetAnomalyDetectorConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time at which the detector was created.

- */ - inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; } - template - void SetCreationTime(CreationTimeT&& value) { - m_creationTimeHasBeenSet = true; - m_creationTime = std::forward(value); - } - template - DescribeAnomalyDetectorResult& WithCreationTime(CreationTimeT&& value) { - SetCreationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time at which the detector was last modified.

- */ - inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; } - template - void SetLastModificationTime(LastModificationTimeT&& value) { - m_lastModificationTimeHasBeenSet = true; - m_lastModificationTime = std::forward(value); - } - template - DescribeAnomalyDetectorResult& WithLastModificationTime(LastModificationTimeT&& value) { - SetLastModificationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the detector.

- */ - inline AnomalyDetectorStatus GetStatus() const { return m_status; } - inline void SetStatus(AnomalyDetectorStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline DescribeAnomalyDetectorResult& WithStatus(AnomalyDetectorStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The reason that the detector failed.

- */ - inline const Aws::String& GetFailureReason() const { return m_failureReason; } - template - void SetFailureReason(FailureReasonT&& value) { - m_failureReasonHasBeenSet = true; - m_failureReason = std::forward(value); - } - template - DescribeAnomalyDetectorResult& WithFailureReason(FailureReasonT&& value) { - SetFailureReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the KMS key to use to encrypt your data.

- */ - inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; } - template - void SetKmsKeyArn(KmsKeyArnT&& value) { - m_kmsKeyArnHasBeenSet = true; - m_kmsKeyArn = std::forward(value); - } - template - DescribeAnomalyDetectorResult& WithKmsKeyArn(KmsKeyArnT&& value) { - SetKmsKeyArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The process that caused the detector to fail.

- */ - inline AnomalyDetectorFailureType GetFailureType() const { return m_failureType; } - inline void SetFailureType(AnomalyDetectorFailureType value) { - m_failureTypeHasBeenSet = true; - m_failureType = value; - } - inline DescribeAnomalyDetectorResult& WithFailureType(AnomalyDetectorFailureType value) { - SetFailureType(value); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeAnomalyDetectorResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_anomalyDetectorName; - bool m_anomalyDetectorNameHasBeenSet = false; - - Aws::String m_anomalyDetectorDescription; - bool m_anomalyDetectorDescriptionHasBeenSet = false; - - AnomalyDetectorConfigSummary m_anomalyDetectorConfig; - bool m_anomalyDetectorConfigHasBeenSet = false; - - Aws::Utils::DateTime m_creationTime{}; - bool m_creationTimeHasBeenSet = false; - - Aws::Utils::DateTime m_lastModificationTime{}; - bool m_lastModificationTimeHasBeenSet = false; - - AnomalyDetectorStatus m_status{AnomalyDetectorStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_failureReason; - bool m_failureReasonHasBeenSet = false; - - Aws::String m_kmsKeyArn; - bool m_kmsKeyArnHasBeenSet = false; - - AnomalyDetectorFailureType m_failureType{AnomalyDetectorFailureType::NOT_SET}; - bool m_failureTypeHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeMetricSetRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeMetricSetRequest.h deleted file mode 100644 index 92ae5432e44..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeMetricSetRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class DescribeMetricSetRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API DescribeMetricSetRequest() = default; - - // 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 "DescribeMetricSet"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ARN of the dataset.

- */ - inline const Aws::String& GetMetricSetArn() const { return m_metricSetArn; } - inline bool MetricSetArnHasBeenSet() const { return m_metricSetArnHasBeenSet; } - template - void SetMetricSetArn(MetricSetArnT&& value) { - m_metricSetArnHasBeenSet = true; - m_metricSetArn = std::forward(value); - } - template - DescribeMetricSetRequest& WithMetricSetArn(MetricSetArnT&& value) { - SetMetricSetArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_metricSetArn; - bool m_metricSetArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeMetricSetResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeMetricSetResult.h deleted file mode 100644 index c24dcc26a1b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DescribeMetricSetResult.h +++ /dev/null @@ -1,354 +0,0 @@ -/** - * 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 - -#include - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace LookoutMetrics { -namespace Model { -class DescribeMetricSetResult { - public: - AWS_LOOKOUTMETRICS_API DescribeMetricSetResult() = default; - AWS_LOOKOUTMETRICS_API DescribeMetricSetResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API DescribeMetricSetResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The ARN of the dataset.

- */ - inline const Aws::String& GetMetricSetArn() const { return m_metricSetArn; } - template - void SetMetricSetArn(MetricSetArnT&& value) { - m_metricSetArnHasBeenSet = true; - m_metricSetArn = std::forward(value); - } - template - DescribeMetricSetResult& WithMetricSetArn(MetricSetArnT&& value) { - SetMetricSetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the detector that contains the dataset.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - DescribeMetricSetResult& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the dataset.

- */ - inline const Aws::String& GetMetricSetName() const { return m_metricSetName; } - template - void SetMetricSetName(MetricSetNameT&& value) { - m_metricSetNameHasBeenSet = true; - m_metricSetName = std::forward(value); - } - template - DescribeMetricSetResult& WithMetricSetName(MetricSetNameT&& value) { - SetMetricSetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The dataset's description.

- */ - inline const Aws::String& GetMetricSetDescription() const { return m_metricSetDescription; } - template - void SetMetricSetDescription(MetricSetDescriptionT&& value) { - m_metricSetDescriptionHasBeenSet = true; - m_metricSetDescription = std::forward(value); - } - template - DescribeMetricSetResult& WithMetricSetDescription(MetricSetDescriptionT&& value) { - SetMetricSetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time at which the dataset was created.

- */ - inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; } - template - void SetCreationTime(CreationTimeT&& value) { - m_creationTimeHasBeenSet = true; - m_creationTime = std::forward(value); - } - template - DescribeMetricSetResult& WithCreationTime(CreationTimeT&& value) { - SetCreationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time at which the dataset was last modified.

- */ - inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; } - template - void SetLastModificationTime(LastModificationTimeT&& value) { - m_lastModificationTimeHasBeenSet = true; - m_lastModificationTime = std::forward(value); - } - template - DescribeMetricSetResult& WithLastModificationTime(LastModificationTimeT&& value) { - SetLastModificationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

After an interval ends, the amount of seconds that the detector waits before - * importing data. Offset is only supported for S3, Redshift, Athena and - * datasources.

- */ - inline int GetOffset() const { return m_offset; } - inline void SetOffset(int value) { - m_offsetHasBeenSet = true; - m_offset = value; - } - inline DescribeMetricSetResult& WithOffset(int value) { - SetOffset(value); - return *this; - } - ///@} - - ///@{ - /** - *

A list of the metrics defined by the dataset.

- */ - inline const Aws::Vector& GetMetricList() const { return m_metricList; } - template > - void SetMetricList(MetricListT&& value) { - m_metricListHasBeenSet = true; - m_metricList = std::forward(value); - } - template > - DescribeMetricSetResult& WithMetricList(MetricListT&& value) { - SetMetricList(std::forward(value)); - return *this; - } - template - DescribeMetricSetResult& AddMetricList(MetricListT&& value) { - m_metricListHasBeenSet = true; - m_metricList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains information about the column used for tracking time in your source - * data.

- */ - inline const TimestampColumn& GetTimestampColumn() const { return m_timestampColumn; } - template - void SetTimestampColumn(TimestampColumnT&& value) { - m_timestampColumnHasBeenSet = true; - m_timestampColumn = std::forward(value); - } - template - DescribeMetricSetResult& WithTimestampColumn(TimestampColumnT&& value) { - SetTimestampColumn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of the dimensions chosen for analysis.

- */ - inline const Aws::Vector& GetDimensionList() const { return m_dimensionList; } - template > - void SetDimensionList(DimensionListT&& value) { - m_dimensionListHasBeenSet = true; - m_dimensionList = std::forward(value); - } - template > - DescribeMetricSetResult& WithDimensionList(DimensionListT&& value) { - SetDimensionList(std::forward(value)); - return *this; - } - template - DescribeMetricSetResult& AddDimensionList(DimensionListT&& value) { - m_dimensionListHasBeenSet = true; - m_dimensionList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The interval at which the data will be analyzed for anomalies.

- */ - inline Frequency GetMetricSetFrequency() const { return m_metricSetFrequency; } - inline void SetMetricSetFrequency(Frequency value) { - m_metricSetFrequencyHasBeenSet = true; - m_metricSetFrequency = value; - } - inline DescribeMetricSetResult& WithMetricSetFrequency(Frequency value) { - SetMetricSetFrequency(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time zone in which the dataset's data was recorded.

- */ - inline const Aws::String& GetTimezone() const { return m_timezone; } - template - void SetTimezone(TimezoneT&& value) { - m_timezoneHasBeenSet = true; - m_timezone = std::forward(value); - } - template - DescribeMetricSetResult& WithTimezone(TimezoneT&& value) { - SetTimezone(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains information about the dataset's source data.

- */ - inline const MetricSource& GetMetricSource() const { return m_metricSource; } - template - void SetMetricSource(MetricSourceT&& value) { - m_metricSourceHasBeenSet = true; - m_metricSource = std::forward(value); - } - template - DescribeMetricSetResult& WithMetricSource(MetricSourceT&& value) { - SetMetricSource(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The dimensions and their values that were used to filter the dataset.

- */ - inline const Aws::Vector& GetDimensionFilterList() const { return m_dimensionFilterList; } - template > - void SetDimensionFilterList(DimensionFilterListT&& value) { - m_dimensionFilterListHasBeenSet = true; - m_dimensionFilterList = std::forward(value); - } - template > - DescribeMetricSetResult& WithDimensionFilterList(DimensionFilterListT&& value) { - SetDimensionFilterList(std::forward(value)); - return *this; - } - template - DescribeMetricSetResult& AddDimensionFilterList(DimensionFilterListT&& value) { - m_dimensionFilterListHasBeenSet = true; - m_dimensionFilterList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeMetricSetResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_metricSetArn; - bool m_metricSetArnHasBeenSet = false; - - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_metricSetName; - bool m_metricSetNameHasBeenSet = false; - - Aws::String m_metricSetDescription; - bool m_metricSetDescriptionHasBeenSet = false; - - Aws::Utils::DateTime m_creationTime{}; - bool m_creationTimeHasBeenSet = false; - - Aws::Utils::DateTime m_lastModificationTime{}; - bool m_lastModificationTimeHasBeenSet = false; - - int m_offset{0}; - bool m_offsetHasBeenSet = false; - - Aws::Vector m_metricList; - bool m_metricListHasBeenSet = false; - - TimestampColumn m_timestampColumn; - bool m_timestampColumnHasBeenSet = false; - - Aws::Vector m_dimensionList; - bool m_dimensionListHasBeenSet = false; - - Frequency m_metricSetFrequency{Frequency::NOT_SET}; - bool m_metricSetFrequencyHasBeenSet = false; - - Aws::String m_timezone; - bool m_timezoneHasBeenSet = false; - - MetricSource m_metricSource; - bool m_metricSourceHasBeenSet = false; - - Aws::Vector m_dimensionFilterList; - bool m_dimensionFilterListHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectMetricSetConfigRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectMetricSetConfigRequest.h deleted file mode 100644 index 86dab84f351..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectMetricSetConfigRequest.h +++ /dev/null @@ -1,77 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class DetectMetricSetConfigRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API DetectMetricSetConfigRequest() = default; - - // 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 "DetectMetricSetConfig"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

An anomaly detector ARN.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - DetectMetricSetConfigRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A data source.

- */ - inline const AutoDetectionMetricSource& GetAutoDetectionMetricSource() const { return m_autoDetectionMetricSource; } - inline bool AutoDetectionMetricSourceHasBeenSet() const { return m_autoDetectionMetricSourceHasBeenSet; } - template - void SetAutoDetectionMetricSource(AutoDetectionMetricSourceT&& value) { - m_autoDetectionMetricSourceHasBeenSet = true; - m_autoDetectionMetricSource = std::forward(value); - } - template - DetectMetricSetConfigRequest& WithAutoDetectionMetricSource(AutoDetectionMetricSourceT&& value) { - SetAutoDetectionMetricSource(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - AutoDetectionMetricSource m_autoDetectionMetricSource; - bool m_autoDetectionMetricSourceHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectMetricSetConfigResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectMetricSetConfigResult.h deleted file mode 100644 index 3447ed8d19c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectMetricSetConfigResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class DetectMetricSetConfigResult { - public: - AWS_LOOKOUTMETRICS_API DetectMetricSetConfigResult() = default; - AWS_LOOKOUTMETRICS_API DetectMetricSetConfigResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API DetectMetricSetConfigResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The inferred dataset configuration for the datasource.

- */ - inline const DetectedMetricSetConfig& GetDetectedMetricSetConfig() const { return m_detectedMetricSetConfig; } - template - void SetDetectedMetricSetConfig(DetectedMetricSetConfigT&& value) { - m_detectedMetricSetConfigHasBeenSet = true; - m_detectedMetricSetConfig = std::forward(value); - } - template - DetectMetricSetConfigResult& WithDetectedMetricSetConfig(DetectedMetricSetConfigT&& value) { - SetDetectedMetricSetConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DetectMetricSetConfigResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - DetectedMetricSetConfig m_detectedMetricSetConfig; - bool m_detectedMetricSetConfigHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedCsvFormatDescriptor.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedCsvFormatDescriptor.h deleted file mode 100644 index 2ca087685c3..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedCsvFormatDescriptor.h +++ /dev/null @@ -1,163 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Properties of an inferred CSV format.

See Also:

AWS - * API Reference

- */ -class DetectedCsvFormatDescriptor { - public: - AWS_LOOKOUTMETRICS_API DetectedCsvFormatDescriptor() = default; - AWS_LOOKOUTMETRICS_API DetectedCsvFormatDescriptor(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API DetectedCsvFormatDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The format's file compression.

- */ - inline const DetectedField& GetFileCompression() const { return m_fileCompression; } - inline bool FileCompressionHasBeenSet() const { return m_fileCompressionHasBeenSet; } - template - void SetFileCompression(FileCompressionT&& value) { - m_fileCompressionHasBeenSet = true; - m_fileCompression = std::forward(value); - } - template - DetectedCsvFormatDescriptor& WithFileCompression(FileCompressionT&& value) { - SetFileCompression(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The format's charset.

- */ - inline const DetectedField& GetCharset() const { return m_charset; } - inline bool CharsetHasBeenSet() const { return m_charsetHasBeenSet; } - template - void SetCharset(CharsetT&& value) { - m_charsetHasBeenSet = true; - m_charset = std::forward(value); - } - template - DetectedCsvFormatDescriptor& WithCharset(CharsetT&& value) { - SetCharset(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Whether the format includes a header.

- */ - inline const DetectedField& GetContainsHeader() const { return m_containsHeader; } - inline bool ContainsHeaderHasBeenSet() const { return m_containsHeaderHasBeenSet; } - template - void SetContainsHeader(ContainsHeaderT&& value) { - m_containsHeaderHasBeenSet = true; - m_containsHeader = std::forward(value); - } - template - DetectedCsvFormatDescriptor& WithContainsHeader(ContainsHeaderT&& value) { - SetContainsHeader(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The format's delimiter.

- */ - inline const DetectedField& GetDelimiter() const { return m_delimiter; } - inline bool DelimiterHasBeenSet() const { return m_delimiterHasBeenSet; } - template - void SetDelimiter(DelimiterT&& value) { - m_delimiterHasBeenSet = true; - m_delimiter = std::forward(value); - } - template - DetectedCsvFormatDescriptor& WithDelimiter(DelimiterT&& value) { - SetDelimiter(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The format's header list.

- */ - inline const DetectedField& GetHeaderList() const { return m_headerList; } - inline bool HeaderListHasBeenSet() const { return m_headerListHasBeenSet; } - template - void SetHeaderList(HeaderListT&& value) { - m_headerListHasBeenSet = true; - m_headerList = std::forward(value); - } - template - DetectedCsvFormatDescriptor& WithHeaderList(HeaderListT&& value) { - SetHeaderList(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The format's quote symbol.

- */ - inline const DetectedField& GetQuoteSymbol() const { return m_quoteSymbol; } - inline bool QuoteSymbolHasBeenSet() const { return m_quoteSymbolHasBeenSet; } - template - void SetQuoteSymbol(QuoteSymbolT&& value) { - m_quoteSymbolHasBeenSet = true; - m_quoteSymbol = std::forward(value); - } - template - DetectedCsvFormatDescriptor& WithQuoteSymbol(QuoteSymbolT&& value) { - SetQuoteSymbol(std::forward(value)); - return *this; - } - ///@} - private: - DetectedField m_fileCompression; - bool m_fileCompressionHasBeenSet = false; - - DetectedField m_charset; - bool m_charsetHasBeenSet = false; - - DetectedField m_containsHeader; - bool m_containsHeaderHasBeenSet = false; - - DetectedField m_delimiter; - bool m_delimiterHasBeenSet = false; - - DetectedField m_headerList; - bool m_headerListHasBeenSet = false; - - DetectedField m_quoteSymbol; - bool m_quoteSymbolHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedField.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedField.h deleted file mode 100644 index 8932c21b889..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedField.h +++ /dev/null @@ -1,100 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

An inferred field.

See Also:

AWS - * API Reference

- */ -class DetectedField { - public: - AWS_LOOKOUTMETRICS_API DetectedField() = default; - AWS_LOOKOUTMETRICS_API DetectedField(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API DetectedField& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The field's value.

- */ - inline const AttributeValue& GetValue() const { return m_value; } - inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } - template - void SetValue(ValueT&& value) { - m_valueHasBeenSet = true; - m_value = std::forward(value); - } - template - DetectedField& WithValue(ValueT&& value) { - SetValue(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The field's confidence.

- */ - inline Confidence GetConfidence() const { return m_confidence; } - inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } - inline void SetConfidence(Confidence value) { - m_confidenceHasBeenSet = true; - m_confidence = value; - } - inline DetectedField& WithConfidence(Confidence value) { - SetConfidence(value); - return *this; - } - ///@} - - ///@{ - /** - *

The field's message.

- */ - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - DetectedField& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - private: - AttributeValue m_value; - bool m_valueHasBeenSet = false; - - Confidence m_confidence{Confidence::NOT_SET}; - bool m_confidenceHasBeenSet = false; - - Aws::String m_message; - bool m_messageHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedFileFormatDescriptor.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedFileFormatDescriptor.h deleted file mode 100644 index eb8c4bfaaac..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedFileFormatDescriptor.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Properties of an inferred data format.

See Also:

AWS - * API Reference

- */ -class DetectedFileFormatDescriptor { - public: - AWS_LOOKOUTMETRICS_API DetectedFileFormatDescriptor() = default; - AWS_LOOKOUTMETRICS_API DetectedFileFormatDescriptor(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API DetectedFileFormatDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Details about a CSV format.

- */ - inline const DetectedCsvFormatDescriptor& GetCsvFormatDescriptor() const { return m_csvFormatDescriptor; } - inline bool CsvFormatDescriptorHasBeenSet() const { return m_csvFormatDescriptorHasBeenSet; } - template - void SetCsvFormatDescriptor(CsvFormatDescriptorT&& value) { - m_csvFormatDescriptorHasBeenSet = true; - m_csvFormatDescriptor = std::forward(value); - } - template - DetectedFileFormatDescriptor& WithCsvFormatDescriptor(CsvFormatDescriptorT&& value) { - SetCsvFormatDescriptor(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Details about a JSON format.

- */ - inline const DetectedJsonFormatDescriptor& GetJsonFormatDescriptor() const { return m_jsonFormatDescriptor; } - inline bool JsonFormatDescriptorHasBeenSet() const { return m_jsonFormatDescriptorHasBeenSet; } - template - void SetJsonFormatDescriptor(JsonFormatDescriptorT&& value) { - m_jsonFormatDescriptorHasBeenSet = true; - m_jsonFormatDescriptor = std::forward(value); - } - template - DetectedFileFormatDescriptor& WithJsonFormatDescriptor(JsonFormatDescriptorT&& value) { - SetJsonFormatDescriptor(std::forward(value)); - return *this; - } - ///@} - private: - DetectedCsvFormatDescriptor m_csvFormatDescriptor; - bool m_csvFormatDescriptorHasBeenSet = false; - - DetectedJsonFormatDescriptor m_jsonFormatDescriptor; - bool m_jsonFormatDescriptorHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedJsonFormatDescriptor.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedJsonFormatDescriptor.h deleted file mode 100644 index b00a09c7a7c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedJsonFormatDescriptor.h +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

A detected JSON format descriptor.

See Also:

AWS - * API Reference

- */ -class DetectedJsonFormatDescriptor { - public: - AWS_LOOKOUTMETRICS_API DetectedJsonFormatDescriptor() = default; - AWS_LOOKOUTMETRICS_API DetectedJsonFormatDescriptor(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API DetectedJsonFormatDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The format's file compression.

- */ - inline const DetectedField& GetFileCompression() const { return m_fileCompression; } - inline bool FileCompressionHasBeenSet() const { return m_fileCompressionHasBeenSet; } - template - void SetFileCompression(FileCompressionT&& value) { - m_fileCompressionHasBeenSet = true; - m_fileCompression = std::forward(value); - } - template - DetectedJsonFormatDescriptor& WithFileCompression(FileCompressionT&& value) { - SetFileCompression(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The format's character set.

- */ - inline const DetectedField& GetCharset() const { return m_charset; } - inline bool CharsetHasBeenSet() const { return m_charsetHasBeenSet; } - template - void SetCharset(CharsetT&& value) { - m_charsetHasBeenSet = true; - m_charset = std::forward(value); - } - template - DetectedJsonFormatDescriptor& WithCharset(CharsetT&& value) { - SetCharset(std::forward(value)); - return *this; - } - ///@} - private: - DetectedField m_fileCompression; - bool m_fileCompressionHasBeenSet = false; - - DetectedField m_charset; - bool m_charsetHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedMetricSetConfig.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedMetricSetConfig.h deleted file mode 100644 index 911f52b0611..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedMetricSetConfig.h +++ /dev/null @@ -1,101 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

An inferred dataset configuration.

See Also:

AWS - * API Reference

- */ -class DetectedMetricSetConfig { - public: - AWS_LOOKOUTMETRICS_API DetectedMetricSetConfig() = default; - AWS_LOOKOUTMETRICS_API DetectedMetricSetConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API DetectedMetricSetConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The dataset's offset.

- */ - inline const DetectedField& GetOffset() const { return m_offset; } - inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; } - template - void SetOffset(OffsetT&& value) { - m_offsetHasBeenSet = true; - m_offset = std::forward(value); - } - template - DetectedMetricSetConfig& WithOffset(OffsetT&& value) { - SetOffset(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The dataset's interval.

- */ - inline const DetectedField& GetMetricSetFrequency() const { return m_metricSetFrequency; } - inline bool MetricSetFrequencyHasBeenSet() const { return m_metricSetFrequencyHasBeenSet; } - template - void SetMetricSetFrequency(MetricSetFrequencyT&& value) { - m_metricSetFrequencyHasBeenSet = true; - m_metricSetFrequency = std::forward(value); - } - template - DetectedMetricSetConfig& WithMetricSetFrequency(MetricSetFrequencyT&& value) { - SetMetricSetFrequency(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The dataset's data source.

- */ - inline const DetectedMetricSource& GetMetricSource() const { return m_metricSource; } - inline bool MetricSourceHasBeenSet() const { return m_metricSourceHasBeenSet; } - template - void SetMetricSource(MetricSourceT&& value) { - m_metricSourceHasBeenSet = true; - m_metricSource = std::forward(value); - } - template - DetectedMetricSetConfig& WithMetricSource(MetricSourceT&& value) { - SetMetricSource(std::forward(value)); - return *this; - } - ///@} - private: - DetectedField m_offset; - bool m_offsetHasBeenSet = false; - - DetectedField m_metricSetFrequency; - bool m_metricSetFrequencyHasBeenSet = false; - - DetectedMetricSource m_metricSource; - bool m_metricSourceHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedMetricSource.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedMetricSource.h deleted file mode 100644 index df1d1007a7b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedMetricSource.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

An inferred data source.

See Also:

AWS - * API Reference

- */ -class DetectedMetricSource { - public: - AWS_LOOKOUTMETRICS_API DetectedMetricSource() = default; - AWS_LOOKOUTMETRICS_API DetectedMetricSource(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API DetectedMetricSource& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The data source's source configuration.

- */ - inline const DetectedS3SourceConfig& GetS3SourceConfig() const { return m_s3SourceConfig; } - inline bool S3SourceConfigHasBeenSet() const { return m_s3SourceConfigHasBeenSet; } - template - void SetS3SourceConfig(S3SourceConfigT&& value) { - m_s3SourceConfigHasBeenSet = true; - m_s3SourceConfig = std::forward(value); - } - template - DetectedMetricSource& WithS3SourceConfig(S3SourceConfigT&& value) { - SetS3SourceConfig(std::forward(value)); - return *this; - } - ///@} - private: - DetectedS3SourceConfig m_s3SourceConfig; - bool m_s3SourceConfigHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedS3SourceConfig.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedS3SourceConfig.h deleted file mode 100644 index 717c4ccdcfa..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DetectedS3SourceConfig.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

An inferred source configuration.

See Also:

AWS - * API Reference

- */ -class DetectedS3SourceConfig { - public: - AWS_LOOKOUTMETRICS_API DetectedS3SourceConfig() = default; - AWS_LOOKOUTMETRICS_API DetectedS3SourceConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API DetectedS3SourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The source's file format descriptor.

- */ - inline const DetectedFileFormatDescriptor& GetFileFormatDescriptor() const { return m_fileFormatDescriptor; } - inline bool FileFormatDescriptorHasBeenSet() const { return m_fileFormatDescriptorHasBeenSet; } - template - void SetFileFormatDescriptor(FileFormatDescriptorT&& value) { - m_fileFormatDescriptorHasBeenSet = true; - m_fileFormatDescriptor = std::forward(value); - } - template - DetectedS3SourceConfig& WithFileFormatDescriptor(FileFormatDescriptorT&& value) { - SetFileFormatDescriptor(std::forward(value)); - return *this; - } - ///@} - private: - DetectedFileFormatDescriptor m_fileFormatDescriptor; - bool m_fileFormatDescriptorHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionContribution.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionContribution.h deleted file mode 100644 index 692bf8e6ca6..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionContribution.h +++ /dev/null @@ -1,90 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Details about a dimension that contributed to an anomaly.

See - * Also:

AWS - * API Reference

- */ -class DimensionContribution { - public: - AWS_LOOKOUTMETRICS_API DimensionContribution() = default; - AWS_LOOKOUTMETRICS_API DimensionContribution(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API DimensionContribution& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the dimension.

- */ - inline const Aws::String& GetDimensionName() const { return m_dimensionName; } - inline bool DimensionNameHasBeenSet() const { return m_dimensionNameHasBeenSet; } - template - void SetDimensionName(DimensionNameT&& value) { - m_dimensionNameHasBeenSet = true; - m_dimensionName = std::forward(value); - } - template - DimensionContribution& WithDimensionName(DimensionNameT&& value) { - SetDimensionName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of dimension values that contributed to the anomaly.

- */ - inline const Aws::Vector& GetDimensionValueContributionList() const { - return m_dimensionValueContributionList; - } - inline bool DimensionValueContributionListHasBeenSet() const { return m_dimensionValueContributionListHasBeenSet; } - template > - void SetDimensionValueContributionList(DimensionValueContributionListT&& value) { - m_dimensionValueContributionListHasBeenSet = true; - m_dimensionValueContributionList = std::forward(value); - } - template > - DimensionContribution& WithDimensionValueContributionList(DimensionValueContributionListT&& value) { - SetDimensionValueContributionList(std::forward(value)); - return *this; - } - template - DimensionContribution& AddDimensionValueContributionList(DimensionValueContributionListT&& value) { - m_dimensionValueContributionListHasBeenSet = true; - m_dimensionValueContributionList.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_dimensionName; - bool m_dimensionNameHasBeenSet = false; - - Aws::Vector m_dimensionValueContributionList; - bool m_dimensionValueContributionListHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionFilter.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionFilter.h deleted file mode 100644 index 05406e4a0a3..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionFilter.h +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

The dimension filter, containing DimensionName and - * DimensionValueList.

See Also:

AWS - * API Reference

- */ -class DimensionFilter { - public: - AWS_LOOKOUTMETRICS_API DimensionFilter() = default; - AWS_LOOKOUTMETRICS_API DimensionFilter(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API DimensionFilter& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the dimension to filter on.

- */ - inline const Aws::String& GetDimensionName() const { return m_dimensionName; } - inline bool DimensionNameHasBeenSet() const { return m_dimensionNameHasBeenSet; } - template - void SetDimensionName(DimensionNameT&& value) { - m_dimensionNameHasBeenSet = true; - m_dimensionName = std::forward(value); - } - template - DimensionFilter& WithDimensionName(DimensionNameT&& value) { - SetDimensionName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The list of values for the dimension specified in DimensionName that you want - * to filter on.

- */ - inline const Aws::Vector& GetDimensionValueList() const { return m_dimensionValueList; } - inline bool DimensionValueListHasBeenSet() const { return m_dimensionValueListHasBeenSet; } - template > - void SetDimensionValueList(DimensionValueListT&& value) { - m_dimensionValueListHasBeenSet = true; - m_dimensionValueList = std::forward(value); - } - template > - DimensionFilter& WithDimensionValueList(DimensionValueListT&& value) { - SetDimensionValueList(std::forward(value)); - return *this; - } - template - DimensionFilter& AddDimensionValueList(DimensionValueListT&& value) { - m_dimensionValueListHasBeenSet = true; - m_dimensionValueList.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_dimensionName; - bool m_dimensionNameHasBeenSet = false; - - Aws::Vector m_dimensionValueList; - bool m_dimensionValueListHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionNameValue.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionNameValue.h deleted file mode 100644 index 2e596219e23..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionNameValue.h +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

A dimension name and value.

See Also:

AWS - * API Reference

- */ -class DimensionNameValue { - public: - AWS_LOOKOUTMETRICS_API DimensionNameValue() = default; - AWS_LOOKOUTMETRICS_API DimensionNameValue(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API DimensionNameValue& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the dimension.

- */ - inline const Aws::String& GetDimensionName() const { return m_dimensionName; } - inline bool DimensionNameHasBeenSet() const { return m_dimensionNameHasBeenSet; } - template - void SetDimensionName(DimensionNameT&& value) { - m_dimensionNameHasBeenSet = true; - m_dimensionName = std::forward(value); - } - template - DimensionNameValue& WithDimensionName(DimensionNameT&& value) { - SetDimensionName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The value of the dimension.

- */ - inline const Aws::String& GetDimensionValue() const { return m_dimensionValue; } - inline bool DimensionValueHasBeenSet() const { return m_dimensionValueHasBeenSet; } - template - void SetDimensionValue(DimensionValueT&& value) { - m_dimensionValueHasBeenSet = true; - m_dimensionValue = std::forward(value); - } - template - DimensionNameValue& WithDimensionValue(DimensionValueT&& value) { - SetDimensionValue(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_dimensionName; - bool m_dimensionNameHasBeenSet = false; - - Aws::String m_dimensionValue; - bool m_dimensionValueHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionValueContribution.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionValueContribution.h deleted file mode 100644 index f086b5c94cb..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/DimensionValueContribution.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

The severity of a value of a dimension that contributed to an - * anomaly.

See Also:

AWS - * API Reference

- */ -class DimensionValueContribution { - public: - AWS_LOOKOUTMETRICS_API DimensionValueContribution() = default; - AWS_LOOKOUTMETRICS_API DimensionValueContribution(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API DimensionValueContribution& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The value of the dimension.

- */ - inline const Aws::String& GetDimensionValue() const { return m_dimensionValue; } - inline bool DimensionValueHasBeenSet() const { return m_dimensionValueHasBeenSet; } - template - void SetDimensionValue(DimensionValueT&& value) { - m_dimensionValueHasBeenSet = true; - m_dimensionValue = std::forward(value); - } - template - DimensionValueContribution& WithDimensionValue(DimensionValueT&& value) { - SetDimensionValue(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The severity score of the value.

- */ - inline double GetContributionScore() const { return m_contributionScore; } - inline bool ContributionScoreHasBeenSet() const { return m_contributionScoreHasBeenSet; } - inline void SetContributionScore(double value) { - m_contributionScoreHasBeenSet = true; - m_contributionScore = value; - } - inline DimensionValueContribution& WithContributionScore(double value) { - SetContributionScore(value); - return *this; - } - ///@} - private: - Aws::String m_dimensionValue; - bool m_dimensionValueHasBeenSet = false; - - double m_contributionScore{0.0}; - bool m_contributionScoreHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ExecutionStatus.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ExecutionStatus.h deleted file mode 100644 index 2b8c6df37c0..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ExecutionStatus.h +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

The status of an anomaly detector run.

See Also:

AWS - * API Reference

- */ -class ExecutionStatus { - public: - AWS_LOOKOUTMETRICS_API ExecutionStatus() = default; - AWS_LOOKOUTMETRICS_API ExecutionStatus(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API ExecutionStatus& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The run's timestamp.

- */ - inline const Aws::String& GetTimestamp() const { return m_timestamp; } - inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } - template - void SetTimestamp(TimestampT&& value) { - m_timestampHasBeenSet = true; - m_timestamp = std::forward(value); - } - template - ExecutionStatus& WithTimestamp(TimestampT&& value) { - SetTimestamp(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The run's status.

- */ - inline AnomalyDetectionTaskStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(AnomalyDetectionTaskStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline ExecutionStatus& WithStatus(AnomalyDetectionTaskStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The reason that the run failed, if applicable.

- */ - inline const Aws::String& GetFailureReason() const { return m_failureReason; } - inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } - template - void SetFailureReason(FailureReasonT&& value) { - m_failureReasonHasBeenSet = true; - m_failureReason = std::forward(value); - } - template - ExecutionStatus& WithFailureReason(FailureReasonT&& value) { - SetFailureReason(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_timestamp; - bool m_timestampHasBeenSet = false; - - AnomalyDetectionTaskStatus m_status{AnomalyDetectionTaskStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_failureReason; - bool m_failureReasonHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/FileFormatDescriptor.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/FileFormatDescriptor.h deleted file mode 100644 index 1daade1f850..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/FileFormatDescriptor.h +++ /dev/null @@ -1,82 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains information about a source file's formatting.

See - * Also:

AWS - * API Reference

- */ -class FileFormatDescriptor { - public: - AWS_LOOKOUTMETRICS_API FileFormatDescriptor() = default; - AWS_LOOKOUTMETRICS_API FileFormatDescriptor(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API FileFormatDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Contains information about how a source CSV data file should be analyzed.

- */ - inline const CsvFormatDescriptor& GetCsvFormatDescriptor() const { return m_csvFormatDescriptor; } - inline bool CsvFormatDescriptorHasBeenSet() const { return m_csvFormatDescriptorHasBeenSet; } - template - void SetCsvFormatDescriptor(CsvFormatDescriptorT&& value) { - m_csvFormatDescriptorHasBeenSet = true; - m_csvFormatDescriptor = std::forward(value); - } - template - FileFormatDescriptor& WithCsvFormatDescriptor(CsvFormatDescriptorT&& value) { - SetCsvFormatDescriptor(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains information about how a source JSON data file should be - * analyzed.

- */ - inline const JsonFormatDescriptor& GetJsonFormatDescriptor() const { return m_jsonFormatDescriptor; } - inline bool JsonFormatDescriptorHasBeenSet() const { return m_jsonFormatDescriptorHasBeenSet; } - template - void SetJsonFormatDescriptor(JsonFormatDescriptorT&& value) { - m_jsonFormatDescriptorHasBeenSet = true; - m_jsonFormatDescriptor = std::forward(value); - } - template - FileFormatDescriptor& WithJsonFormatDescriptor(JsonFormatDescriptorT&& value) { - SetJsonFormatDescriptor(std::forward(value)); - return *this; - } - ///@} - private: - CsvFormatDescriptor m_csvFormatDescriptor; - bool m_csvFormatDescriptorHasBeenSet = false; - - JsonFormatDescriptor m_jsonFormatDescriptor; - bool m_jsonFormatDescriptorHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Filter.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Filter.h deleted file mode 100644 index 5b8974dc4d4..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Filter.h +++ /dev/null @@ -1,81 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Describes a filter for choosing a subset of dimension values. Each filter - * consists of the dimension that you want to include and the condition statement. - * The condition statement is specified in the FilterOperation - * object.

See Also:

AWS - * API Reference

- */ -class Filter { - public: - AWS_LOOKOUTMETRICS_API Filter() = default; - AWS_LOOKOUTMETRICS_API Filter(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Filter& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The value that you want to include in the filter.

- */ - inline const Aws::String& GetDimensionValue() const { return m_dimensionValue; } - inline bool DimensionValueHasBeenSet() const { return m_dimensionValueHasBeenSet; } - template - void SetDimensionValue(DimensionValueT&& value) { - m_dimensionValueHasBeenSet = true; - m_dimensionValue = std::forward(value); - } - template - Filter& WithDimensionValue(DimensionValueT&& value) { - SetDimensionValue(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The condition to apply.

- */ - inline FilterOperation GetFilterOperation() const { return m_filterOperation; } - inline bool FilterOperationHasBeenSet() const { return m_filterOperationHasBeenSet; } - inline void SetFilterOperation(FilterOperation value) { - m_filterOperationHasBeenSet = true; - m_filterOperation = value; - } - inline Filter& WithFilterOperation(FilterOperation value) { - SetFilterOperation(value); - return *this; - } - ///@} - private: - Aws::String m_dimensionValue; - bool m_dimensionValueHasBeenSet = false; - - FilterOperation m_filterOperation{FilterOperation::NOT_SET}; - bool m_filterOperationHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/FilterOperation.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/FilterOperation.h deleted file mode 100644 index 55122a5a2a1..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/FilterOperation.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class FilterOperation { NOT_SET, EQUALS }; - -namespace FilterOperationMapper { -AWS_LOOKOUTMETRICS_API FilterOperation GetFilterOperationForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForFilterOperation(FilterOperation value); -} // namespace FilterOperationMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Frequency.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Frequency.h deleted file mode 100644 index 3628bb0810e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Frequency.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class Frequency { NOT_SET, P1D, PT1H, PT10M, PT5M }; - -namespace FrequencyMapper { -AWS_LOOKOUTMETRICS_API Frequency GetFrequencyForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForFrequency(Frequency value); -} // namespace FrequencyMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetAnomalyGroupRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetAnomalyGroupRequest.h deleted file mode 100644 index a1f6a6ba405..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetAnomalyGroupRequest.h +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class GetAnomalyGroupRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API GetAnomalyGroupRequest() = default; - - // 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 "GetAnomalyGroup"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ID of the anomaly group.

- */ - inline const Aws::String& GetAnomalyGroupId() const { return m_anomalyGroupId; } - inline bool AnomalyGroupIdHasBeenSet() const { return m_anomalyGroupIdHasBeenSet; } - template - void SetAnomalyGroupId(AnomalyGroupIdT&& value) { - m_anomalyGroupIdHasBeenSet = true; - m_anomalyGroupId = std::forward(value); - } - template - GetAnomalyGroupRequest& WithAnomalyGroupId(AnomalyGroupIdT&& value) { - SetAnomalyGroupId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the anomaly detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - GetAnomalyGroupRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyGroupId; - bool m_anomalyGroupIdHasBeenSet = false; - - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetAnomalyGroupResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetAnomalyGroupResult.h deleted file mode 100644 index 780c104f3bd..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetAnomalyGroupResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class GetAnomalyGroupResult { - public: - AWS_LOOKOUTMETRICS_API GetAnomalyGroupResult() = default; - AWS_LOOKOUTMETRICS_API GetAnomalyGroupResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API GetAnomalyGroupResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Details about the anomaly group.

- */ - inline const AnomalyGroup& GetAnomalyGroup() const { return m_anomalyGroup; } - template - void SetAnomalyGroup(AnomalyGroupT&& value) { - m_anomalyGroupHasBeenSet = true; - m_anomalyGroup = std::forward(value); - } - template - GetAnomalyGroupResult& WithAnomalyGroup(AnomalyGroupT&& value) { - SetAnomalyGroup(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - GetAnomalyGroupResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - AnomalyGroup m_anomalyGroup; - bool m_anomalyGroupHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetDataQualityMetricsRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetDataQualityMetricsRequest.h deleted file mode 100644 index bbf1163aadd..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetDataQualityMetricsRequest.h +++ /dev/null @@ -1,77 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class GetDataQualityMetricsRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API GetDataQualityMetricsRequest() = default; - - // 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 "GetDataQualityMetrics"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the anomaly detector that you want to - * investigate.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - GetDataQualityMetricsRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of a specific data quality metric set.

- */ - inline const Aws::String& GetMetricSetArn() const { return m_metricSetArn; } - inline bool MetricSetArnHasBeenSet() const { return m_metricSetArnHasBeenSet; } - template - void SetMetricSetArn(MetricSetArnT&& value) { - m_metricSetArnHasBeenSet = true; - m_metricSetArn = std::forward(value); - } - template - GetDataQualityMetricsRequest& WithMetricSetArn(MetricSetArnT&& value) { - SetMetricSetArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_metricSetArn; - bool m_metricSetArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetDataQualityMetricsResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetDataQualityMetricsResult.h deleted file mode 100644 index 4e5a9cc0e4e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetDataQualityMetricsResult.h +++ /dev/null @@ -1,81 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class GetDataQualityMetricsResult { - public: - AWS_LOOKOUTMETRICS_API GetDataQualityMetricsResult() = default; - AWS_LOOKOUTMETRICS_API GetDataQualityMetricsResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API GetDataQualityMetricsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of the data quality metrics for the AnomalyDetectorArn - * that you requested.

- */ - inline const Aws::Vector& GetAnomalyDetectorDataQualityMetricList() const { - return m_anomalyDetectorDataQualityMetricList; - } - template > - void SetAnomalyDetectorDataQualityMetricList(AnomalyDetectorDataQualityMetricListT&& value) { - m_anomalyDetectorDataQualityMetricListHasBeenSet = true; - m_anomalyDetectorDataQualityMetricList = std::forward(value); - } - template > - GetDataQualityMetricsResult& WithAnomalyDetectorDataQualityMetricList(AnomalyDetectorDataQualityMetricListT&& value) { - SetAnomalyDetectorDataQualityMetricList(std::forward(value)); - return *this; - } - template - GetDataQualityMetricsResult& AddAnomalyDetectorDataQualityMetricList(AnomalyDetectorDataQualityMetricListT&& value) { - m_anomalyDetectorDataQualityMetricListHasBeenSet = true; - m_anomalyDetectorDataQualityMetricList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - GetDataQualityMetricsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_anomalyDetectorDataQualityMetricList; - bool m_anomalyDetectorDataQualityMetricListHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetFeedbackRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetFeedbackRequest.h deleted file mode 100644 index da3d624e10c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetFeedbackRequest.h +++ /dev/null @@ -1,118 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class GetFeedbackRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API GetFeedbackRequest() = default; - - // 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 "GetFeedback"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the anomaly detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - GetFeedbackRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The anomalous metric and group ID.

- */ - inline const AnomalyGroupTimeSeries& GetAnomalyGroupTimeSeriesFeedback() const { return m_anomalyGroupTimeSeriesFeedback; } - inline bool AnomalyGroupTimeSeriesFeedbackHasBeenSet() const { return m_anomalyGroupTimeSeriesFeedbackHasBeenSet; } - template - void SetAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeriesFeedbackT&& value) { - m_anomalyGroupTimeSeriesFeedbackHasBeenSet = true; - m_anomalyGroupTimeSeriesFeedback = std::forward(value); - } - template - GetFeedbackRequest& WithAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeriesFeedbackT&& value) { - SetAnomalyGroupTimeSeriesFeedback(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of results to return.

- */ - 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 GetFeedbackRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

Specify the pagination token that's returned by a previous request to - * retrieve the next page of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - GetFeedbackRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - AnomalyGroupTimeSeries m_anomalyGroupTimeSeriesFeedback; - bool m_anomalyGroupTimeSeriesFeedbackHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetFeedbackResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetFeedbackResult.h deleted file mode 100644 index 140b6f7636d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetFeedbackResult.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class GetFeedbackResult { - public: - AWS_LOOKOUTMETRICS_API GetFeedbackResult() = default; - AWS_LOOKOUTMETRICS_API GetFeedbackResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API GetFeedbackResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Feedback for an anomalous metric.

- */ - inline const Aws::Vector& GetAnomalyGroupTimeSeriesFeedback() const { return m_anomalyGroupTimeSeriesFeedback; } - template > - void SetAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeriesFeedbackT&& value) { - m_anomalyGroupTimeSeriesFeedbackHasBeenSet = true; - m_anomalyGroupTimeSeriesFeedback = std::forward(value); - } - template > - GetFeedbackResult& WithAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeriesFeedbackT&& value) { - SetAnomalyGroupTimeSeriesFeedback(std::forward(value)); - return *this; - } - template - GetFeedbackResult& AddAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeriesFeedbackT&& value) { - m_anomalyGroupTimeSeriesFeedbackHasBeenSet = true; - m_anomalyGroupTimeSeriesFeedback.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The pagination token that's included if more results are available.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - GetFeedbackResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - GetFeedbackResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_anomalyGroupTimeSeriesFeedback; - bool m_anomalyGroupTimeSeriesFeedbackHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetSampleDataRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetSampleDataRequest.h deleted file mode 100644 index f6f643187e9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetSampleDataRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class GetSampleDataRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API GetSampleDataRequest() = default; - - // 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 "GetSampleData"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

A datasource bucket in Amazon S3.

- */ - inline const SampleDataS3SourceConfig& GetS3SourceConfig() const { return m_s3SourceConfig; } - inline bool S3SourceConfigHasBeenSet() const { return m_s3SourceConfigHasBeenSet; } - template - void SetS3SourceConfig(S3SourceConfigT&& value) { - m_s3SourceConfigHasBeenSet = true; - m_s3SourceConfig = std::forward(value); - } - template - GetSampleDataRequest& WithS3SourceConfig(S3SourceConfigT&& value) { - SetS3SourceConfig(std::forward(value)); - return *this; - } - ///@} - private: - SampleDataS3SourceConfig m_s3SourceConfig; - bool m_s3SourceConfigHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetSampleDataResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetSampleDataResult.h deleted file mode 100644 index dcba86fc6ad..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/GetSampleDataResult.h +++ /dev/null @@ -1,103 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class GetSampleDataResult { - public: - AWS_LOOKOUTMETRICS_API GetSampleDataResult() = default; - AWS_LOOKOUTMETRICS_API GetSampleDataResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API GetSampleDataResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of header labels for the records.

- */ - inline const Aws::Vector& GetHeaderValues() const { return m_headerValues; } - template > - void SetHeaderValues(HeaderValuesT&& value) { - m_headerValuesHasBeenSet = true; - m_headerValues = std::forward(value); - } - template > - GetSampleDataResult& WithHeaderValues(HeaderValuesT&& value) { - SetHeaderValues(std::forward(value)); - return *this; - } - template - GetSampleDataResult& AddHeaderValues(HeaderValuesT&& value) { - m_headerValuesHasBeenSet = true; - m_headerValues.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of records.

- */ - inline const Aws::Vector>& GetSampleRows() const { return m_sampleRows; } - template >> - void SetSampleRows(SampleRowsT&& value) { - m_sampleRowsHasBeenSet = true; - m_sampleRows = std::forward(value); - } - template >> - GetSampleDataResult& WithSampleRows(SampleRowsT&& value) { - SetSampleRows(std::forward(value)); - return *this; - } - template > - GetSampleDataResult& AddSampleRows(SampleRowsT&& value) { - m_sampleRowsHasBeenSet = true; - m_sampleRows.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - GetSampleDataResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_headerValues; - bool m_headerValuesHasBeenSet = false; - - Aws::Vector> m_sampleRows; - bool m_sampleRowsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/InterMetricImpactDetails.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/InterMetricImpactDetails.h deleted file mode 100644 index 3c6fe2a1650..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/InterMetricImpactDetails.h +++ /dev/null @@ -1,123 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Aggregated details about the measures contributing to the anomaly group, and - * the measures potentially impacted by the anomaly group.

See - * Also:

AWS - * API Reference

- */ -class InterMetricImpactDetails { - public: - AWS_LOOKOUTMETRICS_API InterMetricImpactDetails() = default; - AWS_LOOKOUTMETRICS_API InterMetricImpactDetails(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API InterMetricImpactDetails& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the measure.

- */ - inline const Aws::String& GetMetricName() const { return m_metricName; } - inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; } - template - void SetMetricName(MetricNameT&& value) { - m_metricNameHasBeenSet = true; - m_metricName = std::forward(value); - } - template - InterMetricImpactDetails& WithMetricName(MetricNameT&& value) { - SetMetricName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ID of the anomaly group.

- */ - inline const Aws::String& GetAnomalyGroupId() const { return m_anomalyGroupId; } - inline bool AnomalyGroupIdHasBeenSet() const { return m_anomalyGroupIdHasBeenSet; } - template - void SetAnomalyGroupId(AnomalyGroupIdT&& value) { - m_anomalyGroupIdHasBeenSet = true; - m_anomalyGroupId = std::forward(value); - } - template - InterMetricImpactDetails& WithAnomalyGroupId(AnomalyGroupIdT&& value) { - SetAnomalyGroupId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Whether a measure is a potential cause of the anomaly group - * (CAUSE_OF_INPUT_ANOMALY_GROUP), or whether the measure is impacted - * by the anomaly group (EFFECT_OF_INPUT_ANOMALY_GROUP).

- */ - inline RelationshipType GetRelationshipType() const { return m_relationshipType; } - inline bool RelationshipTypeHasBeenSet() const { return m_relationshipTypeHasBeenSet; } - inline void SetRelationshipType(RelationshipType value) { - m_relationshipTypeHasBeenSet = true; - m_relationshipType = value; - } - inline InterMetricImpactDetails& WithRelationshipType(RelationshipType value) { - SetRelationshipType(value); - return *this; - } - ///@} - - ///@{ - /** - *

For potential causes (CAUSE_OF_INPUT_ANOMALY_GROUP), the - * percentage contribution the measure has in causing the anomalies.

- */ - inline double GetContributionPercentage() const { return m_contributionPercentage; } - inline bool ContributionPercentageHasBeenSet() const { return m_contributionPercentageHasBeenSet; } - inline void SetContributionPercentage(double value) { - m_contributionPercentageHasBeenSet = true; - m_contributionPercentage = value; - } - inline InterMetricImpactDetails& WithContributionPercentage(double value) { - SetContributionPercentage(value); - return *this; - } - ///@} - private: - Aws::String m_metricName; - bool m_metricNameHasBeenSet = false; - - Aws::String m_anomalyGroupId; - bool m_anomalyGroupIdHasBeenSet = false; - - RelationshipType m_relationshipType{RelationshipType::NOT_SET}; - bool m_relationshipTypeHasBeenSet = false; - - double m_contributionPercentage{0.0}; - bool m_contributionPercentageHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ItemizedMetricStats.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ItemizedMetricStats.h deleted file mode 100644 index c2590f6247a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ItemizedMetricStats.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Aggregated statistics about a measure affected by an anomaly.

See - * Also:

AWS - * API Reference

- */ -class ItemizedMetricStats { - public: - AWS_LOOKOUTMETRICS_API ItemizedMetricStats() = default; - AWS_LOOKOUTMETRICS_API ItemizedMetricStats(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API ItemizedMetricStats& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the measure.

- */ - inline const Aws::String& GetMetricName() const { return m_metricName; } - inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; } - template - void SetMetricName(MetricNameT&& value) { - m_metricNameHasBeenSet = true; - m_metricName = std::forward(value); - } - template - ItemizedMetricStats& WithMetricName(MetricNameT&& value) { - SetMetricName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The number of times that the measure appears.

- */ - inline int GetOccurrenceCount() const { return m_occurrenceCount; } - inline bool OccurrenceCountHasBeenSet() const { return m_occurrenceCountHasBeenSet; } - inline void SetOccurrenceCount(int value) { - m_occurrenceCountHasBeenSet = true; - m_occurrenceCount = value; - } - inline ItemizedMetricStats& WithOccurrenceCount(int value) { - SetOccurrenceCount(value); - return *this; - } - ///@} - private: - Aws::String m_metricName; - bool m_metricNameHasBeenSet = false; - - int m_occurrenceCount{0}; - bool m_occurrenceCountHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/JsonFileCompression.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/JsonFileCompression.h deleted file mode 100644 index 6bb1df360a2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/JsonFileCompression.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class JsonFileCompression { NOT_SET, NONE, GZIP }; - -namespace JsonFileCompressionMapper { -AWS_LOOKOUTMETRICS_API JsonFileCompression GetJsonFileCompressionForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForJsonFileCompression(JsonFileCompression value); -} // namespace JsonFileCompressionMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/JsonFormatDescriptor.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/JsonFormatDescriptor.h deleted file mode 100644 index d03b99fec1f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/JsonFormatDescriptor.h +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains information about how a source JSON data file should be - * analyzed.

See Also:

AWS - * API Reference

- */ -class JsonFormatDescriptor { - public: - AWS_LOOKOUTMETRICS_API JsonFormatDescriptor() = default; - AWS_LOOKOUTMETRICS_API JsonFormatDescriptor(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API JsonFormatDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The level of compression of the source CSV file.

- */ - inline JsonFileCompression GetFileCompression() const { return m_fileCompression; } - inline bool FileCompressionHasBeenSet() const { return m_fileCompressionHasBeenSet; } - inline void SetFileCompression(JsonFileCompression value) { - m_fileCompressionHasBeenSet = true; - m_fileCompression = value; - } - inline JsonFormatDescriptor& WithFileCompression(JsonFileCompression value) { - SetFileCompression(value); - return *this; - } - ///@} - - ///@{ - /** - *

The character set in which the source JSON file is written.

- */ - inline const Aws::String& GetCharset() const { return m_charset; } - inline bool CharsetHasBeenSet() const { return m_charsetHasBeenSet; } - template - void SetCharset(CharsetT&& value) { - m_charsetHasBeenSet = true; - m_charset = std::forward(value); - } - template - JsonFormatDescriptor& WithCharset(CharsetT&& value) { - SetCharset(std::forward(value)); - return *this; - } - ///@} - private: - JsonFileCompression m_fileCompression{JsonFileCompression::NOT_SET}; - bool m_fileCompressionHasBeenSet = false; - - Aws::String m_charset; - bool m_charsetHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/LambdaConfiguration.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/LambdaConfiguration.h deleted file mode 100644 index 416042316a6..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/LambdaConfiguration.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains information about a Lambda configuration.

See Also:

- * AWS - * API Reference

- */ -class LambdaConfiguration { - public: - AWS_LOOKOUTMETRICS_API LambdaConfiguration() = default; - AWS_LOOKOUTMETRICS_API LambdaConfiguration(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API LambdaConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The ARN of an IAM role that has permission to invoke the Lambda function.

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - LambdaConfiguration& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the Lambda function.

- */ - inline const Aws::String& GetLambdaArn() const { return m_lambdaArn; } - inline bool LambdaArnHasBeenSet() const { return m_lambdaArnHasBeenSet; } - template - void SetLambdaArn(LambdaArnT&& value) { - m_lambdaArnHasBeenSet = true; - m_lambdaArn = std::forward(value); - } - template - LambdaConfiguration& WithLambdaArn(LambdaArnT&& value) { - SetLambdaArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - Aws::String m_lambdaArn; - bool m_lambdaArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAlertsRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAlertsRequest.h deleted file mode 100644 index 244b59a5338..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAlertsRequest.h +++ /dev/null @@ -1,97 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class ListAlertsRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API ListAlertsRequest() = default; - - // 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 "ListAlerts"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ARN of the alert's detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - ListAlertsRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the result of the previous request is truncated, the response includes a - * NextToken. To retrieve the next set of results, use the token in - * the next request. Tokens expire after 24 hours.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListAlertsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of results that will be displayed by the request.

- */ - 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 ListAlertsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAlertsResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAlertsResult.h deleted file mode 100644 index b2d73ef4b22..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAlertsResult.h +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class ListAlertsResult { - public: - AWS_LOOKOUTMETRICS_API ListAlertsResult() = default; - AWS_LOOKOUTMETRICS_API ListAlertsResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API ListAlertsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Contains information about an alert.

- */ - inline const Aws::Vector& GetAlertSummaryList() const { return m_alertSummaryList; } - template > - void SetAlertSummaryList(AlertSummaryListT&& value) { - m_alertSummaryListHasBeenSet = true; - m_alertSummaryList = std::forward(value); - } - template > - ListAlertsResult& WithAlertSummaryList(AlertSummaryListT&& value) { - SetAlertSummaryList(std::forward(value)); - return *this; - } - template - ListAlertsResult& AddAlertSummaryList(AlertSummaryListT&& value) { - m_alertSummaryListHasBeenSet = true; - m_alertSummaryList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the response is truncated, the service returns this token. To retrieve the - * next set of results, use this token in the next request.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListAlertsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListAlertsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_alertSummaryList; - bool m_alertSummaryListHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyDetectorsRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyDetectorsRequest.h deleted file mode 100644 index 7e8777d0039..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyDetectorsRequest.h +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class ListAnomalyDetectorsRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API ListAnomalyDetectorsRequest() = default; - - // 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 "ListAnomalyDetectors"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The maximum number of results to return.

- */ - 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 ListAnomalyDetectorsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

If the result of the previous request was truncated, the response includes a - * NextToken. To retrieve the next set of results, use the token in - * the next request. Tokens expire after 24 hours.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListAnomalyDetectorsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - private: - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyDetectorsResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyDetectorsResult.h deleted file mode 100644 index f18317e63d8..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyDetectorsResult.h +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class ListAnomalyDetectorsResult { - public: - AWS_LOOKOUTMETRICS_API ListAnomalyDetectorsResult() = default; - AWS_LOOKOUTMETRICS_API ListAnomalyDetectorsResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API ListAnomalyDetectorsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of anomaly detectors in the account in the current region.

- */ - inline const Aws::Vector& GetAnomalyDetectorSummaryList() const { return m_anomalyDetectorSummaryList; } - template > - void SetAnomalyDetectorSummaryList(AnomalyDetectorSummaryListT&& value) { - m_anomalyDetectorSummaryListHasBeenSet = true; - m_anomalyDetectorSummaryList = std::forward(value); - } - template > - ListAnomalyDetectorsResult& WithAnomalyDetectorSummaryList(AnomalyDetectorSummaryListT&& value) { - SetAnomalyDetectorSummaryList(std::forward(value)); - return *this; - } - template - ListAnomalyDetectorsResult& AddAnomalyDetectorSummaryList(AnomalyDetectorSummaryListT&& value) { - m_anomalyDetectorSummaryListHasBeenSet = true; - m_anomalyDetectorSummaryList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the response is truncated, the service returns this token. To retrieve the - * next set of results, use the token in the next request.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListAnomalyDetectorsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListAnomalyDetectorsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_anomalyDetectorSummaryList; - bool m_anomalyDetectorSummaryListHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupRelatedMetricsRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupRelatedMetricsRequest.h deleted file mode 100644 index e9cffa4bcd9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupRelatedMetricsRequest.h +++ /dev/null @@ -1,139 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class ListAnomalyGroupRelatedMetricsRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API ListAnomalyGroupRelatedMetricsRequest() = default; - - // 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 "ListAnomalyGroupRelatedMetrics"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the anomaly detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - ListAnomalyGroupRelatedMetricsRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ID of the anomaly group.

- */ - inline const Aws::String& GetAnomalyGroupId() const { return m_anomalyGroupId; } - inline bool AnomalyGroupIdHasBeenSet() const { return m_anomalyGroupIdHasBeenSet; } - template - void SetAnomalyGroupId(AnomalyGroupIdT&& value) { - m_anomalyGroupIdHasBeenSet = true; - m_anomalyGroupId = std::forward(value); - } - template - ListAnomalyGroupRelatedMetricsRequest& WithAnomalyGroupId(AnomalyGroupIdT&& value) { - SetAnomalyGroupId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Filter for potential causes (CAUSE_OF_INPUT_ANOMALY_GROUP) or - * downstream effects (EFFECT_OF_INPUT_ANOMALY_GROUP) of the anomaly - * group.

- */ - inline RelationshipType GetRelationshipTypeFilter() const { return m_relationshipTypeFilter; } - inline bool RelationshipTypeFilterHasBeenSet() const { return m_relationshipTypeFilterHasBeenSet; } - inline void SetRelationshipTypeFilter(RelationshipType value) { - m_relationshipTypeFilterHasBeenSet = true; - m_relationshipTypeFilter = value; - } - inline ListAnomalyGroupRelatedMetricsRequest& WithRelationshipTypeFilter(RelationshipType value) { - SetRelationshipTypeFilter(value); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of results to return.

- */ - 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 ListAnomalyGroupRelatedMetricsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

Specify the pagination token that's returned by a previous request to - * retrieve the next page of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListAnomalyGroupRelatedMetricsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_anomalyGroupId; - bool m_anomalyGroupIdHasBeenSet = false; - - RelationshipType m_relationshipTypeFilter{RelationshipType::NOT_SET}; - bool m_relationshipTypeFilterHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupRelatedMetricsResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupRelatedMetricsResult.h deleted file mode 100644 index 98692df7be8..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupRelatedMetricsResult.h +++ /dev/null @@ -1,100 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class ListAnomalyGroupRelatedMetricsResult { - public: - AWS_LOOKOUTMETRICS_API ListAnomalyGroupRelatedMetricsResult() = default; - AWS_LOOKOUTMETRICS_API ListAnomalyGroupRelatedMetricsResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API ListAnomalyGroupRelatedMetricsResult& operator=( - const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Aggregated details about the measures contributing to the anomaly group, and - * the measures potentially impacted by the anomaly group.

- */ - inline const Aws::Vector& GetInterMetricImpactList() const { return m_interMetricImpactList; } - template > - void SetInterMetricImpactList(InterMetricImpactListT&& value) { - m_interMetricImpactListHasBeenSet = true; - m_interMetricImpactList = std::forward(value); - } - template > - ListAnomalyGroupRelatedMetricsResult& WithInterMetricImpactList(InterMetricImpactListT&& value) { - SetInterMetricImpactList(std::forward(value)); - return *this; - } - template - ListAnomalyGroupRelatedMetricsResult& AddInterMetricImpactList(InterMetricImpactListT&& value) { - m_interMetricImpactListHasBeenSet = true; - m_interMetricImpactList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The pagination token that's included if more results are available.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListAnomalyGroupRelatedMetricsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListAnomalyGroupRelatedMetricsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_interMetricImpactList; - bool m_interMetricImpactListHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupSummariesRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupSummariesRequest.h deleted file mode 100644 index 580aa000368..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupSummariesRequest.h +++ /dev/null @@ -1,115 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class ListAnomalyGroupSummariesRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API ListAnomalyGroupSummariesRequest() = default; - - // 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 "ListAnomalyGroupSummaries"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the anomaly detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - ListAnomalyGroupSummariesRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The minimum severity score for inclusion in the output.

- */ - inline int GetSensitivityThreshold() const { return m_sensitivityThreshold; } - inline bool SensitivityThresholdHasBeenSet() const { return m_sensitivityThresholdHasBeenSet; } - inline void SetSensitivityThreshold(int value) { - m_sensitivityThresholdHasBeenSet = true; - m_sensitivityThreshold = value; - } - inline ListAnomalyGroupSummariesRequest& WithSensitivityThreshold(int value) { - SetSensitivityThreshold(value); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of results to return.

- */ - 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 ListAnomalyGroupSummariesRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

Specify the pagination token that's returned by a previous request to - * retrieve the next page of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListAnomalyGroupSummariesRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - int m_sensitivityThreshold{0}; - bool m_sensitivityThresholdHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupSummariesResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupSummariesResult.h deleted file mode 100644 index 62bf75ca19f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupSummariesResult.h +++ /dev/null @@ -1,119 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class ListAnomalyGroupSummariesResult { - public: - AWS_LOOKOUTMETRICS_API ListAnomalyGroupSummariesResult() = default; - AWS_LOOKOUTMETRICS_API ListAnomalyGroupSummariesResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API ListAnomalyGroupSummariesResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of anomaly group summaries.

- */ - inline const Aws::Vector& GetAnomalyGroupSummaryList() const { return m_anomalyGroupSummaryList; } - template > - void SetAnomalyGroupSummaryList(AnomalyGroupSummaryListT&& value) { - m_anomalyGroupSummaryListHasBeenSet = true; - m_anomalyGroupSummaryList = std::forward(value); - } - template > - ListAnomalyGroupSummariesResult& WithAnomalyGroupSummaryList(AnomalyGroupSummaryListT&& value) { - SetAnomalyGroupSummaryList(std::forward(value)); - return *this; - } - template - ListAnomalyGroupSummariesResult& AddAnomalyGroupSummaryList(AnomalyGroupSummaryListT&& value) { - m_anomalyGroupSummaryListHasBeenSet = true; - m_anomalyGroupSummaryList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Aggregated details about the anomaly groups.

- */ - inline const AnomalyGroupStatistics& GetAnomalyGroupStatistics() const { return m_anomalyGroupStatistics; } - template - void SetAnomalyGroupStatistics(AnomalyGroupStatisticsT&& value) { - m_anomalyGroupStatisticsHasBeenSet = true; - m_anomalyGroupStatistics = std::forward(value); - } - template - ListAnomalyGroupSummariesResult& WithAnomalyGroupStatistics(AnomalyGroupStatisticsT&& value) { - SetAnomalyGroupStatistics(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The pagination token that's included if more results are available.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListAnomalyGroupSummariesResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListAnomalyGroupSummariesResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_anomalyGroupSummaryList; - bool m_anomalyGroupSummaryListHasBeenSet = false; - - AnomalyGroupStatistics m_anomalyGroupStatistics; - bool m_anomalyGroupStatisticsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupTimeSeriesRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupTimeSeriesRequest.h deleted file mode 100644 index 2b7beec5570..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupTimeSeriesRequest.h +++ /dev/null @@ -1,138 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class ListAnomalyGroupTimeSeriesRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API ListAnomalyGroupTimeSeriesRequest() = default; - - // 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 "ListAnomalyGroupTimeSeries"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the anomaly detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - ListAnomalyGroupTimeSeriesRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ID of the anomaly group.

- */ - inline const Aws::String& GetAnomalyGroupId() const { return m_anomalyGroupId; } - inline bool AnomalyGroupIdHasBeenSet() const { return m_anomalyGroupIdHasBeenSet; } - template - void SetAnomalyGroupId(AnomalyGroupIdT&& value) { - m_anomalyGroupIdHasBeenSet = true; - m_anomalyGroupId = std::forward(value); - } - template - ListAnomalyGroupTimeSeriesRequest& WithAnomalyGroupId(AnomalyGroupIdT&& value) { - SetAnomalyGroupId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the measure field.

- */ - inline const Aws::String& GetMetricName() const { return m_metricName; } - inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; } - template - void SetMetricName(MetricNameT&& value) { - m_metricNameHasBeenSet = true; - m_metricName = std::forward(value); - } - template - ListAnomalyGroupTimeSeriesRequest& WithMetricName(MetricNameT&& value) { - SetMetricName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of results to return.

- */ - 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 ListAnomalyGroupTimeSeriesRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

Specify the pagination token that's returned by a previous request to - * retrieve the next page of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListAnomalyGroupTimeSeriesRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_anomalyGroupId; - bool m_anomalyGroupIdHasBeenSet = false; - - Aws::String m_metricName; - bool m_metricNameHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupTimeSeriesResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupTimeSeriesResult.h deleted file mode 100644 index d9fb851e2c5..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListAnomalyGroupTimeSeriesResult.h +++ /dev/null @@ -1,165 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class ListAnomalyGroupTimeSeriesResult { - public: - AWS_LOOKOUTMETRICS_API ListAnomalyGroupTimeSeriesResult() = default; - AWS_LOOKOUTMETRICS_API ListAnomalyGroupTimeSeriesResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API ListAnomalyGroupTimeSeriesResult& operator=( - const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The ID of the anomaly group.

- */ - inline const Aws::String& GetAnomalyGroupId() const { return m_anomalyGroupId; } - template - void SetAnomalyGroupId(AnomalyGroupIdT&& value) { - m_anomalyGroupIdHasBeenSet = true; - m_anomalyGroupId = std::forward(value); - } - template - ListAnomalyGroupTimeSeriesResult& WithAnomalyGroupId(AnomalyGroupIdT&& value) { - SetAnomalyGroupId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the measure field.

- */ - inline const Aws::String& GetMetricName() const { return m_metricName; } - template - void SetMetricName(MetricNameT&& value) { - m_metricNameHasBeenSet = true; - m_metricName = std::forward(value); - } - template - ListAnomalyGroupTimeSeriesResult& WithMetricName(MetricNameT&& value) { - SetMetricName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Timestamps for the anomalous metrics.

- */ - inline const Aws::Vector& GetTimestampList() const { return m_timestampList; } - template > - void SetTimestampList(TimestampListT&& value) { - m_timestampListHasBeenSet = true; - m_timestampList = std::forward(value); - } - template > - ListAnomalyGroupTimeSeriesResult& WithTimestampList(TimestampListT&& value) { - SetTimestampList(std::forward(value)); - return *this; - } - template - ListAnomalyGroupTimeSeriesResult& AddTimestampList(TimestampListT&& value) { - m_timestampListHasBeenSet = true; - m_timestampList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The pagination token that's included if more results are available.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListAnomalyGroupTimeSeriesResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of anomalous metrics.

- */ - inline const Aws::Vector& GetTimeSeriesList() const { return m_timeSeriesList; } - template > - void SetTimeSeriesList(TimeSeriesListT&& value) { - m_timeSeriesListHasBeenSet = true; - m_timeSeriesList = std::forward(value); - } - template > - ListAnomalyGroupTimeSeriesResult& WithTimeSeriesList(TimeSeriesListT&& value) { - SetTimeSeriesList(std::forward(value)); - return *this; - } - template - ListAnomalyGroupTimeSeriesResult& AddTimeSeriesList(TimeSeriesListT&& value) { - m_timeSeriesListHasBeenSet = true; - m_timeSeriesList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListAnomalyGroupTimeSeriesResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyGroupId; - bool m_anomalyGroupIdHasBeenSet = false; - - Aws::String m_metricName; - bool m_metricNameHasBeenSet = false; - - Aws::Vector m_timestampList; - bool m_timestampListHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::Vector m_timeSeriesList; - bool m_timeSeriesListHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListMetricSetsRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListMetricSetsRequest.h deleted file mode 100644 index 8f605c5abcc..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListMetricSetsRequest.h +++ /dev/null @@ -1,97 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class ListMetricSetsRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API ListMetricSetsRequest() = default; - - // 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 "ListMetricSets"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ARN of the anomaly detector containing the metrics sets to list.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - ListMetricSetsRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of results to return.

- */ - 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 ListMetricSetsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

If the result of the previous request was truncated, the response includes a - * NextToken. To retrieve the next set of results, use the token in - * the next request. Tokens expire after 24 hours.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListMetricSetsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListMetricSetsResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListMetricSetsResult.h deleted file mode 100644 index c7c1d672022..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListMetricSetsResult.h +++ /dev/null @@ -1,100 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class ListMetricSetsResult { - public: - AWS_LOOKOUTMETRICS_API ListMetricSetsResult() = default; - AWS_LOOKOUTMETRICS_API ListMetricSetsResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API ListMetricSetsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of the datasets in the AWS Region, with configuration details for - * each.

- */ - inline const Aws::Vector& GetMetricSetSummaryList() const { return m_metricSetSummaryList; } - template > - void SetMetricSetSummaryList(MetricSetSummaryListT&& value) { - m_metricSetSummaryListHasBeenSet = true; - m_metricSetSummaryList = std::forward(value); - } - template > - ListMetricSetsResult& WithMetricSetSummaryList(MetricSetSummaryListT&& value) { - SetMetricSetSummaryList(std::forward(value)); - return *this; - } - template - ListMetricSetsResult& AddMetricSetSummaryList(MetricSetSummaryListT&& value) { - m_metricSetSummaryListHasBeenSet = true; - m_metricSetSummaryList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the response is truncated, the list call returns this token. To retrieve - * the next set of results, use the token in the next list request.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListMetricSetsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListMetricSetsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_metricSetSummaryList; - bool m_metricSetSummaryListHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListTagsForResourceRequest.h deleted file mode 100644 index 244e188f12f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListTagsForResourceRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class ListTagsForResourceRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API ListTagsForResourceRequest() = default; - - // 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_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The resource's Amazon Resource Name (ARN).

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - ListTagsForResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListTagsForResourceResult.h deleted file mode 100644 index 79d5efe7341..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ListTagsForResourceResult.h +++ /dev/null @@ -1,77 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class ListTagsForResourceResult { - public: - AWS_LOOKOUTMETRICS_API ListTagsForResourceResult() = default; - AWS_LOOKOUTMETRICS_API ListTagsForResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The resource's tags.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - ListTagsForResourceResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - ListTagsForResourceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListTagsForResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Metric.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Metric.h deleted file mode 100644 index 40a31b36f85..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/Metric.h +++ /dev/null @@ -1,100 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

A calculation made by contrasting a measure and a dimension from your source - * data.

See Also:

AWS - * API Reference

- */ -class Metric { - public: - AWS_LOOKOUTMETRICS_API Metric() = default; - AWS_LOOKOUTMETRICS_API Metric(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Metric& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the metric.

- */ - inline const Aws::String& GetMetricName() const { return m_metricName; } - inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; } - template - void SetMetricName(MetricNameT&& value) { - m_metricNameHasBeenSet = true; - m_metricName = std::forward(value); - } - template - Metric& WithMetricName(MetricNameT&& value) { - SetMetricName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The function with which the metric is calculated.

- */ - inline AggregationFunction GetAggregationFunction() const { return m_aggregationFunction; } - inline bool AggregationFunctionHasBeenSet() const { return m_aggregationFunctionHasBeenSet; } - inline void SetAggregationFunction(AggregationFunction value) { - m_aggregationFunctionHasBeenSet = true; - m_aggregationFunction = value; - } - inline Metric& WithAggregationFunction(AggregationFunction value) { - SetAggregationFunction(value); - return *this; - } - ///@} - - ///@{ - /** - *

The namespace for the metric.

- */ - inline const Aws::String& GetNamespace() const { return m_namespace; } - inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } - template - void SetNamespace(NamespaceT&& value) { - m_namespaceHasBeenSet = true; - m_namespace = std::forward(value); - } - template - Metric& WithNamespace(NamespaceT&& value) { - SetNamespace(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_metricName; - bool m_metricNameHasBeenSet = false; - - AggregationFunction m_aggregationFunction{AggregationFunction::NOT_SET}; - bool m_aggregationFunctionHasBeenSet = false; - - Aws::String m_namespace; - bool m_namespaceHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricLevelImpact.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricLevelImpact.h deleted file mode 100644 index 9928d036d50..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricLevelImpact.h +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Details about a measure affected by an anomaly.

See Also:

AWS - * API Reference

- */ -class MetricLevelImpact { - public: - AWS_LOOKOUTMETRICS_API MetricLevelImpact() = default; - AWS_LOOKOUTMETRICS_API MetricLevelImpact(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API MetricLevelImpact& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the measure.

- */ - inline const Aws::String& GetMetricName() const { return m_metricName; } - inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; } - template - void SetMetricName(MetricNameT&& value) { - m_metricNameHasBeenSet = true; - m_metricName = std::forward(value); - } - template - MetricLevelImpact& WithMetricName(MetricNameT&& value) { - SetMetricName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The number of anomalous metrics for the measure.

- */ - inline int GetNumTimeSeries() const { return m_numTimeSeries; } - inline bool NumTimeSeriesHasBeenSet() const { return m_numTimeSeriesHasBeenSet; } - inline void SetNumTimeSeries(int value) { - m_numTimeSeriesHasBeenSet = true; - m_numTimeSeries = value; - } - inline MetricLevelImpact& WithNumTimeSeries(int value) { - SetNumTimeSeries(value); - return *this; - } - ///@} - - ///@{ - /** - *

Details about the dimensions that contributed to the anomaly.

- */ - inline const ContributionMatrix& GetContributionMatrix() const { return m_contributionMatrix; } - inline bool ContributionMatrixHasBeenSet() const { return m_contributionMatrixHasBeenSet; } - template - void SetContributionMatrix(ContributionMatrixT&& value) { - m_contributionMatrixHasBeenSet = true; - m_contributionMatrix = std::forward(value); - } - template - MetricLevelImpact& WithContributionMatrix(ContributionMatrixT&& value) { - SetContributionMatrix(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_metricName; - bool m_metricNameHasBeenSet = false; - - int m_numTimeSeries{0}; - bool m_numTimeSeriesHasBeenSet = false; - - ContributionMatrix m_contributionMatrix; - bool m_contributionMatrixHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSetDataQualityMetric.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSetDataQualityMetric.h deleted file mode 100644 index 2d692e5c607..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSetDataQualityMetric.h +++ /dev/null @@ -1,89 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

An array of DataQualityMetric objects that describes one or more - * data quality metrics.

See Also:

AWS - * API Reference

- */ -class MetricSetDataQualityMetric { - public: - AWS_LOOKOUTMETRICS_API MetricSetDataQualityMetric() = default; - AWS_LOOKOUTMETRICS_API MetricSetDataQualityMetric(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API MetricSetDataQualityMetric& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the data quality metric array.

- */ - inline const Aws::String& GetMetricSetArn() const { return m_metricSetArn; } - inline bool MetricSetArnHasBeenSet() const { return m_metricSetArnHasBeenSet; } - template - void SetMetricSetArn(MetricSetArnT&& value) { - m_metricSetArnHasBeenSet = true; - m_metricSetArn = std::forward(value); - } - template - MetricSetDataQualityMetric& WithMetricSetArn(MetricSetArnT&& value) { - SetMetricSetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The array of data quality metrics contained in the data quality metric - * set.

- */ - inline const Aws::Vector& GetDataQualityMetricList() const { return m_dataQualityMetricList; } - inline bool DataQualityMetricListHasBeenSet() const { return m_dataQualityMetricListHasBeenSet; } - template > - void SetDataQualityMetricList(DataQualityMetricListT&& value) { - m_dataQualityMetricListHasBeenSet = true; - m_dataQualityMetricList = std::forward(value); - } - template > - MetricSetDataQualityMetric& WithDataQualityMetricList(DataQualityMetricListT&& value) { - SetDataQualityMetricList(std::forward(value)); - return *this; - } - template - MetricSetDataQualityMetric& AddDataQualityMetricList(DataQualityMetricListT&& value) { - m_dataQualityMetricListHasBeenSet = true; - m_dataQualityMetricList.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_metricSetArn; - bool m_metricSetArnHasBeenSet = false; - - Aws::Vector m_dataQualityMetricList; - bool m_dataQualityMetricListHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSetDimensionFilter.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSetDimensionFilter.h deleted file mode 100644 index b22b88c55df..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSetDimensionFilter.h +++ /dev/null @@ -1,91 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Describes a list of filters for choosing a subset of dimension values. Each - * filter consists of the dimension and one of its values that you want to include. - * When multiple dimensions or values are specified, the dimensions are joined with - * an AND operation and the values are joined with an OR operation.

See - * Also:

AWS - * API Reference

- */ -class MetricSetDimensionFilter { - public: - AWS_LOOKOUTMETRICS_API MetricSetDimensionFilter() = default; - AWS_LOOKOUTMETRICS_API MetricSetDimensionFilter(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API MetricSetDimensionFilter& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The dimension that you want to filter on.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - MetricSetDimensionFilter& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The list of filters that you are applying.

- */ - inline const Aws::Vector& GetFilterList() const { return m_filterList; } - inline bool FilterListHasBeenSet() const { return m_filterListHasBeenSet; } - template > - void SetFilterList(FilterListT&& value) { - m_filterListHasBeenSet = true; - m_filterList = std::forward(value); - } - template > - MetricSetDimensionFilter& WithFilterList(FilterListT&& value) { - SetFilterList(std::forward(value)); - return *this; - } - template - MetricSetDimensionFilter& AddFilterList(FilterListT&& value) { - m_filterListHasBeenSet = true; - m_filterList.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::Vector m_filterList; - bool m_filterListHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSetSummary.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSetSummary.h deleted file mode 100644 index 030348fc964..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSetSummary.h +++ /dev/null @@ -1,193 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains information about a dataset.

See Also:

AWS - * API Reference

- */ -class MetricSetSummary { - public: - AWS_LOOKOUTMETRICS_API MetricSetSummary() = default; - AWS_LOOKOUTMETRICS_API MetricSetSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API MetricSetSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The ARN of the dataset.

- */ - inline const Aws::String& GetMetricSetArn() const { return m_metricSetArn; } - inline bool MetricSetArnHasBeenSet() const { return m_metricSetArnHasBeenSet; } - template - void SetMetricSetArn(MetricSetArnT&& value) { - m_metricSetArnHasBeenSet = true; - m_metricSetArn = std::forward(value); - } - template - MetricSetSummary& WithMetricSetArn(MetricSetArnT&& value) { - SetMetricSetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the detector to which the dataset belongs.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - MetricSetSummary& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description of the dataset.

- */ - inline const Aws::String& GetMetricSetDescription() const { return m_metricSetDescription; } - inline bool MetricSetDescriptionHasBeenSet() const { return m_metricSetDescriptionHasBeenSet; } - template - void SetMetricSetDescription(MetricSetDescriptionT&& value) { - m_metricSetDescriptionHasBeenSet = true; - m_metricSetDescription = std::forward(value); - } - template - MetricSetSummary& WithMetricSetDescription(MetricSetDescriptionT&& value) { - SetMetricSetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the dataset.

- */ - inline const Aws::String& GetMetricSetName() const { return m_metricSetName; } - inline bool MetricSetNameHasBeenSet() const { return m_metricSetNameHasBeenSet; } - template - void SetMetricSetName(MetricSetNameT&& value) { - m_metricSetNameHasBeenSet = true; - m_metricSetName = std::forward(value); - } - template - MetricSetSummary& WithMetricSetName(MetricSetNameT&& value) { - SetMetricSetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time at which the dataset was created.

- */ - inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; } - inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } - template - void SetCreationTime(CreationTimeT&& value) { - m_creationTimeHasBeenSet = true; - m_creationTime = std::forward(value); - } - template - MetricSetSummary& WithCreationTime(CreationTimeT&& value) { - SetCreationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time at which the dataset was last modified.

- */ - inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; } - inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; } - template - void SetLastModificationTime(LastModificationTimeT&& value) { - m_lastModificationTimeHasBeenSet = true; - m_lastModificationTime = std::forward(value); - } - template - MetricSetSummary& WithLastModificationTime(LastModificationTimeT&& value) { - SetLastModificationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The dataset's tags.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - MetricSetSummary& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - MetricSetSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_metricSetArn; - bool m_metricSetArnHasBeenSet = false; - - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_metricSetDescription; - bool m_metricSetDescriptionHasBeenSet = false; - - Aws::String m_metricSetName; - bool m_metricSetNameHasBeenSet = false; - - Aws::Utils::DateTime m_creationTime{}; - bool m_creationTimeHasBeenSet = false; - - Aws::Utils::DateTime m_lastModificationTime{}; - bool m_lastModificationTimeHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSource.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSource.h deleted file mode 100644 index 1f9fe9a59e7..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/MetricSource.h +++ /dev/null @@ -1,167 +0,0 @@ -/** - * 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 - -namespace Aws { -namespace Utils { -namespace Json { -class JsonValue; -class JsonView; -} // namespace Json -} // namespace Utils -namespace LookoutMetrics { -namespace Model { - -/** - *

Contains information about source data used to generate - * metrics.

See Also:

AWS - * API Reference

- */ -class MetricSource { - public: - AWS_LOOKOUTMETRICS_API MetricSource() = default; - AWS_LOOKOUTMETRICS_API MetricSource(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API MetricSource& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const S3SourceConfig& GetS3SourceConfig() const { return m_s3SourceConfig; } - inline bool S3SourceConfigHasBeenSet() const { return m_s3SourceConfigHasBeenSet; } - template - void SetS3SourceConfig(S3SourceConfigT&& value) { - m_s3SourceConfigHasBeenSet = true; - m_s3SourceConfig = std::forward(value); - } - template - MetricSource& WithS3SourceConfig(S3SourceConfigT&& value) { - SetS3SourceConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Details about an AppFlow datasource.

- */ - inline const AppFlowConfig& GetAppFlowConfig() const { return m_appFlowConfig; } - inline bool AppFlowConfigHasBeenSet() const { return m_appFlowConfigHasBeenSet; } - template - void SetAppFlowConfig(AppFlowConfigT&& value) { - m_appFlowConfigHasBeenSet = true; - m_appFlowConfig = std::forward(value); - } - template - MetricSource& WithAppFlowConfig(AppFlowConfigT&& value) { - SetAppFlowConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Details about an Amazon CloudWatch monitoring datasource.

- */ - inline const CloudWatchConfig& GetCloudWatchConfig() const { return m_cloudWatchConfig; } - inline bool CloudWatchConfigHasBeenSet() const { return m_cloudWatchConfigHasBeenSet; } - template - void SetCloudWatchConfig(CloudWatchConfigT&& value) { - m_cloudWatchConfigHasBeenSet = true; - m_cloudWatchConfig = std::forward(value); - } - template - MetricSource& WithCloudWatchConfig(CloudWatchConfigT&& value) { - SetCloudWatchConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Details about an Amazon Relational Database Service (RDS) datasource.

- */ - inline const RDSSourceConfig& GetRDSSourceConfig() const { return m_rDSSourceConfig; } - inline bool RDSSourceConfigHasBeenSet() const { return m_rDSSourceConfigHasBeenSet; } - template - void SetRDSSourceConfig(RDSSourceConfigT&& value) { - m_rDSSourceConfigHasBeenSet = true; - m_rDSSourceConfig = std::forward(value); - } - template - MetricSource& WithRDSSourceConfig(RDSSourceConfigT&& value) { - SetRDSSourceConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Details about an Amazon Redshift database datasource.

- */ - inline const RedshiftSourceConfig& GetRedshiftSourceConfig() const { return m_redshiftSourceConfig; } - inline bool RedshiftSourceConfigHasBeenSet() const { return m_redshiftSourceConfigHasBeenSet; } - template - void SetRedshiftSourceConfig(RedshiftSourceConfigT&& value) { - m_redshiftSourceConfigHasBeenSet = true; - m_redshiftSourceConfig = std::forward(value); - } - template - MetricSource& WithRedshiftSourceConfig(RedshiftSourceConfigT&& value) { - SetRedshiftSourceConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Details about an Amazon Athena datasource.

- */ - inline const AthenaSourceConfig& GetAthenaSourceConfig() const { return m_athenaSourceConfig; } - inline bool AthenaSourceConfigHasBeenSet() const { return m_athenaSourceConfigHasBeenSet; } - template - void SetAthenaSourceConfig(AthenaSourceConfigT&& value) { - m_athenaSourceConfigHasBeenSet = true; - m_athenaSourceConfig = std::forward(value); - } - template - MetricSource& WithAthenaSourceConfig(AthenaSourceConfigT&& value) { - SetAthenaSourceConfig(std::forward(value)); - return *this; - } - ///@} - private: - S3SourceConfig m_s3SourceConfig; - bool m_s3SourceConfigHasBeenSet = false; - - AppFlowConfig m_appFlowConfig; - bool m_appFlowConfigHasBeenSet = false; - - CloudWatchConfig m_cloudWatchConfig; - bool m_cloudWatchConfigHasBeenSet = false; - - RDSSourceConfig m_rDSSourceConfig; - bool m_rDSSourceConfigHasBeenSet = false; - - RedshiftSourceConfig m_redshiftSourceConfig; - bool m_redshiftSourceConfigHasBeenSet = false; - - AthenaSourceConfig m_athenaSourceConfig; - bool m_athenaSourceConfigHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/PutFeedbackRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/PutFeedbackRequest.h deleted file mode 100644 index 4f42b41ea74..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/PutFeedbackRequest.h +++ /dev/null @@ -1,77 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class PutFeedbackRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API PutFeedbackRequest() = default; - - // 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 "PutFeedback"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the anomaly detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - PutFeedbackRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Feedback for an anomalous metric.

- */ - inline const AnomalyGroupTimeSeriesFeedback& GetAnomalyGroupTimeSeriesFeedback() const { return m_anomalyGroupTimeSeriesFeedback; } - inline bool AnomalyGroupTimeSeriesFeedbackHasBeenSet() const { return m_anomalyGroupTimeSeriesFeedbackHasBeenSet; } - template - void SetAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeriesFeedbackT&& value) { - m_anomalyGroupTimeSeriesFeedbackHasBeenSet = true; - m_anomalyGroupTimeSeriesFeedback = std::forward(value); - } - template - PutFeedbackRequest& WithAnomalyGroupTimeSeriesFeedback(AnomalyGroupTimeSeriesFeedbackT&& value) { - SetAnomalyGroupTimeSeriesFeedback(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - AnomalyGroupTimeSeriesFeedback m_anomalyGroupTimeSeriesFeedback; - bool m_anomalyGroupTimeSeriesFeedbackHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/PutFeedbackResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/PutFeedbackResult.h deleted file mode 100644 index 171db4b18fc..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/PutFeedbackResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class PutFeedbackResult { - public: - AWS_LOOKOUTMETRICS_API PutFeedbackResult() = default; - AWS_LOOKOUTMETRICS_API PutFeedbackResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API PutFeedbackResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - PutFeedbackResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/RDSSourceConfig.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/RDSSourceConfig.h deleted file mode 100644 index 45162ae1ec3..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/RDSSourceConfig.h +++ /dev/null @@ -1,206 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains information about the Amazon Relational Database Service (RDS) - * configuration.

See Also:

AWS - * API Reference

- */ -class RDSSourceConfig { - public: - AWS_LOOKOUTMETRICS_API RDSSourceConfig() = default; - AWS_LOOKOUTMETRICS_API RDSSourceConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API RDSSourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

A string identifying the database instance.

- */ - inline const Aws::String& GetDBInstanceIdentifier() const { return m_dBInstanceIdentifier; } - inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; } - template - void SetDBInstanceIdentifier(DBInstanceIdentifierT&& value) { - m_dBInstanceIdentifierHasBeenSet = true; - m_dBInstanceIdentifier = std::forward(value); - } - template - RDSSourceConfig& WithDBInstanceIdentifier(DBInstanceIdentifierT&& value) { - SetDBInstanceIdentifier(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The host name of the database.

- */ - inline const Aws::String& GetDatabaseHost() const { return m_databaseHost; } - inline bool DatabaseHostHasBeenSet() const { return m_databaseHostHasBeenSet; } - template - void SetDatabaseHost(DatabaseHostT&& value) { - m_databaseHostHasBeenSet = true; - m_databaseHost = std::forward(value); - } - template - RDSSourceConfig& WithDatabaseHost(DatabaseHostT&& value) { - SetDatabaseHost(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The port number where the database can be accessed.

- */ - inline int GetDatabasePort() const { return m_databasePort; } - inline bool DatabasePortHasBeenSet() const { return m_databasePortHasBeenSet; } - inline void SetDatabasePort(int value) { - m_databasePortHasBeenSet = true; - m_databasePort = value; - } - inline RDSSourceConfig& WithDatabasePort(int value) { - SetDatabasePort(value); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the AWS Secrets Manager role.

- */ - inline const Aws::String& GetSecretManagerArn() const { return m_secretManagerArn; } - inline bool SecretManagerArnHasBeenSet() const { return m_secretManagerArnHasBeenSet; } - template - void SetSecretManagerArn(SecretManagerArnT&& value) { - m_secretManagerArnHasBeenSet = true; - m_secretManagerArn = std::forward(value); - } - template - RDSSourceConfig& WithSecretManagerArn(SecretManagerArnT&& value) { - SetSecretManagerArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the RDS database.

- */ - inline const Aws::String& GetDatabaseName() const { return m_databaseName; } - inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } - template - void SetDatabaseName(DatabaseNameT&& value) { - m_databaseNameHasBeenSet = true; - m_databaseName = std::forward(value); - } - template - RDSSourceConfig& WithDatabaseName(DatabaseNameT&& value) { - SetDatabaseName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the table in the database.

- */ - inline const Aws::String& GetTableName() const { return m_tableName; } - inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } - template - void SetTableName(TableNameT&& value) { - m_tableNameHasBeenSet = true; - m_tableName = std::forward(value); - } - template - RDSSourceConfig& WithTableName(TableNameT&& value) { - SetTableName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the role.

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - RDSSourceConfig& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An object containing information about the Amazon Virtual Private Cloud (VPC) - * configuration.

- */ - inline const VpcConfiguration& GetVpcConfiguration() const { return m_vpcConfiguration; } - inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; } - template - void SetVpcConfiguration(VpcConfigurationT&& value) { - m_vpcConfigurationHasBeenSet = true; - m_vpcConfiguration = std::forward(value); - } - template - RDSSourceConfig& WithVpcConfiguration(VpcConfigurationT&& value) { - SetVpcConfiguration(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_dBInstanceIdentifier; - bool m_dBInstanceIdentifierHasBeenSet = false; - - Aws::String m_databaseHost; - bool m_databaseHostHasBeenSet = false; - - int m_databasePort{0}; - bool m_databasePortHasBeenSet = false; - - Aws::String m_secretManagerArn; - bool m_secretManagerArnHasBeenSet = false; - - Aws::String m_databaseName; - bool m_databaseNameHasBeenSet = false; - - Aws::String m_tableName; - bool m_tableNameHasBeenSet = false; - - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - VpcConfiguration m_vpcConfiguration; - bool m_vpcConfigurationHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/RedshiftSourceConfig.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/RedshiftSourceConfig.h deleted file mode 100644 index 127c814d666..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/RedshiftSourceConfig.h +++ /dev/null @@ -1,207 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Provides information about the Amazon Redshift database - * configuration.

See Also:

AWS - * API Reference

- */ -class RedshiftSourceConfig { - public: - AWS_LOOKOUTMETRICS_API RedshiftSourceConfig() = default; - AWS_LOOKOUTMETRICS_API RedshiftSourceConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API RedshiftSourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

A string identifying the Redshift cluster.

- */ - inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; } - inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; } - template - void SetClusterIdentifier(ClusterIdentifierT&& value) { - m_clusterIdentifierHasBeenSet = true; - m_clusterIdentifier = std::forward(value); - } - template - RedshiftSourceConfig& WithClusterIdentifier(ClusterIdentifierT&& value) { - SetClusterIdentifier(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the database host.

- */ - inline const Aws::String& GetDatabaseHost() const { return m_databaseHost; } - inline bool DatabaseHostHasBeenSet() const { return m_databaseHostHasBeenSet; } - template - void SetDatabaseHost(DatabaseHostT&& value) { - m_databaseHostHasBeenSet = true; - m_databaseHost = std::forward(value); - } - template - RedshiftSourceConfig& WithDatabaseHost(DatabaseHostT&& value) { - SetDatabaseHost(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The port number where the database can be accessed.

- */ - inline int GetDatabasePort() const { return m_databasePort; } - inline bool DatabasePortHasBeenSet() const { return m_databasePortHasBeenSet; } - inline void SetDatabasePort(int value) { - m_databasePortHasBeenSet = true; - m_databasePort = value; - } - inline RedshiftSourceConfig& WithDatabasePort(int value) { - SetDatabasePort(value); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the AWS Secrets Manager role.

- */ - inline const Aws::String& GetSecretManagerArn() const { return m_secretManagerArn; } - inline bool SecretManagerArnHasBeenSet() const { return m_secretManagerArnHasBeenSet; } - template - void SetSecretManagerArn(SecretManagerArnT&& value) { - m_secretManagerArnHasBeenSet = true; - m_secretManagerArn = std::forward(value); - } - template - RedshiftSourceConfig& WithSecretManagerArn(SecretManagerArnT&& value) { - SetSecretManagerArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Redshift database name.

- */ - inline const Aws::String& GetDatabaseName() const { return m_databaseName; } - inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } - template - void SetDatabaseName(DatabaseNameT&& value) { - m_databaseNameHasBeenSet = true; - m_databaseName = std::forward(value); - } - template - RedshiftSourceConfig& WithDatabaseName(DatabaseNameT&& value) { - SetDatabaseName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The table name of the Redshift database.

- */ - inline const Aws::String& GetTableName() const { return m_tableName; } - inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; } - template - void SetTableName(TableNameT&& value) { - m_tableNameHasBeenSet = true; - m_tableName = std::forward(value); - } - template - RedshiftSourceConfig& WithTableName(TableNameT&& value) { - SetTableName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the role providing access to the - * database.

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - RedshiftSourceConfig& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains information about the Amazon Virtual Private Cloud (VPC) - * configuration.

- */ - inline const VpcConfiguration& GetVpcConfiguration() const { return m_vpcConfiguration; } - inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; } - template - void SetVpcConfiguration(VpcConfigurationT&& value) { - m_vpcConfigurationHasBeenSet = true; - m_vpcConfiguration = std::forward(value); - } - template - RedshiftSourceConfig& WithVpcConfiguration(VpcConfigurationT&& value) { - SetVpcConfiguration(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_clusterIdentifier; - bool m_clusterIdentifierHasBeenSet = false; - - Aws::String m_databaseHost; - bool m_databaseHostHasBeenSet = false; - - int m_databasePort{0}; - bool m_databasePortHasBeenSet = false; - - Aws::String m_secretManagerArn; - bool m_secretManagerArnHasBeenSet = false; - - Aws::String m_databaseName; - bool m_databaseNameHasBeenSet = false; - - Aws::String m_tableName; - bool m_tableNameHasBeenSet = false; - - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - VpcConfiguration m_vpcConfiguration; - bool m_vpcConfigurationHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/RelationshipType.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/RelationshipType.h deleted file mode 100644 index 39b5e2b7486..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/RelationshipType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class RelationshipType { NOT_SET, CAUSE_OF_INPUT_ANOMALY_GROUP, EFFECT_OF_INPUT_ANOMALY_GROUP }; - -namespace RelationshipTypeMapper { -AWS_LOOKOUTMETRICS_API RelationshipType GetRelationshipTypeForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForRelationshipType(RelationshipType value); -} // namespace RelationshipTypeMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ResourceNotFoundException.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ResourceNotFoundException.h deleted file mode 100644 index b726008e433..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ResourceNotFoundException.h +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

The specified resource cannot be found. Check the ARN of the resource and try - * again.

See Also:

AWS - * API Reference

- */ -class ResourceNotFoundException { - public: - AWS_LOOKOUTMETRICS_API ResourceNotFoundException() = default; - AWS_LOOKOUTMETRICS_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API ResourceNotFoundException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ResourceNotFoundException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ID of the resource.

- */ - inline const Aws::String& GetResourceId() const { return m_resourceId; } - inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } - template - void SetResourceId(ResourceIdT&& value) { - m_resourceIdHasBeenSet = true; - m_resourceId = std::forward(value); - } - template - ResourceNotFoundException& WithResourceId(ResourceIdT&& value) { - SetResourceId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the resource.

- */ - inline const Aws::String& GetResourceType() const { return m_resourceType; } - inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } - template - void SetResourceType(ResourceTypeT&& value) { - m_resourceTypeHasBeenSet = true; - m_resourceType = std::forward(value); - } - template - ResourceNotFoundException& WithResourceType(ResourceTypeT&& value) { - SetResourceType(std::forward(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 LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/S3SourceConfig.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/S3SourceConfig.h deleted file mode 100644 index 32477f83c5f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/S3SourceConfig.h +++ /dev/null @@ -1,137 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains information about the configuration of the S3 bucket that contains - * source files.

See Also:

AWS - * API Reference

- */ -class S3SourceConfig { - public: - AWS_LOOKOUTMETRICS_API S3SourceConfig() = default; - AWS_LOOKOUTMETRICS_API S3SourceConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API S3SourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The ARN of an IAM role that has read and write access permissions to the - * source S3 bucket.

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - S3SourceConfig& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of templated paths to the source files.

- */ - inline const Aws::Vector& GetTemplatedPathList() const { return m_templatedPathList; } - inline bool TemplatedPathListHasBeenSet() const { return m_templatedPathListHasBeenSet; } - template > - void SetTemplatedPathList(TemplatedPathListT&& value) { - m_templatedPathListHasBeenSet = true; - m_templatedPathList = std::forward(value); - } - template > - S3SourceConfig& WithTemplatedPathList(TemplatedPathListT&& value) { - SetTemplatedPathList(std::forward(value)); - return *this; - } - template - S3SourceConfig& AddTemplatedPathList(TemplatedPathListT&& value) { - m_templatedPathListHasBeenSet = true; - m_templatedPathList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of paths to the historical data files.

- */ - inline const Aws::Vector& GetHistoricalDataPathList() const { return m_historicalDataPathList; } - inline bool HistoricalDataPathListHasBeenSet() const { return m_historicalDataPathListHasBeenSet; } - template > - void SetHistoricalDataPathList(HistoricalDataPathListT&& value) { - m_historicalDataPathListHasBeenSet = true; - m_historicalDataPathList = std::forward(value); - } - template > - S3SourceConfig& WithHistoricalDataPathList(HistoricalDataPathListT&& value) { - SetHistoricalDataPathList(std::forward(value)); - return *this; - } - template - S3SourceConfig& AddHistoricalDataPathList(HistoricalDataPathListT&& value) { - m_historicalDataPathListHasBeenSet = true; - m_historicalDataPathList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains information about a source file's formatting.

- */ - inline const FileFormatDescriptor& GetFileFormatDescriptor() const { return m_fileFormatDescriptor; } - inline bool FileFormatDescriptorHasBeenSet() const { return m_fileFormatDescriptorHasBeenSet; } - template - void SetFileFormatDescriptor(FileFormatDescriptorT&& value) { - m_fileFormatDescriptorHasBeenSet = true; - m_fileFormatDescriptor = std::forward(value); - } - template - S3SourceConfig& WithFileFormatDescriptor(FileFormatDescriptorT&& value) { - SetFileFormatDescriptor(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - Aws::Vector m_templatedPathList; - bool m_templatedPathListHasBeenSet = false; - - Aws::Vector m_historicalDataPathList; - bool m_historicalDataPathListHasBeenSet = false; - - FileFormatDescriptor m_fileFormatDescriptor; - bool m_fileFormatDescriptorHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/SNSConfiguration.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/SNSConfiguration.h deleted file mode 100644 index c70b4bc94ae..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/SNSConfiguration.h +++ /dev/null @@ -1,107 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains information about the SNS topic to which you want to send your - * alerts and the IAM role that has access to that topic.

See Also:

- * AWS - * API Reference

- */ -class SNSConfiguration { - public: - AWS_LOOKOUTMETRICS_API SNSConfiguration() = default; - AWS_LOOKOUTMETRICS_API SNSConfiguration(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API SNSConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The ARN of the IAM role that has access to the target SNS topic.

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - SNSConfiguration& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the target SNS topic.

- */ - inline const Aws::String& GetSnsTopicArn() const { return m_snsTopicArn; } - inline bool SnsTopicArnHasBeenSet() const { return m_snsTopicArnHasBeenSet; } - template - void SetSnsTopicArn(SnsTopicArnT&& value) { - m_snsTopicArnHasBeenSet = true; - m_snsTopicArn = std::forward(value); - } - template - SNSConfiguration& WithSnsTopicArn(SnsTopicArnT&& value) { - SetSnsTopicArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The format of the SNS topic.

  • JSON – Send JSON - * alerts with an anomaly ID and a link to the anomaly detail page. This is the - * default.

  • LONG_TEXT – Send human-readable alerts - * with information about the impacted timeseries and a link to the anomaly detail - * page. We recommend this for email.

  • SHORT_TEXT – - * Send human-readable alerts with a link to the anomaly detail page. We recommend - * this for SMS.

- */ - inline SnsFormat GetSnsFormat() const { return m_snsFormat; } - inline bool SnsFormatHasBeenSet() const { return m_snsFormatHasBeenSet; } - inline void SetSnsFormat(SnsFormat value) { - m_snsFormatHasBeenSet = true; - m_snsFormat = value; - } - inline SNSConfiguration& WithSnsFormat(SnsFormat value) { - SetSnsFormat(value); - return *this; - } - ///@} - private: - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - Aws::String m_snsTopicArn; - bool m_snsTopicArnHasBeenSet = false; - - SnsFormat m_snsFormat{SnsFormat::NOT_SET}; - bool m_snsFormatHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/SampleDataS3SourceConfig.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/SampleDataS3SourceConfig.h deleted file mode 100644 index a4924804d14..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/SampleDataS3SourceConfig.h +++ /dev/null @@ -1,134 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains information about the source configuration in Amazon - * S3.

See Also:

AWS - * API Reference

- */ -class SampleDataS3SourceConfig { - public: - AWS_LOOKOUTMETRICS_API SampleDataS3SourceConfig() = default; - AWS_LOOKOUTMETRICS_API SampleDataS3SourceConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API SampleDataS3SourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the role.

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - SampleDataS3SourceConfig& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An array of strings containing the list of templated paths.

- */ - inline const Aws::Vector& GetTemplatedPathList() const { return m_templatedPathList; } - inline bool TemplatedPathListHasBeenSet() const { return m_templatedPathListHasBeenSet; } - template > - void SetTemplatedPathList(TemplatedPathListT&& value) { - m_templatedPathListHasBeenSet = true; - m_templatedPathList = std::forward(value); - } - template > - SampleDataS3SourceConfig& WithTemplatedPathList(TemplatedPathListT&& value) { - SetTemplatedPathList(std::forward(value)); - return *this; - } - template - SampleDataS3SourceConfig& AddTemplatedPathList(TemplatedPathListT&& value) { - m_templatedPathListHasBeenSet = true; - m_templatedPathList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An array of strings containing the historical set of data paths.

- */ - inline const Aws::Vector& GetHistoricalDataPathList() const { return m_historicalDataPathList; } - inline bool HistoricalDataPathListHasBeenSet() const { return m_historicalDataPathListHasBeenSet; } - template > - void SetHistoricalDataPathList(HistoricalDataPathListT&& value) { - m_historicalDataPathListHasBeenSet = true; - m_historicalDataPathList = std::forward(value); - } - template > - SampleDataS3SourceConfig& WithHistoricalDataPathList(HistoricalDataPathListT&& value) { - SetHistoricalDataPathList(std::forward(value)); - return *this; - } - template - SampleDataS3SourceConfig& AddHistoricalDataPathList(HistoricalDataPathListT&& value) { - m_historicalDataPathListHasBeenSet = true; - m_historicalDataPathList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const FileFormatDescriptor& GetFileFormatDescriptor() const { return m_fileFormatDescriptor; } - inline bool FileFormatDescriptorHasBeenSet() const { return m_fileFormatDescriptorHasBeenSet; } - template - void SetFileFormatDescriptor(FileFormatDescriptorT&& value) { - m_fileFormatDescriptorHasBeenSet = true; - m_fileFormatDescriptor = std::forward(value); - } - template - SampleDataS3SourceConfig& WithFileFormatDescriptor(FileFormatDescriptorT&& value) { - SetFileFormatDescriptor(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - Aws::Vector m_templatedPathList; - bool m_templatedPathListHasBeenSet = false; - - Aws::Vector m_historicalDataPathList; - bool m_historicalDataPathListHasBeenSet = false; - - FileFormatDescriptor m_fileFormatDescriptor; - bool m_fileFormatDescriptorHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ServiceQuotaExceededException.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ServiceQuotaExceededException.h deleted file mode 100644 index cba14f51cc1..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ServiceQuotaExceededException.h +++ /dev/null @@ -1,141 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

The request exceeded the service's quotas. Check the service quotas and try - * again.

See Also:

AWS - * API Reference

- */ -class ServiceQuotaExceededException { - public: - AWS_LOOKOUTMETRICS_API ServiceQuotaExceededException() = default; - AWS_LOOKOUTMETRICS_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API ServiceQuotaExceededException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ServiceQuotaExceededException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ID of the resource.

- */ - inline const Aws::String& GetResourceId() const { return m_resourceId; } - inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } - template - void SetResourceId(ResourceIdT&& value) { - m_resourceIdHasBeenSet = true; - m_resourceId = std::forward(value); - } - template - ServiceQuotaExceededException& WithResourceId(ResourceIdT&& value) { - SetResourceId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the resource.

- */ - inline const Aws::String& GetResourceType() const { return m_resourceType; } - inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } - template - void SetResourceType(ResourceTypeT&& value) { - m_resourceTypeHasBeenSet = true; - m_resourceType = std::forward(value); - } - template - ServiceQuotaExceededException& WithResourceType(ResourceTypeT&& value) { - SetResourceType(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The quota code.

- */ - inline const Aws::String& GetQuotaCode() const { return m_quotaCode; } - inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } - template - void SetQuotaCode(QuotaCodeT&& value) { - m_quotaCodeHasBeenSet = true; - m_quotaCode = std::forward(value); - } - template - ServiceQuotaExceededException& WithQuotaCode(QuotaCodeT&& value) { - SetQuotaCode(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The service code.

- */ - inline const Aws::String& GetServiceCode() const { return m_serviceCode; } - inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } - template - void SetServiceCode(ServiceCodeT&& value) { - m_serviceCodeHasBeenSet = true; - m_serviceCode = std::forward(value); - } - template - ServiceQuotaExceededException& WithServiceCode(ServiceCodeT&& value) { - SetServiceCode(std::forward(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_quotaCode; - bool m_quotaCodeHasBeenSet = false; - - Aws::String m_serviceCode; - bool m_serviceCodeHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/SnsFormat.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/SnsFormat.h deleted file mode 100644 index 6879074a9a2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/SnsFormat.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class SnsFormat { NOT_SET, LONG_TEXT, SHORT_TEXT, JSON }; - -namespace SnsFormatMapper { -AWS_LOOKOUTMETRICS_API SnsFormat GetSnsFormatForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForSnsFormat(SnsFormat value); -} // namespace SnsFormatMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TagResourceRequest.h deleted file mode 100644 index 1434d923f21..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TagResourceRequest.h +++ /dev/null @@ -1,84 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class TagResourceRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API TagResourceRequest() = default; - - // 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_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The resource's Amazon Resource Name (ARN).

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - TagResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Tags to apply to the resource. Tag keys and values can contain letters, - * numbers, spaces, and the following symbols: _.:/=+@-

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - TagResourceRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - TagResourceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TagResourceResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TagResourceResult.h deleted file mode 100644 index 0c494315e1b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TagResourceResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class TagResourceResult { - public: - AWS_LOOKOUTMETRICS_API TagResourceResult() = default; - AWS_LOOKOUTMETRICS_API TagResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API TagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - TagResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TimeSeries.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TimeSeries.h deleted file mode 100644 index 43487dfdf25..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TimeSeries.h +++ /dev/null @@ -1,115 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Details about a metric. A metric is an aggregation of the values of a measure - * for a dimension value, such as availability in the us-east-1 - * Region.

See Also:

AWS - * API Reference

- */ -class TimeSeries { - public: - AWS_LOOKOUTMETRICS_API TimeSeries() = default; - AWS_LOOKOUTMETRICS_API TimeSeries(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API TimeSeries& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The ID of the metric.

- */ - inline const Aws::String& GetTimeSeriesId() const { return m_timeSeriesId; } - inline bool TimeSeriesIdHasBeenSet() const { return m_timeSeriesIdHasBeenSet; } - template - void SetTimeSeriesId(TimeSeriesIdT&& value) { - m_timeSeriesIdHasBeenSet = true; - m_timeSeriesId = std::forward(value); - } - template - TimeSeries& WithTimeSeriesId(TimeSeriesIdT&& value) { - SetTimeSeriesId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The dimensions of the metric.

- */ - inline const Aws::Vector& GetDimensionList() const { return m_dimensionList; } - inline bool DimensionListHasBeenSet() const { return m_dimensionListHasBeenSet; } - template > - void SetDimensionList(DimensionListT&& value) { - m_dimensionListHasBeenSet = true; - m_dimensionList = std::forward(value); - } - template > - TimeSeries& WithDimensionList(DimensionListT&& value) { - SetDimensionList(std::forward(value)); - return *this; - } - template - TimeSeries& AddDimensionList(DimensionListT&& value) { - m_dimensionListHasBeenSet = true; - m_dimensionList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The values for the metric.

- */ - inline const Aws::Vector& GetMetricValueList() const { return m_metricValueList; } - inline bool MetricValueListHasBeenSet() const { return m_metricValueListHasBeenSet; } - template > - void SetMetricValueList(MetricValueListT&& value) { - m_metricValueListHasBeenSet = true; - m_metricValueList = std::forward(value); - } - template > - TimeSeries& WithMetricValueList(MetricValueListT&& value) { - SetMetricValueList(std::forward(value)); - return *this; - } - inline TimeSeries& AddMetricValueList(double value) { - m_metricValueListHasBeenSet = true; - m_metricValueList.push_back(value); - return *this; - } - ///@} - private: - Aws::String m_timeSeriesId; - bool m_timeSeriesIdHasBeenSet = false; - - Aws::Vector m_dimensionList; - bool m_dimensionListHasBeenSet = false; - - Aws::Vector m_metricValueList; - bool m_metricValueListHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TimeSeriesFeedback.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TimeSeriesFeedback.h deleted file mode 100644 index cfa286db353..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TimeSeriesFeedback.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Details about feedback submitted for an anomalous metric.

See - * Also:

AWS - * API Reference

- */ -class TimeSeriesFeedback { - public: - AWS_LOOKOUTMETRICS_API TimeSeriesFeedback() = default; - AWS_LOOKOUTMETRICS_API TimeSeriesFeedback(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API TimeSeriesFeedback& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The ID of the metric.

- */ - inline const Aws::String& GetTimeSeriesId() const { return m_timeSeriesId; } - inline bool TimeSeriesIdHasBeenSet() const { return m_timeSeriesIdHasBeenSet; } - template - void SetTimeSeriesId(TimeSeriesIdT&& value) { - m_timeSeriesIdHasBeenSet = true; - m_timeSeriesId = std::forward(value); - } - template - TimeSeriesFeedback& WithTimeSeriesId(TimeSeriesIdT&& value) { - SetTimeSeriesId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Feedback on whether the metric is a legitimate anomaly.

- */ - inline bool GetIsAnomaly() const { return m_isAnomaly; } - inline bool IsAnomalyHasBeenSet() const { return m_isAnomalyHasBeenSet; } - inline void SetIsAnomaly(bool value) { - m_isAnomalyHasBeenSet = true; - m_isAnomaly = value; - } - inline TimeSeriesFeedback& WithIsAnomaly(bool value) { - SetIsAnomaly(value); - return *this; - } - ///@} - private: - Aws::String m_timeSeriesId; - bool m_timeSeriesIdHasBeenSet = false; - - bool m_isAnomaly{false}; - bool m_isAnomalyHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TimestampColumn.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TimestampColumn.h deleted file mode 100644 index 81c998bce2b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/TimestampColumn.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains information about the column used to track time in a source data - * file.

See Also:

AWS - * API Reference

- */ -class TimestampColumn { - public: - AWS_LOOKOUTMETRICS_API TimestampColumn() = default; - AWS_LOOKOUTMETRICS_API TimestampColumn(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API TimestampColumn& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the timestamp column.

- */ - inline const Aws::String& GetColumnName() const { return m_columnName; } - inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } - template - void SetColumnName(ColumnNameT&& value) { - m_columnNameHasBeenSet = true; - m_columnName = std::forward(value); - } - template - TimestampColumn& WithColumnName(ColumnNameT&& value) { - SetColumnName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The format of the timestamp column.

- */ - inline const Aws::String& GetColumnFormat() const { return m_columnFormat; } - inline bool ColumnFormatHasBeenSet() const { return m_columnFormatHasBeenSet; } - template - void SetColumnFormat(ColumnFormatT&& value) { - m_columnFormatHasBeenSet = true; - m_columnFormat = std::forward(value); - } - template - TimestampColumn& WithColumnFormat(ColumnFormatT&& value) { - SetColumnFormat(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_columnName; - bool m_columnNameHasBeenSet = false; - - Aws::String m_columnFormat; - bool m_columnFormatHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UntagResourceRequest.h deleted file mode 100644 index c359c7e7b22..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UntagResourceRequest.h +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class UntagResourceRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API UntagResourceRequest() = default; - - // 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_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTMETRICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The resource's Amazon Resource Name (ARN).

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - UntagResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Keys to remove from the resource's tags.

- */ - inline const Aws::Vector& GetTagKeys() const { return m_tagKeys; } - inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } - template > - void SetTagKeys(TagKeysT&& value) { - m_tagKeysHasBeenSet = true; - m_tagKeys = std::forward(value); - } - template > - UntagResourceRequest& WithTagKeys(TagKeysT&& value) { - SetTagKeys(std::forward(value)); - return *this; - } - template - UntagResourceRequest& AddTagKeys(TagKeysT&& value) { - m_tagKeysHasBeenSet = true; - m_tagKeys.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; - - Aws::Vector m_tagKeys; - bool m_tagKeysHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UntagResourceResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UntagResourceResult.h deleted file mode 100644 index 8a922bcc4c2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UntagResourceResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class UntagResourceResult { - public: - AWS_LOOKOUTMETRICS_API UntagResourceResult() = default; - AWS_LOOKOUTMETRICS_API UntagResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API UntagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UntagResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAlertRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAlertRequest.h deleted file mode 100644 index a1c17ac1e42..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAlertRequest.h +++ /dev/null @@ -1,140 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class UpdateAlertRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API UpdateAlertRequest() = default; - - // 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 "UpdateAlert"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ARN of the alert to update.

- */ - inline const Aws::String& GetAlertArn() const { return m_alertArn; } - inline bool AlertArnHasBeenSet() const { return m_alertArnHasBeenSet; } - template - void SetAlertArn(AlertArnT&& value) { - m_alertArnHasBeenSet = true; - m_alertArn = std::forward(value); - } - template - UpdateAlertRequest& WithAlertArn(AlertArnT&& value) { - SetAlertArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A description of the alert.

- */ - inline const Aws::String& GetAlertDescription() const { return m_alertDescription; } - inline bool AlertDescriptionHasBeenSet() const { return m_alertDescriptionHasBeenSet; } - template - void SetAlertDescription(AlertDescriptionT&& value) { - m_alertDescriptionHasBeenSet = true; - m_alertDescription = std::forward(value); - } - template - UpdateAlertRequest& WithAlertDescription(AlertDescriptionT&& value) { - SetAlertDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An integer from 0 to 100 specifying the alert sensitivity threshold.

- */ - inline int GetAlertSensitivityThreshold() const { return m_alertSensitivityThreshold; } - inline bool AlertSensitivityThresholdHasBeenSet() const { return m_alertSensitivityThresholdHasBeenSet; } - inline void SetAlertSensitivityThreshold(int value) { - m_alertSensitivityThresholdHasBeenSet = true; - m_alertSensitivityThreshold = value; - } - inline UpdateAlertRequest& WithAlertSensitivityThreshold(int value) { - SetAlertSensitivityThreshold(value); - return *this; - } - ///@} - - ///@{ - /** - *

Action that will be triggered when there is an alert.

- */ - inline const Action& GetAction() const { return m_action; } - inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } - template - void SetAction(ActionT&& value) { - m_actionHasBeenSet = true; - m_action = std::forward(value); - } - template - UpdateAlertRequest& WithAction(ActionT&& value) { - SetAction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The configuration of the alert filters, containing MetricList and - * DimensionFilterList.

- */ - inline const AlertFilters& GetAlertFilters() const { return m_alertFilters; } - inline bool AlertFiltersHasBeenSet() const { return m_alertFiltersHasBeenSet; } - template - void SetAlertFilters(AlertFiltersT&& value) { - m_alertFiltersHasBeenSet = true; - m_alertFilters = std::forward(value); - } - template - UpdateAlertRequest& WithAlertFilters(AlertFiltersT&& value) { - SetAlertFilters(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_alertArn; - bool m_alertArnHasBeenSet = false; - - Aws::String m_alertDescription; - bool m_alertDescriptionHasBeenSet = false; - - int m_alertSensitivityThreshold{0}; - bool m_alertSensitivityThresholdHasBeenSet = false; - - Action m_action; - bool m_actionHasBeenSet = false; - - AlertFilters m_alertFilters; - bool m_alertFiltersHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAlertResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAlertResult.h deleted file mode 100644 index 253cf8815a9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAlertResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class UpdateAlertResult { - public: - AWS_LOOKOUTMETRICS_API UpdateAlertResult() = default; - AWS_LOOKOUTMETRICS_API UpdateAlertResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API UpdateAlertResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The ARN of the updated alert.

- */ - inline const Aws::String& GetAlertArn() const { return m_alertArn; } - template - void SetAlertArn(AlertArnT&& value) { - m_alertArnHasBeenSet = true; - m_alertArn = std::forward(value); - } - template - UpdateAlertResult& WithAlertArn(AlertArnT&& value) { - SetAlertArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UpdateAlertResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_alertArn; - bool m_alertArnHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAnomalyDetectorRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAnomalyDetectorRequest.h deleted file mode 100644 index 62f57991cb2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAnomalyDetectorRequest.h +++ /dev/null @@ -1,120 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - */ -class UpdateAnomalyDetectorRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API UpdateAnomalyDetectorRequest() = default; - - // 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 "UpdateAnomalyDetector"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ARN of the detector to update.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - inline bool AnomalyDetectorArnHasBeenSet() const { return m_anomalyDetectorArnHasBeenSet; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - UpdateAnomalyDetectorRequest& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of an AWS KMS encryption key.

- */ - inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; } - inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } - template - void SetKmsKeyArn(KmsKeyArnT&& value) { - m_kmsKeyArnHasBeenSet = true; - m_kmsKeyArn = std::forward(value); - } - template - UpdateAnomalyDetectorRequest& WithKmsKeyArn(KmsKeyArnT&& value) { - SetKmsKeyArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The updated detector description.

- */ - inline const Aws::String& GetAnomalyDetectorDescription() const { return m_anomalyDetectorDescription; } - inline bool AnomalyDetectorDescriptionHasBeenSet() const { return m_anomalyDetectorDescriptionHasBeenSet; } - template - void SetAnomalyDetectorDescription(AnomalyDetectorDescriptionT&& value) { - m_anomalyDetectorDescriptionHasBeenSet = true; - m_anomalyDetectorDescription = std::forward(value); - } - template - UpdateAnomalyDetectorRequest& WithAnomalyDetectorDescription(AnomalyDetectorDescriptionT&& value) { - SetAnomalyDetectorDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains information about the configuration to which the detector will be - * updated.

- */ - inline const AnomalyDetectorConfig& GetAnomalyDetectorConfig() const { return m_anomalyDetectorConfig; } - inline bool AnomalyDetectorConfigHasBeenSet() const { return m_anomalyDetectorConfigHasBeenSet; } - template - void SetAnomalyDetectorConfig(AnomalyDetectorConfigT&& value) { - m_anomalyDetectorConfigHasBeenSet = true; - m_anomalyDetectorConfig = std::forward(value); - } - template - UpdateAnomalyDetectorRequest& WithAnomalyDetectorConfig(AnomalyDetectorConfigT&& value) { - SetAnomalyDetectorConfig(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_kmsKeyArn; - bool m_kmsKeyArnHasBeenSet = false; - - Aws::String m_anomalyDetectorDescription; - bool m_anomalyDetectorDescriptionHasBeenSet = false; - - AnomalyDetectorConfig m_anomalyDetectorConfig; - bool m_anomalyDetectorConfigHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAnomalyDetectorResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAnomalyDetectorResult.h deleted file mode 100644 index 204cec2651a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateAnomalyDetectorResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class UpdateAnomalyDetectorResult { - public: - AWS_LOOKOUTMETRICS_API UpdateAnomalyDetectorResult() = default; - AWS_LOOKOUTMETRICS_API UpdateAnomalyDetectorResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API UpdateAnomalyDetectorResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The ARN of the updated detector.

- */ - inline const Aws::String& GetAnomalyDetectorArn() const { return m_anomalyDetectorArn; } - template - void SetAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - m_anomalyDetectorArnHasBeenSet = true; - m_anomalyDetectorArn = std::forward(value); - } - template - UpdateAnomalyDetectorResult& WithAnomalyDetectorArn(AnomalyDetectorArnT&& value) { - SetAnomalyDetectorArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UpdateAnomalyDetectorResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_anomalyDetectorArn; - bool m_anomalyDetectorArnHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateMetricSetRequest.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateMetricSetRequest.h deleted file mode 100644 index b71d409313e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateMetricSetRequest.h +++ /dev/null @@ -1,247 +0,0 @@ -/** - * 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 - -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { - -/** - */ -class UpdateMetricSetRequest : public LookoutMetricsRequest { - public: - AWS_LOOKOUTMETRICS_API UpdateMetricSetRequest() = default; - - // 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 "UpdateMetricSet"; } - - AWS_LOOKOUTMETRICS_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The ARN of the dataset to update.

- */ - inline const Aws::String& GetMetricSetArn() const { return m_metricSetArn; } - inline bool MetricSetArnHasBeenSet() const { return m_metricSetArnHasBeenSet; } - template - void SetMetricSetArn(MetricSetArnT&& value) { - m_metricSetArnHasBeenSet = true; - m_metricSetArn = std::forward(value); - } - template - UpdateMetricSetRequest& WithMetricSetArn(MetricSetArnT&& value) { - SetMetricSetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The dataset's description.

- */ - inline const Aws::String& GetMetricSetDescription() const { return m_metricSetDescription; } - inline bool MetricSetDescriptionHasBeenSet() const { return m_metricSetDescriptionHasBeenSet; } - template - void SetMetricSetDescription(MetricSetDescriptionT&& value) { - m_metricSetDescriptionHasBeenSet = true; - m_metricSetDescription = std::forward(value); - } - template - UpdateMetricSetRequest& WithMetricSetDescription(MetricSetDescriptionT&& value) { - SetMetricSetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The metric list.

- */ - inline const Aws::Vector& GetMetricList() const { return m_metricList; } - inline bool MetricListHasBeenSet() const { return m_metricListHasBeenSet; } - template > - void SetMetricList(MetricListT&& value) { - m_metricListHasBeenSet = true; - m_metricList = std::forward(value); - } - template > - UpdateMetricSetRequest& WithMetricList(MetricListT&& value) { - SetMetricList(std::forward(value)); - return *this; - } - template - UpdateMetricSetRequest& AddMetricList(MetricListT&& value) { - m_metricListHasBeenSet = true; - m_metricList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

After an interval ends, the amount of seconds that the detector waits before - * importing data. Offset is only supported for S3, Redshift, Athena and - * datasources.

- */ - inline int GetOffset() const { return m_offset; } - inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; } - inline void SetOffset(int value) { - m_offsetHasBeenSet = true; - m_offset = value; - } - inline UpdateMetricSetRequest& WithOffset(int value) { - SetOffset(value); - return *this; - } - ///@} - - ///@{ - /** - *

The timestamp column.

- */ - inline const TimestampColumn& GetTimestampColumn() const { return m_timestampColumn; } - inline bool TimestampColumnHasBeenSet() const { return m_timestampColumnHasBeenSet; } - template - void SetTimestampColumn(TimestampColumnT&& value) { - m_timestampColumnHasBeenSet = true; - m_timestampColumn = std::forward(value); - } - template - UpdateMetricSetRequest& WithTimestampColumn(TimestampColumnT&& value) { - SetTimestampColumn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The dimension list.

- */ - inline const Aws::Vector& GetDimensionList() const { return m_dimensionList; } - inline bool DimensionListHasBeenSet() const { return m_dimensionListHasBeenSet; } - template > - void SetDimensionList(DimensionListT&& value) { - m_dimensionListHasBeenSet = true; - m_dimensionList = std::forward(value); - } - template > - UpdateMetricSetRequest& WithDimensionList(DimensionListT&& value) { - SetDimensionList(std::forward(value)); - return *this; - } - template - UpdateMetricSetRequest& AddDimensionList(DimensionListT&& value) { - m_dimensionListHasBeenSet = true; - m_dimensionList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The dataset's interval.

- */ - inline Frequency GetMetricSetFrequency() const { return m_metricSetFrequency; } - inline bool MetricSetFrequencyHasBeenSet() const { return m_metricSetFrequencyHasBeenSet; } - inline void SetMetricSetFrequency(Frequency value) { - m_metricSetFrequencyHasBeenSet = true; - m_metricSetFrequency = value; - } - inline UpdateMetricSetRequest& WithMetricSetFrequency(Frequency value) { - SetMetricSetFrequency(value); - return *this; - } - ///@} - - ///@{ - - inline const MetricSource& GetMetricSource() const { return m_metricSource; } - inline bool MetricSourceHasBeenSet() const { return m_metricSourceHasBeenSet; } - template - void SetMetricSource(MetricSourceT&& value) { - m_metricSourceHasBeenSet = true; - m_metricSource = std::forward(value); - } - template - UpdateMetricSetRequest& WithMetricSource(MetricSourceT&& value) { - SetMetricSource(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Describes a list of filters for choosing specific dimensions and specific - * values. Each filter consists of the dimension and one of its values that you - * want to include. When multiple dimensions or values are specified, the - * dimensions are joined with an AND operation and the values are joined with an OR - * operation.

- */ - inline const Aws::Vector& GetDimensionFilterList() const { return m_dimensionFilterList; } - inline bool DimensionFilterListHasBeenSet() const { return m_dimensionFilterListHasBeenSet; } - template > - void SetDimensionFilterList(DimensionFilterListT&& value) { - m_dimensionFilterListHasBeenSet = true; - m_dimensionFilterList = std::forward(value); - } - template > - UpdateMetricSetRequest& WithDimensionFilterList(DimensionFilterListT&& value) { - SetDimensionFilterList(std::forward(value)); - return *this; - } - template - UpdateMetricSetRequest& AddDimensionFilterList(DimensionFilterListT&& value) { - m_dimensionFilterListHasBeenSet = true; - m_dimensionFilterList.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_metricSetArn; - bool m_metricSetArnHasBeenSet = false; - - Aws::String m_metricSetDescription; - bool m_metricSetDescriptionHasBeenSet = false; - - Aws::Vector m_metricList; - bool m_metricListHasBeenSet = false; - - int m_offset{0}; - bool m_offsetHasBeenSet = false; - - TimestampColumn m_timestampColumn; - bool m_timestampColumnHasBeenSet = false; - - Aws::Vector m_dimensionList; - bool m_dimensionListHasBeenSet = false; - - Frequency m_metricSetFrequency{Frequency::NOT_SET}; - bool m_metricSetFrequencyHasBeenSet = false; - - MetricSource m_metricSource; - bool m_metricSourceHasBeenSet = false; - - Aws::Vector m_dimensionFilterList; - bool m_dimensionFilterListHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateMetricSetResult.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateMetricSetResult.h deleted file mode 100644 index 3fbac33a747..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/UpdateMetricSetResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -class UpdateMetricSetResult { - public: - AWS_LOOKOUTMETRICS_API UpdateMetricSetResult() = default; - AWS_LOOKOUTMETRICS_API UpdateMetricSetResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTMETRICS_API UpdateMetricSetResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The ARN of the dataset.

- */ - inline const Aws::String& GetMetricSetArn() const { return m_metricSetArn; } - template - void SetMetricSetArn(MetricSetArnT&& value) { - m_metricSetArnHasBeenSet = true; - m_metricSetArn = std::forward(value); - } - template - UpdateMetricSetResult& WithMetricSetArn(MetricSetArnT&& value) { - SetMetricSetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UpdateMetricSetResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_metricSetArn; - bool m_metricSetArnHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ValidationException.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ValidationException.h deleted file mode 100644 index d7a42916e25..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ValidationException.h +++ /dev/null @@ -1,106 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

The input fails to satisfy the constraints specified by the AWS service. - * Check your input values and try again.

See Also:

AWS - * API Reference

- */ -class ValidationException { - public: - AWS_LOOKOUTMETRICS_API ValidationException() = default; - AWS_LOOKOUTMETRICS_API ValidationException(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API ValidationException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ValidationException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The reason that validation failed.

- */ - inline ValidationExceptionReason GetReason() const { return m_reason; } - inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } - inline void SetReason(ValidationExceptionReason value) { - m_reasonHasBeenSet = true; - m_reason = value; - } - inline ValidationException& WithReason(ValidationExceptionReason value) { - SetReason(value); - return *this; - } - ///@} - - ///@{ - /** - *

Fields that failed validation.

- */ - inline const Aws::Vector& GetFields() const { return m_fields; } - inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; } - template > - void SetFields(FieldsT&& value) { - m_fieldsHasBeenSet = true; - m_fields = std::forward(value); - } - template > - ValidationException& WithFields(FieldsT&& value) { - SetFields(std::forward(value)); - return *this; - } - template - ValidationException& AddFields(FieldsT&& value) { - m_fieldsHasBeenSet = true; - m_fields.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - - ValidationExceptionReason m_reason{ValidationExceptionReason::NOT_SET}; - bool m_reasonHasBeenSet = false; - - Aws::Vector m_fields; - bool m_fieldsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ValidationExceptionField.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ValidationExceptionField.h deleted file mode 100644 index 1155018b3a5..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ValidationExceptionField.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains information about a a field in a validation exception.

See - * Also:

AWS - * API Reference

- */ -class ValidationExceptionField { - public: - AWS_LOOKOUTMETRICS_API ValidationExceptionField() = default; - AWS_LOOKOUTMETRICS_API ValidationExceptionField(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API ValidationExceptionField& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the field.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - ValidationExceptionField& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The message with more information about the validation exception.

- */ - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ValidationExceptionField& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_message; - bool m_messageHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ValidationExceptionReason.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ValidationExceptionReason.h deleted file mode 100644 index 08c815ccccf..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/ValidationExceptionReason.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Model { -enum class ValidationExceptionReason { NOT_SET, UNKNOWN_OPERATION, CANNOT_PARSE, FIELD_VALIDATION_FAILED, OTHER }; - -namespace ValidationExceptionReasonMapper { -AWS_LOOKOUTMETRICS_API ValidationExceptionReason GetValidationExceptionReasonForName(const Aws::String& name); - -AWS_LOOKOUTMETRICS_API Aws::String GetNameForValidationExceptionReason(ValidationExceptionReason value); -} // namespace ValidationExceptionReasonMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/VpcConfiguration.h b/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/VpcConfiguration.h deleted file mode 100644 index 52db892fff3..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/include/aws/lookoutmetrics/model/VpcConfiguration.h +++ /dev/null @@ -1,94 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -/** - *

Contains configuration information about the Amazon Virtual Private Cloud - * (VPC).

See Also:

AWS - * API Reference

- */ -class VpcConfiguration { - public: - AWS_LOOKOUTMETRICS_API VpcConfiguration() = default; - AWS_LOOKOUTMETRICS_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API VpcConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

An array of strings containing the Amazon VPC subnet IDs (e.g., - * subnet-0bb1c79de3EXAMPLE.

- */ - inline const Aws::Vector& GetSubnetIdList() const { return m_subnetIdList; } - inline bool SubnetIdListHasBeenSet() const { return m_subnetIdListHasBeenSet; } - template > - void SetSubnetIdList(SubnetIdListT&& value) { - m_subnetIdListHasBeenSet = true; - m_subnetIdList = std::forward(value); - } - template > - VpcConfiguration& WithSubnetIdList(SubnetIdListT&& value) { - SetSubnetIdList(std::forward(value)); - return *this; - } - template - VpcConfiguration& AddSubnetIdList(SubnetIdListT&& value) { - m_subnetIdListHasBeenSet = true; - m_subnetIdList.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An array of strings containing the list of security groups.

- */ - inline const Aws::Vector& GetSecurityGroupIdList() const { return m_securityGroupIdList; } - inline bool SecurityGroupIdListHasBeenSet() const { return m_securityGroupIdListHasBeenSet; } - template > - void SetSecurityGroupIdList(SecurityGroupIdListT&& value) { - m_securityGroupIdListHasBeenSet = true; - m_securityGroupIdList = std::forward(value); - } - template > - VpcConfiguration& WithSecurityGroupIdList(SecurityGroupIdListT&& value) { - SetSecurityGroupIdList(std::forward(value)); - return *this; - } - template - VpcConfiguration& AddSecurityGroupIdList(SecurityGroupIdListT&& value) { - m_securityGroupIdListHasBeenSet = true; - m_securityGroupIdList.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_subnetIdList; - bool m_subnetIdListHasBeenSet = false; - - Aws::Vector m_securityGroupIdList; - bool m_securityGroupIdListHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsClient.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsClient.cpp deleted file mode 100644 index 9b6b6bf40a7..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsClient.cpp +++ /dev/null @@ -1,1093 +0,0 @@ -/** - * 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 -#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::LookoutMetrics; -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Http; -using namespace Aws::Utils::Json; -using namespace smithy::components::tracing; -using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; - -namespace Aws { -namespace LookoutMetrics { -const char SERVICE_NAME[] = "lookoutmetrics"; -const char ALLOCATION_TAG[] = "LookoutMetricsClient"; -} // namespace LookoutMetrics -} // namespace Aws -const char* LookoutMetricsClient::GetServiceName() { return SERVICE_NAME; } -const char* LookoutMetricsClient::GetAllocationTag() { return ALLOCATION_TAG; } - -LookoutMetricsClient::LookoutMetricsClient(const LookoutMetrics::LookoutMetricsClientConfiguration& clientConfiguration, - std::shared_ptr endpointProvider) - : BASECLASS(clientConfiguration, - Aws::MakeShared( - ALLOCATION_TAG, - Aws::MakeShared(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig), - 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); -} - -LookoutMetricsClient::LookoutMetricsClient(const AWSCredentials& credentials, - std::shared_ptr endpointProvider, - const LookoutMetrics::LookoutMetricsClientConfiguration& 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); -} - -LookoutMetricsClient::LookoutMetricsClient(const std::shared_ptr& credentialsProvider, - std::shared_ptr endpointProvider, - const LookoutMetrics::LookoutMetricsClientConfiguration& 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 */ -LookoutMetricsClient::LookoutMetricsClient(const Client::ClientConfiguration& clientConfiguration) - : BASECLASS(clientConfiguration, - Aws::MakeShared( - ALLOCATION_TAG, - Aws::MakeShared(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig), - SERVICE_NAME, Aws::Region::ComputeSignerRegion(clientConfiguration.region)), - Aws::MakeShared(ALLOCATION_TAG)), - m_clientConfiguration(clientConfiguration), - m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG)) { - init(m_clientConfiguration); -} - -LookoutMetricsClient::LookoutMetricsClient(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); -} - -LookoutMetricsClient::LookoutMetricsClient(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 */ -LookoutMetricsClient::~LookoutMetricsClient() { ShutdownSdkClient(this, -1); } - -std::shared_ptr& LookoutMetricsClient::accessEndpointProvider() { return m_endpointProvider; } - -void LookoutMetricsClient::init(const LookoutMetrics::LookoutMetricsClientConfiguration& config) { - AWSClient::SetServiceClientName("LookoutMetrics"); - 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 LookoutMetricsClient::OverrideEndpoint(const Aws::String& endpoint) { - AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider); - m_clientConfiguration.endpointOverride = endpoint; - m_endpointProvider->OverrideEndpoint(endpoint); -} - -ActivateAnomalyDetectorOutcome LookoutMetricsClient::ActivateAnomalyDetector(const ActivateAnomalyDetectorRequest& request) const { - AWS_OPERATION_GUARD(ActivateAnomalyDetector); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ActivateAnomalyDetector, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ActivateAnomalyDetector, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ActivateAnomalyDetector, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ActivateAnomalyDetector", - {{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( - [&]() -> ActivateAnomalyDetectorOutcome { - 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, ActivateAnomalyDetector, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ActivateAnomalyDetector"); - return ActivateAnomalyDetectorOutcome( - 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()}}); -} - -BackTestAnomalyDetectorOutcome LookoutMetricsClient::BackTestAnomalyDetector(const BackTestAnomalyDetectorRequest& request) const { - AWS_OPERATION_GUARD(BackTestAnomalyDetector); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, BackTestAnomalyDetector, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, BackTestAnomalyDetector, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, BackTestAnomalyDetector, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".BackTestAnomalyDetector", - {{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( - [&]() -> BackTestAnomalyDetectorOutcome { - 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, BackTestAnomalyDetector, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/BackTestAnomalyDetector"); - return BackTestAnomalyDetectorOutcome( - 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()}}); -} - -CreateAlertOutcome LookoutMetricsClient::CreateAlert(const CreateAlertRequest& request) const { - AWS_OPERATION_GUARD(CreateAlert); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateAlert, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateAlert, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateAlert, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateAlert", - {{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( - [&]() -> CreateAlertOutcome { - 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, CreateAlert, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/CreateAlert"); - return CreateAlertOutcome( - 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()}}); -} - -CreateAnomalyDetectorOutcome LookoutMetricsClient::CreateAnomalyDetector(const CreateAnomalyDetectorRequest& request) const { - AWS_OPERATION_GUARD(CreateAnomalyDetector); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateAnomalyDetector, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateAnomalyDetector, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateAnomalyDetector, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateAnomalyDetector", - {{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( - [&]() -> CreateAnomalyDetectorOutcome { - 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, CreateAnomalyDetector, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/CreateAnomalyDetector"); - return CreateAnomalyDetectorOutcome( - 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()}}); -} - -CreateMetricSetOutcome LookoutMetricsClient::CreateMetricSet(const CreateMetricSetRequest& request) const { - AWS_OPERATION_GUARD(CreateMetricSet); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateMetricSet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateMetricSet, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateMetricSet, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateMetricSet", - {{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( - [&]() -> CreateMetricSetOutcome { - 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, CreateMetricSet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/CreateMetricSet"); - return CreateMetricSetOutcome( - 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()}}); -} - -DeactivateAnomalyDetectorOutcome LookoutMetricsClient::DeactivateAnomalyDetector(const DeactivateAnomalyDetectorRequest& request) const { - AWS_OPERATION_GUARD(DeactivateAnomalyDetector); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeactivateAnomalyDetector, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeactivateAnomalyDetector, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeactivateAnomalyDetector, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeactivateAnomalyDetector", - {{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( - [&]() -> DeactivateAnomalyDetectorOutcome { - 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, DeactivateAnomalyDetector, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/DeactivateAnomalyDetector"); - return DeactivateAnomalyDetectorOutcome( - 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()}}); -} - -DeleteAlertOutcome LookoutMetricsClient::DeleteAlert(const DeleteAlertRequest& request) const { - AWS_OPERATION_GUARD(DeleteAlert); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteAlert, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteAlert, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteAlert, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteAlert", - {{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( - [&]() -> DeleteAlertOutcome { - 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, DeleteAlert, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/DeleteAlert"); - return DeleteAlertOutcome( - 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()}}); -} - -DeleteAnomalyDetectorOutcome LookoutMetricsClient::DeleteAnomalyDetector(const DeleteAnomalyDetectorRequest& request) const { - AWS_OPERATION_GUARD(DeleteAnomalyDetector); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteAnomalyDetector, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteAnomalyDetector, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteAnomalyDetector, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteAnomalyDetector", - {{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( - [&]() -> DeleteAnomalyDetectorOutcome { - 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, DeleteAnomalyDetector, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/DeleteAnomalyDetector"); - return DeleteAnomalyDetectorOutcome( - 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()}}); -} - -DescribeAlertOutcome LookoutMetricsClient::DescribeAlert(const DescribeAlertRequest& request) const { - AWS_OPERATION_GUARD(DescribeAlert); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeAlert, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeAlert, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeAlert, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeAlert", - {{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( - [&]() -> DescribeAlertOutcome { - 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, DescribeAlert, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/DescribeAlert"); - return DescribeAlertOutcome( - 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()}}); -} - -DescribeAnomalyDetectionExecutionsOutcome LookoutMetricsClient::DescribeAnomalyDetectionExecutions( - const DescribeAnomalyDetectionExecutionsRequest& request) const { - AWS_OPERATION_GUARD(DescribeAnomalyDetectionExecutions); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeAnomalyDetectionExecutions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeAnomalyDetectionExecutions, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeAnomalyDetectionExecutions, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeAnomalyDetectionExecutions", - {{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( - [&]() -> DescribeAnomalyDetectionExecutionsOutcome { - 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, DescribeAnomalyDetectionExecutions, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/DescribeAnomalyDetectionExecutions"); - return DescribeAnomalyDetectionExecutionsOutcome( - 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()}}); -} - -DescribeAnomalyDetectorOutcome LookoutMetricsClient::DescribeAnomalyDetector(const DescribeAnomalyDetectorRequest& request) const { - AWS_OPERATION_GUARD(DescribeAnomalyDetector); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeAnomalyDetector, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeAnomalyDetector, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeAnomalyDetector, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeAnomalyDetector", - {{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( - [&]() -> DescribeAnomalyDetectorOutcome { - 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, DescribeAnomalyDetector, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/DescribeAnomalyDetector"); - return DescribeAnomalyDetectorOutcome( - 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()}}); -} - -DescribeMetricSetOutcome LookoutMetricsClient::DescribeMetricSet(const DescribeMetricSetRequest& request) const { - AWS_OPERATION_GUARD(DescribeMetricSet); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeMetricSet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeMetricSet, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeMetricSet, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeMetricSet", - {{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( - [&]() -> DescribeMetricSetOutcome { - 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, DescribeMetricSet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/DescribeMetricSet"); - return DescribeMetricSetOutcome( - 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()}}); -} - -DetectMetricSetConfigOutcome LookoutMetricsClient::DetectMetricSetConfig(const DetectMetricSetConfigRequest& request) const { - AWS_OPERATION_GUARD(DetectMetricSetConfig); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DetectMetricSetConfig, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DetectMetricSetConfig, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DetectMetricSetConfig, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DetectMetricSetConfig", - {{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( - [&]() -> DetectMetricSetConfigOutcome { - 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, DetectMetricSetConfig, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/DetectMetricSetConfig"); - return DetectMetricSetConfigOutcome( - 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()}}); -} - -GetAnomalyGroupOutcome LookoutMetricsClient::GetAnomalyGroup(const GetAnomalyGroupRequest& request) const { - AWS_OPERATION_GUARD(GetAnomalyGroup); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetAnomalyGroup, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetAnomalyGroup, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetAnomalyGroup, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetAnomalyGroup", - {{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( - [&]() -> GetAnomalyGroupOutcome { - 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, GetAnomalyGroup, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/GetAnomalyGroup"); - return GetAnomalyGroupOutcome( - 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()}}); -} - -GetDataQualityMetricsOutcome LookoutMetricsClient::GetDataQualityMetrics(const GetDataQualityMetricsRequest& request) const { - AWS_OPERATION_GUARD(GetDataQualityMetrics); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDataQualityMetrics, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDataQualityMetrics, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetDataQualityMetrics, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDataQualityMetrics", - {{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( - [&]() -> GetDataQualityMetricsOutcome { - 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, GetDataQualityMetrics, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/GetDataQualityMetrics"); - return GetDataQualityMetricsOutcome( - 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()}}); -} - -GetFeedbackOutcome LookoutMetricsClient::GetFeedback(const GetFeedbackRequest& request) const { - AWS_OPERATION_GUARD(GetFeedback); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetFeedback, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetFeedback, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetFeedback, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetFeedback", - {{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( - [&]() -> GetFeedbackOutcome { - 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, GetFeedback, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/GetFeedback"); - return GetFeedbackOutcome( - 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()}}); -} - -GetSampleDataOutcome LookoutMetricsClient::GetSampleData(const GetSampleDataRequest& request) const { - AWS_OPERATION_GUARD(GetSampleData); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetSampleData, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetSampleData, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetSampleData, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetSampleData", - {{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( - [&]() -> GetSampleDataOutcome { - 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, GetSampleData, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/GetSampleData"); - return GetSampleDataOutcome( - 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()}}); -} - -ListAlertsOutcome LookoutMetricsClient::ListAlerts(const ListAlertsRequest& request) const { - AWS_OPERATION_GUARD(ListAlerts); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListAlerts, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListAlerts, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListAlerts, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListAlerts", - {{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( - [&]() -> ListAlertsOutcome { - 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, ListAlerts, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ListAlerts"); - return ListAlertsOutcome( - 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()}}); -} - -ListAnomalyDetectorsOutcome LookoutMetricsClient::ListAnomalyDetectors(const ListAnomalyDetectorsRequest& request) const { - AWS_OPERATION_GUARD(ListAnomalyDetectors); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListAnomalyDetectors, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListAnomalyDetectors, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListAnomalyDetectors, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListAnomalyDetectors", - {{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( - [&]() -> ListAnomalyDetectorsOutcome { - 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, ListAnomalyDetectors, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ListAnomalyDetectors"); - return ListAnomalyDetectorsOutcome( - 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()}}); -} - -ListAnomalyGroupRelatedMetricsOutcome LookoutMetricsClient::ListAnomalyGroupRelatedMetrics( - const ListAnomalyGroupRelatedMetricsRequest& request) const { - AWS_OPERATION_GUARD(ListAnomalyGroupRelatedMetrics); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListAnomalyGroupRelatedMetrics, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListAnomalyGroupRelatedMetrics, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListAnomalyGroupRelatedMetrics, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListAnomalyGroupRelatedMetrics", - {{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( - [&]() -> ListAnomalyGroupRelatedMetricsOutcome { - 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, ListAnomalyGroupRelatedMetrics, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ListAnomalyGroupRelatedMetrics"); - return ListAnomalyGroupRelatedMetricsOutcome( - 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()}}); -} - -ListAnomalyGroupSummariesOutcome LookoutMetricsClient::ListAnomalyGroupSummaries(const ListAnomalyGroupSummariesRequest& request) const { - AWS_OPERATION_GUARD(ListAnomalyGroupSummaries); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListAnomalyGroupSummaries, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListAnomalyGroupSummaries, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListAnomalyGroupSummaries, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListAnomalyGroupSummaries", - {{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( - [&]() -> ListAnomalyGroupSummariesOutcome { - 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, ListAnomalyGroupSummaries, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ListAnomalyGroupSummaries"); - return ListAnomalyGroupSummariesOutcome( - 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()}}); -} - -ListAnomalyGroupTimeSeriesOutcome LookoutMetricsClient::ListAnomalyGroupTimeSeries(const ListAnomalyGroupTimeSeriesRequest& request) const { - AWS_OPERATION_GUARD(ListAnomalyGroupTimeSeries); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListAnomalyGroupTimeSeries, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListAnomalyGroupTimeSeries, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListAnomalyGroupTimeSeries, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListAnomalyGroupTimeSeries", - {{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( - [&]() -> ListAnomalyGroupTimeSeriesOutcome { - 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, ListAnomalyGroupTimeSeries, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ListAnomalyGroupTimeSeries"); - return ListAnomalyGroupTimeSeriesOutcome( - 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()}}); -} - -ListMetricSetsOutcome LookoutMetricsClient::ListMetricSets(const ListMetricSetsRequest& request) const { - AWS_OPERATION_GUARD(ListMetricSets); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListMetricSets, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListMetricSets, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListMetricSets, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListMetricSets", - {{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( - [&]() -> ListMetricSetsOutcome { - 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, ListMetricSets, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ListMetricSets"); - return ListMetricSetsOutcome( - 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()}}); -} - -ListTagsForResourceOutcome LookoutMetricsClient::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( - LookoutMetricsErrors::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()}}); -} - -PutFeedbackOutcome LookoutMetricsClient::PutFeedback(const PutFeedbackRequest& request) const { - AWS_OPERATION_GUARD(PutFeedback); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, PutFeedback, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, PutFeedback, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, PutFeedback, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".PutFeedback", - {{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( - [&]() -> PutFeedbackOutcome { - 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, PutFeedback, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/PutFeedback"); - return PutFeedbackOutcome( - 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()}}); -} - -TagResourceOutcome LookoutMetricsClient::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(LookoutMetricsErrors::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 LookoutMetricsClient::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(LookoutMetricsErrors::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(LookoutMetricsErrors::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()}}); -} - -UpdateAlertOutcome LookoutMetricsClient::UpdateAlert(const UpdateAlertRequest& request) const { - AWS_OPERATION_GUARD(UpdateAlert); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateAlert, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateAlert, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateAlert, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateAlert", - {{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( - [&]() -> UpdateAlertOutcome { - 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, UpdateAlert, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/UpdateAlert"); - return UpdateAlertOutcome( - 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()}}); -} - -UpdateAnomalyDetectorOutcome LookoutMetricsClient::UpdateAnomalyDetector(const UpdateAnomalyDetectorRequest& request) const { - AWS_OPERATION_GUARD(UpdateAnomalyDetector); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateAnomalyDetector, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateAnomalyDetector, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateAnomalyDetector, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateAnomalyDetector", - {{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( - [&]() -> UpdateAnomalyDetectorOutcome { - 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, UpdateAnomalyDetector, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/UpdateAnomalyDetector"); - return UpdateAnomalyDetectorOutcome( - 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()}}); -} - -UpdateMetricSetOutcome LookoutMetricsClient::UpdateMetricSet(const UpdateMetricSetRequest& request) const { - AWS_OPERATION_GUARD(UpdateMetricSet); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateMetricSet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateMetricSet, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateMetricSet, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateMetricSet", - {{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( - [&]() -> UpdateMetricSetOutcome { - 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, UpdateMetricSet, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/UpdateMetricSet"); - return UpdateMetricSetOutcome( - 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()}}); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsEndpointProvider.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsEndpointProvider.cpp deleted file mode 100644 index 28c44984286..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsEndpointProvider.cpp +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include - -namespace Aws { -namespace LookoutMetrics { -namespace Endpoint {} // namespace Endpoint -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsEndpointRules.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsEndpointRules.cpp deleted file mode 100644 index e6eed078f25..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsEndpointRules.cpp +++ /dev/null @@ -1,150 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -namespace Aws { -namespace LookoutMetrics { -const size_t LookoutMetricsEndpointRules::RulesBlobStrLen = 3504; -const size_t LookoutMetricsEndpointRules::RulesBlobSize = 3505; - -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', '"', ',', '"', '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', '"', ':', '[', '{', '"', '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', '"', ':', '"', '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', ':', '/', '/', 'l', 'o', 'o', 'k', 'o', 'u', - 't', 'm', 'e', 't', 'r', 'i', 'c', 's', '-', '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', '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', '"', '}', ']', ',', '"', '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', ':', '/', '/', 'l', 'o', 'o', 'k', 'o', 'u', 't', 'm', 'e', 't', 'r', 'i', 'c', 's', '-', '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', ':', '/', '/', 'l', 'o', 'o', 'k', 'o', 'u', - 't', 'm', 'e', 't', 'r', 'i', 'c', 's', '.', '{', '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', ':', '/', '/', 'l', 'o', 'o', 'k', 'o', 'u', - 't', 'm', 'e', 't', 'r', 'i', 'c', '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', '"', '}', ']', ',', '"', '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'}}; - -const char* LookoutMetricsEndpointRules::GetRulesBlob() { return RulesBlob.data(); } - -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsErrorMarshaller.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsErrorMarshaller.cpp deleted file mode 100644 index 71b20198d0e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsErrorMarshaller.cpp +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 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::LookoutMetrics; - -AWSError LookoutMetricsErrorMarshaller::FindErrorByName(const char* errorName) const { - AWSError error = LookoutMetricsErrorMapper::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-lookoutmetrics/source/LookoutMetricsErrors.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsErrors.cpp deleted file mode 100644 index 30590f351e2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsErrors.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/** - * 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::Client; -using namespace Aws::Utils; -using namespace Aws::LookoutMetrics; -using namespace Aws::LookoutMetrics::Model; - -namespace Aws { -namespace LookoutMetrics { -template <> -AWS_LOOKOUTMETRICS_API ConflictException LookoutMetricsError::GetModeledError() { - assert(this->GetErrorType() == LookoutMetricsErrors::CONFLICT); - return ConflictException(this->GetJsonPayload().View()); -} - -template <> -AWS_LOOKOUTMETRICS_API ServiceQuotaExceededException LookoutMetricsError::GetModeledError() { - assert(this->GetErrorType() == LookoutMetricsErrors::SERVICE_QUOTA_EXCEEDED); - return ServiceQuotaExceededException(this->GetJsonPayload().View()); -} - -template <> -AWS_LOOKOUTMETRICS_API ResourceNotFoundException LookoutMetricsError::GetModeledError() { - assert(this->GetErrorType() == LookoutMetricsErrors::RESOURCE_NOT_FOUND); - return ResourceNotFoundException(this->GetJsonPayload().View()); -} - -template <> -AWS_LOOKOUTMETRICS_API ValidationException LookoutMetricsError::GetModeledError() { - assert(this->GetErrorType() == LookoutMetricsErrors::VALIDATION); - return ValidationException(this->GetJsonPayload().View()); -} - -namespace LookoutMetricsErrorMapper { - -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"); -static const int TOO_MANY_REQUESTS_HASH = HashingUtils::HashString("TooManyRequestsException"); - -AWSError GetErrorForName(const char* errorName) { - int hashCode = HashingUtils::HashString(errorName); - - if (hashCode == CONFLICT_HASH) { - return AWSError(static_cast(LookoutMetricsErrors::CONFLICT), RetryableType::NOT_RETRYABLE); - } else if (hashCode == SERVICE_QUOTA_EXCEEDED_HASH) { - return AWSError(static_cast(LookoutMetricsErrors::SERVICE_QUOTA_EXCEEDED), RetryableType::NOT_RETRYABLE); - } else if (hashCode == INTERNAL_SERVER_HASH) { - return AWSError(static_cast(LookoutMetricsErrors::INTERNAL_SERVER), RetryableType::RETRYABLE); - } else if (hashCode == TOO_MANY_REQUESTS_HASH) { - return AWSError(static_cast(LookoutMetricsErrors::TOO_MANY_REQUESTS), RetryableType::RETRYABLE); - } - return AWSError(CoreErrors::UNKNOWN, false); -} - -} // namespace LookoutMetricsErrorMapper -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsRequest.cpp deleted file mode 100644 index ed522a82fe3..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/LookoutMetricsRequest.cpp +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include - -namespace Aws { -namespace LookoutMetrics {} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Action.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Action.cpp deleted file mode 100644 index 05ec4a3c6b9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Action.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -Action::Action(JsonView jsonValue) { *this = jsonValue; } - -Action& Action::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("SNSConfiguration")) { - m_sNSConfiguration = jsonValue.GetObject("SNSConfiguration"); - m_sNSConfigurationHasBeenSet = true; - } - if (jsonValue.ValueExists("LambdaConfiguration")) { - m_lambdaConfiguration = jsonValue.GetObject("LambdaConfiguration"); - m_lambdaConfigurationHasBeenSet = true; - } - return *this; -} - -JsonValue Action::Jsonize() const { - JsonValue payload; - - if (m_sNSConfigurationHasBeenSet) { - payload.WithObject("SNSConfiguration", m_sNSConfiguration.Jsonize()); - } - - if (m_lambdaConfigurationHasBeenSet) { - payload.WithObject("LambdaConfiguration", m_lambdaConfiguration.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ActivateAnomalyDetectorRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ActivateAnomalyDetectorRequest.cpp deleted file mode 100644 index 133f71acee4..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ActivateAnomalyDetectorRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ActivateAnomalyDetectorRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ActivateAnomalyDetectorResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ActivateAnomalyDetectorResult.cpp deleted file mode 100644 index 335e8e53f95..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ActivateAnomalyDetectorResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ActivateAnomalyDetectorResult::ActivateAnomalyDetectorResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ActivateAnomalyDetectorResult& ActivateAnomalyDetectorResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AggregationFunction.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AggregationFunction.cpp deleted file mode 100644 index 2b20d246c84..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AggregationFunction.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace AggregationFunctionMapper { - -static const int AVG_HASH = HashingUtils::HashString("AVG"); -static const int SUM_HASH = HashingUtils::HashString("SUM"); - -AggregationFunction GetAggregationFunctionForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == AVG_HASH) { - return AggregationFunction::AVG; - } else if (hashCode == SUM_HASH) { - return AggregationFunction::SUM; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return AggregationFunction::NOT_SET; -} - -Aws::String GetNameForAggregationFunction(AggregationFunction enumValue) { - switch (enumValue) { - case AggregationFunction::NOT_SET: - return {}; - case AggregationFunction::AVG: - return "AVG"; - case AggregationFunction::SUM: - return "SUM"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace AggregationFunctionMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Alert.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Alert.cpp deleted file mode 100644 index 089f8d8ef8c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Alert.cpp +++ /dev/null @@ -1,120 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -Alert::Alert(JsonView jsonValue) { *this = jsonValue; } - -Alert& Alert::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Action")) { - m_action = jsonValue.GetObject("Action"); - m_actionHasBeenSet = true; - } - if (jsonValue.ValueExists("AlertDescription")) { - m_alertDescription = jsonValue.GetString("AlertDescription"); - m_alertDescriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("AlertArn")) { - m_alertArn = jsonValue.GetString("AlertArn"); - m_alertArnHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyDetectorArn")) { - m_anomalyDetectorArn = jsonValue.GetString("AnomalyDetectorArn"); - m_anomalyDetectorArnHasBeenSet = true; - } - if (jsonValue.ValueExists("AlertName")) { - m_alertName = jsonValue.GetString("AlertName"); - m_alertNameHasBeenSet = true; - } - if (jsonValue.ValueExists("AlertSensitivityThreshold")) { - m_alertSensitivityThreshold = jsonValue.GetInteger("AlertSensitivityThreshold"); - m_alertSensitivityThresholdHasBeenSet = true; - } - if (jsonValue.ValueExists("AlertType")) { - m_alertType = AlertTypeMapper::GetAlertTypeForName(jsonValue.GetString("AlertType")); - m_alertTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("AlertStatus")) { - m_alertStatus = AlertStatusMapper::GetAlertStatusForName(jsonValue.GetString("AlertStatus")); - m_alertStatusHasBeenSet = true; - } - if (jsonValue.ValueExists("LastModificationTime")) { - m_lastModificationTime = jsonValue.GetDouble("LastModificationTime"); - m_lastModificationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationTime")) { - m_creationTime = jsonValue.GetDouble("CreationTime"); - m_creationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("AlertFilters")) { - m_alertFilters = jsonValue.GetObject("AlertFilters"); - m_alertFiltersHasBeenSet = true; - } - return *this; -} - -JsonValue Alert::Jsonize() const { - JsonValue payload; - - if (m_actionHasBeenSet) { - payload.WithObject("Action", m_action.Jsonize()); - } - - if (m_alertDescriptionHasBeenSet) { - payload.WithString("AlertDescription", m_alertDescription); - } - - if (m_alertArnHasBeenSet) { - payload.WithString("AlertArn", m_alertArn); - } - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_alertNameHasBeenSet) { - payload.WithString("AlertName", m_alertName); - } - - if (m_alertSensitivityThresholdHasBeenSet) { - payload.WithInteger("AlertSensitivityThreshold", m_alertSensitivityThreshold); - } - - if (m_alertTypeHasBeenSet) { - payload.WithString("AlertType", AlertTypeMapper::GetNameForAlertType(m_alertType)); - } - - if (m_alertStatusHasBeenSet) { - payload.WithString("AlertStatus", AlertStatusMapper::GetNameForAlertStatus(m_alertStatus)); - } - - if (m_lastModificationTimeHasBeenSet) { - payload.WithDouble("LastModificationTime", m_lastModificationTime.SecondsWithMSPrecision()); - } - - if (m_creationTimeHasBeenSet) { - payload.WithDouble("CreationTime", m_creationTime.SecondsWithMSPrecision()); - } - - if (m_alertFiltersHasBeenSet) { - payload.WithObject("AlertFilters", m_alertFilters.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertFilters.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertFilters.cpp deleted file mode 100644 index 0d27ef7e2ac..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertFilters.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AlertFilters::AlertFilters(JsonView jsonValue) { *this = jsonValue; } - -AlertFilters& AlertFilters::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("MetricList")) { - Aws::Utils::Array metricListJsonList = jsonValue.GetArray("MetricList"); - for (unsigned metricListIndex = 0; metricListIndex < metricListJsonList.GetLength(); ++metricListIndex) { - m_metricList.push_back(metricListJsonList[metricListIndex].AsString()); - } - m_metricListHasBeenSet = true; - } - if (jsonValue.ValueExists("DimensionFilterList")) { - Aws::Utils::Array dimensionFilterListJsonList = jsonValue.GetArray("DimensionFilterList"); - for (unsigned dimensionFilterListIndex = 0; dimensionFilterListIndex < dimensionFilterListJsonList.GetLength(); - ++dimensionFilterListIndex) { - m_dimensionFilterList.push_back(dimensionFilterListJsonList[dimensionFilterListIndex].AsObject()); - } - m_dimensionFilterListHasBeenSet = true; - } - return *this; -} - -JsonValue AlertFilters::Jsonize() const { - JsonValue payload; - - if (m_metricListHasBeenSet) { - Aws::Utils::Array metricListJsonList(m_metricList.size()); - for (unsigned metricListIndex = 0; metricListIndex < metricListJsonList.GetLength(); ++metricListIndex) { - metricListJsonList[metricListIndex].AsString(m_metricList[metricListIndex]); - } - payload.WithArray("MetricList", std::move(metricListJsonList)); - } - - if (m_dimensionFilterListHasBeenSet) { - Aws::Utils::Array dimensionFilterListJsonList(m_dimensionFilterList.size()); - for (unsigned dimensionFilterListIndex = 0; dimensionFilterListIndex < dimensionFilterListJsonList.GetLength(); - ++dimensionFilterListIndex) { - dimensionFilterListJsonList[dimensionFilterListIndex].AsObject(m_dimensionFilterList[dimensionFilterListIndex].Jsonize()); - } - payload.WithArray("DimensionFilterList", std::move(dimensionFilterListJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertStatus.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertStatus.cpp deleted file mode 100644 index adcff2dabb4..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertStatus.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace AlertStatusMapper { - -static const int ACTIVE_HASH = HashingUtils::HashString("ACTIVE"); -static const int INACTIVE_HASH = HashingUtils::HashString("INACTIVE"); - -AlertStatus GetAlertStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == ACTIVE_HASH) { - return AlertStatus::ACTIVE; - } else if (hashCode == INACTIVE_HASH) { - return AlertStatus::INACTIVE; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return AlertStatus::NOT_SET; -} - -Aws::String GetNameForAlertStatus(AlertStatus enumValue) { - switch (enumValue) { - case AlertStatus::NOT_SET: - return {}; - case AlertStatus::ACTIVE: - return "ACTIVE"; - case AlertStatus::INACTIVE: - return "INACTIVE"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace AlertStatusMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertSummary.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertSummary.cpp deleted file mode 100644 index 1971e7117fb..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertSummary.cpp +++ /dev/null @@ -1,111 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AlertSummary::AlertSummary(JsonView jsonValue) { *this = jsonValue; } - -AlertSummary& AlertSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("AlertArn")) { - m_alertArn = jsonValue.GetString("AlertArn"); - m_alertArnHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyDetectorArn")) { - m_anomalyDetectorArn = jsonValue.GetString("AnomalyDetectorArn"); - m_anomalyDetectorArnHasBeenSet = true; - } - if (jsonValue.ValueExists("AlertName")) { - m_alertName = jsonValue.GetString("AlertName"); - m_alertNameHasBeenSet = true; - } - if (jsonValue.ValueExists("AlertSensitivityThreshold")) { - m_alertSensitivityThreshold = jsonValue.GetInteger("AlertSensitivityThreshold"); - m_alertSensitivityThresholdHasBeenSet = true; - } - if (jsonValue.ValueExists("AlertType")) { - m_alertType = AlertTypeMapper::GetAlertTypeForName(jsonValue.GetString("AlertType")); - m_alertTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("AlertStatus")) { - m_alertStatus = AlertStatusMapper::GetAlertStatusForName(jsonValue.GetString("AlertStatus")); - m_alertStatusHasBeenSet = true; - } - if (jsonValue.ValueExists("LastModificationTime")) { - m_lastModificationTime = jsonValue.GetDouble("LastModificationTime"); - m_lastModificationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationTime")) { - m_creationTime = jsonValue.GetDouble("CreationTime"); - m_creationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("Tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("Tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - return *this; -} - -JsonValue AlertSummary::Jsonize() const { - JsonValue payload; - - if (m_alertArnHasBeenSet) { - payload.WithString("AlertArn", m_alertArn); - } - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_alertNameHasBeenSet) { - payload.WithString("AlertName", m_alertName); - } - - if (m_alertSensitivityThresholdHasBeenSet) { - payload.WithInteger("AlertSensitivityThreshold", m_alertSensitivityThreshold); - } - - if (m_alertTypeHasBeenSet) { - payload.WithString("AlertType", AlertTypeMapper::GetNameForAlertType(m_alertType)); - } - - if (m_alertStatusHasBeenSet) { - payload.WithString("AlertStatus", AlertStatusMapper::GetNameForAlertStatus(m_alertStatus)); - } - - if (m_lastModificationTimeHasBeenSet) { - payload.WithDouble("LastModificationTime", m_lastModificationTime.SecondsWithMSPrecision()); - } - - if (m_creationTimeHasBeenSet) { - payload.WithDouble("CreationTime", m_creationTime.SecondsWithMSPrecision()); - } - - if (m_tagsHasBeenSet) { - JsonValue tagsJsonMap; - for (auto& tagsItem : m_tags) { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("Tags", std::move(tagsJsonMap)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertType.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertType.cpp deleted file mode 100644 index 73bc4d14894..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AlertType.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace AlertTypeMapper { - -static const int SNS_HASH = HashingUtils::HashString("SNS"); -static const int LAMBDA_HASH = HashingUtils::HashString("LAMBDA"); - -AlertType GetAlertTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == SNS_HASH) { - return AlertType::SNS; - } else if (hashCode == LAMBDA_HASH) { - return AlertType::LAMBDA; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return AlertType::NOT_SET; -} - -Aws::String GetNameForAlertType(AlertType enumValue) { - switch (enumValue) { - case AlertType::NOT_SET: - return {}; - case AlertType::SNS: - return "SNS"; - case AlertType::LAMBDA: - return "LAMBDA"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace AlertTypeMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectionTaskStatus.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectionTaskStatus.cpp deleted file mode 100644 index 80b3539642d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectionTaskStatus.cpp +++ /dev/null @@ -1,73 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace AnomalyDetectionTaskStatusMapper { - -static const int PENDING_HASH = HashingUtils::HashString("PENDING"); -static const int IN_PROGRESS_HASH = HashingUtils::HashString("IN_PROGRESS"); -static const int COMPLETED_HASH = HashingUtils::HashString("COMPLETED"); -static const int FAILED_HASH = HashingUtils::HashString("FAILED"); -static const int FAILED_TO_SCHEDULE_HASH = HashingUtils::HashString("FAILED_TO_SCHEDULE"); - -AnomalyDetectionTaskStatus GetAnomalyDetectionTaskStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == PENDING_HASH) { - return AnomalyDetectionTaskStatus::PENDING; - } else if (hashCode == IN_PROGRESS_HASH) { - return AnomalyDetectionTaskStatus::IN_PROGRESS; - } else if (hashCode == COMPLETED_HASH) { - return AnomalyDetectionTaskStatus::COMPLETED; - } else if (hashCode == FAILED_HASH) { - return AnomalyDetectionTaskStatus::FAILED; - } else if (hashCode == FAILED_TO_SCHEDULE_HASH) { - return AnomalyDetectionTaskStatus::FAILED_TO_SCHEDULE; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return AnomalyDetectionTaskStatus::NOT_SET; -} - -Aws::String GetNameForAnomalyDetectionTaskStatus(AnomalyDetectionTaskStatus enumValue) { - switch (enumValue) { - case AnomalyDetectionTaskStatus::NOT_SET: - return {}; - case AnomalyDetectionTaskStatus::PENDING: - return "PENDING"; - case AnomalyDetectionTaskStatus::IN_PROGRESS: - return "IN_PROGRESS"; - case AnomalyDetectionTaskStatus::COMPLETED: - return "COMPLETED"; - case AnomalyDetectionTaskStatus::FAILED: - return "FAILED"; - case AnomalyDetectionTaskStatus::FAILED_TO_SCHEDULE: - return "FAILED_TO_SCHEDULE"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace AnomalyDetectionTaskStatusMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorConfig.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorConfig.cpp deleted file mode 100644 index 603b6dc5e35..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorConfig.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AnomalyDetectorConfig::AnomalyDetectorConfig(JsonView jsonValue) { *this = jsonValue; } - -AnomalyDetectorConfig& AnomalyDetectorConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("AnomalyDetectorFrequency")) { - m_anomalyDetectorFrequency = FrequencyMapper::GetFrequencyForName(jsonValue.GetString("AnomalyDetectorFrequency")); - m_anomalyDetectorFrequencyHasBeenSet = true; - } - return *this; -} - -JsonValue AnomalyDetectorConfig::Jsonize() const { - JsonValue payload; - - if (m_anomalyDetectorFrequencyHasBeenSet) { - payload.WithString("AnomalyDetectorFrequency", FrequencyMapper::GetNameForFrequency(m_anomalyDetectorFrequency)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorConfigSummary.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorConfigSummary.cpp deleted file mode 100644 index 988328dfaa4..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorConfigSummary.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AnomalyDetectorConfigSummary::AnomalyDetectorConfigSummary(JsonView jsonValue) { *this = jsonValue; } - -AnomalyDetectorConfigSummary& AnomalyDetectorConfigSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("AnomalyDetectorFrequency")) { - m_anomalyDetectorFrequency = FrequencyMapper::GetFrequencyForName(jsonValue.GetString("AnomalyDetectorFrequency")); - m_anomalyDetectorFrequencyHasBeenSet = true; - } - return *this; -} - -JsonValue AnomalyDetectorConfigSummary::Jsonize() const { - JsonValue payload; - - if (m_anomalyDetectorFrequencyHasBeenSet) { - payload.WithString("AnomalyDetectorFrequency", FrequencyMapper::GetNameForFrequency(m_anomalyDetectorFrequency)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorDataQualityMetric.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorDataQualityMetric.cpp deleted file mode 100644 index acdd703668f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorDataQualityMetric.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AnomalyDetectorDataQualityMetric::AnomalyDetectorDataQualityMetric(JsonView jsonValue) { *this = jsonValue; } - -AnomalyDetectorDataQualityMetric& AnomalyDetectorDataQualityMetric::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("StartTimestamp")) { - m_startTimestamp = jsonValue.GetDouble("StartTimestamp"); - m_startTimestampHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricSetDataQualityMetricList")) { - Aws::Utils::Array metricSetDataQualityMetricListJsonList = jsonValue.GetArray("MetricSetDataQualityMetricList"); - for (unsigned metricSetDataQualityMetricListIndex = 0; - metricSetDataQualityMetricListIndex < metricSetDataQualityMetricListJsonList.GetLength(); ++metricSetDataQualityMetricListIndex) { - m_metricSetDataQualityMetricList.push_back(metricSetDataQualityMetricListJsonList[metricSetDataQualityMetricListIndex].AsObject()); - } - m_metricSetDataQualityMetricListHasBeenSet = true; - } - return *this; -} - -JsonValue AnomalyDetectorDataQualityMetric::Jsonize() const { - JsonValue payload; - - if (m_startTimestampHasBeenSet) { - payload.WithDouble("StartTimestamp", m_startTimestamp.SecondsWithMSPrecision()); - } - - if (m_metricSetDataQualityMetricListHasBeenSet) { - Aws::Utils::Array metricSetDataQualityMetricListJsonList(m_metricSetDataQualityMetricList.size()); - for (unsigned metricSetDataQualityMetricListIndex = 0; - metricSetDataQualityMetricListIndex < metricSetDataQualityMetricListJsonList.GetLength(); ++metricSetDataQualityMetricListIndex) { - metricSetDataQualityMetricListJsonList[metricSetDataQualityMetricListIndex].AsObject( - m_metricSetDataQualityMetricList[metricSetDataQualityMetricListIndex].Jsonize()); - } - payload.WithArray("MetricSetDataQualityMetricList", std::move(metricSetDataQualityMetricListJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorFailureType.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorFailureType.cpp deleted file mode 100644 index a8a855b0d40..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorFailureType.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace AnomalyDetectorFailureTypeMapper { - -static const int ACTIVATION_FAILURE_HASH = HashingUtils::HashString("ACTIVATION_FAILURE"); -static const int BACK_TEST_ACTIVATION_FAILURE_HASH = HashingUtils::HashString("BACK_TEST_ACTIVATION_FAILURE"); -static const int DELETION_FAILURE_HASH = HashingUtils::HashString("DELETION_FAILURE"); -static const int DEACTIVATION_FAILURE_HASH = HashingUtils::HashString("DEACTIVATION_FAILURE"); - -AnomalyDetectorFailureType GetAnomalyDetectorFailureTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == ACTIVATION_FAILURE_HASH) { - return AnomalyDetectorFailureType::ACTIVATION_FAILURE; - } else if (hashCode == BACK_TEST_ACTIVATION_FAILURE_HASH) { - return AnomalyDetectorFailureType::BACK_TEST_ACTIVATION_FAILURE; - } else if (hashCode == DELETION_FAILURE_HASH) { - return AnomalyDetectorFailureType::DELETION_FAILURE; - } else if (hashCode == DEACTIVATION_FAILURE_HASH) { - return AnomalyDetectorFailureType::DEACTIVATION_FAILURE; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return AnomalyDetectorFailureType::NOT_SET; -} - -Aws::String GetNameForAnomalyDetectorFailureType(AnomalyDetectorFailureType enumValue) { - switch (enumValue) { - case AnomalyDetectorFailureType::NOT_SET: - return {}; - case AnomalyDetectorFailureType::ACTIVATION_FAILURE: - return "ACTIVATION_FAILURE"; - case AnomalyDetectorFailureType::BACK_TEST_ACTIVATION_FAILURE: - return "BACK_TEST_ACTIVATION_FAILURE"; - case AnomalyDetectorFailureType::DELETION_FAILURE: - return "DELETION_FAILURE"; - case AnomalyDetectorFailureType::DEACTIVATION_FAILURE: - return "DEACTIVATION_FAILURE"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace AnomalyDetectorFailureTypeMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorStatus.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorStatus.cpp deleted file mode 100644 index 5415e95b0c6..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorStatus.cpp +++ /dev/null @@ -1,103 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace AnomalyDetectorStatusMapper { - -static const int ACTIVE_HASH = HashingUtils::HashString("ACTIVE"); -static const int ACTIVATING_HASH = HashingUtils::HashString("ACTIVATING"); -static const int DELETING_HASH = HashingUtils::HashString("DELETING"); -static const int FAILED_HASH = HashingUtils::HashString("FAILED"); -static const int INACTIVE_HASH = HashingUtils::HashString("INACTIVE"); -static const int LEARNING_HASH = HashingUtils::HashString("LEARNING"); -static const int BACK_TEST_ACTIVATING_HASH = HashingUtils::HashString("BACK_TEST_ACTIVATING"); -static const int BACK_TEST_ACTIVE_HASH = HashingUtils::HashString("BACK_TEST_ACTIVE"); -static const int BACK_TEST_COMPLETE_HASH = HashingUtils::HashString("BACK_TEST_COMPLETE"); -static const int DEACTIVATED_HASH = HashingUtils::HashString("DEACTIVATED"); -static const int DEACTIVATING_HASH = HashingUtils::HashString("DEACTIVATING"); - -AnomalyDetectorStatus GetAnomalyDetectorStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == ACTIVE_HASH) { - return AnomalyDetectorStatus::ACTIVE; - } else if (hashCode == ACTIVATING_HASH) { - return AnomalyDetectorStatus::ACTIVATING; - } else if (hashCode == DELETING_HASH) { - return AnomalyDetectorStatus::DELETING; - } else if (hashCode == FAILED_HASH) { - return AnomalyDetectorStatus::FAILED; - } else if (hashCode == INACTIVE_HASH) { - return AnomalyDetectorStatus::INACTIVE; - } else if (hashCode == LEARNING_HASH) { - return AnomalyDetectorStatus::LEARNING; - } else if (hashCode == BACK_TEST_ACTIVATING_HASH) { - return AnomalyDetectorStatus::BACK_TEST_ACTIVATING; - } else if (hashCode == BACK_TEST_ACTIVE_HASH) { - return AnomalyDetectorStatus::BACK_TEST_ACTIVE; - } else if (hashCode == BACK_TEST_COMPLETE_HASH) { - return AnomalyDetectorStatus::BACK_TEST_COMPLETE; - } else if (hashCode == DEACTIVATED_HASH) { - return AnomalyDetectorStatus::DEACTIVATED; - } else if (hashCode == DEACTIVATING_HASH) { - return AnomalyDetectorStatus::DEACTIVATING; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return AnomalyDetectorStatus::NOT_SET; -} - -Aws::String GetNameForAnomalyDetectorStatus(AnomalyDetectorStatus enumValue) { - switch (enumValue) { - case AnomalyDetectorStatus::NOT_SET: - return {}; - case AnomalyDetectorStatus::ACTIVE: - return "ACTIVE"; - case AnomalyDetectorStatus::ACTIVATING: - return "ACTIVATING"; - case AnomalyDetectorStatus::DELETING: - return "DELETING"; - case AnomalyDetectorStatus::FAILED: - return "FAILED"; - case AnomalyDetectorStatus::INACTIVE: - return "INACTIVE"; - case AnomalyDetectorStatus::LEARNING: - return "LEARNING"; - case AnomalyDetectorStatus::BACK_TEST_ACTIVATING: - return "BACK_TEST_ACTIVATING"; - case AnomalyDetectorStatus::BACK_TEST_ACTIVE: - return "BACK_TEST_ACTIVE"; - case AnomalyDetectorStatus::BACK_TEST_COMPLETE: - return "BACK_TEST_COMPLETE"; - case AnomalyDetectorStatus::DEACTIVATED: - return "DEACTIVATED"; - case AnomalyDetectorStatus::DEACTIVATING: - return "DEACTIVATING"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace AnomalyDetectorStatusMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorSummary.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorSummary.cpp deleted file mode 100644 index bd2a9fc42ba..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyDetectorSummary.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AnomalyDetectorSummary::AnomalyDetectorSummary(JsonView jsonValue) { *this = jsonValue; } - -AnomalyDetectorSummary& AnomalyDetectorSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("AnomalyDetectorArn")) { - m_anomalyDetectorArn = jsonValue.GetString("AnomalyDetectorArn"); - m_anomalyDetectorArnHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyDetectorName")) { - m_anomalyDetectorName = jsonValue.GetString("AnomalyDetectorName"); - m_anomalyDetectorNameHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyDetectorDescription")) { - m_anomalyDetectorDescription = jsonValue.GetString("AnomalyDetectorDescription"); - m_anomalyDetectorDescriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationTime")) { - m_creationTime = jsonValue.GetDouble("CreationTime"); - m_creationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("LastModificationTime")) { - m_lastModificationTime = jsonValue.GetDouble("LastModificationTime"); - m_lastModificationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("Status")) { - m_status = AnomalyDetectorStatusMapper::GetAnomalyDetectorStatusForName(jsonValue.GetString("Status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("Tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("Tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - return *this; -} - -JsonValue AnomalyDetectorSummary::Jsonize() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_anomalyDetectorNameHasBeenSet) { - payload.WithString("AnomalyDetectorName", m_anomalyDetectorName); - } - - if (m_anomalyDetectorDescriptionHasBeenSet) { - payload.WithString("AnomalyDetectorDescription", m_anomalyDetectorDescription); - } - - if (m_creationTimeHasBeenSet) { - payload.WithDouble("CreationTime", m_creationTime.SecondsWithMSPrecision()); - } - - if (m_lastModificationTimeHasBeenSet) { - payload.WithDouble("LastModificationTime", m_lastModificationTime.SecondsWithMSPrecision()); - } - - if (m_statusHasBeenSet) { - payload.WithString("Status", AnomalyDetectorStatusMapper::GetNameForAnomalyDetectorStatus(m_status)); - } - - if (m_tagsHasBeenSet) { - JsonValue tagsJsonMap; - for (auto& tagsItem : m_tags) { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("Tags", std::move(tagsJsonMap)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroup.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroup.cpp deleted file mode 100644 index d7a41115864..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroup.cpp +++ /dev/null @@ -1,89 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AnomalyGroup::AnomalyGroup(JsonView jsonValue) { *this = jsonValue; } - -AnomalyGroup& AnomalyGroup::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("StartTime")) { - m_startTime = jsonValue.GetString("StartTime"); - m_startTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("EndTime")) { - m_endTime = jsonValue.GetString("EndTime"); - m_endTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyGroupId")) { - m_anomalyGroupId = jsonValue.GetString("AnomalyGroupId"); - m_anomalyGroupIdHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyGroupScore")) { - m_anomalyGroupScore = jsonValue.GetDouble("AnomalyGroupScore"); - m_anomalyGroupScoreHasBeenSet = true; - } - if (jsonValue.ValueExists("PrimaryMetricName")) { - m_primaryMetricName = jsonValue.GetString("PrimaryMetricName"); - m_primaryMetricNameHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricLevelImpactList")) { - Aws::Utils::Array metricLevelImpactListJsonList = jsonValue.GetArray("MetricLevelImpactList"); - for (unsigned metricLevelImpactListIndex = 0; metricLevelImpactListIndex < metricLevelImpactListJsonList.GetLength(); - ++metricLevelImpactListIndex) { - m_metricLevelImpactList.push_back(metricLevelImpactListJsonList[metricLevelImpactListIndex].AsObject()); - } - m_metricLevelImpactListHasBeenSet = true; - } - return *this; -} - -JsonValue AnomalyGroup::Jsonize() const { - JsonValue payload; - - if (m_startTimeHasBeenSet) { - payload.WithString("StartTime", m_startTime); - } - - if (m_endTimeHasBeenSet) { - payload.WithString("EndTime", m_endTime); - } - - if (m_anomalyGroupIdHasBeenSet) { - payload.WithString("AnomalyGroupId", m_anomalyGroupId); - } - - if (m_anomalyGroupScoreHasBeenSet) { - payload.WithDouble("AnomalyGroupScore", m_anomalyGroupScore); - } - - if (m_primaryMetricNameHasBeenSet) { - payload.WithString("PrimaryMetricName", m_primaryMetricName); - } - - if (m_metricLevelImpactListHasBeenSet) { - Aws::Utils::Array metricLevelImpactListJsonList(m_metricLevelImpactList.size()); - for (unsigned metricLevelImpactListIndex = 0; metricLevelImpactListIndex < metricLevelImpactListJsonList.GetLength(); - ++metricLevelImpactListIndex) { - metricLevelImpactListJsonList[metricLevelImpactListIndex].AsObject(m_metricLevelImpactList[metricLevelImpactListIndex].Jsonize()); - } - payload.WithArray("MetricLevelImpactList", std::move(metricLevelImpactListJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupStatistics.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupStatistics.cpp deleted file mode 100644 index d096b6effd8..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupStatistics.cpp +++ /dev/null @@ -1,66 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AnomalyGroupStatistics::AnomalyGroupStatistics(JsonView jsonValue) { *this = jsonValue; } - -AnomalyGroupStatistics& AnomalyGroupStatistics::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("EvaluationStartDate")) { - m_evaluationStartDate = jsonValue.GetString("EvaluationStartDate"); - m_evaluationStartDateHasBeenSet = true; - } - if (jsonValue.ValueExists("TotalCount")) { - m_totalCount = jsonValue.GetInteger("TotalCount"); - m_totalCountHasBeenSet = true; - } - if (jsonValue.ValueExists("ItemizedMetricStatsList")) { - Aws::Utils::Array itemizedMetricStatsListJsonList = jsonValue.GetArray("ItemizedMetricStatsList"); - for (unsigned itemizedMetricStatsListIndex = 0; itemizedMetricStatsListIndex < itemizedMetricStatsListJsonList.GetLength(); - ++itemizedMetricStatsListIndex) { - m_itemizedMetricStatsList.push_back(itemizedMetricStatsListJsonList[itemizedMetricStatsListIndex].AsObject()); - } - m_itemizedMetricStatsListHasBeenSet = true; - } - return *this; -} - -JsonValue AnomalyGroupStatistics::Jsonize() const { - JsonValue payload; - - if (m_evaluationStartDateHasBeenSet) { - payload.WithString("EvaluationStartDate", m_evaluationStartDate); - } - - if (m_totalCountHasBeenSet) { - payload.WithInteger("TotalCount", m_totalCount); - } - - if (m_itemizedMetricStatsListHasBeenSet) { - Aws::Utils::Array itemizedMetricStatsListJsonList(m_itemizedMetricStatsList.size()); - for (unsigned itemizedMetricStatsListIndex = 0; itemizedMetricStatsListIndex < itemizedMetricStatsListJsonList.GetLength(); - ++itemizedMetricStatsListIndex) { - itemizedMetricStatsListJsonList[itemizedMetricStatsListIndex].AsObject( - m_itemizedMetricStatsList[itemizedMetricStatsListIndex].Jsonize()); - } - payload.WithArray("ItemizedMetricStatsList", std::move(itemizedMetricStatsListJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupSummary.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupSummary.cpp deleted file mode 100644 index b17f5da0cd3..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupSummary.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AnomalyGroupSummary::AnomalyGroupSummary(JsonView jsonValue) { *this = jsonValue; } - -AnomalyGroupSummary& AnomalyGroupSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("StartTime")) { - m_startTime = jsonValue.GetString("StartTime"); - m_startTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("EndTime")) { - m_endTime = jsonValue.GetString("EndTime"); - m_endTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyGroupId")) { - m_anomalyGroupId = jsonValue.GetString("AnomalyGroupId"); - m_anomalyGroupIdHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyGroupScore")) { - m_anomalyGroupScore = jsonValue.GetDouble("AnomalyGroupScore"); - m_anomalyGroupScoreHasBeenSet = true; - } - if (jsonValue.ValueExists("PrimaryMetricName")) { - m_primaryMetricName = jsonValue.GetString("PrimaryMetricName"); - m_primaryMetricNameHasBeenSet = true; - } - return *this; -} - -JsonValue AnomalyGroupSummary::Jsonize() const { - JsonValue payload; - - if (m_startTimeHasBeenSet) { - payload.WithString("StartTime", m_startTime); - } - - if (m_endTimeHasBeenSet) { - payload.WithString("EndTime", m_endTime); - } - - if (m_anomalyGroupIdHasBeenSet) { - payload.WithString("AnomalyGroupId", m_anomalyGroupId); - } - - if (m_anomalyGroupScoreHasBeenSet) { - payload.WithDouble("AnomalyGroupScore", m_anomalyGroupScore); - } - - if (m_primaryMetricNameHasBeenSet) { - payload.WithString("PrimaryMetricName", m_primaryMetricName); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupTimeSeries.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupTimeSeries.cpp deleted file mode 100644 index 3bc1ec543e9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupTimeSeries.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AnomalyGroupTimeSeries::AnomalyGroupTimeSeries(JsonView jsonValue) { *this = jsonValue; } - -AnomalyGroupTimeSeries& AnomalyGroupTimeSeries::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("AnomalyGroupId")) { - m_anomalyGroupId = jsonValue.GetString("AnomalyGroupId"); - m_anomalyGroupIdHasBeenSet = true; - } - if (jsonValue.ValueExists("TimeSeriesId")) { - m_timeSeriesId = jsonValue.GetString("TimeSeriesId"); - m_timeSeriesIdHasBeenSet = true; - } - return *this; -} - -JsonValue AnomalyGroupTimeSeries::Jsonize() const { - JsonValue payload; - - if (m_anomalyGroupIdHasBeenSet) { - payload.WithString("AnomalyGroupId", m_anomalyGroupId); - } - - if (m_timeSeriesIdHasBeenSet) { - payload.WithString("TimeSeriesId", m_timeSeriesId); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupTimeSeriesFeedback.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupTimeSeriesFeedback.cpp deleted file mode 100644 index eeac9696a10..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AnomalyGroupTimeSeriesFeedback.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AnomalyGroupTimeSeriesFeedback::AnomalyGroupTimeSeriesFeedback(JsonView jsonValue) { *this = jsonValue; } - -AnomalyGroupTimeSeriesFeedback& AnomalyGroupTimeSeriesFeedback::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("AnomalyGroupId")) { - m_anomalyGroupId = jsonValue.GetString("AnomalyGroupId"); - m_anomalyGroupIdHasBeenSet = true; - } - if (jsonValue.ValueExists("TimeSeriesId")) { - m_timeSeriesId = jsonValue.GetString("TimeSeriesId"); - m_timeSeriesIdHasBeenSet = true; - } - if (jsonValue.ValueExists("IsAnomaly")) { - m_isAnomaly = jsonValue.GetBool("IsAnomaly"); - m_isAnomalyHasBeenSet = true; - } - return *this; -} - -JsonValue AnomalyGroupTimeSeriesFeedback::Jsonize() const { - JsonValue payload; - - if (m_anomalyGroupIdHasBeenSet) { - payload.WithString("AnomalyGroupId", m_anomalyGroupId); - } - - if (m_timeSeriesIdHasBeenSet) { - payload.WithString("TimeSeriesId", m_timeSeriesId); - } - - if (m_isAnomalyHasBeenSet) { - payload.WithBool("IsAnomaly", m_isAnomaly); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AppFlowConfig.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AppFlowConfig.cpp deleted file mode 100644 index e10cb93f32b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AppFlowConfig.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AppFlowConfig::AppFlowConfig(JsonView jsonValue) { *this = jsonValue; } - -AppFlowConfig& AppFlowConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("RoleArn")) { - m_roleArn = jsonValue.GetString("RoleArn"); - m_roleArnHasBeenSet = true; - } - if (jsonValue.ValueExists("FlowName")) { - m_flowName = jsonValue.GetString("FlowName"); - m_flowNameHasBeenSet = true; - } - return *this; -} - -JsonValue AppFlowConfig::Jsonize() const { - JsonValue payload; - - if (m_roleArnHasBeenSet) { - payload.WithString("RoleArn", m_roleArn); - } - - if (m_flowNameHasBeenSet) { - payload.WithString("FlowName", m_flowName); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AthenaSourceConfig.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AthenaSourceConfig.cpp deleted file mode 100644 index 872a079c070..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AthenaSourceConfig.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AthenaSourceConfig::AthenaSourceConfig(JsonView jsonValue) { *this = jsonValue; } - -AthenaSourceConfig& AthenaSourceConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("RoleArn")) { - m_roleArn = jsonValue.GetString("RoleArn"); - m_roleArnHasBeenSet = true; - } - if (jsonValue.ValueExists("DatabaseName")) { - m_databaseName = jsonValue.GetString("DatabaseName"); - m_databaseNameHasBeenSet = true; - } - if (jsonValue.ValueExists("DataCatalog")) { - m_dataCatalog = jsonValue.GetString("DataCatalog"); - m_dataCatalogHasBeenSet = true; - } - if (jsonValue.ValueExists("TableName")) { - m_tableName = jsonValue.GetString("TableName"); - m_tableNameHasBeenSet = true; - } - if (jsonValue.ValueExists("WorkGroupName")) { - m_workGroupName = jsonValue.GetString("WorkGroupName"); - m_workGroupNameHasBeenSet = true; - } - if (jsonValue.ValueExists("S3ResultsPath")) { - m_s3ResultsPath = jsonValue.GetString("S3ResultsPath"); - m_s3ResultsPathHasBeenSet = true; - } - if (jsonValue.ValueExists("BackTestConfiguration")) { - m_backTestConfiguration = jsonValue.GetObject("BackTestConfiguration"); - m_backTestConfigurationHasBeenSet = true; - } - return *this; -} - -JsonValue AthenaSourceConfig::Jsonize() const { - JsonValue payload; - - if (m_roleArnHasBeenSet) { - payload.WithString("RoleArn", m_roleArn); - } - - if (m_databaseNameHasBeenSet) { - payload.WithString("DatabaseName", m_databaseName); - } - - if (m_dataCatalogHasBeenSet) { - payload.WithString("DataCatalog", m_dataCatalog); - } - - if (m_tableNameHasBeenSet) { - payload.WithString("TableName", m_tableName); - } - - if (m_workGroupNameHasBeenSet) { - payload.WithString("WorkGroupName", m_workGroupName); - } - - if (m_s3ResultsPathHasBeenSet) { - payload.WithString("S3ResultsPath", m_s3ResultsPath); - } - - if (m_backTestConfigurationHasBeenSet) { - payload.WithObject("BackTestConfiguration", m_backTestConfiguration.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AttributeValue.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AttributeValue.cpp deleted file mode 100644 index 613a17a5b21..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AttributeValue.cpp +++ /dev/null @@ -1,101 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AttributeValue::AttributeValue(JsonView jsonValue) { *this = jsonValue; } - -AttributeValue& AttributeValue::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("S")) { - m_s = jsonValue.GetString("S"); - m_sHasBeenSet = true; - } - if (jsonValue.ValueExists("N")) { - m_n = jsonValue.GetString("N"); - m_nHasBeenSet = true; - } - if (jsonValue.ValueExists("B")) { - m_b = jsonValue.GetString("B"); - m_bHasBeenSet = true; - } - if (jsonValue.ValueExists("SS")) { - Aws::Utils::Array sSJsonList = jsonValue.GetArray("SS"); - for (unsigned sSIndex = 0; sSIndex < sSJsonList.GetLength(); ++sSIndex) { - m_sS.push_back(sSJsonList[sSIndex].AsString()); - } - m_sSHasBeenSet = true; - } - if (jsonValue.ValueExists("NS")) { - Aws::Utils::Array nSJsonList = jsonValue.GetArray("NS"); - for (unsigned nSIndex = 0; nSIndex < nSJsonList.GetLength(); ++nSIndex) { - m_nS.push_back(nSJsonList[nSIndex].AsString()); - } - m_nSHasBeenSet = true; - } - if (jsonValue.ValueExists("BS")) { - Aws::Utils::Array bSJsonList = jsonValue.GetArray("BS"); - for (unsigned bSIndex = 0; bSIndex < bSJsonList.GetLength(); ++bSIndex) { - m_bS.push_back(bSJsonList[bSIndex].AsString()); - } - m_bSHasBeenSet = true; - } - return *this; -} - -JsonValue AttributeValue::Jsonize() const { - JsonValue payload; - - if (m_sHasBeenSet) { - payload.WithString("S", m_s); - } - - if (m_nHasBeenSet) { - payload.WithString("N", m_n); - } - - if (m_bHasBeenSet) { - payload.WithString("B", m_b); - } - - if (m_sSHasBeenSet) { - Aws::Utils::Array sSJsonList(m_sS.size()); - for (unsigned sSIndex = 0; sSIndex < sSJsonList.GetLength(); ++sSIndex) { - sSJsonList[sSIndex].AsString(m_sS[sSIndex]); - } - payload.WithArray("SS", std::move(sSJsonList)); - } - - if (m_nSHasBeenSet) { - Aws::Utils::Array nSJsonList(m_nS.size()); - for (unsigned nSIndex = 0; nSIndex < nSJsonList.GetLength(); ++nSIndex) { - nSJsonList[nSIndex].AsString(m_nS[nSIndex]); - } - payload.WithArray("NS", std::move(nSJsonList)); - } - - if (m_bSHasBeenSet) { - Aws::Utils::Array bSJsonList(m_bS.size()); - for (unsigned bSIndex = 0; bSIndex < bSJsonList.GetLength(); ++bSIndex) { - bSJsonList[bSIndex].AsString(m_bS[bSIndex]); - } - payload.WithArray("BS", std::move(bSJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AutoDetectionMetricSource.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AutoDetectionMetricSource.cpp deleted file mode 100644 index 329595c01a3..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AutoDetectionMetricSource.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AutoDetectionMetricSource::AutoDetectionMetricSource(JsonView jsonValue) { *this = jsonValue; } - -AutoDetectionMetricSource& AutoDetectionMetricSource::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("S3SourceConfig")) { - m_s3SourceConfig = jsonValue.GetObject("S3SourceConfig"); - m_s3SourceConfigHasBeenSet = true; - } - return *this; -} - -JsonValue AutoDetectionMetricSource::Jsonize() const { - JsonValue payload; - - if (m_s3SourceConfigHasBeenSet) { - payload.WithObject("S3SourceConfig", m_s3SourceConfig.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AutoDetectionS3SourceConfig.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AutoDetectionS3SourceConfig.cpp deleted file mode 100644 index ea3e3e60a91..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/AutoDetectionS3SourceConfig.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -AutoDetectionS3SourceConfig::AutoDetectionS3SourceConfig(JsonView jsonValue) { *this = jsonValue; } - -AutoDetectionS3SourceConfig& AutoDetectionS3SourceConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("TemplatedPathList")) { - Aws::Utils::Array templatedPathListJsonList = jsonValue.GetArray("TemplatedPathList"); - for (unsigned templatedPathListIndex = 0; templatedPathListIndex < templatedPathListJsonList.GetLength(); ++templatedPathListIndex) { - m_templatedPathList.push_back(templatedPathListJsonList[templatedPathListIndex].AsString()); - } - m_templatedPathListHasBeenSet = true; - } - if (jsonValue.ValueExists("HistoricalDataPathList")) { - Aws::Utils::Array historicalDataPathListJsonList = jsonValue.GetArray("HistoricalDataPathList"); - for (unsigned historicalDataPathListIndex = 0; historicalDataPathListIndex < historicalDataPathListJsonList.GetLength(); - ++historicalDataPathListIndex) { - m_historicalDataPathList.push_back(historicalDataPathListJsonList[historicalDataPathListIndex].AsString()); - } - m_historicalDataPathListHasBeenSet = true; - } - return *this; -} - -JsonValue AutoDetectionS3SourceConfig::Jsonize() const { - JsonValue payload; - - if (m_templatedPathListHasBeenSet) { - Aws::Utils::Array templatedPathListJsonList(m_templatedPathList.size()); - for (unsigned templatedPathListIndex = 0; templatedPathListIndex < templatedPathListJsonList.GetLength(); ++templatedPathListIndex) { - templatedPathListJsonList[templatedPathListIndex].AsString(m_templatedPathList[templatedPathListIndex]); - } - payload.WithArray("TemplatedPathList", std::move(templatedPathListJsonList)); - } - - if (m_historicalDataPathListHasBeenSet) { - Aws::Utils::Array historicalDataPathListJsonList(m_historicalDataPathList.size()); - for (unsigned historicalDataPathListIndex = 0; historicalDataPathListIndex < historicalDataPathListJsonList.GetLength(); - ++historicalDataPathListIndex) { - historicalDataPathListJsonList[historicalDataPathListIndex].AsString(m_historicalDataPathList[historicalDataPathListIndex]); - } - payload.WithArray("HistoricalDataPathList", std::move(historicalDataPathListJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/BackTestAnomalyDetectorRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/BackTestAnomalyDetectorRequest.cpp deleted file mode 100644 index 3254137ad3e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/BackTestAnomalyDetectorRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String BackTestAnomalyDetectorRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/BackTestAnomalyDetectorResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/BackTestAnomalyDetectorResult.cpp deleted file mode 100644 index c1f7ba576a0..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/BackTestAnomalyDetectorResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -BackTestAnomalyDetectorResult::BackTestAnomalyDetectorResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -BackTestAnomalyDetectorResult& BackTestAnomalyDetectorResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/BackTestConfiguration.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/BackTestConfiguration.cpp deleted file mode 100644 index 2596a77ab90..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/BackTestConfiguration.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -BackTestConfiguration::BackTestConfiguration(JsonView jsonValue) { *this = jsonValue; } - -BackTestConfiguration& BackTestConfiguration::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("RunBackTestMode")) { - m_runBackTestMode = jsonValue.GetBool("RunBackTestMode"); - m_runBackTestModeHasBeenSet = true; - } - return *this; -} - -JsonValue BackTestConfiguration::Jsonize() const { - JsonValue payload; - - if (m_runBackTestModeHasBeenSet) { - payload.WithBool("RunBackTestMode", m_runBackTestMode); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CSVFileCompression.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CSVFileCompression.cpp deleted file mode 100644 index c68ed5f3d5d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CSVFileCompression.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace CSVFileCompressionMapper { - -static const int NONE_HASH = HashingUtils::HashString("NONE"); -static const int GZIP_HASH = HashingUtils::HashString("GZIP"); - -CSVFileCompression GetCSVFileCompressionForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == NONE_HASH) { - return CSVFileCompression::NONE; - } else if (hashCode == GZIP_HASH) { - return CSVFileCompression::GZIP; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return CSVFileCompression::NOT_SET; -} - -Aws::String GetNameForCSVFileCompression(CSVFileCompression enumValue) { - switch (enumValue) { - case CSVFileCompression::NOT_SET: - return {}; - case CSVFileCompression::NONE: - return "NONE"; - case CSVFileCompression::GZIP: - return "GZIP"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace CSVFileCompressionMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CloudWatchConfig.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CloudWatchConfig.cpp deleted file mode 100644 index 77536d5adfa..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CloudWatchConfig.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -CloudWatchConfig::CloudWatchConfig(JsonView jsonValue) { *this = jsonValue; } - -CloudWatchConfig& CloudWatchConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("RoleArn")) { - m_roleArn = jsonValue.GetString("RoleArn"); - m_roleArnHasBeenSet = true; - } - if (jsonValue.ValueExists("BackTestConfiguration")) { - m_backTestConfiguration = jsonValue.GetObject("BackTestConfiguration"); - m_backTestConfigurationHasBeenSet = true; - } - return *this; -} - -JsonValue CloudWatchConfig::Jsonize() const { - JsonValue payload; - - if (m_roleArnHasBeenSet) { - payload.WithString("RoleArn", m_roleArn); - } - - if (m_backTestConfigurationHasBeenSet) { - payload.WithObject("BackTestConfiguration", m_backTestConfiguration.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Confidence.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Confidence.cpp deleted file mode 100644 index c8fd0b6fd0c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Confidence.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace ConfidenceMapper { - -static const int HIGH_HASH = HashingUtils::HashString("HIGH"); -static const int LOW_HASH = HashingUtils::HashString("LOW"); -static const int NONE_HASH = HashingUtils::HashString("NONE"); - -Confidence GetConfidenceForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == HIGH_HASH) { - return Confidence::HIGH; - } else if (hashCode == LOW_HASH) { - return Confidence::LOW; - } else if (hashCode == NONE_HASH) { - return Confidence::NONE; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return Confidence::NOT_SET; -} - -Aws::String GetNameForConfidence(Confidence enumValue) { - switch (enumValue) { - case Confidence::NOT_SET: - return {}; - case Confidence::HIGH: - return "HIGH"; - case Confidence::LOW: - return "LOW"; - case Confidence::NONE: - return "NONE"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ConfidenceMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ConflictException.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ConflictException.cpp deleted file mode 100644 index c44a288cbf2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ConflictException.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -ConflictException::ConflictException(JsonView jsonValue) { *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 LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ContributionMatrix.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ContributionMatrix.cpp deleted file mode 100644 index a5f26cc19bb..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ContributionMatrix.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -ContributionMatrix::ContributionMatrix(JsonView jsonValue) { *this = jsonValue; } - -ContributionMatrix& ContributionMatrix::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("DimensionContributionList")) { - Aws::Utils::Array dimensionContributionListJsonList = jsonValue.GetArray("DimensionContributionList"); - for (unsigned dimensionContributionListIndex = 0; dimensionContributionListIndex < dimensionContributionListJsonList.GetLength(); - ++dimensionContributionListIndex) { - m_dimensionContributionList.push_back(dimensionContributionListJsonList[dimensionContributionListIndex].AsObject()); - } - m_dimensionContributionListHasBeenSet = true; - } - return *this; -} - -JsonValue ContributionMatrix::Jsonize() const { - JsonValue payload; - - if (m_dimensionContributionListHasBeenSet) { - Aws::Utils::Array dimensionContributionListJsonList(m_dimensionContributionList.size()); - for (unsigned dimensionContributionListIndex = 0; dimensionContributionListIndex < dimensionContributionListJsonList.GetLength(); - ++dimensionContributionListIndex) { - dimensionContributionListJsonList[dimensionContributionListIndex].AsObject( - m_dimensionContributionList[dimensionContributionListIndex].Jsonize()); - } - payload.WithArray("DimensionContributionList", std::move(dimensionContributionListJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAlertRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAlertRequest.cpp deleted file mode 100644 index 78039d1cc29..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAlertRequest.cpp +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateAlertRequest::SerializePayload() const { - JsonValue payload; - - if (m_alertNameHasBeenSet) { - payload.WithString("AlertName", m_alertName); - } - - if (m_alertSensitivityThresholdHasBeenSet) { - payload.WithInteger("AlertSensitivityThreshold", m_alertSensitivityThreshold); - } - - if (m_alertDescriptionHasBeenSet) { - payload.WithString("AlertDescription", m_alertDescription); - } - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_actionHasBeenSet) { - payload.WithObject("Action", m_action.Jsonize()); - } - - if (m_tagsHasBeenSet) { - JsonValue tagsJsonMap; - for (auto& tagsItem : m_tags) { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("Tags", std::move(tagsJsonMap)); - } - - if (m_alertFiltersHasBeenSet) { - payload.WithObject("AlertFilters", m_alertFilters.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAlertResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAlertResult.cpp deleted file mode 100644 index cd7c712a743..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAlertResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateAlertResult::CreateAlertResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateAlertResult& CreateAlertResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("AlertArn")) { - m_alertArn = jsonValue.GetString("AlertArn"); - m_alertArnHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAnomalyDetectorRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAnomalyDetectorRequest.cpp deleted file mode 100644 index 7544f7cedea..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAnomalyDetectorRequest.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateAnomalyDetectorRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorNameHasBeenSet) { - payload.WithString("AnomalyDetectorName", m_anomalyDetectorName); - } - - if (m_anomalyDetectorDescriptionHasBeenSet) { - payload.WithString("AnomalyDetectorDescription", m_anomalyDetectorDescription); - } - - if (m_anomalyDetectorConfigHasBeenSet) { - payload.WithObject("AnomalyDetectorConfig", m_anomalyDetectorConfig.Jsonize()); - } - - if (m_kmsKeyArnHasBeenSet) { - payload.WithString("KmsKeyArn", m_kmsKeyArn); - } - - 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-lookoutmetrics/source/model/CreateAnomalyDetectorResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAnomalyDetectorResult.cpp deleted file mode 100644 index c73ae58c79f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateAnomalyDetectorResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateAnomalyDetectorResult::CreateAnomalyDetectorResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateAnomalyDetectorResult& CreateAnomalyDetectorResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("AnomalyDetectorArn")) { - m_anomalyDetectorArn = jsonValue.GetString("AnomalyDetectorArn"); - m_anomalyDetectorArnHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateMetricSetRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateMetricSetRequest.cpp deleted file mode 100644 index b1dccccda91..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateMetricSetRequest.cpp +++ /dev/null @@ -1,84 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateMetricSetRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_metricSetNameHasBeenSet) { - payload.WithString("MetricSetName", m_metricSetName); - } - - if (m_metricSetDescriptionHasBeenSet) { - payload.WithString("MetricSetDescription", m_metricSetDescription); - } - - if (m_metricListHasBeenSet) { - Aws::Utils::Array metricListJsonList(m_metricList.size()); - for (unsigned metricListIndex = 0; metricListIndex < metricListJsonList.GetLength(); ++metricListIndex) { - metricListJsonList[metricListIndex].AsObject(m_metricList[metricListIndex].Jsonize()); - } - payload.WithArray("MetricList", std::move(metricListJsonList)); - } - - if (m_offsetHasBeenSet) { - payload.WithInteger("Offset", m_offset); - } - - if (m_timestampColumnHasBeenSet) { - payload.WithObject("TimestampColumn", m_timestampColumn.Jsonize()); - } - - if (m_dimensionListHasBeenSet) { - Aws::Utils::Array dimensionListJsonList(m_dimensionList.size()); - for (unsigned dimensionListIndex = 0; dimensionListIndex < dimensionListJsonList.GetLength(); ++dimensionListIndex) { - dimensionListJsonList[dimensionListIndex].AsString(m_dimensionList[dimensionListIndex]); - } - payload.WithArray("DimensionList", std::move(dimensionListJsonList)); - } - - if (m_metricSetFrequencyHasBeenSet) { - payload.WithString("MetricSetFrequency", FrequencyMapper::GetNameForFrequency(m_metricSetFrequency)); - } - - if (m_metricSourceHasBeenSet) { - payload.WithObject("MetricSource", m_metricSource.Jsonize()); - } - - if (m_timezoneHasBeenSet) { - payload.WithString("Timezone", m_timezone); - } - - if (m_tagsHasBeenSet) { - JsonValue tagsJsonMap; - for (auto& tagsItem : m_tags) { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("Tags", std::move(tagsJsonMap)); - } - - if (m_dimensionFilterListHasBeenSet) { - Aws::Utils::Array dimensionFilterListJsonList(m_dimensionFilterList.size()); - for (unsigned dimensionFilterListIndex = 0; dimensionFilterListIndex < dimensionFilterListJsonList.GetLength(); - ++dimensionFilterListIndex) { - dimensionFilterListJsonList[dimensionFilterListIndex].AsObject(m_dimensionFilterList[dimensionFilterListIndex].Jsonize()); - } - payload.WithArray("DimensionFilterList", std::move(dimensionFilterListJsonList)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateMetricSetResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateMetricSetResult.cpp deleted file mode 100644 index 0a94a723254..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CreateMetricSetResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateMetricSetResult::CreateMetricSetResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateMetricSetResult& CreateMetricSetResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("MetricSetArn")) { - m_metricSetArn = jsonValue.GetString("MetricSetArn"); - m_metricSetArnHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CsvFormatDescriptor.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CsvFormatDescriptor.cpp deleted file mode 100644 index 57265a9a170..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/CsvFormatDescriptor.cpp +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -CsvFormatDescriptor::CsvFormatDescriptor(JsonView jsonValue) { *this = jsonValue; } - -CsvFormatDescriptor& CsvFormatDescriptor::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("FileCompression")) { - m_fileCompression = CSVFileCompressionMapper::GetCSVFileCompressionForName(jsonValue.GetString("FileCompression")); - m_fileCompressionHasBeenSet = true; - } - if (jsonValue.ValueExists("Charset")) { - m_charset = jsonValue.GetString("Charset"); - m_charsetHasBeenSet = true; - } - if (jsonValue.ValueExists("ContainsHeader")) { - m_containsHeader = jsonValue.GetBool("ContainsHeader"); - m_containsHeaderHasBeenSet = true; - } - if (jsonValue.ValueExists("Delimiter")) { - m_delimiter = jsonValue.GetString("Delimiter"); - m_delimiterHasBeenSet = true; - } - if (jsonValue.ValueExists("HeaderList")) { - Aws::Utils::Array headerListJsonList = jsonValue.GetArray("HeaderList"); - for (unsigned headerListIndex = 0; headerListIndex < headerListJsonList.GetLength(); ++headerListIndex) { - m_headerList.push_back(headerListJsonList[headerListIndex].AsString()); - } - m_headerListHasBeenSet = true; - } - if (jsonValue.ValueExists("QuoteSymbol")) { - m_quoteSymbol = jsonValue.GetString("QuoteSymbol"); - m_quoteSymbolHasBeenSet = true; - } - return *this; -} - -JsonValue CsvFormatDescriptor::Jsonize() const { - JsonValue payload; - - if (m_fileCompressionHasBeenSet) { - payload.WithString("FileCompression", CSVFileCompressionMapper::GetNameForCSVFileCompression(m_fileCompression)); - } - - if (m_charsetHasBeenSet) { - payload.WithString("Charset", m_charset); - } - - if (m_containsHeaderHasBeenSet) { - payload.WithBool("ContainsHeader", m_containsHeader); - } - - if (m_delimiterHasBeenSet) { - payload.WithString("Delimiter", m_delimiter); - } - - if (m_headerListHasBeenSet) { - Aws::Utils::Array headerListJsonList(m_headerList.size()); - for (unsigned headerListIndex = 0; headerListIndex < headerListJsonList.GetLength(); ++headerListIndex) { - headerListJsonList[headerListIndex].AsString(m_headerList[headerListIndex]); - } - payload.WithArray("HeaderList", std::move(headerListJsonList)); - } - - if (m_quoteSymbolHasBeenSet) { - payload.WithString("QuoteSymbol", m_quoteSymbol); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DataQualityMetric.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DataQualityMetric.cpp deleted file mode 100644 index 28ebb92d63f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DataQualityMetric.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -DataQualityMetric::DataQualityMetric(JsonView jsonValue) { *this = jsonValue; } - -DataQualityMetric& DataQualityMetric::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("MetricType")) { - m_metricType = DataQualityMetricTypeMapper::GetDataQualityMetricTypeForName(jsonValue.GetString("MetricType")); - m_metricTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricDescription")) { - m_metricDescription = jsonValue.GetString("MetricDescription"); - m_metricDescriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("RelatedColumnName")) { - m_relatedColumnName = jsonValue.GetString("RelatedColumnName"); - m_relatedColumnNameHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricValue")) { - m_metricValue = jsonValue.GetDouble("MetricValue"); - m_metricValueHasBeenSet = true; - } - return *this; -} - -JsonValue DataQualityMetric::Jsonize() const { - JsonValue payload; - - if (m_metricTypeHasBeenSet) { - payload.WithString("MetricType", DataQualityMetricTypeMapper::GetNameForDataQualityMetricType(m_metricType)); - } - - if (m_metricDescriptionHasBeenSet) { - payload.WithString("MetricDescription", m_metricDescription); - } - - if (m_relatedColumnNameHasBeenSet) { - payload.WithString("RelatedColumnName", m_relatedColumnName); - } - - if (m_metricValueHasBeenSet) { - payload.WithDouble("MetricValue", m_metricValue); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DataQualityMetricType.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DataQualityMetricType.cpp deleted file mode 100644 index 99fefb4fcda..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DataQualityMetricType.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace DataQualityMetricTypeMapper { - -static const int COLUMN_COMPLETENESS_HASH = HashingUtils::HashString("COLUMN_COMPLETENESS"); -static const int DIMENSION_UNIQUENESS_HASH = HashingUtils::HashString("DIMENSION_UNIQUENESS"); -static const int TIME_SERIES_COUNT_HASH = HashingUtils::HashString("TIME_SERIES_COUNT"); -static const int ROWS_PROCESSED_HASH = HashingUtils::HashString("ROWS_PROCESSED"); -static const int ROWS_PARTIAL_COMPLIANCE_HASH = HashingUtils::HashString("ROWS_PARTIAL_COMPLIANCE"); -static const int INVALID_ROWS_COMPLIANCE_HASH = HashingUtils::HashString("INVALID_ROWS_COMPLIANCE"); -static const int BACKTEST_TRAINING_DATA_START_TIME_STAMP_HASH = HashingUtils::HashString("BACKTEST_TRAINING_DATA_START_TIME_STAMP"); -static const int BACKTEST_TRAINING_DATA_END_TIME_STAMP_HASH = HashingUtils::HashString("BACKTEST_TRAINING_DATA_END_TIME_STAMP"); -static const int BACKTEST_INFERENCE_DATA_START_TIME_STAMP_HASH = HashingUtils::HashString("BACKTEST_INFERENCE_DATA_START_TIME_STAMP"); -static const int BACKTEST_INFERENCE_DATA_END_TIME_STAMP_HASH = HashingUtils::HashString("BACKTEST_INFERENCE_DATA_END_TIME_STAMP"); - -DataQualityMetricType GetDataQualityMetricTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == COLUMN_COMPLETENESS_HASH) { - return DataQualityMetricType::COLUMN_COMPLETENESS; - } else if (hashCode == DIMENSION_UNIQUENESS_HASH) { - return DataQualityMetricType::DIMENSION_UNIQUENESS; - } else if (hashCode == TIME_SERIES_COUNT_HASH) { - return DataQualityMetricType::TIME_SERIES_COUNT; - } else if (hashCode == ROWS_PROCESSED_HASH) { - return DataQualityMetricType::ROWS_PROCESSED; - } else if (hashCode == ROWS_PARTIAL_COMPLIANCE_HASH) { - return DataQualityMetricType::ROWS_PARTIAL_COMPLIANCE; - } else if (hashCode == INVALID_ROWS_COMPLIANCE_HASH) { - return DataQualityMetricType::INVALID_ROWS_COMPLIANCE; - } else if (hashCode == BACKTEST_TRAINING_DATA_START_TIME_STAMP_HASH) { - return DataQualityMetricType::BACKTEST_TRAINING_DATA_START_TIME_STAMP; - } else if (hashCode == BACKTEST_TRAINING_DATA_END_TIME_STAMP_HASH) { - return DataQualityMetricType::BACKTEST_TRAINING_DATA_END_TIME_STAMP; - } else if (hashCode == BACKTEST_INFERENCE_DATA_START_TIME_STAMP_HASH) { - return DataQualityMetricType::BACKTEST_INFERENCE_DATA_START_TIME_STAMP; - } else if (hashCode == BACKTEST_INFERENCE_DATA_END_TIME_STAMP_HASH) { - return DataQualityMetricType::BACKTEST_INFERENCE_DATA_END_TIME_STAMP; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return DataQualityMetricType::NOT_SET; -} - -Aws::String GetNameForDataQualityMetricType(DataQualityMetricType enumValue) { - switch (enumValue) { - case DataQualityMetricType::NOT_SET: - return {}; - case DataQualityMetricType::COLUMN_COMPLETENESS: - return "COLUMN_COMPLETENESS"; - case DataQualityMetricType::DIMENSION_UNIQUENESS: - return "DIMENSION_UNIQUENESS"; - case DataQualityMetricType::TIME_SERIES_COUNT: - return "TIME_SERIES_COUNT"; - case DataQualityMetricType::ROWS_PROCESSED: - return "ROWS_PROCESSED"; - case DataQualityMetricType::ROWS_PARTIAL_COMPLIANCE: - return "ROWS_PARTIAL_COMPLIANCE"; - case DataQualityMetricType::INVALID_ROWS_COMPLIANCE: - return "INVALID_ROWS_COMPLIANCE"; - case DataQualityMetricType::BACKTEST_TRAINING_DATA_START_TIME_STAMP: - return "BACKTEST_TRAINING_DATA_START_TIME_STAMP"; - case DataQualityMetricType::BACKTEST_TRAINING_DATA_END_TIME_STAMP: - return "BACKTEST_TRAINING_DATA_END_TIME_STAMP"; - case DataQualityMetricType::BACKTEST_INFERENCE_DATA_START_TIME_STAMP: - return "BACKTEST_INFERENCE_DATA_START_TIME_STAMP"; - case DataQualityMetricType::BACKTEST_INFERENCE_DATA_END_TIME_STAMP: - return "BACKTEST_INFERENCE_DATA_END_TIME_STAMP"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace DataQualityMetricTypeMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeactivateAnomalyDetectorRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeactivateAnomalyDetectorRequest.cpp deleted file mode 100644 index 7e376da92d0..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeactivateAnomalyDetectorRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DeactivateAnomalyDetectorRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeactivateAnomalyDetectorResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeactivateAnomalyDetectorResult.cpp deleted file mode 100644 index db3f757a193..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeactivateAnomalyDetectorResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DeactivateAnomalyDetectorResult::DeactivateAnomalyDetectorResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DeactivateAnomalyDetectorResult& DeactivateAnomalyDetectorResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAlertRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAlertRequest.cpp deleted file mode 100644 index 408591b5bc1..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAlertRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DeleteAlertRequest::SerializePayload() const { - JsonValue payload; - - if (m_alertArnHasBeenSet) { - payload.WithString("AlertArn", m_alertArn); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAlertResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAlertResult.cpp deleted file mode 100644 index 987791bd4db..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAlertResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DeleteAlertResult::DeleteAlertResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DeleteAlertResult& DeleteAlertResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAnomalyDetectorRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAnomalyDetectorRequest.cpp deleted file mode 100644 index c6008aea9a7..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAnomalyDetectorRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DeleteAnomalyDetectorRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAnomalyDetectorResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAnomalyDetectorResult.cpp deleted file mode 100644 index 7dfd473aebf..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DeleteAnomalyDetectorResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DeleteAnomalyDetectorResult::DeleteAnomalyDetectorResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DeleteAnomalyDetectorResult& DeleteAnomalyDetectorResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAlertRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAlertRequest.cpp deleted file mode 100644 index 4fea5ceb188..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAlertRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeAlertRequest::SerializePayload() const { - JsonValue payload; - - if (m_alertArnHasBeenSet) { - payload.WithString("AlertArn", m_alertArn); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAlertResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAlertResult.cpp deleted file mode 100644 index d653f1373eb..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAlertResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeAlertResult::DescribeAlertResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeAlertResult& DescribeAlertResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Alert")) { - m_alert = jsonValue.GetObject("Alert"); - m_alertHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectionExecutionsRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectionExecutionsRequest.cpp deleted file mode 100644 index 7b9357e8b75..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectionExecutionsRequest.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeAnomalyDetectionExecutionsRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_timestampHasBeenSet) { - payload.WithString("Timestamp", m_timestamp); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); - } - - if (m_nextTokenHasBeenSet) { - payload.WithString("NextToken", m_nextToken); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectionExecutionsResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectionExecutionsResult.cpp deleted file mode 100644 index 2bd05154507..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectionExecutionsResult.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeAnomalyDetectionExecutionsResult::DescribeAnomalyDetectionExecutionsResult(const Aws::AmazonWebServiceResult& result) { - *this = result; -} - -DescribeAnomalyDetectionExecutionsResult& DescribeAnomalyDetectionExecutionsResult::operator=( - const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("ExecutionList")) { - Aws::Utils::Array executionListJsonList = jsonValue.GetArray("ExecutionList"); - for (unsigned executionListIndex = 0; executionListIndex < executionListJsonList.GetLength(); ++executionListIndex) { - m_executionList.push_back(executionListJsonList[executionListIndex].AsObject()); - } - m_executionListHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectorRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectorRequest.cpp deleted file mode 100644 index b17929f0f3c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectorRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeAnomalyDetectorRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectorResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectorResult.cpp deleted file mode 100644 index 81fd4670e1a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeAnomalyDetectorResult.cpp +++ /dev/null @@ -1,73 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeAnomalyDetectorResult::DescribeAnomalyDetectorResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeAnomalyDetectorResult& DescribeAnomalyDetectorResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("AnomalyDetectorArn")) { - m_anomalyDetectorArn = jsonValue.GetString("AnomalyDetectorArn"); - m_anomalyDetectorArnHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyDetectorName")) { - m_anomalyDetectorName = jsonValue.GetString("AnomalyDetectorName"); - m_anomalyDetectorNameHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyDetectorDescription")) { - m_anomalyDetectorDescription = jsonValue.GetString("AnomalyDetectorDescription"); - m_anomalyDetectorDescriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyDetectorConfig")) { - m_anomalyDetectorConfig = jsonValue.GetObject("AnomalyDetectorConfig"); - m_anomalyDetectorConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationTime")) { - m_creationTime = jsonValue.GetDouble("CreationTime"); - m_creationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("LastModificationTime")) { - m_lastModificationTime = jsonValue.GetDouble("LastModificationTime"); - m_lastModificationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("Status")) { - m_status = AnomalyDetectorStatusMapper::GetAnomalyDetectorStatusForName(jsonValue.GetString("Status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("FailureReason")) { - m_failureReason = jsonValue.GetString("FailureReason"); - m_failureReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("KmsKeyArn")) { - m_kmsKeyArn = jsonValue.GetString("KmsKeyArn"); - m_kmsKeyArnHasBeenSet = true; - } - if (jsonValue.ValueExists("FailureType")) { - m_failureType = AnomalyDetectorFailureTypeMapper::GetAnomalyDetectorFailureTypeForName(jsonValue.GetString("FailureType")); - m_failureTypeHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeMetricSetRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeMetricSetRequest.cpp deleted file mode 100644 index 6716552ca76..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeMetricSetRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeMetricSetRequest::SerializePayload() const { - JsonValue payload; - - if (m_metricSetArnHasBeenSet) { - payload.WithString("MetricSetArn", m_metricSetArn); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeMetricSetResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeMetricSetResult.cpp deleted file mode 100644 index 638aa4af13e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DescribeMetricSetResult.cpp +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeMetricSetResult::DescribeMetricSetResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeMetricSetResult& DescribeMetricSetResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("MetricSetArn")) { - m_metricSetArn = jsonValue.GetString("MetricSetArn"); - m_metricSetArnHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyDetectorArn")) { - m_anomalyDetectorArn = jsonValue.GetString("AnomalyDetectorArn"); - m_anomalyDetectorArnHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricSetName")) { - m_metricSetName = jsonValue.GetString("MetricSetName"); - m_metricSetNameHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricSetDescription")) { - m_metricSetDescription = jsonValue.GetString("MetricSetDescription"); - m_metricSetDescriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationTime")) { - m_creationTime = jsonValue.GetDouble("CreationTime"); - m_creationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("LastModificationTime")) { - m_lastModificationTime = jsonValue.GetDouble("LastModificationTime"); - m_lastModificationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("Offset")) { - m_offset = jsonValue.GetInteger("Offset"); - m_offsetHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricList")) { - Aws::Utils::Array metricListJsonList = jsonValue.GetArray("MetricList"); - for (unsigned metricListIndex = 0; metricListIndex < metricListJsonList.GetLength(); ++metricListIndex) { - m_metricList.push_back(metricListJsonList[metricListIndex].AsObject()); - } - m_metricListHasBeenSet = true; - } - if (jsonValue.ValueExists("TimestampColumn")) { - m_timestampColumn = jsonValue.GetObject("TimestampColumn"); - m_timestampColumnHasBeenSet = true; - } - if (jsonValue.ValueExists("DimensionList")) { - Aws::Utils::Array dimensionListJsonList = jsonValue.GetArray("DimensionList"); - for (unsigned dimensionListIndex = 0; dimensionListIndex < dimensionListJsonList.GetLength(); ++dimensionListIndex) { - m_dimensionList.push_back(dimensionListJsonList[dimensionListIndex].AsString()); - } - m_dimensionListHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricSetFrequency")) { - m_metricSetFrequency = FrequencyMapper::GetFrequencyForName(jsonValue.GetString("MetricSetFrequency")); - m_metricSetFrequencyHasBeenSet = true; - } - if (jsonValue.ValueExists("Timezone")) { - m_timezone = jsonValue.GetString("Timezone"); - m_timezoneHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricSource")) { - m_metricSource = jsonValue.GetObject("MetricSource"); - m_metricSourceHasBeenSet = true; - } - if (jsonValue.ValueExists("DimensionFilterList")) { - Aws::Utils::Array dimensionFilterListJsonList = jsonValue.GetArray("DimensionFilterList"); - for (unsigned dimensionFilterListIndex = 0; dimensionFilterListIndex < dimensionFilterListJsonList.GetLength(); - ++dimensionFilterListIndex) { - m_dimensionFilterList.push_back(dimensionFilterListJsonList[dimensionFilterListIndex].AsObject()); - } - m_dimensionFilterListHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectMetricSetConfigRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectMetricSetConfigRequest.cpp deleted file mode 100644 index 09eaf5c380f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectMetricSetConfigRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DetectMetricSetConfigRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_autoDetectionMetricSourceHasBeenSet) { - payload.WithObject("AutoDetectionMetricSource", m_autoDetectionMetricSource.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectMetricSetConfigResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectMetricSetConfigResult.cpp deleted file mode 100644 index 6658de642f9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectMetricSetConfigResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DetectMetricSetConfigResult::DetectMetricSetConfigResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DetectMetricSetConfigResult& DetectMetricSetConfigResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("DetectedMetricSetConfig")) { - m_detectedMetricSetConfig = jsonValue.GetObject("DetectedMetricSetConfig"); - m_detectedMetricSetConfigHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedCsvFormatDescriptor.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedCsvFormatDescriptor.cpp deleted file mode 100644 index cced120da72..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedCsvFormatDescriptor.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -DetectedCsvFormatDescriptor::DetectedCsvFormatDescriptor(JsonView jsonValue) { *this = jsonValue; } - -DetectedCsvFormatDescriptor& DetectedCsvFormatDescriptor::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("FileCompression")) { - m_fileCompression = jsonValue.GetObject("FileCompression"); - m_fileCompressionHasBeenSet = true; - } - if (jsonValue.ValueExists("Charset")) { - m_charset = jsonValue.GetObject("Charset"); - m_charsetHasBeenSet = true; - } - if (jsonValue.ValueExists("ContainsHeader")) { - m_containsHeader = jsonValue.GetObject("ContainsHeader"); - m_containsHeaderHasBeenSet = true; - } - if (jsonValue.ValueExists("Delimiter")) { - m_delimiter = jsonValue.GetObject("Delimiter"); - m_delimiterHasBeenSet = true; - } - if (jsonValue.ValueExists("HeaderList")) { - m_headerList = jsonValue.GetObject("HeaderList"); - m_headerListHasBeenSet = true; - } - if (jsonValue.ValueExists("QuoteSymbol")) { - m_quoteSymbol = jsonValue.GetObject("QuoteSymbol"); - m_quoteSymbolHasBeenSet = true; - } - return *this; -} - -JsonValue DetectedCsvFormatDescriptor::Jsonize() const { - JsonValue payload; - - if (m_fileCompressionHasBeenSet) { - payload.WithObject("FileCompression", m_fileCompression.Jsonize()); - } - - if (m_charsetHasBeenSet) { - payload.WithObject("Charset", m_charset.Jsonize()); - } - - if (m_containsHeaderHasBeenSet) { - payload.WithObject("ContainsHeader", m_containsHeader.Jsonize()); - } - - if (m_delimiterHasBeenSet) { - payload.WithObject("Delimiter", m_delimiter.Jsonize()); - } - - if (m_headerListHasBeenSet) { - payload.WithObject("HeaderList", m_headerList.Jsonize()); - } - - if (m_quoteSymbolHasBeenSet) { - payload.WithObject("QuoteSymbol", m_quoteSymbol.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedField.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedField.cpp deleted file mode 100644 index e9431982557..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedField.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -DetectedField::DetectedField(JsonView jsonValue) { *this = jsonValue; } - -DetectedField& DetectedField::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Value")) { - m_value = jsonValue.GetObject("Value"); - m_valueHasBeenSet = true; - } - if (jsonValue.ValueExists("Confidence")) { - m_confidence = ConfidenceMapper::GetConfidenceForName(jsonValue.GetString("Confidence")); - m_confidenceHasBeenSet = true; - } - if (jsonValue.ValueExists("Message")) { - m_message = jsonValue.GetString("Message"); - m_messageHasBeenSet = true; - } - return *this; -} - -JsonValue DetectedField::Jsonize() const { - JsonValue payload; - - if (m_valueHasBeenSet) { - payload.WithObject("Value", m_value.Jsonize()); - } - - if (m_confidenceHasBeenSet) { - payload.WithString("Confidence", ConfidenceMapper::GetNameForConfidence(m_confidence)); - } - - if (m_messageHasBeenSet) { - payload.WithString("Message", m_message); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedFileFormatDescriptor.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedFileFormatDescriptor.cpp deleted file mode 100644 index 6e462790152..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedFileFormatDescriptor.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -DetectedFileFormatDescriptor::DetectedFileFormatDescriptor(JsonView jsonValue) { *this = jsonValue; } - -DetectedFileFormatDescriptor& DetectedFileFormatDescriptor::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("CsvFormatDescriptor")) { - m_csvFormatDescriptor = jsonValue.GetObject("CsvFormatDescriptor"); - m_csvFormatDescriptorHasBeenSet = true; - } - if (jsonValue.ValueExists("JsonFormatDescriptor")) { - m_jsonFormatDescriptor = jsonValue.GetObject("JsonFormatDescriptor"); - m_jsonFormatDescriptorHasBeenSet = true; - } - return *this; -} - -JsonValue DetectedFileFormatDescriptor::Jsonize() const { - JsonValue payload; - - if (m_csvFormatDescriptorHasBeenSet) { - payload.WithObject("CsvFormatDescriptor", m_csvFormatDescriptor.Jsonize()); - } - - if (m_jsonFormatDescriptorHasBeenSet) { - payload.WithObject("JsonFormatDescriptor", m_jsonFormatDescriptor.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedJsonFormatDescriptor.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedJsonFormatDescriptor.cpp deleted file mode 100644 index ca09bb0b5c1..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedJsonFormatDescriptor.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -DetectedJsonFormatDescriptor::DetectedJsonFormatDescriptor(JsonView jsonValue) { *this = jsonValue; } - -DetectedJsonFormatDescriptor& DetectedJsonFormatDescriptor::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("FileCompression")) { - m_fileCompression = jsonValue.GetObject("FileCompression"); - m_fileCompressionHasBeenSet = true; - } - if (jsonValue.ValueExists("Charset")) { - m_charset = jsonValue.GetObject("Charset"); - m_charsetHasBeenSet = true; - } - return *this; -} - -JsonValue DetectedJsonFormatDescriptor::Jsonize() const { - JsonValue payload; - - if (m_fileCompressionHasBeenSet) { - payload.WithObject("FileCompression", m_fileCompression.Jsonize()); - } - - if (m_charsetHasBeenSet) { - payload.WithObject("Charset", m_charset.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedMetricSetConfig.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedMetricSetConfig.cpp deleted file mode 100644 index 7b6d47dbf04..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedMetricSetConfig.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -DetectedMetricSetConfig::DetectedMetricSetConfig(JsonView jsonValue) { *this = jsonValue; } - -DetectedMetricSetConfig& DetectedMetricSetConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Offset")) { - m_offset = jsonValue.GetObject("Offset"); - m_offsetHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricSetFrequency")) { - m_metricSetFrequency = jsonValue.GetObject("MetricSetFrequency"); - m_metricSetFrequencyHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricSource")) { - m_metricSource = jsonValue.GetObject("MetricSource"); - m_metricSourceHasBeenSet = true; - } - return *this; -} - -JsonValue DetectedMetricSetConfig::Jsonize() const { - JsonValue payload; - - if (m_offsetHasBeenSet) { - payload.WithObject("Offset", m_offset.Jsonize()); - } - - if (m_metricSetFrequencyHasBeenSet) { - payload.WithObject("MetricSetFrequency", m_metricSetFrequency.Jsonize()); - } - - if (m_metricSourceHasBeenSet) { - payload.WithObject("MetricSource", m_metricSource.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedMetricSource.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedMetricSource.cpp deleted file mode 100644 index 0fc49852984..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedMetricSource.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -DetectedMetricSource::DetectedMetricSource(JsonView jsonValue) { *this = jsonValue; } - -DetectedMetricSource& DetectedMetricSource::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("S3SourceConfig")) { - m_s3SourceConfig = jsonValue.GetObject("S3SourceConfig"); - m_s3SourceConfigHasBeenSet = true; - } - return *this; -} - -JsonValue DetectedMetricSource::Jsonize() const { - JsonValue payload; - - if (m_s3SourceConfigHasBeenSet) { - payload.WithObject("S3SourceConfig", m_s3SourceConfig.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedS3SourceConfig.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedS3SourceConfig.cpp deleted file mode 100644 index f25ec1995ef..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DetectedS3SourceConfig.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -DetectedS3SourceConfig::DetectedS3SourceConfig(JsonView jsonValue) { *this = jsonValue; } - -DetectedS3SourceConfig& DetectedS3SourceConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("FileFormatDescriptor")) { - m_fileFormatDescriptor = jsonValue.GetObject("FileFormatDescriptor"); - m_fileFormatDescriptorHasBeenSet = true; - } - return *this; -} - -JsonValue DetectedS3SourceConfig::Jsonize() const { - JsonValue payload; - - if (m_fileFormatDescriptorHasBeenSet) { - payload.WithObject("FileFormatDescriptor", m_fileFormatDescriptor.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionContribution.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionContribution.cpp deleted file mode 100644 index 435529ae6e1..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionContribution.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -DimensionContribution::DimensionContribution(JsonView jsonValue) { *this = jsonValue; } - -DimensionContribution& DimensionContribution::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("DimensionName")) { - m_dimensionName = jsonValue.GetString("DimensionName"); - m_dimensionNameHasBeenSet = true; - } - if (jsonValue.ValueExists("DimensionValueContributionList")) { - Aws::Utils::Array dimensionValueContributionListJsonList = jsonValue.GetArray("DimensionValueContributionList"); - for (unsigned dimensionValueContributionListIndex = 0; - dimensionValueContributionListIndex < dimensionValueContributionListJsonList.GetLength(); ++dimensionValueContributionListIndex) { - m_dimensionValueContributionList.push_back(dimensionValueContributionListJsonList[dimensionValueContributionListIndex].AsObject()); - } - m_dimensionValueContributionListHasBeenSet = true; - } - return *this; -} - -JsonValue DimensionContribution::Jsonize() const { - JsonValue payload; - - if (m_dimensionNameHasBeenSet) { - payload.WithString("DimensionName", m_dimensionName); - } - - if (m_dimensionValueContributionListHasBeenSet) { - Aws::Utils::Array dimensionValueContributionListJsonList(m_dimensionValueContributionList.size()); - for (unsigned dimensionValueContributionListIndex = 0; - dimensionValueContributionListIndex < dimensionValueContributionListJsonList.GetLength(); ++dimensionValueContributionListIndex) { - dimensionValueContributionListJsonList[dimensionValueContributionListIndex].AsObject( - m_dimensionValueContributionList[dimensionValueContributionListIndex].Jsonize()); - } - payload.WithArray("DimensionValueContributionList", std::move(dimensionValueContributionListJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionFilter.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionFilter.cpp deleted file mode 100644 index 79c31191632..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionFilter.cpp +++ /dev/null @@ -1,57 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -DimensionFilter::DimensionFilter(JsonView jsonValue) { *this = jsonValue; } - -DimensionFilter& DimensionFilter::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("DimensionName")) { - m_dimensionName = jsonValue.GetString("DimensionName"); - m_dimensionNameHasBeenSet = true; - } - if (jsonValue.ValueExists("DimensionValueList")) { - Aws::Utils::Array dimensionValueListJsonList = jsonValue.GetArray("DimensionValueList"); - for (unsigned dimensionValueListIndex = 0; dimensionValueListIndex < dimensionValueListJsonList.GetLength(); - ++dimensionValueListIndex) { - m_dimensionValueList.push_back(dimensionValueListJsonList[dimensionValueListIndex].AsString()); - } - m_dimensionValueListHasBeenSet = true; - } - return *this; -} - -JsonValue DimensionFilter::Jsonize() const { - JsonValue payload; - - if (m_dimensionNameHasBeenSet) { - payload.WithString("DimensionName", m_dimensionName); - } - - if (m_dimensionValueListHasBeenSet) { - Aws::Utils::Array dimensionValueListJsonList(m_dimensionValueList.size()); - for (unsigned dimensionValueListIndex = 0; dimensionValueListIndex < dimensionValueListJsonList.GetLength(); - ++dimensionValueListIndex) { - dimensionValueListJsonList[dimensionValueListIndex].AsString(m_dimensionValueList[dimensionValueListIndex]); - } - payload.WithArray("DimensionValueList", std::move(dimensionValueListJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionNameValue.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionNameValue.cpp deleted file mode 100644 index f704990fddd..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionNameValue.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -DimensionNameValue::DimensionNameValue(JsonView jsonValue) { *this = jsonValue; } - -DimensionNameValue& DimensionNameValue::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("DimensionName")) { - m_dimensionName = jsonValue.GetString("DimensionName"); - m_dimensionNameHasBeenSet = true; - } - if (jsonValue.ValueExists("DimensionValue")) { - m_dimensionValue = jsonValue.GetString("DimensionValue"); - m_dimensionValueHasBeenSet = true; - } - return *this; -} - -JsonValue DimensionNameValue::Jsonize() const { - JsonValue payload; - - if (m_dimensionNameHasBeenSet) { - payload.WithString("DimensionName", m_dimensionName); - } - - if (m_dimensionValueHasBeenSet) { - payload.WithString("DimensionValue", m_dimensionValue); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionValueContribution.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionValueContribution.cpp deleted file mode 100644 index 04a837bc8d2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/DimensionValueContribution.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -DimensionValueContribution::DimensionValueContribution(JsonView jsonValue) { *this = jsonValue; } - -DimensionValueContribution& DimensionValueContribution::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("DimensionValue")) { - m_dimensionValue = jsonValue.GetString("DimensionValue"); - m_dimensionValueHasBeenSet = true; - } - if (jsonValue.ValueExists("ContributionScore")) { - m_contributionScore = jsonValue.GetDouble("ContributionScore"); - m_contributionScoreHasBeenSet = true; - } - return *this; -} - -JsonValue DimensionValueContribution::Jsonize() const { - JsonValue payload; - - if (m_dimensionValueHasBeenSet) { - payload.WithString("DimensionValue", m_dimensionValue); - } - - if (m_contributionScoreHasBeenSet) { - payload.WithDouble("ContributionScore", m_contributionScore); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ExecutionStatus.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ExecutionStatus.cpp deleted file mode 100644 index 250e6c13736..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ExecutionStatus.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -ExecutionStatus::ExecutionStatus(JsonView jsonValue) { *this = jsonValue; } - -ExecutionStatus& ExecutionStatus::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Timestamp")) { - m_timestamp = jsonValue.GetString("Timestamp"); - m_timestampHasBeenSet = true; - } - if (jsonValue.ValueExists("Status")) { - m_status = AnomalyDetectionTaskStatusMapper::GetAnomalyDetectionTaskStatusForName(jsonValue.GetString("Status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("FailureReason")) { - m_failureReason = jsonValue.GetString("FailureReason"); - m_failureReasonHasBeenSet = true; - } - return *this; -} - -JsonValue ExecutionStatus::Jsonize() const { - JsonValue payload; - - if (m_timestampHasBeenSet) { - payload.WithString("Timestamp", m_timestamp); - } - - if (m_statusHasBeenSet) { - payload.WithString("Status", AnomalyDetectionTaskStatusMapper::GetNameForAnomalyDetectionTaskStatus(m_status)); - } - - if (m_failureReasonHasBeenSet) { - payload.WithString("FailureReason", m_failureReason); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/FileFormatDescriptor.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/FileFormatDescriptor.cpp deleted file mode 100644 index f52746419d6..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/FileFormatDescriptor.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -FileFormatDescriptor::FileFormatDescriptor(JsonView jsonValue) { *this = jsonValue; } - -FileFormatDescriptor& FileFormatDescriptor::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("CsvFormatDescriptor")) { - m_csvFormatDescriptor = jsonValue.GetObject("CsvFormatDescriptor"); - m_csvFormatDescriptorHasBeenSet = true; - } - if (jsonValue.ValueExists("JsonFormatDescriptor")) { - m_jsonFormatDescriptor = jsonValue.GetObject("JsonFormatDescriptor"); - m_jsonFormatDescriptorHasBeenSet = true; - } - return *this; -} - -JsonValue FileFormatDescriptor::Jsonize() const { - JsonValue payload; - - if (m_csvFormatDescriptorHasBeenSet) { - payload.WithObject("CsvFormatDescriptor", m_csvFormatDescriptor.Jsonize()); - } - - if (m_jsonFormatDescriptorHasBeenSet) { - payload.WithObject("JsonFormatDescriptor", m_jsonFormatDescriptor.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Filter.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Filter.cpp deleted file mode 100644 index 8eab7f5c717..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Filter.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -Filter::Filter(JsonView jsonValue) { *this = jsonValue; } - -Filter& Filter::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("DimensionValue")) { - m_dimensionValue = jsonValue.GetString("DimensionValue"); - m_dimensionValueHasBeenSet = true; - } - if (jsonValue.ValueExists("FilterOperation")) { - m_filterOperation = FilterOperationMapper::GetFilterOperationForName(jsonValue.GetString("FilterOperation")); - m_filterOperationHasBeenSet = true; - } - return *this; -} - -JsonValue Filter::Jsonize() const { - JsonValue payload; - - if (m_dimensionValueHasBeenSet) { - payload.WithString("DimensionValue", m_dimensionValue); - } - - if (m_filterOperationHasBeenSet) { - payload.WithString("FilterOperation", FilterOperationMapper::GetNameForFilterOperation(m_filterOperation)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/FilterOperation.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/FilterOperation.cpp deleted file mode 100644 index 0f733f46ba9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/FilterOperation.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace FilterOperationMapper { - -static const int EQUALS_HASH = HashingUtils::HashString("EQUALS"); - -FilterOperation GetFilterOperationForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == EQUALS_HASH) { - return FilterOperation::EQUALS; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return FilterOperation::NOT_SET; -} - -Aws::String GetNameForFilterOperation(FilterOperation enumValue) { - switch (enumValue) { - case FilterOperation::NOT_SET: - return {}; - case FilterOperation::EQUALS: - return "EQUALS"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace FilterOperationMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Frequency.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Frequency.cpp deleted file mode 100644 index fbb0052a8e4..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Frequency.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace FrequencyMapper { - -static const int P1D_HASH = HashingUtils::HashString("P1D"); -static const int PT1H_HASH = HashingUtils::HashString("PT1H"); -static const int PT10M_HASH = HashingUtils::HashString("PT10M"); -static const int PT5M_HASH = HashingUtils::HashString("PT5M"); - -Frequency GetFrequencyForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == P1D_HASH) { - return Frequency::P1D; - } else if (hashCode == PT1H_HASH) { - return Frequency::PT1H; - } else if (hashCode == PT10M_HASH) { - return Frequency::PT10M; - } else if (hashCode == PT5M_HASH) { - return Frequency::PT5M; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return Frequency::NOT_SET; -} - -Aws::String GetNameForFrequency(Frequency enumValue) { - switch (enumValue) { - case Frequency::NOT_SET: - return {}; - case Frequency::P1D: - return "P1D"; - case Frequency::PT1H: - return "PT1H"; - case Frequency::PT10M: - return "PT10M"; - case Frequency::PT5M: - return "PT5M"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace FrequencyMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetAnomalyGroupRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetAnomalyGroupRequest.cpp deleted file mode 100644 index bf5e9c01b20..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetAnomalyGroupRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String GetAnomalyGroupRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyGroupIdHasBeenSet) { - payload.WithString("AnomalyGroupId", m_anomalyGroupId); - } - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetAnomalyGroupResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetAnomalyGroupResult.cpp deleted file mode 100644 index f22f7a4a34e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetAnomalyGroupResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -GetAnomalyGroupResult::GetAnomalyGroupResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -GetAnomalyGroupResult& GetAnomalyGroupResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("AnomalyGroup")) { - m_anomalyGroup = jsonValue.GetObject("AnomalyGroup"); - m_anomalyGroupHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetDataQualityMetricsRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetDataQualityMetricsRequest.cpp deleted file mode 100644 index 82049829018..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetDataQualityMetricsRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String GetDataQualityMetricsRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_metricSetArnHasBeenSet) { - payload.WithString("MetricSetArn", m_metricSetArn); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetDataQualityMetricsResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetDataQualityMetricsResult.cpp deleted file mode 100644 index e7187c1be4b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetDataQualityMetricsResult.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -GetDataQualityMetricsResult::GetDataQualityMetricsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -GetDataQualityMetricsResult& GetDataQualityMetricsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("AnomalyDetectorDataQualityMetricList")) { - Aws::Utils::Array anomalyDetectorDataQualityMetricListJsonList = jsonValue.GetArray("AnomalyDetectorDataQualityMetricList"); - for (unsigned anomalyDetectorDataQualityMetricListIndex = 0; - anomalyDetectorDataQualityMetricListIndex < anomalyDetectorDataQualityMetricListJsonList.GetLength(); - ++anomalyDetectorDataQualityMetricListIndex) { - m_anomalyDetectorDataQualityMetricList.push_back( - anomalyDetectorDataQualityMetricListJsonList[anomalyDetectorDataQualityMetricListIndex].AsObject()); - } - m_anomalyDetectorDataQualityMetricListHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetFeedbackRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetFeedbackRequest.cpp deleted file mode 100644 index 5552106ce0d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetFeedbackRequest.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String GetFeedbackRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_anomalyGroupTimeSeriesFeedbackHasBeenSet) { - payload.WithObject("AnomalyGroupTimeSeriesFeedback", m_anomalyGroupTimeSeriesFeedback.Jsonize()); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); - } - - if (m_nextTokenHasBeenSet) { - payload.WithString("NextToken", m_nextToken); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetFeedbackResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetFeedbackResult.cpp deleted file mode 100644 index 85336be9264..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetFeedbackResult.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -GetFeedbackResult::GetFeedbackResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -GetFeedbackResult& GetFeedbackResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("AnomalyGroupTimeSeriesFeedback")) { - Aws::Utils::Array anomalyGroupTimeSeriesFeedbackJsonList = jsonValue.GetArray("AnomalyGroupTimeSeriesFeedback"); - for (unsigned anomalyGroupTimeSeriesFeedbackIndex = 0; - anomalyGroupTimeSeriesFeedbackIndex < anomalyGroupTimeSeriesFeedbackJsonList.GetLength(); ++anomalyGroupTimeSeriesFeedbackIndex) { - m_anomalyGroupTimeSeriesFeedback.push_back(anomalyGroupTimeSeriesFeedbackJsonList[anomalyGroupTimeSeriesFeedbackIndex].AsObject()); - } - m_anomalyGroupTimeSeriesFeedbackHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetSampleDataRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetSampleDataRequest.cpp deleted file mode 100644 index 6e2662bc4f9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetSampleDataRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String GetSampleDataRequest::SerializePayload() const { - JsonValue payload; - - if (m_s3SourceConfigHasBeenSet) { - payload.WithObject("S3SourceConfig", m_s3SourceConfig.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetSampleDataResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetSampleDataResult.cpp deleted file mode 100644 index 36640d8cfa4..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/GetSampleDataResult.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -GetSampleDataResult::GetSampleDataResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -GetSampleDataResult& GetSampleDataResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("HeaderValues")) { - Aws::Utils::Array headerValuesJsonList = jsonValue.GetArray("HeaderValues"); - for (unsigned headerValuesIndex = 0; headerValuesIndex < headerValuesJsonList.GetLength(); ++headerValuesIndex) { - m_headerValues.push_back(headerValuesJsonList[headerValuesIndex].AsString()); - } - m_headerValuesHasBeenSet = true; - } - if (jsonValue.ValueExists("SampleRows")) { - Aws::Utils::Array sampleRowsJsonList = jsonValue.GetArray("SampleRows"); - for (unsigned sampleRowsIndex = 0; sampleRowsIndex < sampleRowsJsonList.GetLength(); ++sampleRowsIndex) { - Aws::Utils::Array sampleRowJsonList = sampleRowsJsonList[sampleRowsIndex].AsArray(); - Aws::Vector sampleRowList; - sampleRowList.reserve((size_t)sampleRowJsonList.GetLength()); - for (unsigned sampleRowIndex = 0; sampleRowIndex < sampleRowJsonList.GetLength(); ++sampleRowIndex) { - sampleRowList.push_back(sampleRowJsonList[sampleRowIndex].AsString()); - } - m_sampleRows.push_back(std::move(sampleRowList)); - } - m_sampleRowsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/InterMetricImpactDetails.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/InterMetricImpactDetails.cpp deleted file mode 100644 index 66815b346f9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/InterMetricImpactDetails.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -InterMetricImpactDetails::InterMetricImpactDetails(JsonView jsonValue) { *this = jsonValue; } - -InterMetricImpactDetails& InterMetricImpactDetails::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("MetricName")) { - m_metricName = jsonValue.GetString("MetricName"); - m_metricNameHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyGroupId")) { - m_anomalyGroupId = jsonValue.GetString("AnomalyGroupId"); - m_anomalyGroupIdHasBeenSet = true; - } - if (jsonValue.ValueExists("RelationshipType")) { - m_relationshipType = RelationshipTypeMapper::GetRelationshipTypeForName(jsonValue.GetString("RelationshipType")); - m_relationshipTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("ContributionPercentage")) { - m_contributionPercentage = jsonValue.GetDouble("ContributionPercentage"); - m_contributionPercentageHasBeenSet = true; - } - return *this; -} - -JsonValue InterMetricImpactDetails::Jsonize() const { - JsonValue payload; - - if (m_metricNameHasBeenSet) { - payload.WithString("MetricName", m_metricName); - } - - if (m_anomalyGroupIdHasBeenSet) { - payload.WithString("AnomalyGroupId", m_anomalyGroupId); - } - - if (m_relationshipTypeHasBeenSet) { - payload.WithString("RelationshipType", RelationshipTypeMapper::GetNameForRelationshipType(m_relationshipType)); - } - - if (m_contributionPercentageHasBeenSet) { - payload.WithDouble("ContributionPercentage", m_contributionPercentage); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ItemizedMetricStats.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ItemizedMetricStats.cpp deleted file mode 100644 index 72696e2e82d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ItemizedMetricStats.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -ItemizedMetricStats::ItemizedMetricStats(JsonView jsonValue) { *this = jsonValue; } - -ItemizedMetricStats& ItemizedMetricStats::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("MetricName")) { - m_metricName = jsonValue.GetString("MetricName"); - m_metricNameHasBeenSet = true; - } - if (jsonValue.ValueExists("OccurrenceCount")) { - m_occurrenceCount = jsonValue.GetInteger("OccurrenceCount"); - m_occurrenceCountHasBeenSet = true; - } - return *this; -} - -JsonValue ItemizedMetricStats::Jsonize() const { - JsonValue payload; - - if (m_metricNameHasBeenSet) { - payload.WithString("MetricName", m_metricName); - } - - if (m_occurrenceCountHasBeenSet) { - payload.WithInteger("OccurrenceCount", m_occurrenceCount); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/JsonFileCompression.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/JsonFileCompression.cpp deleted file mode 100644 index 928397ae1f2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/JsonFileCompression.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace JsonFileCompressionMapper { - -static const int NONE_HASH = HashingUtils::HashString("NONE"); -static const int GZIP_HASH = HashingUtils::HashString("GZIP"); - -JsonFileCompression GetJsonFileCompressionForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == NONE_HASH) { - return JsonFileCompression::NONE; - } else if (hashCode == GZIP_HASH) { - return JsonFileCompression::GZIP; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return JsonFileCompression::NOT_SET; -} - -Aws::String GetNameForJsonFileCompression(JsonFileCompression enumValue) { - switch (enumValue) { - case JsonFileCompression::NOT_SET: - return {}; - case JsonFileCompression::NONE: - return "NONE"; - case JsonFileCompression::GZIP: - return "GZIP"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace JsonFileCompressionMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/JsonFormatDescriptor.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/JsonFormatDescriptor.cpp deleted file mode 100644 index c5f3262b75b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/JsonFormatDescriptor.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -JsonFormatDescriptor::JsonFormatDescriptor(JsonView jsonValue) { *this = jsonValue; } - -JsonFormatDescriptor& JsonFormatDescriptor::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("FileCompression")) { - m_fileCompression = JsonFileCompressionMapper::GetJsonFileCompressionForName(jsonValue.GetString("FileCompression")); - m_fileCompressionHasBeenSet = true; - } - if (jsonValue.ValueExists("Charset")) { - m_charset = jsonValue.GetString("Charset"); - m_charsetHasBeenSet = true; - } - return *this; -} - -JsonValue JsonFormatDescriptor::Jsonize() const { - JsonValue payload; - - if (m_fileCompressionHasBeenSet) { - payload.WithString("FileCompression", JsonFileCompressionMapper::GetNameForJsonFileCompression(m_fileCompression)); - } - - if (m_charsetHasBeenSet) { - payload.WithString("Charset", m_charset); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/LambdaConfiguration.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/LambdaConfiguration.cpp deleted file mode 100644 index 4d1969b8388..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/LambdaConfiguration.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -LambdaConfiguration::LambdaConfiguration(JsonView jsonValue) { *this = jsonValue; } - -LambdaConfiguration& LambdaConfiguration::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("RoleArn")) { - m_roleArn = jsonValue.GetString("RoleArn"); - m_roleArnHasBeenSet = true; - } - if (jsonValue.ValueExists("LambdaArn")) { - m_lambdaArn = jsonValue.GetString("LambdaArn"); - m_lambdaArnHasBeenSet = true; - } - return *this; -} - -JsonValue LambdaConfiguration::Jsonize() const { - JsonValue payload; - - if (m_roleArnHasBeenSet) { - payload.WithString("RoleArn", m_roleArn); - } - - if (m_lambdaArnHasBeenSet) { - payload.WithString("LambdaArn", m_lambdaArn); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAlertsRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAlertsRequest.cpp deleted file mode 100644 index 044ce9da8c0..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAlertsRequest.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListAlertsRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_nextTokenHasBeenSet) { - payload.WithString("NextToken", m_nextToken); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAlertsResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAlertsResult.cpp deleted file mode 100644 index 98e00c1a2da..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAlertsResult.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListAlertsResult::ListAlertsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListAlertsResult& ListAlertsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("AlertSummaryList")) { - Aws::Utils::Array alertSummaryListJsonList = jsonValue.GetArray("AlertSummaryList"); - for (unsigned alertSummaryListIndex = 0; alertSummaryListIndex < alertSummaryListJsonList.GetLength(); ++alertSummaryListIndex) { - m_alertSummaryList.push_back(alertSummaryListJsonList[alertSummaryListIndex].AsObject()); - } - m_alertSummaryListHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyDetectorsRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyDetectorsRequest.cpp deleted file mode 100644 index f8dfb995e6e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyDetectorsRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListAnomalyDetectorsRequest::SerializePayload() const { - JsonValue payload; - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); - } - - if (m_nextTokenHasBeenSet) { - payload.WithString("NextToken", m_nextToken); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyDetectorsResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyDetectorsResult.cpp deleted file mode 100644 index 104d1836290..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyDetectorsResult.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListAnomalyDetectorsResult::ListAnomalyDetectorsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListAnomalyDetectorsResult& ListAnomalyDetectorsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("AnomalyDetectorSummaryList")) { - Aws::Utils::Array anomalyDetectorSummaryListJsonList = jsonValue.GetArray("AnomalyDetectorSummaryList"); - for (unsigned anomalyDetectorSummaryListIndex = 0; anomalyDetectorSummaryListIndex < anomalyDetectorSummaryListJsonList.GetLength(); - ++anomalyDetectorSummaryListIndex) { - m_anomalyDetectorSummaryList.push_back(anomalyDetectorSummaryListJsonList[anomalyDetectorSummaryListIndex].AsObject()); - } - m_anomalyDetectorSummaryListHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupRelatedMetricsRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupRelatedMetricsRequest.cpp deleted file mode 100644 index 3ad7e3feb5e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupRelatedMetricsRequest.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListAnomalyGroupRelatedMetricsRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_anomalyGroupIdHasBeenSet) { - payload.WithString("AnomalyGroupId", m_anomalyGroupId); - } - - if (m_relationshipTypeFilterHasBeenSet) { - payload.WithString("RelationshipTypeFilter", RelationshipTypeMapper::GetNameForRelationshipType(m_relationshipTypeFilter)); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); - } - - if (m_nextTokenHasBeenSet) { - payload.WithString("NextToken", m_nextToken); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupRelatedMetricsResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupRelatedMetricsResult.cpp deleted file mode 100644 index ed3ca17900a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupRelatedMetricsResult.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListAnomalyGroupRelatedMetricsResult::ListAnomalyGroupRelatedMetricsResult(const Aws::AmazonWebServiceResult& result) { - *this = result; -} - -ListAnomalyGroupRelatedMetricsResult& ListAnomalyGroupRelatedMetricsResult::operator=( - const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("InterMetricImpactList")) { - Aws::Utils::Array interMetricImpactListJsonList = jsonValue.GetArray("InterMetricImpactList"); - for (unsigned interMetricImpactListIndex = 0; interMetricImpactListIndex < interMetricImpactListJsonList.GetLength(); - ++interMetricImpactListIndex) { - m_interMetricImpactList.push_back(interMetricImpactListJsonList[interMetricImpactListIndex].AsObject()); - } - m_interMetricImpactListHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupSummariesRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupSummariesRequest.cpp deleted file mode 100644 index ca7183ca48a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupSummariesRequest.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListAnomalyGroupSummariesRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_sensitivityThresholdHasBeenSet) { - payload.WithInteger("SensitivityThreshold", m_sensitivityThreshold); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); - } - - if (m_nextTokenHasBeenSet) { - payload.WithString("NextToken", m_nextToken); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupSummariesResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupSummariesResult.cpp deleted file mode 100644 index 69a0479d644..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupSummariesResult.cpp +++ /dev/null @@ -1,49 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListAnomalyGroupSummariesResult::ListAnomalyGroupSummariesResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListAnomalyGroupSummariesResult& ListAnomalyGroupSummariesResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("AnomalyGroupSummaryList")) { - Aws::Utils::Array anomalyGroupSummaryListJsonList = jsonValue.GetArray("AnomalyGroupSummaryList"); - for (unsigned anomalyGroupSummaryListIndex = 0; anomalyGroupSummaryListIndex < anomalyGroupSummaryListJsonList.GetLength(); - ++anomalyGroupSummaryListIndex) { - m_anomalyGroupSummaryList.push_back(anomalyGroupSummaryListJsonList[anomalyGroupSummaryListIndex].AsObject()); - } - m_anomalyGroupSummaryListHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyGroupStatistics")) { - m_anomalyGroupStatistics = jsonValue.GetObject("AnomalyGroupStatistics"); - m_anomalyGroupStatisticsHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupTimeSeriesRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupTimeSeriesRequest.cpp deleted file mode 100644 index 6be739c7bf7..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupTimeSeriesRequest.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListAnomalyGroupTimeSeriesRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_anomalyGroupIdHasBeenSet) { - payload.WithString("AnomalyGroupId", m_anomalyGroupId); - } - - if (m_metricNameHasBeenSet) { - payload.WithString("MetricName", m_metricName); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); - } - - if (m_nextTokenHasBeenSet) { - payload.WithString("NextToken", m_nextToken); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupTimeSeriesResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupTimeSeriesResult.cpp deleted file mode 100644 index bd2f49fa8cb..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListAnomalyGroupTimeSeriesResult.cpp +++ /dev/null @@ -1,59 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListAnomalyGroupTimeSeriesResult::ListAnomalyGroupTimeSeriesResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListAnomalyGroupTimeSeriesResult& ListAnomalyGroupTimeSeriesResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("AnomalyGroupId")) { - m_anomalyGroupId = jsonValue.GetString("AnomalyGroupId"); - m_anomalyGroupIdHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricName")) { - m_metricName = jsonValue.GetString("MetricName"); - m_metricNameHasBeenSet = true; - } - if (jsonValue.ValueExists("TimestampList")) { - Aws::Utils::Array timestampListJsonList = jsonValue.GetArray("TimestampList"); - for (unsigned timestampListIndex = 0; timestampListIndex < timestampListJsonList.GetLength(); ++timestampListIndex) { - m_timestampList.push_back(timestampListJsonList[timestampListIndex].AsString()); - } - m_timestampListHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - if (jsonValue.ValueExists("TimeSeriesList")) { - Aws::Utils::Array timeSeriesListJsonList = jsonValue.GetArray("TimeSeriesList"); - for (unsigned timeSeriesListIndex = 0; timeSeriesListIndex < timeSeriesListJsonList.GetLength(); ++timeSeriesListIndex) { - m_timeSeriesList.push_back(timeSeriesListJsonList[timeSeriesListIndex].AsObject()); - } - m_timeSeriesListHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListMetricSetsRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListMetricSetsRequest.cpp deleted file mode 100644 index adcfa21aa6b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListMetricSetsRequest.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListMetricSetsRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); - } - - if (m_nextTokenHasBeenSet) { - payload.WithString("NextToken", m_nextToken); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListMetricSetsResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListMetricSetsResult.cpp deleted file mode 100644 index adc11d63ddf..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListMetricSetsResult.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListMetricSetsResult::ListMetricSetsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListMetricSetsResult& ListMetricSetsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("MetricSetSummaryList")) { - Aws::Utils::Array metricSetSummaryListJsonList = jsonValue.GetArray("MetricSetSummaryList"); - for (unsigned metricSetSummaryListIndex = 0; metricSetSummaryListIndex < metricSetSummaryListJsonList.GetLength(); - ++metricSetSummaryListIndex) { - m_metricSetSummaryList.push_back(metricSetSummaryListJsonList[metricSetSummaryListIndex].AsObject()); - } - m_metricSetSummaryListHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListTagsForResourceRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListTagsForResourceRequest.cpp deleted file mode 100644 index f4ce5ba91be..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListTagsForResourceRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListTagsForResourceRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListTagsForResourceResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListTagsForResourceResult.cpp deleted file mode 100644 index 7fab8a16eb3..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ListTagsForResourceResult.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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(); - } - m_tagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Metric.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Metric.cpp deleted file mode 100644 index ec9d9106578..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/Metric.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -Metric::Metric(JsonView jsonValue) { *this = jsonValue; } - -Metric& Metric::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("MetricName")) { - m_metricName = jsonValue.GetString("MetricName"); - m_metricNameHasBeenSet = true; - } - if (jsonValue.ValueExists("AggregationFunction")) { - m_aggregationFunction = AggregationFunctionMapper::GetAggregationFunctionForName(jsonValue.GetString("AggregationFunction")); - m_aggregationFunctionHasBeenSet = true; - } - if (jsonValue.ValueExists("Namespace")) { - m_namespace = jsonValue.GetString("Namespace"); - m_namespaceHasBeenSet = true; - } - return *this; -} - -JsonValue Metric::Jsonize() const { - JsonValue payload; - - if (m_metricNameHasBeenSet) { - payload.WithString("MetricName", m_metricName); - } - - if (m_aggregationFunctionHasBeenSet) { - payload.WithString("AggregationFunction", AggregationFunctionMapper::GetNameForAggregationFunction(m_aggregationFunction)); - } - - if (m_namespaceHasBeenSet) { - payload.WithString("Namespace", m_namespace); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricLevelImpact.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricLevelImpact.cpp deleted file mode 100644 index 27658dd97ab..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricLevelImpact.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -MetricLevelImpact::MetricLevelImpact(JsonView jsonValue) { *this = jsonValue; } - -MetricLevelImpact& MetricLevelImpact::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("MetricName")) { - m_metricName = jsonValue.GetString("MetricName"); - m_metricNameHasBeenSet = true; - } - if (jsonValue.ValueExists("NumTimeSeries")) { - m_numTimeSeries = jsonValue.GetInteger("NumTimeSeries"); - m_numTimeSeriesHasBeenSet = true; - } - if (jsonValue.ValueExists("ContributionMatrix")) { - m_contributionMatrix = jsonValue.GetObject("ContributionMatrix"); - m_contributionMatrixHasBeenSet = true; - } - return *this; -} - -JsonValue MetricLevelImpact::Jsonize() const { - JsonValue payload; - - if (m_metricNameHasBeenSet) { - payload.WithString("MetricName", m_metricName); - } - - if (m_numTimeSeriesHasBeenSet) { - payload.WithInteger("NumTimeSeries", m_numTimeSeries); - } - - if (m_contributionMatrixHasBeenSet) { - payload.WithObject("ContributionMatrix", m_contributionMatrix.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSetDataQualityMetric.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSetDataQualityMetric.cpp deleted file mode 100644 index ffb9d310368..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSetDataQualityMetric.cpp +++ /dev/null @@ -1,57 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -MetricSetDataQualityMetric::MetricSetDataQualityMetric(JsonView jsonValue) { *this = jsonValue; } - -MetricSetDataQualityMetric& MetricSetDataQualityMetric::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("MetricSetArn")) { - m_metricSetArn = jsonValue.GetString("MetricSetArn"); - m_metricSetArnHasBeenSet = true; - } - if (jsonValue.ValueExists("DataQualityMetricList")) { - Aws::Utils::Array dataQualityMetricListJsonList = jsonValue.GetArray("DataQualityMetricList"); - for (unsigned dataQualityMetricListIndex = 0; dataQualityMetricListIndex < dataQualityMetricListJsonList.GetLength(); - ++dataQualityMetricListIndex) { - m_dataQualityMetricList.push_back(dataQualityMetricListJsonList[dataQualityMetricListIndex].AsObject()); - } - m_dataQualityMetricListHasBeenSet = true; - } - return *this; -} - -JsonValue MetricSetDataQualityMetric::Jsonize() const { - JsonValue payload; - - if (m_metricSetArnHasBeenSet) { - payload.WithString("MetricSetArn", m_metricSetArn); - } - - if (m_dataQualityMetricListHasBeenSet) { - Aws::Utils::Array dataQualityMetricListJsonList(m_dataQualityMetricList.size()); - for (unsigned dataQualityMetricListIndex = 0; dataQualityMetricListIndex < dataQualityMetricListJsonList.GetLength(); - ++dataQualityMetricListIndex) { - dataQualityMetricListJsonList[dataQualityMetricListIndex].AsObject(m_dataQualityMetricList[dataQualityMetricListIndex].Jsonize()); - } - payload.WithArray("DataQualityMetricList", std::move(dataQualityMetricListJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSetDimensionFilter.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSetDimensionFilter.cpp deleted file mode 100644 index d459af0dad4..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSetDimensionFilter.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -MetricSetDimensionFilter::MetricSetDimensionFilter(JsonView jsonValue) { *this = jsonValue; } - -MetricSetDimensionFilter& MetricSetDimensionFilter::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Name")) { - m_name = jsonValue.GetString("Name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("FilterList")) { - Aws::Utils::Array filterListJsonList = jsonValue.GetArray("FilterList"); - for (unsigned filterListIndex = 0; filterListIndex < filterListJsonList.GetLength(); ++filterListIndex) { - m_filterList.push_back(filterListJsonList[filterListIndex].AsObject()); - } - m_filterListHasBeenSet = true; - } - return *this; -} - -JsonValue MetricSetDimensionFilter::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("Name", m_name); - } - - if (m_filterListHasBeenSet) { - Aws::Utils::Array filterListJsonList(m_filterList.size()); - for (unsigned filterListIndex = 0; filterListIndex < filterListJsonList.GetLength(); ++filterListIndex) { - filterListJsonList[filterListIndex].AsObject(m_filterList[filterListIndex].Jsonize()); - } - payload.WithArray("FilterList", std::move(filterListJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSetSummary.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSetSummary.cpp deleted file mode 100644 index 712dc84139e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSetSummary.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -MetricSetSummary::MetricSetSummary(JsonView jsonValue) { *this = jsonValue; } - -MetricSetSummary& MetricSetSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("MetricSetArn")) { - m_metricSetArn = jsonValue.GetString("MetricSetArn"); - m_metricSetArnHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyDetectorArn")) { - m_anomalyDetectorArn = jsonValue.GetString("AnomalyDetectorArn"); - m_anomalyDetectorArnHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricSetDescription")) { - m_metricSetDescription = jsonValue.GetString("MetricSetDescription"); - m_metricSetDescriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricSetName")) { - m_metricSetName = jsonValue.GetString("MetricSetName"); - m_metricSetNameHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationTime")) { - m_creationTime = jsonValue.GetDouble("CreationTime"); - m_creationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("LastModificationTime")) { - m_lastModificationTime = jsonValue.GetDouble("LastModificationTime"); - m_lastModificationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("Tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("Tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - return *this; -} - -JsonValue MetricSetSummary::Jsonize() const { - JsonValue payload; - - if (m_metricSetArnHasBeenSet) { - payload.WithString("MetricSetArn", m_metricSetArn); - } - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_metricSetDescriptionHasBeenSet) { - payload.WithString("MetricSetDescription", m_metricSetDescription); - } - - if (m_metricSetNameHasBeenSet) { - payload.WithString("MetricSetName", m_metricSetName); - } - - if (m_creationTimeHasBeenSet) { - payload.WithDouble("CreationTime", m_creationTime.SecondsWithMSPrecision()); - } - - if (m_lastModificationTimeHasBeenSet) { - payload.WithDouble("LastModificationTime", m_lastModificationTime.SecondsWithMSPrecision()); - } - - if (m_tagsHasBeenSet) { - JsonValue tagsJsonMap; - for (auto& tagsItem : m_tags) { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("Tags", std::move(tagsJsonMap)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSource.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSource.cpp deleted file mode 100644 index 3dd7a3cb205..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/MetricSource.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -MetricSource::MetricSource(JsonView jsonValue) { *this = jsonValue; } - -MetricSource& MetricSource::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("S3SourceConfig")) { - m_s3SourceConfig = jsonValue.GetObject("S3SourceConfig"); - m_s3SourceConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("AppFlowConfig")) { - m_appFlowConfig = jsonValue.GetObject("AppFlowConfig"); - m_appFlowConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("CloudWatchConfig")) { - m_cloudWatchConfig = jsonValue.GetObject("CloudWatchConfig"); - m_cloudWatchConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("RDSSourceConfig")) { - m_rDSSourceConfig = jsonValue.GetObject("RDSSourceConfig"); - m_rDSSourceConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("RedshiftSourceConfig")) { - m_redshiftSourceConfig = jsonValue.GetObject("RedshiftSourceConfig"); - m_redshiftSourceConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("AthenaSourceConfig")) { - m_athenaSourceConfig = jsonValue.GetObject("AthenaSourceConfig"); - m_athenaSourceConfigHasBeenSet = true; - } - return *this; -} - -JsonValue MetricSource::Jsonize() const { - JsonValue payload; - - if (m_s3SourceConfigHasBeenSet) { - payload.WithObject("S3SourceConfig", m_s3SourceConfig.Jsonize()); - } - - if (m_appFlowConfigHasBeenSet) { - payload.WithObject("AppFlowConfig", m_appFlowConfig.Jsonize()); - } - - if (m_cloudWatchConfigHasBeenSet) { - payload.WithObject("CloudWatchConfig", m_cloudWatchConfig.Jsonize()); - } - - if (m_rDSSourceConfigHasBeenSet) { - payload.WithObject("RDSSourceConfig", m_rDSSourceConfig.Jsonize()); - } - - if (m_redshiftSourceConfigHasBeenSet) { - payload.WithObject("RedshiftSourceConfig", m_redshiftSourceConfig.Jsonize()); - } - - if (m_athenaSourceConfigHasBeenSet) { - payload.WithObject("AthenaSourceConfig", m_athenaSourceConfig.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/PutFeedbackRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/PutFeedbackRequest.cpp deleted file mode 100644 index f6070a09568..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/PutFeedbackRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String PutFeedbackRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_anomalyGroupTimeSeriesFeedbackHasBeenSet) { - payload.WithObject("AnomalyGroupTimeSeriesFeedback", m_anomalyGroupTimeSeriesFeedback.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/PutFeedbackResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/PutFeedbackResult.cpp deleted file mode 100644 index 452a866f12e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/PutFeedbackResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -PutFeedbackResult::PutFeedbackResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -PutFeedbackResult& PutFeedbackResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/RDSSourceConfig.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/RDSSourceConfig.cpp deleted file mode 100644 index 119985b17d5..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/RDSSourceConfig.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -RDSSourceConfig::RDSSourceConfig(JsonView jsonValue) { *this = jsonValue; } - -RDSSourceConfig& RDSSourceConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("DBInstanceIdentifier")) { - m_dBInstanceIdentifier = jsonValue.GetString("DBInstanceIdentifier"); - m_dBInstanceIdentifierHasBeenSet = true; - } - if (jsonValue.ValueExists("DatabaseHost")) { - m_databaseHost = jsonValue.GetString("DatabaseHost"); - m_databaseHostHasBeenSet = true; - } - if (jsonValue.ValueExists("DatabasePort")) { - m_databasePort = jsonValue.GetInteger("DatabasePort"); - m_databasePortHasBeenSet = true; - } - if (jsonValue.ValueExists("SecretManagerArn")) { - m_secretManagerArn = jsonValue.GetString("SecretManagerArn"); - m_secretManagerArnHasBeenSet = true; - } - if (jsonValue.ValueExists("DatabaseName")) { - m_databaseName = jsonValue.GetString("DatabaseName"); - m_databaseNameHasBeenSet = true; - } - if (jsonValue.ValueExists("TableName")) { - m_tableName = jsonValue.GetString("TableName"); - m_tableNameHasBeenSet = true; - } - if (jsonValue.ValueExists("RoleArn")) { - m_roleArn = jsonValue.GetString("RoleArn"); - m_roleArnHasBeenSet = true; - } - if (jsonValue.ValueExists("VpcConfiguration")) { - m_vpcConfiguration = jsonValue.GetObject("VpcConfiguration"); - m_vpcConfigurationHasBeenSet = true; - } - return *this; -} - -JsonValue RDSSourceConfig::Jsonize() const { - JsonValue payload; - - if (m_dBInstanceIdentifierHasBeenSet) { - payload.WithString("DBInstanceIdentifier", m_dBInstanceIdentifier); - } - - if (m_databaseHostHasBeenSet) { - payload.WithString("DatabaseHost", m_databaseHost); - } - - if (m_databasePortHasBeenSet) { - payload.WithInteger("DatabasePort", m_databasePort); - } - - if (m_secretManagerArnHasBeenSet) { - payload.WithString("SecretManagerArn", m_secretManagerArn); - } - - if (m_databaseNameHasBeenSet) { - payload.WithString("DatabaseName", m_databaseName); - } - - if (m_tableNameHasBeenSet) { - payload.WithString("TableName", m_tableName); - } - - if (m_roleArnHasBeenSet) { - payload.WithString("RoleArn", m_roleArn); - } - - if (m_vpcConfigurationHasBeenSet) { - payload.WithObject("VpcConfiguration", m_vpcConfiguration.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/RedshiftSourceConfig.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/RedshiftSourceConfig.cpp deleted file mode 100644 index 2a59e6b2d67..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/RedshiftSourceConfig.cpp +++ /dev/null @@ -1,96 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -RedshiftSourceConfig::RedshiftSourceConfig(JsonView jsonValue) { *this = jsonValue; } - -RedshiftSourceConfig& RedshiftSourceConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("ClusterIdentifier")) { - m_clusterIdentifier = jsonValue.GetString("ClusterIdentifier"); - m_clusterIdentifierHasBeenSet = true; - } - if (jsonValue.ValueExists("DatabaseHost")) { - m_databaseHost = jsonValue.GetString("DatabaseHost"); - m_databaseHostHasBeenSet = true; - } - if (jsonValue.ValueExists("DatabasePort")) { - m_databasePort = jsonValue.GetInteger("DatabasePort"); - m_databasePortHasBeenSet = true; - } - if (jsonValue.ValueExists("SecretManagerArn")) { - m_secretManagerArn = jsonValue.GetString("SecretManagerArn"); - m_secretManagerArnHasBeenSet = true; - } - if (jsonValue.ValueExists("DatabaseName")) { - m_databaseName = jsonValue.GetString("DatabaseName"); - m_databaseNameHasBeenSet = true; - } - if (jsonValue.ValueExists("TableName")) { - m_tableName = jsonValue.GetString("TableName"); - m_tableNameHasBeenSet = true; - } - if (jsonValue.ValueExists("RoleArn")) { - m_roleArn = jsonValue.GetString("RoleArn"); - m_roleArnHasBeenSet = true; - } - if (jsonValue.ValueExists("VpcConfiguration")) { - m_vpcConfiguration = jsonValue.GetObject("VpcConfiguration"); - m_vpcConfigurationHasBeenSet = true; - } - return *this; -} - -JsonValue RedshiftSourceConfig::Jsonize() const { - JsonValue payload; - - if (m_clusterIdentifierHasBeenSet) { - payload.WithString("ClusterIdentifier", m_clusterIdentifier); - } - - if (m_databaseHostHasBeenSet) { - payload.WithString("DatabaseHost", m_databaseHost); - } - - if (m_databasePortHasBeenSet) { - payload.WithInteger("DatabasePort", m_databasePort); - } - - if (m_secretManagerArnHasBeenSet) { - payload.WithString("SecretManagerArn", m_secretManagerArn); - } - - if (m_databaseNameHasBeenSet) { - payload.WithString("DatabaseName", m_databaseName); - } - - if (m_tableNameHasBeenSet) { - payload.WithString("TableName", m_tableName); - } - - if (m_roleArnHasBeenSet) { - payload.WithString("RoleArn", m_roleArn); - } - - if (m_vpcConfigurationHasBeenSet) { - payload.WithObject("VpcConfiguration", m_vpcConfiguration.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/RelationshipType.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/RelationshipType.cpp deleted file mode 100644 index 345b1ecd16e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/RelationshipType.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace RelationshipTypeMapper { - -static const int CAUSE_OF_INPUT_ANOMALY_GROUP_HASH = HashingUtils::HashString("CAUSE_OF_INPUT_ANOMALY_GROUP"); -static const int EFFECT_OF_INPUT_ANOMALY_GROUP_HASH = HashingUtils::HashString("EFFECT_OF_INPUT_ANOMALY_GROUP"); - -RelationshipType GetRelationshipTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == CAUSE_OF_INPUT_ANOMALY_GROUP_HASH) { - return RelationshipType::CAUSE_OF_INPUT_ANOMALY_GROUP; - } else if (hashCode == EFFECT_OF_INPUT_ANOMALY_GROUP_HASH) { - return RelationshipType::EFFECT_OF_INPUT_ANOMALY_GROUP; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return RelationshipType::NOT_SET; -} - -Aws::String GetNameForRelationshipType(RelationshipType enumValue) { - switch (enumValue) { - case RelationshipType::NOT_SET: - return {}; - case RelationshipType::CAUSE_OF_INPUT_ANOMALY_GROUP: - return "CAUSE_OF_INPUT_ANOMALY_GROUP"; - case RelationshipType::EFFECT_OF_INPUT_ANOMALY_GROUP: - return "EFFECT_OF_INPUT_ANOMALY_GROUP"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace RelationshipTypeMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ResourceNotFoundException.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ResourceNotFoundException.cpp deleted file mode 100644 index b1e7c6d59a7..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ResourceNotFoundException.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -ResourceNotFoundException::ResourceNotFoundException(JsonView jsonValue) { *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 LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/S3SourceConfig.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/S3SourceConfig.cpp deleted file mode 100644 index ec25dae52eb..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/S3SourceConfig.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -S3SourceConfig::S3SourceConfig(JsonView jsonValue) { *this = jsonValue; } - -S3SourceConfig& S3SourceConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("RoleArn")) { - m_roleArn = jsonValue.GetString("RoleArn"); - m_roleArnHasBeenSet = true; - } - if (jsonValue.ValueExists("TemplatedPathList")) { - Aws::Utils::Array templatedPathListJsonList = jsonValue.GetArray("TemplatedPathList"); - for (unsigned templatedPathListIndex = 0; templatedPathListIndex < templatedPathListJsonList.GetLength(); ++templatedPathListIndex) { - m_templatedPathList.push_back(templatedPathListJsonList[templatedPathListIndex].AsString()); - } - m_templatedPathListHasBeenSet = true; - } - if (jsonValue.ValueExists("HistoricalDataPathList")) { - Aws::Utils::Array historicalDataPathListJsonList = jsonValue.GetArray("HistoricalDataPathList"); - for (unsigned historicalDataPathListIndex = 0; historicalDataPathListIndex < historicalDataPathListJsonList.GetLength(); - ++historicalDataPathListIndex) { - m_historicalDataPathList.push_back(historicalDataPathListJsonList[historicalDataPathListIndex].AsString()); - } - m_historicalDataPathListHasBeenSet = true; - } - if (jsonValue.ValueExists("FileFormatDescriptor")) { - m_fileFormatDescriptor = jsonValue.GetObject("FileFormatDescriptor"); - m_fileFormatDescriptorHasBeenSet = true; - } - return *this; -} - -JsonValue S3SourceConfig::Jsonize() const { - JsonValue payload; - - if (m_roleArnHasBeenSet) { - payload.WithString("RoleArn", m_roleArn); - } - - if (m_templatedPathListHasBeenSet) { - Aws::Utils::Array templatedPathListJsonList(m_templatedPathList.size()); - for (unsigned templatedPathListIndex = 0; templatedPathListIndex < templatedPathListJsonList.GetLength(); ++templatedPathListIndex) { - templatedPathListJsonList[templatedPathListIndex].AsString(m_templatedPathList[templatedPathListIndex]); - } - payload.WithArray("TemplatedPathList", std::move(templatedPathListJsonList)); - } - - if (m_historicalDataPathListHasBeenSet) { - Aws::Utils::Array historicalDataPathListJsonList(m_historicalDataPathList.size()); - for (unsigned historicalDataPathListIndex = 0; historicalDataPathListIndex < historicalDataPathListJsonList.GetLength(); - ++historicalDataPathListIndex) { - historicalDataPathListJsonList[historicalDataPathListIndex].AsString(m_historicalDataPathList[historicalDataPathListIndex]); - } - payload.WithArray("HistoricalDataPathList", std::move(historicalDataPathListJsonList)); - } - - if (m_fileFormatDescriptorHasBeenSet) { - payload.WithObject("FileFormatDescriptor", m_fileFormatDescriptor.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/SNSConfiguration.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/SNSConfiguration.cpp deleted file mode 100644 index 1f7bdbd5df2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/SNSConfiguration.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -SNSConfiguration::SNSConfiguration(JsonView jsonValue) { *this = jsonValue; } - -SNSConfiguration& SNSConfiguration::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("RoleArn")) { - m_roleArn = jsonValue.GetString("RoleArn"); - m_roleArnHasBeenSet = true; - } - if (jsonValue.ValueExists("SnsTopicArn")) { - m_snsTopicArn = jsonValue.GetString("SnsTopicArn"); - m_snsTopicArnHasBeenSet = true; - } - if (jsonValue.ValueExists("SnsFormat")) { - m_snsFormat = SnsFormatMapper::GetSnsFormatForName(jsonValue.GetString("SnsFormat")); - m_snsFormatHasBeenSet = true; - } - return *this; -} - -JsonValue SNSConfiguration::Jsonize() const { - JsonValue payload; - - if (m_roleArnHasBeenSet) { - payload.WithString("RoleArn", m_roleArn); - } - - if (m_snsTopicArnHasBeenSet) { - payload.WithString("SnsTopicArn", m_snsTopicArn); - } - - if (m_snsFormatHasBeenSet) { - payload.WithString("SnsFormat", SnsFormatMapper::GetNameForSnsFormat(m_snsFormat)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/SampleDataS3SourceConfig.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/SampleDataS3SourceConfig.cpp deleted file mode 100644 index 68146bebf15..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/SampleDataS3SourceConfig.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -SampleDataS3SourceConfig::SampleDataS3SourceConfig(JsonView jsonValue) { *this = jsonValue; } - -SampleDataS3SourceConfig& SampleDataS3SourceConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("RoleArn")) { - m_roleArn = jsonValue.GetString("RoleArn"); - m_roleArnHasBeenSet = true; - } - if (jsonValue.ValueExists("TemplatedPathList")) { - Aws::Utils::Array templatedPathListJsonList = jsonValue.GetArray("TemplatedPathList"); - for (unsigned templatedPathListIndex = 0; templatedPathListIndex < templatedPathListJsonList.GetLength(); ++templatedPathListIndex) { - m_templatedPathList.push_back(templatedPathListJsonList[templatedPathListIndex].AsString()); - } - m_templatedPathListHasBeenSet = true; - } - if (jsonValue.ValueExists("HistoricalDataPathList")) { - Aws::Utils::Array historicalDataPathListJsonList = jsonValue.GetArray("HistoricalDataPathList"); - for (unsigned historicalDataPathListIndex = 0; historicalDataPathListIndex < historicalDataPathListJsonList.GetLength(); - ++historicalDataPathListIndex) { - m_historicalDataPathList.push_back(historicalDataPathListJsonList[historicalDataPathListIndex].AsString()); - } - m_historicalDataPathListHasBeenSet = true; - } - if (jsonValue.ValueExists("FileFormatDescriptor")) { - m_fileFormatDescriptor = jsonValue.GetObject("FileFormatDescriptor"); - m_fileFormatDescriptorHasBeenSet = true; - } - return *this; -} - -JsonValue SampleDataS3SourceConfig::Jsonize() const { - JsonValue payload; - - if (m_roleArnHasBeenSet) { - payload.WithString("RoleArn", m_roleArn); - } - - if (m_templatedPathListHasBeenSet) { - Aws::Utils::Array templatedPathListJsonList(m_templatedPathList.size()); - for (unsigned templatedPathListIndex = 0; templatedPathListIndex < templatedPathListJsonList.GetLength(); ++templatedPathListIndex) { - templatedPathListJsonList[templatedPathListIndex].AsString(m_templatedPathList[templatedPathListIndex]); - } - payload.WithArray("TemplatedPathList", std::move(templatedPathListJsonList)); - } - - if (m_historicalDataPathListHasBeenSet) { - Aws::Utils::Array historicalDataPathListJsonList(m_historicalDataPathList.size()); - for (unsigned historicalDataPathListIndex = 0; historicalDataPathListIndex < historicalDataPathListJsonList.GetLength(); - ++historicalDataPathListIndex) { - historicalDataPathListJsonList[historicalDataPathListIndex].AsString(m_historicalDataPathList[historicalDataPathListIndex]); - } - payload.WithArray("HistoricalDataPathList", std::move(historicalDataPathListJsonList)); - } - - if (m_fileFormatDescriptorHasBeenSet) { - payload.WithObject("FileFormatDescriptor", m_fileFormatDescriptor.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ServiceQuotaExceededException.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ServiceQuotaExceededException.cpp deleted file mode 100644 index 4ae2a50ac8c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ServiceQuotaExceededException.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -ServiceQuotaExceededException::ServiceQuotaExceededException(JsonView jsonValue) { *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("QuotaCode")) { - m_quotaCode = jsonValue.GetString("QuotaCode"); - m_quotaCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("ServiceCode")) { - m_serviceCode = jsonValue.GetString("ServiceCode"); - m_serviceCodeHasBeenSet = 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_quotaCodeHasBeenSet) { - payload.WithString("QuotaCode", m_quotaCode); - } - - if (m_serviceCodeHasBeenSet) { - payload.WithString("ServiceCode", m_serviceCode); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/SnsFormat.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/SnsFormat.cpp deleted file mode 100644 index b4049646e67..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/SnsFormat.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace SnsFormatMapper { - -static const int LONG_TEXT_HASH = HashingUtils::HashString("LONG_TEXT"); -static const int SHORT_TEXT_HASH = HashingUtils::HashString("SHORT_TEXT"); -static const int JSON_HASH = HashingUtils::HashString("JSON"); - -SnsFormat GetSnsFormatForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == LONG_TEXT_HASH) { - return SnsFormat::LONG_TEXT; - } else if (hashCode == SHORT_TEXT_HASH) { - return SnsFormat::SHORT_TEXT; - } else if (hashCode == JSON_HASH) { - return SnsFormat::JSON; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return SnsFormat::NOT_SET; -} - -Aws::String GetNameForSnsFormat(SnsFormat enumValue) { - switch (enumValue) { - case SnsFormat::NOT_SET: - return {}; - case SnsFormat::LONG_TEXT: - return "LONG_TEXT"; - case SnsFormat::SHORT_TEXT: - return "SHORT_TEXT"; - case SnsFormat::JSON: - return "JSON"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace SnsFormatMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TagResourceRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TagResourceRequest.cpp deleted file mode 100644 index fd4dbd798e0..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TagResourceRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -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-lookoutmetrics/source/model/TagResourceResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TagResourceResult.cpp deleted file mode 100644 index be6bd93651b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TagResourceResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TimeSeries.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TimeSeries.cpp deleted file mode 100644 index 385bfb498e2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TimeSeries.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -TimeSeries::TimeSeries(JsonView jsonValue) { *this = jsonValue; } - -TimeSeries& TimeSeries::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("TimeSeriesId")) { - m_timeSeriesId = jsonValue.GetString("TimeSeriesId"); - m_timeSeriesIdHasBeenSet = true; - } - if (jsonValue.ValueExists("DimensionList")) { - Aws::Utils::Array dimensionListJsonList = jsonValue.GetArray("DimensionList"); - for (unsigned dimensionListIndex = 0; dimensionListIndex < dimensionListJsonList.GetLength(); ++dimensionListIndex) { - m_dimensionList.push_back(dimensionListJsonList[dimensionListIndex].AsObject()); - } - m_dimensionListHasBeenSet = true; - } - if (jsonValue.ValueExists("MetricValueList")) { - Aws::Utils::Array metricValueListJsonList = jsonValue.GetArray("MetricValueList"); - for (unsigned metricValueListIndex = 0; metricValueListIndex < metricValueListJsonList.GetLength(); ++metricValueListIndex) { - m_metricValueList.push_back(metricValueListJsonList[metricValueListIndex].AsDouble()); - } - m_metricValueListHasBeenSet = true; - } - return *this; -} - -JsonValue TimeSeries::Jsonize() const { - JsonValue payload; - - if (m_timeSeriesIdHasBeenSet) { - payload.WithString("TimeSeriesId", m_timeSeriesId); - } - - if (m_dimensionListHasBeenSet) { - Aws::Utils::Array dimensionListJsonList(m_dimensionList.size()); - for (unsigned dimensionListIndex = 0; dimensionListIndex < dimensionListJsonList.GetLength(); ++dimensionListIndex) { - dimensionListJsonList[dimensionListIndex].AsObject(m_dimensionList[dimensionListIndex].Jsonize()); - } - payload.WithArray("DimensionList", std::move(dimensionListJsonList)); - } - - if (m_metricValueListHasBeenSet) { - Aws::Utils::Array metricValueListJsonList(m_metricValueList.size()); - for (unsigned metricValueListIndex = 0; metricValueListIndex < metricValueListJsonList.GetLength(); ++metricValueListIndex) { - metricValueListJsonList[metricValueListIndex].AsDouble(m_metricValueList[metricValueListIndex]); - } - payload.WithArray("MetricValueList", std::move(metricValueListJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TimeSeriesFeedback.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TimeSeriesFeedback.cpp deleted file mode 100644 index 336d81ba81a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TimeSeriesFeedback.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -TimeSeriesFeedback::TimeSeriesFeedback(JsonView jsonValue) { *this = jsonValue; } - -TimeSeriesFeedback& TimeSeriesFeedback::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("TimeSeriesId")) { - m_timeSeriesId = jsonValue.GetString("TimeSeriesId"); - m_timeSeriesIdHasBeenSet = true; - } - if (jsonValue.ValueExists("IsAnomaly")) { - m_isAnomaly = jsonValue.GetBool("IsAnomaly"); - m_isAnomalyHasBeenSet = true; - } - return *this; -} - -JsonValue TimeSeriesFeedback::Jsonize() const { - JsonValue payload; - - if (m_timeSeriesIdHasBeenSet) { - payload.WithString("TimeSeriesId", m_timeSeriesId); - } - - if (m_isAnomalyHasBeenSet) { - payload.WithBool("IsAnomaly", m_isAnomaly); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TimestampColumn.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TimestampColumn.cpp deleted file mode 100644 index ba77ab3caee..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/TimestampColumn.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -TimestampColumn::TimestampColumn(JsonView jsonValue) { *this = jsonValue; } - -TimestampColumn& TimestampColumn::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("ColumnName")) { - m_columnName = jsonValue.GetString("ColumnName"); - m_columnNameHasBeenSet = true; - } - if (jsonValue.ValueExists("ColumnFormat")) { - m_columnFormat = jsonValue.GetString("ColumnFormat"); - m_columnFormatHasBeenSet = true; - } - return *this; -} - -JsonValue TimestampColumn::Jsonize() const { - JsonValue payload; - - if (m_columnNameHasBeenSet) { - payload.WithString("ColumnName", m_columnName); - } - - if (m_columnFormatHasBeenSet) { - payload.WithString("ColumnFormat", m_columnFormat); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UntagResourceRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UntagResourceRequest.cpp deleted file mode 100644 index e39d2123354..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UntagResourceRequest.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -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-lookoutmetrics/source/model/UntagResourceResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UntagResourceResult.cpp deleted file mode 100644 index 23cdc9d89ce..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UntagResourceResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAlertRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAlertRequest.cpp deleted file mode 100644 index aa1cbb433e1..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAlertRequest.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String UpdateAlertRequest::SerializePayload() const { - JsonValue payload; - - if (m_alertArnHasBeenSet) { - payload.WithString("AlertArn", m_alertArn); - } - - if (m_alertDescriptionHasBeenSet) { - payload.WithString("AlertDescription", m_alertDescription); - } - - if (m_alertSensitivityThresholdHasBeenSet) { - payload.WithInteger("AlertSensitivityThreshold", m_alertSensitivityThreshold); - } - - if (m_actionHasBeenSet) { - payload.WithObject("Action", m_action.Jsonize()); - } - - if (m_alertFiltersHasBeenSet) { - payload.WithObject("AlertFilters", m_alertFilters.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAlertResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAlertResult.cpp deleted file mode 100644 index 7f4f74862dc..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAlertResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -UpdateAlertResult::UpdateAlertResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -UpdateAlertResult& UpdateAlertResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("AlertArn")) { - m_alertArn = jsonValue.GetString("AlertArn"); - m_alertArnHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAnomalyDetectorRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAnomalyDetectorRequest.cpp deleted file mode 100644 index 346c743a09f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAnomalyDetectorRequest.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String UpdateAnomalyDetectorRequest::SerializePayload() const { - JsonValue payload; - - if (m_anomalyDetectorArnHasBeenSet) { - payload.WithString("AnomalyDetectorArn", m_anomalyDetectorArn); - } - - if (m_kmsKeyArnHasBeenSet) { - payload.WithString("KmsKeyArn", m_kmsKeyArn); - } - - if (m_anomalyDetectorDescriptionHasBeenSet) { - payload.WithString("AnomalyDetectorDescription", m_anomalyDetectorDescription); - } - - if (m_anomalyDetectorConfigHasBeenSet) { - payload.WithObject("AnomalyDetectorConfig", m_anomalyDetectorConfig.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAnomalyDetectorResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAnomalyDetectorResult.cpp deleted file mode 100644 index d57d1d63148..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateAnomalyDetectorResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -UpdateAnomalyDetectorResult::UpdateAnomalyDetectorResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -UpdateAnomalyDetectorResult& UpdateAnomalyDetectorResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("AnomalyDetectorArn")) { - m_anomalyDetectorArn = jsonValue.GetString("AnomalyDetectorArn"); - m_anomalyDetectorArnHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateMetricSetRequest.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateMetricSetRequest.cpp deleted file mode 100644 index a78189f865a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateMetricSetRequest.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String UpdateMetricSetRequest::SerializePayload() const { - JsonValue payload; - - if (m_metricSetArnHasBeenSet) { - payload.WithString("MetricSetArn", m_metricSetArn); - } - - if (m_metricSetDescriptionHasBeenSet) { - payload.WithString("MetricSetDescription", m_metricSetDescription); - } - - if (m_metricListHasBeenSet) { - Aws::Utils::Array metricListJsonList(m_metricList.size()); - for (unsigned metricListIndex = 0; metricListIndex < metricListJsonList.GetLength(); ++metricListIndex) { - metricListJsonList[metricListIndex].AsObject(m_metricList[metricListIndex].Jsonize()); - } - payload.WithArray("MetricList", std::move(metricListJsonList)); - } - - if (m_offsetHasBeenSet) { - payload.WithInteger("Offset", m_offset); - } - - if (m_timestampColumnHasBeenSet) { - payload.WithObject("TimestampColumn", m_timestampColumn.Jsonize()); - } - - if (m_dimensionListHasBeenSet) { - Aws::Utils::Array dimensionListJsonList(m_dimensionList.size()); - for (unsigned dimensionListIndex = 0; dimensionListIndex < dimensionListJsonList.GetLength(); ++dimensionListIndex) { - dimensionListJsonList[dimensionListIndex].AsString(m_dimensionList[dimensionListIndex]); - } - payload.WithArray("DimensionList", std::move(dimensionListJsonList)); - } - - if (m_metricSetFrequencyHasBeenSet) { - payload.WithString("MetricSetFrequency", FrequencyMapper::GetNameForFrequency(m_metricSetFrequency)); - } - - if (m_metricSourceHasBeenSet) { - payload.WithObject("MetricSource", m_metricSource.Jsonize()); - } - - if (m_dimensionFilterListHasBeenSet) { - Aws::Utils::Array dimensionFilterListJsonList(m_dimensionFilterList.size()); - for (unsigned dimensionFilterListIndex = 0; dimensionFilterListIndex < dimensionFilterListJsonList.GetLength(); - ++dimensionFilterListIndex) { - dimensionFilterListJsonList[dimensionFilterListIndex].AsObject(m_dimensionFilterList[dimensionFilterListIndex].Jsonize()); - } - payload.WithArray("DimensionFilterList", std::move(dimensionFilterListJsonList)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateMetricSetResult.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateMetricSetResult.cpp deleted file mode 100644 index 761d7adc163..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/UpdateMetricSetResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutMetrics::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -UpdateMetricSetResult::UpdateMetricSetResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -UpdateMetricSetResult& UpdateMetricSetResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("MetricSetArn")) { - m_metricSetArn = jsonValue.GetString("MetricSetArn"); - m_metricSetArnHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ValidationException.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ValidationException.cpp deleted file mode 100644 index cb3c260f29e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ValidationException.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -ValidationException::ValidationException(JsonView jsonValue) { *this = jsonValue; } - -ValidationException& ValidationException::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Message")) { - m_message = jsonValue.GetString("Message"); - m_messageHasBeenSet = true; - } - if (jsonValue.ValueExists("Reason")) { - m_reason = ValidationExceptionReasonMapper::GetValidationExceptionReasonForName(jsonValue.GetString("Reason")); - m_reasonHasBeenSet = true; - } - if (jsonValue.ValueExists("Fields")) { - Aws::Utils::Array fieldsJsonList = jsonValue.GetArray("Fields"); - for (unsigned fieldsIndex = 0; fieldsIndex < fieldsJsonList.GetLength(); ++fieldsIndex) { - m_fields.push_back(fieldsJsonList[fieldsIndex].AsObject()); - } - m_fieldsHasBeenSet = true; - } - return *this; -} - -JsonValue ValidationException::Jsonize() const { - JsonValue payload; - - if (m_messageHasBeenSet) { - payload.WithString("Message", m_message); - } - - if (m_reasonHasBeenSet) { - payload.WithString("Reason", ValidationExceptionReasonMapper::GetNameForValidationExceptionReason(m_reason)); - } - - if (m_fieldsHasBeenSet) { - Aws::Utils::Array fieldsJsonList(m_fields.size()); - for (unsigned fieldsIndex = 0; fieldsIndex < fieldsJsonList.GetLength(); ++fieldsIndex) { - fieldsJsonList[fieldsIndex].AsObject(m_fields[fieldsIndex].Jsonize()); - } - payload.WithArray("Fields", std::move(fieldsJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ValidationExceptionField.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ValidationExceptionField.cpp deleted file mode 100644 index e196ded1c36..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ValidationExceptionField.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -ValidationExceptionField::ValidationExceptionField(JsonView jsonValue) { *this = jsonValue; } - -ValidationExceptionField& ValidationExceptionField::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Name")) { - m_name = jsonValue.GetString("Name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("Message")) { - m_message = jsonValue.GetString("Message"); - m_messageHasBeenSet = true; - } - return *this; -} - -JsonValue ValidationExceptionField::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("Name", m_name); - } - - if (m_messageHasBeenSet) { - payload.WithString("Message", m_message); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ValidationExceptionReason.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ValidationExceptionReason.cpp deleted file mode 100644 index aa23fa671d9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/ValidationExceptionReason.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { -namespace ValidationExceptionReasonMapper { - -static const int UNKNOWN_OPERATION_HASH = HashingUtils::HashString("UNKNOWN_OPERATION"); -static const int CANNOT_PARSE_HASH = HashingUtils::HashString("CANNOT_PARSE"); -static const int FIELD_VALIDATION_FAILED_HASH = HashingUtils::HashString("FIELD_VALIDATION_FAILED"); -static const int OTHER_HASH = HashingUtils::HashString("OTHER"); - -ValidationExceptionReason GetValidationExceptionReasonForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == UNKNOWN_OPERATION_HASH) { - return ValidationExceptionReason::UNKNOWN_OPERATION; - } else if (hashCode == CANNOT_PARSE_HASH) { - return ValidationExceptionReason::CANNOT_PARSE; - } else if (hashCode == FIELD_VALIDATION_FAILED_HASH) { - return ValidationExceptionReason::FIELD_VALIDATION_FAILED; - } else if (hashCode == OTHER_HASH) { - return ValidationExceptionReason::OTHER; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return ValidationExceptionReason::NOT_SET; -} - -Aws::String GetNameForValidationExceptionReason(ValidationExceptionReason enumValue) { - switch (enumValue) { - case ValidationExceptionReason::NOT_SET: - return {}; - case ValidationExceptionReason::UNKNOWN_OPERATION: - return "UNKNOWN_OPERATION"; - case ValidationExceptionReason::CANNOT_PARSE: - return "CANNOT_PARSE"; - case ValidationExceptionReason::FIELD_VALIDATION_FAILED: - return "FIELD_VALIDATION_FAILED"; - case ValidationExceptionReason::OTHER: - return "OTHER"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ValidationExceptionReasonMapper -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/VpcConfiguration.cpp b/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/VpcConfiguration.cpp deleted file mode 100644 index ad8153edba6..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutmetrics/source/model/VpcConfiguration.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 LookoutMetrics { -namespace Model { - -VpcConfiguration::VpcConfiguration(JsonView jsonValue) { *this = jsonValue; } - -VpcConfiguration& VpcConfiguration::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("SubnetIdList")) { - Aws::Utils::Array subnetIdListJsonList = jsonValue.GetArray("SubnetIdList"); - for (unsigned subnetIdListIndex = 0; subnetIdListIndex < subnetIdListJsonList.GetLength(); ++subnetIdListIndex) { - m_subnetIdList.push_back(subnetIdListJsonList[subnetIdListIndex].AsString()); - } - m_subnetIdListHasBeenSet = true; - } - if (jsonValue.ValueExists("SecurityGroupIdList")) { - Aws::Utils::Array securityGroupIdListJsonList = jsonValue.GetArray("SecurityGroupIdList"); - for (unsigned securityGroupIdListIndex = 0; securityGroupIdListIndex < securityGroupIdListJsonList.GetLength(); - ++securityGroupIdListIndex) { - m_securityGroupIdList.push_back(securityGroupIdListJsonList[securityGroupIdListIndex].AsString()); - } - m_securityGroupIdListHasBeenSet = true; - } - return *this; -} - -JsonValue VpcConfiguration::Jsonize() const { - JsonValue payload; - - if (m_subnetIdListHasBeenSet) { - Aws::Utils::Array subnetIdListJsonList(m_subnetIdList.size()); - for (unsigned subnetIdListIndex = 0; subnetIdListIndex < subnetIdListJsonList.GetLength(); ++subnetIdListIndex) { - subnetIdListJsonList[subnetIdListIndex].AsString(m_subnetIdList[subnetIdListIndex]); - } - payload.WithArray("SubnetIdList", std::move(subnetIdListJsonList)); - } - - if (m_securityGroupIdListHasBeenSet) { - Aws::Utils::Array securityGroupIdListJsonList(m_securityGroupIdList.size()); - for (unsigned securityGroupIdListIndex = 0; securityGroupIdListIndex < securityGroupIdListJsonList.GetLength(); - ++securityGroupIdListIndex) { - securityGroupIdListJsonList[securityGroupIdListIndex].AsString(m_securityGroupIdList[securityGroupIdListIndex]); - } - payload.WithArray("SecurityGroupIdList", std::move(securityGroupIdListJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutMetrics -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/CMakeLists.txt b/generated/src/aws-cpp-sdk-lookoutvision/CMakeLists.txt deleted file mode 100644 index 9db988e4a46..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/CMakeLists.txt +++ /dev/null @@ -1,76 +0,0 @@ -add_project(aws-cpp-sdk-lookoutvision "C++ SDK for the AWS lookoutvision service" aws-cpp-sdk-core) - -file(GLOB AWS_LOOKOUTVISION_HEADERS - "include/aws/lookoutvision/*.h" -) - -file(GLOB AWS_LOOKOUTVISION_MODEL_HEADERS - "include/aws/lookoutvision/model/*.h" -) - -file(GLOB AWS_LOOKOUTVISION_SOURCE - "source/*.cpp" -) - -file(GLOB AWS_LOOKOUTVISION_MODEL_SOURCE - "source/model/*.cpp" -) - -file(GLOB LOOKOUTVISION_UNIFIED_HEADERS - ${AWS_LOOKOUTVISION_HEADERS} - ${AWS_LOOKOUTVISION_MODEL_HEADERS} -) - -file(GLOB LOOKOUTVISION_UNITY_SRC - ${AWS_LOOKOUTVISION_SOURCE} - ${AWS_LOOKOUTVISION_MODEL_SOURCE} -) - -if(ENABLE_UNITY_BUILD) - enable_unity_build("LOOKOUTVISION" LOOKOUTVISION_UNITY_SRC) -endif() - -file(GLOB LOOKOUTVISION_SRC - ${LOOKOUTVISION_UNIFIED_HEADERS} - ${LOOKOUTVISION_UNITY_SRC} -) - -if(WIN32) - #if we are compiling for visual studio, create a sane directory tree. - if(MSVC) - source_group("Header Files\\aws\\lookoutvision" FILES ${AWS_LOOKOUTVISION_HEADERS}) - source_group("Header Files\\aws\\lookoutvision\\model" FILES ${AWS_LOOKOUTVISION_MODEL_HEADERS}) - source_group("Source Files" FILES ${AWS_LOOKOUTVISION_SOURCE}) - source_group("Source Files\\model" FILES ${AWS_LOOKOUTVISION_MODEL_SOURCE}) - endif(MSVC) -endif() - -set(LOOKOUTVISION_INCLUDES - "${CMAKE_CURRENT_SOURCE_DIR}/include/" -) - -add_library(${PROJECT_NAME} ${LOOKOUTVISION_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_LOOKOUTFORVISION_EXPORTS") -endif() - -target_include_directories(${PROJECT_NAME} PUBLIC - $ - $) - -target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS}) - - -setup_install() - -install (FILES ${AWS_LOOKOUTVISION_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/lookoutvision) -install (FILES ${AWS_LOOKOUTVISION_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/lookoutvision/model) - -do_packaging() - - diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionClient.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionClient.h deleted file mode 100644 index cc447fe7797..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionClient.h +++ /dev/null @@ -1,805 +0,0 @@ -/** - * 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 LookoutforVision { -/** - *

This is the Amazon Lookout for Vision API Reference. It provides descriptions - * of actions, data types, common parameters, and common errors.

Amazon - * Lookout for Vision enables you to find visual defects in industrial products, - * accurately and at scale. It uses computer vision to identify missing components - * in an industrial product, damage to vehicles or structures, irregularities in - * production lines, and even minuscule defects in silicon wafers — or any other - * physical item where quality is important such as a missing capacitor on printed - * circuit boards.

- */ -class AWS_LOOKOUTFORVISION_API LookoutforVisionClient : public Aws::Client::AWSJsonClient, - public Aws::Client::ClientWithAsyncTemplateMethods { - public: - typedef Aws::Client::AWSJsonClient BASECLASS; - static const char* GetServiceName(); - static const char* GetAllocationTag(); - - typedef LookoutforVisionClientConfiguration ClientConfigurationType; - typedef LookoutforVisionEndpointProvider 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. - */ - LookoutforVisionClient(const Aws::LookoutforVision::LookoutforVisionClientConfiguration& clientConfiguration = - Aws::LookoutforVision::LookoutforVisionClientConfiguration(), - 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. - */ - LookoutforVisionClient(const Aws::Auth::AWSCredentials& credentials, - std::shared_ptr endpointProvider = nullptr, - const Aws::LookoutforVision::LookoutforVisionClientConfiguration& clientConfiguration = - Aws::LookoutforVision::LookoutforVisionClientConfiguration()); - - /** - * 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 - */ - LookoutforVisionClient(const std::shared_ptr& credentialsProvider, - std::shared_ptr endpointProvider = nullptr, - const Aws::LookoutforVision::LookoutforVisionClientConfiguration& clientConfiguration = - Aws::LookoutforVision::LookoutforVisionClientConfiguration()); - - /* 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. - */ - LookoutforVisionClient(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. - */ - LookoutforVisionClient(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 - */ - LookoutforVisionClient(const std::shared_ptr& credentialsProvider, - const Aws::Client::ClientConfiguration& clientConfiguration); - - /* End of legacy constructors due deprecation */ - virtual ~LookoutforVisionClient(); - - /** - *

Creates a new dataset in an Amazon Lookout for Vision project. - * CreateDataset can create a training or a test dataset from a valid - * dataset source (DatasetSource).

If you want a single dataset - * project, specify train for the value of - * DatasetType.

To have a project with separate training and - * test datasets, call CreateDataset twice. On the first call, specify - * train for the value of DatasetType. On the second - * call, specify test for the value of DatasetType.

- *

This operation requires permissions to perform the - * lookoutvision:CreateDataset operation.

See Also:

- * AWS - * API Reference

- */ - virtual Model::CreateDatasetOutcome CreateDataset(const Model::CreateDatasetRequest& request) const; - - /** - * A Callable wrapper for CreateDataset that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::CreateDatasetOutcomeCallable CreateDatasetCallable(const CreateDatasetRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::CreateDataset, request); - } - - /** - * An Async wrapper for CreateDataset that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void CreateDatasetAsync(const CreateDatasetRequestT& request, const CreateDatasetResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::CreateDataset, request, handler, context); - } - - /** - *

Creates a new version of a model within an an Amazon Lookout for Vision - * project. CreateModel is an asynchronous operation in which Amazon - * Lookout for Vision trains, tests, and evaluates a new version of a model.

- *

To get the current status, check the Status field returned in - * the response from DescribeModel.

If the project has a single - * dataset, Amazon Lookout for Vision internally splits the dataset to create a - * training and a test dataset. If the project has a training and a test dataset, - * Lookout for Vision uses the respective datasets to train and test the model. - *

After training completes, the evaluation metrics are stored at the - * location specified in OutputConfig.

This operation requires - * permissions to perform the lookoutvision:CreateModel operation. If - * you want to tag your model, you also require permission to the - * lookoutvision:TagResource operation.

See Also:

AWS - * API Reference

- */ - virtual Model::CreateModelOutcome CreateModel(const Model::CreateModelRequest& request) const; - - /** - * A Callable wrapper for CreateModel that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::CreateModelOutcomeCallable CreateModelCallable(const CreateModelRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::CreateModel, request); - } - - /** - * An Async wrapper for CreateModel that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void CreateModelAsync(const CreateModelRequestT& request, const CreateModelResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::CreateModel, request, handler, context); - } - - /** - *

Creates an empty Amazon Lookout for Vision project. After you create the - * project, add a dataset by calling CreateDataset.

This operation - * requires permissions to perform the lookoutvision:CreateProject - * operation.

See Also:

AWS - * API Reference

- */ - virtual Model::CreateProjectOutcome CreateProject(const Model::CreateProjectRequest& request) const; - - /** - * A Callable wrapper for CreateProject that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::CreateProjectOutcomeCallable CreateProjectCallable(const CreateProjectRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::CreateProject, request); - } - - /** - * An Async wrapper for CreateProject that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void CreateProjectAsync(const CreateProjectRequestT& request, const CreateProjectResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::CreateProject, request, handler, context); - } - - /** - *

Deletes an existing Amazon Lookout for Vision dataset.

- *

If your the project has a single dataset, you must create a new dataset - * before you can create a model.

If you project has a training dataset and - * a test dataset consider the following.

  • If you delete the test - * dataset, your project reverts to a single dataset project. If you then train the - * model, Amazon Lookout for Vision internally splits the remaining dataset into a - * training and test dataset.

  • If you delete the training dataset, - * you must create a training dataset before you can create a model.

  • - *

This operation requires permissions to perform the - * lookoutvision:DeleteDataset operation.

See Also:

- * AWS - * API Reference

- */ - virtual Model::DeleteDatasetOutcome DeleteDataset(const Model::DeleteDatasetRequest& request) const; - - /** - * A Callable wrapper for DeleteDataset that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DeleteDatasetOutcomeCallable DeleteDatasetCallable(const DeleteDatasetRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::DeleteDataset, request); - } - - /** - * An Async wrapper for DeleteDataset that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DeleteDatasetAsync(const DeleteDatasetRequestT& request, const DeleteDatasetResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::DeleteDataset, request, handler, context); - } - - /** - *

Deletes an Amazon Lookout for Vision model. You can't delete a running model. - * To stop a running model, use the StopModel operation.

It might - * take a few seconds to delete a model. To determine if a model has been deleted, - * call ListModels and check if the version of the model - * (ModelVersion) is in the Models array.

- *

This operation requires permissions to perform the - * lookoutvision:DeleteModel operation.

See Also:

AWS - * API Reference

- */ - virtual Model::DeleteModelOutcome DeleteModel(const Model::DeleteModelRequest& request) const; - - /** - * A Callable wrapper for DeleteModel that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DeleteModelOutcomeCallable DeleteModelCallable(const DeleteModelRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::DeleteModel, request); - } - - /** - * An Async wrapper for DeleteModel that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DeleteModelAsync(const DeleteModelRequestT& request, const DeleteModelResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::DeleteModel, request, handler, context); - } - - /** - *

Deletes an Amazon Lookout for Vision project.

To delete a project, you - * must first delete each version of the model associated with the project. To - * delete a model use the DeleteModel operation.

You also have to - * delete the dataset(s) associated with the model. For more information, see - * DeleteDataset. The images referenced by the training and test datasets - * aren't deleted.

This operation requires permissions to perform the - * lookoutvision:DeleteProject operation.

See Also:

- * AWS - * API Reference

- */ - virtual Model::DeleteProjectOutcome DeleteProject(const Model::DeleteProjectRequest& request) const; - - /** - * A Callable wrapper for DeleteProject that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DeleteProjectOutcomeCallable DeleteProjectCallable(const DeleteProjectRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::DeleteProject, request); - } - - /** - * An Async wrapper for DeleteProject that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DeleteProjectAsync(const DeleteProjectRequestT& request, const DeleteProjectResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::DeleteProject, request, handler, context); - } - - /** - *

Describe an Amazon Lookout for Vision dataset.

This operation requires - * permissions to perform the lookoutvision:DescribeDataset - * operation.

See Also:

AWS - * API Reference

- */ - virtual Model::DescribeDatasetOutcome DescribeDataset(const Model::DescribeDatasetRequest& request) const; - - /** - * A Callable wrapper for DescribeDataset that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DescribeDatasetOutcomeCallable DescribeDatasetCallable(const DescribeDatasetRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::DescribeDataset, request); - } - - /** - * An Async wrapper for DescribeDataset that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DescribeDatasetAsync(const DescribeDatasetRequestT& request, const DescribeDatasetResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::DescribeDataset, request, handler, context); - } - - /** - *

Describes a version of an Amazon Lookout for Vision model.

This - * operation requires permissions to perform the - * lookoutvision:DescribeModel operation.

See Also:

- * AWS - * API Reference

- */ - virtual Model::DescribeModelOutcome DescribeModel(const Model::DescribeModelRequest& request) const; - - /** - * A Callable wrapper for DescribeModel that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DescribeModelOutcomeCallable DescribeModelCallable(const DescribeModelRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::DescribeModel, request); - } - - /** - * An Async wrapper for DescribeModel that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DescribeModelAsync(const DescribeModelRequestT& request, const DescribeModelResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::DescribeModel, request, handler, context); - } - - /** - *

Describes an Amazon Lookout for Vision model packaging job.

This - * operation requires permissions to perform the - * lookoutvision:DescribeModelPackagingJob operation.

For more - * information, see Using your Amazon Lookout for Vision model on an edge - * device in the Amazon Lookout for Vision Developer Guide.

See - * Also:

AWS - * API Reference

- */ - virtual Model::DescribeModelPackagingJobOutcome DescribeModelPackagingJob(const Model::DescribeModelPackagingJobRequest& request) const; - - /** - * A Callable wrapper for DescribeModelPackagingJob that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DescribeModelPackagingJobOutcomeCallable DescribeModelPackagingJobCallable( - const DescribeModelPackagingJobRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::DescribeModelPackagingJob, request); - } - - /** - * An Async wrapper for DescribeModelPackagingJob that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DescribeModelPackagingJobAsync(const DescribeModelPackagingJobRequestT& request, - const DescribeModelPackagingJobResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::DescribeModelPackagingJob, request, handler, context); - } - - /** - *

Describes an Amazon Lookout for Vision project.

This operation - * requires permissions to perform the lookoutvision:DescribeProject - * operation.

See Also:

AWS - * API Reference

- */ - virtual Model::DescribeProjectOutcome DescribeProject(const Model::DescribeProjectRequest& request) const; - - /** - * A Callable wrapper for DescribeProject that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DescribeProjectOutcomeCallable DescribeProjectCallable(const DescribeProjectRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::DescribeProject, request); - } - - /** - * An Async wrapper for DescribeProject that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DescribeProjectAsync(const DescribeProjectRequestT& request, const DescribeProjectResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::DescribeProject, request, handler, context); - } - - /** - *

Detects anomalies in an image that you supply.

The response from - * DetectAnomalies includes a boolean prediction that the image - * contains one or more anomalies and a confidence value for the prediction. If the - * model is an image segmentation model, the response also includes segmentation - * information for each type of anomaly found in the image.

Before - * calling DetectAnomalies, you must first start your model with the - * StartModel operation. You are charged for the amount of time, in minutes, - * that a model runs and for the number of anomaly detection units that your model - * uses. If you are not using a model, use the StopModel operation to stop - * your model.

For more information, see Detecting anomalies in - * an image in the Amazon Lookout for Vision developer guide.

This - * operation requires permissions to perform the - * lookoutvision:DetectAnomalies operation.

See Also:

- * AWS - * API Reference

- */ - virtual Model::DetectAnomaliesOutcome DetectAnomalies(const Model::DetectAnomaliesRequest& request) const; - - /** - * A Callable wrapper for DetectAnomalies that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DetectAnomaliesOutcomeCallable DetectAnomaliesCallable(const DetectAnomaliesRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::DetectAnomalies, request); - } - - /** - * An Async wrapper for DetectAnomalies that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DetectAnomaliesAsync(const DetectAnomaliesRequestT& request, const DetectAnomaliesResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::DetectAnomalies, request, handler, context); - } - - /** - *

Lists the JSON Lines within a dataset. An Amazon Lookout for Vision JSON Line - * contains the anomaly information for a single image, including the image - * location and the assigned label.

This operation requires permissions to - * perform the lookoutvision:ListDatasetEntries - * operation.

See Also:

AWS - * API Reference

- */ - virtual Model::ListDatasetEntriesOutcome ListDatasetEntries(const Model::ListDatasetEntriesRequest& request) const; - - /** - * A Callable wrapper for ListDatasetEntries that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListDatasetEntriesOutcomeCallable ListDatasetEntriesCallable(const ListDatasetEntriesRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::ListDatasetEntries, request); - } - - /** - * An Async wrapper for ListDatasetEntries that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void ListDatasetEntriesAsync(const ListDatasetEntriesRequestT& request, const ListDatasetEntriesResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::ListDatasetEntries, request, handler, context); - } - - /** - *

Lists the model packaging jobs created for an Amazon Lookout for Vision - * project.

This operation requires permissions to perform the - * lookoutvision:ListModelPackagingJobs operation.

For more - * information, see Using your Amazon Lookout for Vision model on an edge - * device in the Amazon Lookout for Vision Developer Guide.

See - * Also:

AWS - * API Reference

- */ - virtual Model::ListModelPackagingJobsOutcome ListModelPackagingJobs(const Model::ListModelPackagingJobsRequest& request) const; - - /** - * A Callable wrapper for ListModelPackagingJobs that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListModelPackagingJobsOutcomeCallable ListModelPackagingJobsCallable(const ListModelPackagingJobsRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::ListModelPackagingJobs, request); - } - - /** - * An Async wrapper for ListModelPackagingJobs that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void ListModelPackagingJobsAsync(const ListModelPackagingJobsRequestT& request, - const ListModelPackagingJobsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::ListModelPackagingJobs, request, handler, context); - } - - /** - *

Lists the versions of a model in an Amazon Lookout for Vision project.

- *

The ListModels operation is eventually consistent. Recent calls - * to CreateModel might take a while to appear in the response from - * ListProjects.

This operation requires permissions to perform - * the lookoutvision:ListModels operation.

See Also:

- * AWS - * API Reference

- */ - virtual Model::ListModelsOutcome ListModels(const Model::ListModelsRequest& request) const; - - /** - * A Callable wrapper for ListModels that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::ListModelsOutcomeCallable ListModelsCallable(const ListModelsRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::ListModels, request); - } - - /** - * An Async wrapper for ListModels that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void ListModelsAsync(const ListModelsRequestT& request, const ListModelsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::ListModels, request, handler, context); - } - - /** - *

Lists the Amazon Lookout for Vision projects in your AWS account that are in - * the AWS Region in which you call ListProjects.

The - * ListProjects operation is eventually consistent. Recent calls to - * CreateProject and DeleteProject might take a while to - * appear in the response from ListProjects.

This operation - * requires permissions to perform the lookoutvision:ListProjects - * operation.

See Also:

AWS - * API Reference

- */ - virtual Model::ListProjectsOutcome ListProjects(const Model::ListProjectsRequest& request = {}) const; - - /** - * A Callable wrapper for ListProjects that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::ListProjectsOutcomeCallable ListProjectsCallable(const ListProjectsRequestT& request = {}) const { - return SubmitCallable(&LookoutforVisionClient::ListProjects, request); - } - - /** - * An Async wrapper for ListProjects that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void ListProjectsAsync(const ListProjectsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListProjectsRequestT& request = {}) const { - return SubmitAsync(&LookoutforVisionClient::ListProjects, request, handler, context); - } - - /** - *

Returns a list of tags attached to the specified Amazon Lookout for Vision - * model.

This operation requires permissions to perform the - * lookoutvision:ListTagsForResource operation.

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(&LookoutforVisionClient::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(&LookoutforVisionClient::ListTagsForResource, request, handler, context); - } - - /** - *

Starts the running of the version of an Amazon Lookout for Vision model. - * Starting a model takes a while to complete. To check the current state of the - * model, use DescribeModel.

A model is ready to use when its status - * is HOSTED.

Once the model is running, you can detect custom - * labels in new images by calling DetectAnomalies.

You are - * charged for the amount of time that the model is running. To stop a running - * model, call StopModel.

This operation requires permissions - * to perform the lookoutvision:StartModel operation.

See - * Also:

AWS - * API Reference

- */ - virtual Model::StartModelOutcome StartModel(const Model::StartModelRequest& request) const; - - /** - * A Callable wrapper for StartModel that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::StartModelOutcomeCallable StartModelCallable(const StartModelRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::StartModel, request); - } - - /** - * An Async wrapper for StartModel that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void StartModelAsync(const StartModelRequestT& request, const StartModelResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::StartModel, request, handler, context); - } - - /** - *

Starts an Amazon Lookout for Vision model packaging job. A model packaging - * job creates an AWS IoT Greengrass component for a Lookout for Vision model. You - * can use the component to deploy your model to an edge device managed by - * Greengrass.

Use the DescribeModelPackagingJob API to determine - * the current status of the job. The model packaging job is complete if the value - * of Status is SUCCEEDED.

To deploy the component - * to the target device, use the component name and component version with the AWS - * IoT Greengrass CreateDeployment - * API.

This operation requires the following permissions:

  • - * lookoutvision:StartModelPackagingJob

  • - * s3:PutObject

  • s3:GetBucketLocation - *

  • kms:GenerateDataKey

  • - * greengrass:CreateComponentVersion

  • - * greengrass:DescribeComponent

  • (Optional) - * greengrass:TagResource. Only required if you want to tag the - * component.

For more information, see Using your Amazon - * Lookout for Vision model on an edge device in the Amazon Lookout for Vision - * Developer Guide.

See Also:

AWS - * API Reference

- */ - virtual Model::StartModelPackagingJobOutcome StartModelPackagingJob(const Model::StartModelPackagingJobRequest& request) const; - - /** - * A Callable wrapper for StartModelPackagingJob that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::StartModelPackagingJobOutcomeCallable StartModelPackagingJobCallable(const StartModelPackagingJobRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::StartModelPackagingJob, request); - } - - /** - * An Async wrapper for StartModelPackagingJob that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void StartModelPackagingJobAsync(const StartModelPackagingJobRequestT& request, - const StartModelPackagingJobResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::StartModelPackagingJob, request, handler, context); - } - - /** - *

Stops the hosting of a running model. The operation might take a while to - * complete. To check the current status, call DescribeModel.

After - * the model hosting stops, the Status of the model is - * TRAINED.

This operation requires permissions to perform the - * lookoutvision:StopModel operation.

See Also:

AWS - * API Reference

- */ - virtual Model::StopModelOutcome StopModel(const Model::StopModelRequest& request) const; - - /** - * A Callable wrapper for StopModel that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::StopModelOutcomeCallable StopModelCallable(const StopModelRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::StopModel, request); - } - - /** - * An Async wrapper for StopModel that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void StopModelAsync(const StopModelRequestT& request, const StopModelResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::StopModel, request, handler, context); - } - - /** - *

Adds one or more key-value tags to an Amazon Lookout for Vision model. For - * more information, see Tagging a model in the Amazon Lookout for Vision - * Developer Guide.

This operation requires permissions to perform the - * lookoutvision:TagResource operation.

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(&LookoutforVisionClient::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(&LookoutforVisionClient::TagResource, request, handler, context); - } - - /** - *

Removes one or more tags from an Amazon Lookout for Vision model. For more - * information, see Tagging a model in the Amazon Lookout for Vision - * Developer Guide.

This operation requires permissions to perform the - * lookoutvision:UntagResource operation.

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(&LookoutforVisionClient::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(&LookoutforVisionClient::UntagResource, request, handler, context); - } - - /** - *

Adds or updates one or more JSON Line entries in a dataset. A JSON Line - * includes information about an image used for training or testing an Amazon - * Lookout for Vision model.

To update an existing JSON Line, use the - * source-ref field to identify the JSON Line. The JSON line that you - * supply replaces the existing JSON line. Any existing annotations that are not in - * the new JSON line are removed from the dataset.

For more information, - * see Defining JSON lines for anomaly classification in the Amazon Lookout - * for Vision Developer Guide.

The images you reference in the - * source-ref field of a JSON line, must be in the same S3 bucket as - * the existing images in the dataset.

Updating a dataset might - * take a while to complete. To check the current status, call - * DescribeDataset and check the Status field in the - * response.

This operation requires permissions to perform the - * lookoutvision:UpdateDatasetEntries operation.

See - * Also:

AWS - * API Reference

- */ - virtual Model::UpdateDatasetEntriesOutcome UpdateDatasetEntries(const Model::UpdateDatasetEntriesRequest& request) const; - - /** - * A Callable wrapper for UpdateDatasetEntries that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::UpdateDatasetEntriesOutcomeCallable UpdateDatasetEntriesCallable(const UpdateDatasetEntriesRequestT& request) const { - return SubmitCallable(&LookoutforVisionClient::UpdateDatasetEntries, request); - } - - /** - * An Async wrapper for UpdateDatasetEntries that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void UpdateDatasetEntriesAsync(const UpdateDatasetEntriesRequestT& request, const UpdateDatasetEntriesResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&LookoutforVisionClient::UpdateDatasetEntries, request, handler, context); - } - - void OverrideEndpoint(const Aws::String& endpoint); - std::shared_ptr& accessEndpointProvider(); - - private: - friend class Aws::Client::ClientWithAsyncTemplateMethods; - void init(const LookoutforVisionClientConfiguration& clientConfiguration); - - LookoutforVisionClientConfiguration m_clientConfiguration; - std::shared_ptr m_endpointProvider; -}; - -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionEndpointProvider.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionEndpointProvider.h deleted file mode 100644 index 4ffb02a29da..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionEndpointProvider.h +++ /dev/null @@ -1,54 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Endpoint { -using EndpointParameters = Aws::Endpoint::EndpointParameters; -using Aws::Endpoint::DefaultEndpointProvider; -using Aws::Endpoint::EndpointProviderBase; - -using LookoutforVisionClientContextParameters = Aws::Endpoint::ClientContextParameters; - -using LookoutforVisionClientConfiguration = Aws::Client::GenericClientConfiguration; -using LookoutforVisionBuiltInParameters = Aws::Endpoint::BuiltInParameters; - -/** - * The type for the LookoutforVision 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 LookoutforVisionEndpointProviderBase = - EndpointProviderBase; - -using LookoutforVisionDefaultEpProviderBase = - DefaultEndpointProvider; - -/** - * Default endpoint provider used for this service - */ -class AWS_LOOKOUTFORVISION_API LookoutforVisionEndpointProvider : public LookoutforVisionDefaultEpProviderBase { - public: - using LookoutforVisionResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; - - LookoutforVisionEndpointProvider() - : LookoutforVisionDefaultEpProviderBase(Aws::LookoutforVision::LookoutforVisionEndpointRules::GetRulesBlob(), - Aws::LookoutforVision::LookoutforVisionEndpointRules::RulesBlobSize) {} - - ~LookoutforVisionEndpointProvider() {} -}; -} // namespace Endpoint -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionEndpointRules.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionEndpointRules.h deleted file mode 100644 index ad2e6444e3c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionEndpointRules.h +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include - -#include - -namespace Aws { -namespace LookoutforVision { -class LookoutforVisionEndpointRules { - public: - static const size_t RulesBlobStrLen; - static const size_t RulesBlobSize; - - static const char* GetRulesBlob(); -}; -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionErrorMarshaller.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionErrorMarshaller.h deleted file mode 100644 index 391fd5d0248..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionErrorMarshaller.h +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 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_LOOKOUTFORVISION_API LookoutforVisionErrorMarshaller : 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-lookoutvision/include/aws/lookoutvision/LookoutforVisionErrors.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionErrors.h deleted file mode 100644 index 6f3e1927198..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionErrors.h +++ /dev/null @@ -1,69 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once - -#include -#include -#include - -namespace Aws { -namespace LookoutforVision { -enum class LookoutforVisionErrors { - // 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_LOOKOUTFORVISION_API LookoutforVisionError : public Aws::Client::AWSError { - public: - LookoutforVisionError() {} - LookoutforVisionError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} - LookoutforVisionError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} - LookoutforVisionError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} - LookoutforVisionError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} - - template - T GetModeledError(); -}; - -namespace LookoutforVisionErrorMapper { -AWS_LOOKOUTFORVISION_API Aws::Client::AWSError GetErrorForName(const char* errorName); -} - -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionRequest.h deleted file mode 100644 index e768370dbaf..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionRequest.h +++ /dev/null @@ -1,42 +0,0 @@ -/** - * 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 LookoutforVision { -class AWS_LOOKOUTFORVISION_API LookoutforVisionRequest : public Aws::AmazonSerializableWebServiceRequest { - public: - using EndpointParameter = Aws::Endpoint::EndpointParameter; - using EndpointParameters = Aws::Endpoint::EndpointParameters; - - virtual ~LookoutforVisionRequest() {} - - 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, "2020-11-20")); - return headers; - } - - protected: - virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); } -}; - -typedef Aws::AmazonStreamingWebServiceRequest StreamingLookoutforVisionRequest; - -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionServiceClientModel.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionServiceClientModel.h deleted file mode 100644 index ae42c3ca081..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVisionServiceClientModel.h +++ /dev/null @@ -1,224 +0,0 @@ -/** - * 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 LookoutforVisionClient header */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -/* End of service model headers required in LookoutforVisionClient header */ - -namespace Aws { -namespace Http { -class HttpClient; -class HttpClientFactory; -} // namespace Http - -namespace Utils { -template -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 LookoutforVision { -using LookoutforVisionClientConfiguration = Aws::Client::GenericClientConfiguration; -using LookoutforVisionEndpointProviderBase = Aws::LookoutforVision::Endpoint::LookoutforVisionEndpointProviderBase; -using LookoutforVisionEndpointProvider = Aws::LookoutforVision::Endpoint::LookoutforVisionEndpointProvider; - -namespace Model { -/* Service model forward declarations required in LookoutforVisionClient header */ -class CreateDatasetRequest; -class CreateModelRequest; -class CreateProjectRequest; -class DeleteDatasetRequest; -class DeleteModelRequest; -class DeleteProjectRequest; -class DescribeDatasetRequest; -class DescribeModelRequest; -class DescribeModelPackagingJobRequest; -class DescribeProjectRequest; -class DetectAnomaliesRequest; -class ListDatasetEntriesRequest; -class ListModelPackagingJobsRequest; -class ListModelsRequest; -class ListProjectsRequest; -class ListTagsForResourceRequest; -class StartModelRequest; -class StartModelPackagingJobRequest; -class StopModelRequest; -class TagResourceRequest; -class UntagResourceRequest; -class UpdateDatasetEntriesRequest; -/* End of service model forward declarations required in LookoutforVisionClient header */ - -/* Service model Outcome class definitions */ -typedef Aws::Utils::Outcome CreateDatasetOutcome; -typedef Aws::Utils::Outcome CreateModelOutcome; -typedef Aws::Utils::Outcome CreateProjectOutcome; -typedef Aws::Utils::Outcome DeleteDatasetOutcome; -typedef Aws::Utils::Outcome DeleteModelOutcome; -typedef Aws::Utils::Outcome DeleteProjectOutcome; -typedef Aws::Utils::Outcome DescribeDatasetOutcome; -typedef Aws::Utils::Outcome DescribeModelOutcome; -typedef Aws::Utils::Outcome DescribeModelPackagingJobOutcome; -typedef Aws::Utils::Outcome DescribeProjectOutcome; -typedef Aws::Utils::Outcome DetectAnomaliesOutcome; -typedef Aws::Utils::Outcome ListDatasetEntriesOutcome; -typedef Aws::Utils::Outcome ListModelPackagingJobsOutcome; -typedef Aws::Utils::Outcome ListModelsOutcome; -typedef Aws::Utils::Outcome ListProjectsOutcome; -typedef Aws::Utils::Outcome ListTagsForResourceOutcome; -typedef Aws::Utils::Outcome StartModelOutcome; -typedef Aws::Utils::Outcome StartModelPackagingJobOutcome; -typedef Aws::Utils::Outcome StopModelOutcome; -typedef Aws::Utils::Outcome TagResourceOutcome; -typedef Aws::Utils::Outcome UntagResourceOutcome; -typedef Aws::Utils::Outcome UpdateDatasetEntriesOutcome; -/* End of service model Outcome class definitions */ - -/* Service model Outcome callable definitions */ -typedef std::future CreateDatasetOutcomeCallable; -typedef std::future CreateModelOutcomeCallable; -typedef std::future CreateProjectOutcomeCallable; -typedef std::future DeleteDatasetOutcomeCallable; -typedef std::future DeleteModelOutcomeCallable; -typedef std::future DeleteProjectOutcomeCallable; -typedef std::future DescribeDatasetOutcomeCallable; -typedef std::future DescribeModelOutcomeCallable; -typedef std::future DescribeModelPackagingJobOutcomeCallable; -typedef std::future DescribeProjectOutcomeCallable; -typedef std::future DetectAnomaliesOutcomeCallable; -typedef std::future ListDatasetEntriesOutcomeCallable; -typedef std::future ListModelPackagingJobsOutcomeCallable; -typedef std::future ListModelsOutcomeCallable; -typedef std::future ListProjectsOutcomeCallable; -typedef std::future ListTagsForResourceOutcomeCallable; -typedef std::future StartModelOutcomeCallable; -typedef std::future StartModelPackagingJobOutcomeCallable; -typedef std::future StopModelOutcomeCallable; -typedef std::future TagResourceOutcomeCallable; -typedef std::future UntagResourceOutcomeCallable; -typedef std::future UpdateDatasetEntriesOutcomeCallable; -/* End of service model Outcome callable definitions */ -} // namespace Model - -class LookoutforVisionClient; - -/* Service model async handlers definitions */ -typedef std::function&)> - CreateDatasetResponseReceivedHandler; -typedef std::function&)> - CreateModelResponseReceivedHandler; -typedef std::function&)> - CreateProjectResponseReceivedHandler; -typedef std::function&)> - DeleteDatasetResponseReceivedHandler; -typedef std::function&)> - DeleteModelResponseReceivedHandler; -typedef std::function&)> - DeleteProjectResponseReceivedHandler; -typedef std::function&)> - DescribeDatasetResponseReceivedHandler; -typedef std::function&)> - DescribeModelResponseReceivedHandler; -typedef std::function&)> - DescribeModelPackagingJobResponseReceivedHandler; -typedef std::function&)> - DescribeProjectResponseReceivedHandler; -typedef std::function&)> - DetectAnomaliesResponseReceivedHandler; -typedef std::function&)> - ListDatasetEntriesResponseReceivedHandler; -typedef std::function&)> - ListModelPackagingJobsResponseReceivedHandler; -typedef std::function&)> - ListModelsResponseReceivedHandler; -typedef std::function&)> - ListProjectsResponseReceivedHandler; -typedef std::function&)> - ListTagsForResourceResponseReceivedHandler; -typedef std::function&)> - StartModelResponseReceivedHandler; -typedef std::function&)> - StartModelPackagingJobResponseReceivedHandler; -typedef std::function&)> - StopModelResponseReceivedHandler; -typedef std::function&)> - TagResourceResponseReceivedHandler; -typedef std::function&)> - UntagResourceResponseReceivedHandler; -typedef std::function&)> - UpdateDatasetEntriesResponseReceivedHandler; -/* End of service model async handlers definitions */ -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVision_EXPORTS.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVision_EXPORTS.h deleted file mode 100644 index 91c4a19d9b8..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/LookoutforVision_EXPORTS.h +++ /dev/null @@ -1,32 +0,0 @@ -/** - * 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_LOOKOUTFORVISION_EXPORTS -#define AWS_LOOKOUTFORVISION_API __declspec(dllexport) -#else -#define AWS_LOOKOUTFORVISION_API __declspec(dllimport) -#endif /* AWS_LOOKOUTFORVISION_EXPORTS */ -#define AWS_LOOKOUTFORVISION_EXTERN -#else -#define AWS_LOOKOUTFORVISION_API -#define AWS_LOOKOUTFORVISION_EXTERN extern -#endif // USE_IMPORT_EXPORT -#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) -#define AWS_LOOKOUTFORVISION_API -#define AWS_LOOKOUTFORVISION_EXTERN extern -#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/Anomaly.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/Anomaly.h deleted file mode 100644 index 28582d2b019..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/Anomaly.h +++ /dev/null @@ -1,86 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Information about an anomaly type found on an image by an image segmentation - * model. For more information, see DetectAnomalies.

See - * Also:

AWS - * API Reference

- */ -class Anomaly { - public: - AWS_LOOKOUTFORVISION_API Anomaly() = default; - AWS_LOOKOUTFORVISION_API Anomaly(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Anomaly& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of an anomaly type found in an image. Name maps to an - * anomaly type in the training dataset, apart from the anomaly type - * background. The service automatically inserts the - * background anomaly type into the response from - * DetectAnomalies.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - Anomaly& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about the pixel mask that covers an anomaly type.

- */ - inline const PixelAnomaly& GetPixelAnomaly() const { return m_pixelAnomaly; } - inline bool PixelAnomalyHasBeenSet() const { return m_pixelAnomalyHasBeenSet; } - template - void SetPixelAnomaly(PixelAnomalyT&& value) { - m_pixelAnomalyHasBeenSet = true; - m_pixelAnomaly = std::forward(value); - } - template - Anomaly& WithPixelAnomaly(PixelAnomalyT&& value) { - SetPixelAnomaly(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - PixelAnomaly m_pixelAnomaly; - bool m_pixelAnomalyHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ConflictException.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ConflictException.h deleted file mode 100644 index 93305a33074..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ConflictException.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

The update or deletion of a resource caused an inconsistent - * state.

See Also:

AWS - * API Reference

- */ -class ConflictException { - public: - AWS_LOOKOUTFORVISION_API ConflictException() = default; - AWS_LOOKOUTFORVISION_API ConflictException(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API ConflictException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ConflictException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ID of the resource.

- */ - inline const Aws::String& GetResourceId() const { return m_resourceId; } - inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } - template - void SetResourceId(ResourceIdT&& value) { - m_resourceIdHasBeenSet = true; - m_resourceId = std::forward(value); - } - template - ConflictException& WithResourceId(ResourceIdT&& value) { - SetResourceId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the resource.

- */ - inline ResourceType GetResourceType() const { return m_resourceType; } - inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } - inline void SetResourceType(ResourceType value) { - m_resourceTypeHasBeenSet = true; - m_resourceType = value; - } - inline ConflictException& WithResourceType(ResourceType value) { - SetResourceType(value); - return *this; - } - ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - - Aws::String m_resourceId; - bool m_resourceIdHasBeenSet = false; - - ResourceType m_resourceType{ResourceType::NOT_SET}; - bool m_resourceTypeHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateDatasetRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateDatasetRequest.h deleted file mode 100644 index 8a469f37a05..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateDatasetRequest.h +++ /dev/null @@ -1,142 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class CreateDatasetRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API CreateDatasetRequest() = default; - - // 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 "CreateDataset"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - ///@{ - /** - *

The name of the project in which you want to create a dataset.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - CreateDatasetRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the dataset. Specify train for a training dataset. - * Specify test for a test dataset.

- */ - inline const Aws::String& GetDatasetType() const { return m_datasetType; } - inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; } - template - void SetDatasetType(DatasetTypeT&& value) { - m_datasetTypeHasBeenSet = true; - m_datasetType = std::forward(value); - } - template - CreateDatasetRequest& WithDatasetType(DatasetTypeT&& value) { - SetDatasetType(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The location of the manifest file that Amazon Lookout for Vision uses to - * create the dataset.

If you don't specify DatasetSource, an - * empty dataset is created and the operation synchronously returns. Later, you can - * add JSON Lines by calling UpdateDatasetEntries.

If you specify a - * value for DataSource, the manifest at the S3 location is validated - * and used to create the dataset. The call to CreateDataset is - * asynchronous and might take a while to complete. To find out the current status, - * Check the value of Status returned in a call to - * DescribeDataset.

- */ - inline const DatasetSource& GetDatasetSource() const { return m_datasetSource; } - inline bool DatasetSourceHasBeenSet() const { return m_datasetSourceHasBeenSet; } - template - void SetDatasetSource(DatasetSourceT&& value) { - m_datasetSourceHasBeenSet = true; - m_datasetSource = std::forward(value); - } - template - CreateDatasetRequest& WithDatasetSource(DatasetSourceT&& value) { - SetDatasetSource(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

ClientToken is an idempotency token that ensures a call to - * CreateDataset completes only once. You choose the value to pass. - * For example, An issue might prevent you from getting a response from - * CreateDataset. In this case, safely retry your call to - * CreateDataset by using the same ClientToken parameter - * value.

If you don't supply a value for ClientToken, the AWS - * SDK you are using inserts a value for you. This prevents retries after a network - * error from making multiple dataset creation requests. You'll need to provide - * your own value for other use cases.

An error occurs if the other input - * parameters are not the same as in the first request. Using a different value for - * ClientToken is considered a new call to CreateDataset. - * An idempotency token is active for 8 hours.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - CreateDatasetRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_datasetType; - bool m_datasetTypeHasBeenSet = false; - - DatasetSource m_datasetSource; - bool m_datasetSourceHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateDatasetResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateDatasetResult.h deleted file mode 100644 index ad11fc8a221..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateDatasetResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class CreateDatasetResult { - public: - AWS_LOOKOUTFORVISION_API CreateDatasetResult() = default; - AWS_LOOKOUTFORVISION_API CreateDatasetResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API CreateDatasetResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Information about the dataset.

- */ - inline const DatasetMetadata& GetDatasetMetadata() const { return m_datasetMetadata; } - template - void SetDatasetMetadata(DatasetMetadataT&& value) { - m_datasetMetadataHasBeenSet = true; - m_datasetMetadata = std::forward(value); - } - template - CreateDatasetResult& WithDatasetMetadata(DatasetMetadataT&& value) { - SetDatasetMetadata(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateDatasetResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - DatasetMetadata m_datasetMetadata; - bool m_datasetMetadataHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateModelRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateModelRequest.h deleted file mode 100644 index fb4a6489aa2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateModelRequest.h +++ /dev/null @@ -1,186 +0,0 @@ -/** - * 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 - -namespace Aws { -namespace LookoutforVision { -namespace Model { - -/** - */ -class CreateModelRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API CreateModelRequest() = default; - - // 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 "CreateModel"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - ///@{ - /** - *

The name of the project in which you want to create a model version.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - CreateModelRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A description for the version of the model.

- */ - inline const Aws::String& GetDescription() const { return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - template - void SetDescription(DescriptionT&& value) { - m_descriptionHasBeenSet = true; - m_description = std::forward(value); - } - template - CreateModelRequest& WithDescription(DescriptionT&& value) { - SetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

ClientToken is an idempotency token that ensures a call to - * CreateModel completes only once. You choose the value to pass. For - * example, An issue might prevent you from getting a response from - * CreateModel. In this case, safely retry your call to - * CreateModel by using the same ClientToken parameter - * value.

If you don't supply a value for ClientToken, the AWS - * SDK you are using inserts a value for you. This prevents retries after a network - * error from starting multiple training jobs. You'll need to provide your own - * value for other use cases.

An error occurs if the other input parameters - * are not the same as in the first request. Using a different value for - * ClientToken is considered a new call to CreateModel. - * An idempotency token is active for 8 hours.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - CreateModelRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The location where Amazon Lookout for Vision saves the training results.

- */ - inline const OutputConfig& GetOutputConfig() const { return m_outputConfig; } - inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; } - template - void SetOutputConfig(OutputConfigT&& value) { - m_outputConfigHasBeenSet = true; - m_outputConfig = std::forward(value); - } - template - CreateModelRequest& WithOutputConfig(OutputConfigT&& value) { - SetOutputConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The identifier for your AWS KMS key. The key is used to encrypt training and - * test images copied into the service for model training. Your source images are - * unaffected. If this parameter is not specified, the copied images are encrypted - * by a key that AWS owns and manages.

- */ - inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; } - inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } - template - void SetKmsKeyId(KmsKeyIdT&& value) { - m_kmsKeyIdHasBeenSet = true; - m_kmsKeyId = std::forward(value); - } - template - CreateModelRequest& WithKmsKeyId(KmsKeyIdT&& value) { - SetKmsKeyId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A set of tags (key-value pairs) that you want to attach to the model.

- */ - inline const Aws::Vector& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateModelRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateModelRequest& AddTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; - - OutputConfig m_outputConfig; - bool m_outputConfigHasBeenSet = false; - - Aws::String m_kmsKeyId; - bool m_kmsKeyIdHasBeenSet = false; - - Aws::Vector m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateModelResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateModelResult.h deleted file mode 100644 index c7a71603d4d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateModelResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class CreateModelResult { - public: - AWS_LOOKOUTFORVISION_API CreateModelResult() = default; - AWS_LOOKOUTFORVISION_API CreateModelResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API CreateModelResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The response from a call to CreateModel.

- */ - inline const ModelMetadata& GetModelMetadata() const { return m_modelMetadata; } - template - void SetModelMetadata(ModelMetadataT&& value) { - m_modelMetadataHasBeenSet = true; - m_modelMetadata = std::forward(value); - } - template - CreateModelResult& WithModelMetadata(ModelMetadataT&& value) { - SetModelMetadata(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateModelResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - ModelMetadata m_modelMetadata; - bool m_modelMetadataHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateProjectRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateProjectRequest.h deleted file mode 100644 index 6bca334f02a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateProjectRequest.h +++ /dev/null @@ -1,90 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class CreateProjectRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API CreateProjectRequest() = default; - - // 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 "CreateProject"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - ///@{ - /** - *

The name for the project.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - CreateProjectRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

ClientToken is an idempotency token that ensures a call to - * CreateProject completes only once. You choose the value to pass. - * For example, An issue might prevent you from getting a response from - * CreateProject. In this case, safely retry your call to - * CreateProject by using the same ClientToken parameter - * value.

If you don't supply a value for ClientToken, the AWS - * SDK you are using inserts a value for you. This prevents retries after a network - * error from making multiple project creation requests. You'll need to provide - * your own value for other use cases.

An error occurs if the other input - * parameters are not the same as in the first request. Using a different value for - * ClientToken is considered a new call to CreateProject. - * An idempotency token is active for 8 hours.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - CreateProjectRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateProjectResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateProjectResult.h deleted file mode 100644 index ec18406b57b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/CreateProjectResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class CreateProjectResult { - public: - AWS_LOOKOUTFORVISION_API CreateProjectResult() = default; - AWS_LOOKOUTFORVISION_API CreateProjectResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API CreateProjectResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Information about the project.

- */ - inline const ProjectMetadata& GetProjectMetadata() const { return m_projectMetadata; } - template - void SetProjectMetadata(ProjectMetadataT&& value) { - m_projectMetadataHasBeenSet = true; - m_projectMetadata = std::forward(value); - } - template - CreateProjectResult& WithProjectMetadata(ProjectMetadataT&& value) { - SetProjectMetadata(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateProjectResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - ProjectMetadata m_projectMetadata; - bool m_projectMetadataHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetDescription.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetDescription.h deleted file mode 100644 index e69354b90ec..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetDescription.h +++ /dev/null @@ -1,189 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

The description for a dataset. For more information, see - * DescribeDataset.

See Also:

AWS - * API Reference

- */ -class DatasetDescription { - public: - AWS_LOOKOUTFORVISION_API DatasetDescription() = default; - AWS_LOOKOUTFORVISION_API DatasetDescription(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API DatasetDescription& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the project that contains the dataset.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - DatasetDescription& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the dataset. The value train represents a training - * dataset or single dataset project. The value test represents a test - * dataset.

- */ - inline const Aws::String& GetDatasetType() const { return m_datasetType; } - inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; } - template - void SetDatasetType(DatasetTypeT&& value) { - m_datasetTypeHasBeenSet = true; - m_datasetType = std::forward(value); - } - template - DatasetDescription& WithDatasetType(DatasetTypeT&& value) { - SetDatasetType(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Unix timestamp for the time and date that the dataset was created.

- */ - inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; } - inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; } - template - void SetCreationTimestamp(CreationTimestampT&& value) { - m_creationTimestampHasBeenSet = true; - m_creationTimestamp = std::forward(value); - } - template - DatasetDescription& WithCreationTimestamp(CreationTimestampT&& value) { - SetCreationTimestamp(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Unix timestamp for the date and time that the dataset was last - * updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const { return m_lastUpdatedTimestamp; } - inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; } - template - void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { - m_lastUpdatedTimestampHasBeenSet = true; - m_lastUpdatedTimestamp = std::forward(value); - } - template - DatasetDescription& WithLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { - SetLastUpdatedTimestamp(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the dataset.

- */ - inline DatasetStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(DatasetStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline DatasetDescription& WithStatus(DatasetStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status message for the dataset.

- */ - inline const Aws::String& GetStatusMessage() const { return m_statusMessage; } - inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } - template - void SetStatusMessage(StatusMessageT&& value) { - m_statusMessageHasBeenSet = true; - m_statusMessage = std::forward(value); - } - template - DatasetDescription& WithStatusMessage(StatusMessageT&& value) { - SetStatusMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Statistics about the images in a dataset.

- */ - inline const DatasetImageStats& GetImageStats() const { return m_imageStats; } - inline bool ImageStatsHasBeenSet() const { return m_imageStatsHasBeenSet; } - template - void SetImageStats(ImageStatsT&& value) { - m_imageStatsHasBeenSet = true; - m_imageStats = std::forward(value); - } - template - DatasetDescription& WithImageStats(ImageStatsT&& value) { - SetImageStats(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_datasetType; - bool m_datasetTypeHasBeenSet = false; - - Aws::Utils::DateTime m_creationTimestamp{}; - bool m_creationTimestampHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedTimestamp{}; - bool m_lastUpdatedTimestampHasBeenSet = false; - - DatasetStatus m_status{DatasetStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusMessage; - bool m_statusMessageHasBeenSet = false; - - DatasetImageStats m_imageStats; - bool m_imageStatsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetGroundTruthManifest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetGroundTruthManifest.h deleted file mode 100644 index ff130395acc..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetGroundTruthManifest.h +++ /dev/null @@ -1,59 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Location information about a manifest file. You can use a manifest file to - * create a dataset.

See Also:

AWS - * API Reference

- */ -class DatasetGroundTruthManifest { - public: - AWS_LOOKOUTFORVISION_API DatasetGroundTruthManifest() = default; - AWS_LOOKOUTFORVISION_API DatasetGroundTruthManifest(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API DatasetGroundTruthManifest& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The S3 bucket location for the manifest file.

- */ - inline const InputS3Object& GetS3Object() const { return m_s3Object; } - inline bool S3ObjectHasBeenSet() const { return m_s3ObjectHasBeenSet; } - template - void SetS3Object(S3ObjectT&& value) { - m_s3ObjectHasBeenSet = true; - m_s3Object = std::forward(value); - } - template - DatasetGroundTruthManifest& WithS3Object(S3ObjectT&& value) { - SetS3Object(std::forward(value)); - return *this; - } - ///@} - private: - InputS3Object m_s3Object; - bool m_s3ObjectHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetImageStats.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetImageStats.h deleted file mode 100644 index 3b2708be1da..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetImageStats.h +++ /dev/null @@ -1,110 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Statistics about the images in a dataset.

See Also:

AWS - * API Reference

- */ -class DatasetImageStats { - public: - AWS_LOOKOUTFORVISION_API DatasetImageStats() = default; - AWS_LOOKOUTFORVISION_API DatasetImageStats(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API DatasetImageStats& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The total number of images in the dataset.

- */ - inline int GetTotal() const { return m_total; } - inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; } - inline void SetTotal(int value) { - m_totalHasBeenSet = true; - m_total = value; - } - inline DatasetImageStats& WithTotal(int value) { - SetTotal(value); - return *this; - } - ///@} - - ///@{ - /** - *

The total number of labeled images.

- */ - inline int GetLabeled() const { return m_labeled; } - inline bool LabeledHasBeenSet() const { return m_labeledHasBeenSet; } - inline void SetLabeled(int value) { - m_labeledHasBeenSet = true; - m_labeled = value; - } - inline DatasetImageStats& WithLabeled(int value) { - SetLabeled(value); - return *this; - } - ///@} - - ///@{ - /** - *

The total number of images labeled as normal.

- */ - inline int GetNormal() const { return m_normal; } - inline bool NormalHasBeenSet() const { return m_normalHasBeenSet; } - inline void SetNormal(int value) { - m_normalHasBeenSet = true; - m_normal = value; - } - inline DatasetImageStats& WithNormal(int value) { - SetNormal(value); - return *this; - } - ///@} - - ///@{ - /** - *

the total number of images labeled as an anomaly.

- */ - inline int GetAnomaly() const { return m_anomaly; } - inline bool AnomalyHasBeenSet() const { return m_anomalyHasBeenSet; } - inline void SetAnomaly(int value) { - m_anomalyHasBeenSet = true; - m_anomaly = value; - } - inline DatasetImageStats& WithAnomaly(int value) { - SetAnomaly(value); - return *this; - } - ///@} - private: - int m_total{0}; - bool m_totalHasBeenSet = false; - - int m_labeled{0}; - bool m_labeledHasBeenSet = false; - - int m_normal{0}; - bool m_normalHasBeenSet = false; - - int m_anomaly{0}; - bool m_anomalyHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetMetadata.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetMetadata.h deleted file mode 100644 index 0c5d6978846..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetMetadata.h +++ /dev/null @@ -1,123 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Summary information for an Amazon Lookout for Vision dataset. For more - * information, see DescribeDataset and - * ProjectDescription.

See Also:

AWS - * API Reference

- */ -class DatasetMetadata { - public: - AWS_LOOKOUTFORVISION_API DatasetMetadata() = default; - AWS_LOOKOUTFORVISION_API DatasetMetadata(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API DatasetMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The type of the dataset.

- */ - inline const Aws::String& GetDatasetType() const { return m_datasetType; } - inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; } - template - void SetDatasetType(DatasetTypeT&& value) { - m_datasetTypeHasBeenSet = true; - m_datasetType = std::forward(value); - } - template - DatasetMetadata& WithDatasetType(DatasetTypeT&& value) { - SetDatasetType(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Unix timestamp for the date and time that the dataset was created.

- */ - inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; } - inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; } - template - void SetCreationTimestamp(CreationTimestampT&& value) { - m_creationTimestampHasBeenSet = true; - m_creationTimestamp = std::forward(value); - } - template - DatasetMetadata& WithCreationTimestamp(CreationTimestampT&& value) { - SetCreationTimestamp(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status for the dataset.

- */ - inline DatasetStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(DatasetStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline DatasetMetadata& WithStatus(DatasetStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status message for the dataset.

- */ - inline const Aws::String& GetStatusMessage() const { return m_statusMessage; } - inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } - template - void SetStatusMessage(StatusMessageT&& value) { - m_statusMessageHasBeenSet = true; - m_statusMessage = std::forward(value); - } - template - DatasetMetadata& WithStatusMessage(StatusMessageT&& value) { - SetStatusMessage(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_datasetType; - bool m_datasetTypeHasBeenSet = false; - - Aws::Utils::DateTime m_creationTimestamp{}; - bool m_creationTimestampHasBeenSet = false; - - DatasetStatus m_status{DatasetStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusMessage; - bool m_statusMessageHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetSource.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetSource.h deleted file mode 100644 index 43ec6285a9d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetSource.h +++ /dev/null @@ -1,59 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Information about the location of a manifest file that Amazon Lookout for - * Vision uses to to create a dataset.

See Also:

AWS - * API Reference

- */ -class DatasetSource { - public: - AWS_LOOKOUTFORVISION_API DatasetSource() = default; - AWS_LOOKOUTFORVISION_API DatasetSource(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API DatasetSource& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Location information for the manifest file.

- */ - inline const DatasetGroundTruthManifest& GetGroundTruthManifest() const { return m_groundTruthManifest; } - inline bool GroundTruthManifestHasBeenSet() const { return m_groundTruthManifestHasBeenSet; } - template - void SetGroundTruthManifest(GroundTruthManifestT&& value) { - m_groundTruthManifestHasBeenSet = true; - m_groundTruthManifest = std::forward(value); - } - template - DatasetSource& WithGroundTruthManifest(GroundTruthManifestT&& value) { - SetGroundTruthManifest(std::forward(value)); - return *this; - } - ///@} - private: - DatasetGroundTruthManifest m_groundTruthManifest; - bool m_groundTruthManifestHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetStatus.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetStatus.h deleted file mode 100644 index 395bdf332c2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DatasetStatus.h +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutforVision { -namespace Model { -enum class DatasetStatus { - NOT_SET, - CREATE_IN_PROGRESS, - CREATE_COMPLETE, - CREATE_FAILED, - UPDATE_IN_PROGRESS, - UPDATE_COMPLETE, - UPDATE_FAILED_ROLLBACK_IN_PROGRESS, - UPDATE_FAILED_ROLLBACK_COMPLETE, - DELETE_IN_PROGRESS, - DELETE_COMPLETE, - DELETE_FAILED -}; - -namespace DatasetStatusMapper { -AWS_LOOKOUTFORVISION_API DatasetStatus GetDatasetStatusForName(const Aws::String& name); - -AWS_LOOKOUTFORVISION_API Aws::String GetNameForDatasetStatus(DatasetStatus value); -} // namespace DatasetStatusMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteDatasetRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteDatasetRequest.h deleted file mode 100644 index 08d264d962f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteDatasetRequest.h +++ /dev/null @@ -1,114 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class DeleteDatasetRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API DeleteDatasetRequest() = default; - - // 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 "DeleteDataset"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - ///@{ - /** - *

The name of the project that contains the dataset that you want to - * delete.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - DeleteDatasetRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the dataset to delete. Specify train to delete the - * training dataset. Specify test to delete the test dataset. To - * delete the dataset in a single dataset project, specify train.

- */ - inline const Aws::String& GetDatasetType() const { return m_datasetType; } - inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; } - template - void SetDatasetType(DatasetTypeT&& value) { - m_datasetTypeHasBeenSet = true; - m_datasetType = std::forward(value); - } - template - DeleteDatasetRequest& WithDatasetType(DatasetTypeT&& value) { - SetDatasetType(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

ClientToken is an idempotency token that ensures a call to - * DeleteDataset completes only once. You choose the value to pass. - * For example, An issue might prevent you from getting a response from - * DeleteDataset. In this case, safely retry your call to - * DeleteDataset by using the same ClientToken parameter - * value.

If you don't supply a value for ClientToken, the AWS - * SDK you are using inserts a value for you. This prevents retries after a network - * error from making multiple deletetion requests. You'll need to provide your own - * value for other use cases.

An error occurs if the other input parameters - * are not the same as in the first request. Using a different value for - * ClientToken is considered a new call to DeleteDataset. - * An idempotency token is active for 8 hours.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - DeleteDatasetRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_datasetType; - bool m_datasetTypeHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteDatasetResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteDatasetResult.h deleted file mode 100644 index afa60e56d29..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteDatasetResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class DeleteDatasetResult { - public: - AWS_LOOKOUTFORVISION_API DeleteDatasetResult() = default; - AWS_LOOKOUTFORVISION_API DeleteDatasetResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API DeleteDatasetResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DeleteDatasetResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteModelRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteModelRequest.h deleted file mode 100644 index 29d28e3626a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteModelRequest.h +++ /dev/null @@ -1,111 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class DeleteModelRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API DeleteModelRequest() = default; - - // 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 "DeleteModel"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - ///@{ - /** - *

The name of the project that contains the model that you want to delete.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - DeleteModelRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the model that you want to delete.

- */ - inline const Aws::String& GetModelVersion() const { return m_modelVersion; } - inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; } - template - void SetModelVersion(ModelVersionT&& value) { - m_modelVersionHasBeenSet = true; - m_modelVersion = std::forward(value); - } - template - DeleteModelRequest& WithModelVersion(ModelVersionT&& value) { - SetModelVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

ClientToken is an idempotency token that ensures a call to - * DeleteModel completes only once. You choose the value to pass. For - * example, an issue might prevent you from getting a response from - * DeleteModel. In this case, safely retry your call to - * DeleteModel by using the same ClientToken parameter - * value.

If you don't supply a value for ClientToken, the AWS SDK you are - * using inserts a value for you. This prevents retries after a network error from - * making multiple model deletion requests. You'll need to provide your own value - * for other use cases.

An error occurs if the other input parameters are - * not the same as in the first request. Using a different value for - * ClientToken is considered a new call to DeleteModel. - * An idempotency token is active for 8 hours.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - DeleteModelRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_modelVersion; - bool m_modelVersionHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteModelResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteModelResult.h deleted file mode 100644 index 1d3d57c0cd1..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteModelResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class DeleteModelResult { - public: - AWS_LOOKOUTFORVISION_API DeleteModelResult() = default; - AWS_LOOKOUTFORVISION_API DeleteModelResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API DeleteModelResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the model that was deleted.

- */ - inline const Aws::String& GetModelArn() const { return m_modelArn; } - template - void SetModelArn(ModelArnT&& value) { - m_modelArnHasBeenSet = true; - m_modelArn = std::forward(value); - } - template - DeleteModelResult& WithModelArn(ModelArnT&& value) { - SetModelArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DeleteModelResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_modelArn; - bool m_modelArnHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteProjectRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteProjectRequest.h deleted file mode 100644 index 463dcf6f336..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteProjectRequest.h +++ /dev/null @@ -1,90 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class DeleteProjectRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API DeleteProjectRequest() = default; - - // 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 "DeleteProject"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - ///@{ - /** - *

The name of the project to delete.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - DeleteProjectRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

ClientToken is an idempotency token that ensures a call to - * DeleteProject completes only once. You choose the value to pass. - * For example, An issue might prevent you from getting a response from - * DeleteProject. In this case, safely retry your call to - * DeleteProject by using the same ClientToken parameter - * value.

If you don't supply a value for ClientToken, the AWS - * SDK you are using inserts a value for you. This prevents retries after a network - * error from making multiple project deletion requests. You'll need to provide - * your own value for other use cases.

An error occurs if the other input - * parameters are not the same as in the first request. Using a different value for - * ClientToken is considered a new call to DeleteProject. - * An idempotency token is active for 8 hours.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - DeleteProjectRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteProjectResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteProjectResult.h deleted file mode 100644 index 4d1e8509a93..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DeleteProjectResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class DeleteProjectResult { - public: - AWS_LOOKOUTFORVISION_API DeleteProjectResult() = default; - AWS_LOOKOUTFORVISION_API DeleteProjectResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API DeleteProjectResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the project that was deleted.

- */ - inline const Aws::String& GetProjectArn() const { return m_projectArn; } - template - void SetProjectArn(ProjectArnT&& value) { - m_projectArnHasBeenSet = true; - m_projectArn = std::forward(value); - } - template - DeleteProjectResult& WithProjectArn(ProjectArnT&& value) { - SetProjectArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DeleteProjectResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectArn; - bool m_projectArnHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeDatasetRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeDatasetRequest.h deleted file mode 100644 index e99465a15f0..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeDatasetRequest.h +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class DescribeDatasetRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API DescribeDatasetRequest() = default; - - // 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 "DescribeDataset"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the project that contains the dataset that you want to - * describe.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - DescribeDatasetRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the dataset to describe. Specify train to describe - * the training dataset. Specify test to describe the test dataset. If - * you have a single dataset project, specify train

- */ - inline const Aws::String& GetDatasetType() const { return m_datasetType; } - inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; } - template - void SetDatasetType(DatasetTypeT&& value) { - m_datasetTypeHasBeenSet = true; - m_datasetType = std::forward(value); - } - template - DescribeDatasetRequest& WithDatasetType(DatasetTypeT&& value) { - SetDatasetType(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_datasetType; - bool m_datasetTypeHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeDatasetResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeDatasetResult.h deleted file mode 100644 index fe019bb59c4..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeDatasetResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class DescribeDatasetResult { - public: - AWS_LOOKOUTFORVISION_API DescribeDatasetResult() = default; - AWS_LOOKOUTFORVISION_API DescribeDatasetResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API DescribeDatasetResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The description of the requested dataset.

- */ - inline const DatasetDescription& GetDatasetDescription() const { return m_datasetDescription; } - template - void SetDatasetDescription(DatasetDescriptionT&& value) { - m_datasetDescriptionHasBeenSet = true; - m_datasetDescription = std::forward(value); - } - template - DescribeDatasetResult& WithDatasetDescription(DatasetDescriptionT&& value) { - SetDatasetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeDatasetResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - DatasetDescription m_datasetDescription; - bool m_datasetDescriptionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelPackagingJobRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelPackagingJobRequest.h deleted file mode 100644 index 227942333d0..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelPackagingJobRequest.h +++ /dev/null @@ -1,77 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class DescribeModelPackagingJobRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API DescribeModelPackagingJobRequest() = default; - - // 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 "DescribeModelPackagingJob"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the project that contains the model packaging job that you want - * to describe.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - DescribeModelPackagingJobRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The job name for the model packaging job.

- */ - inline const Aws::String& GetJobName() const { return m_jobName; } - inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } - template - void SetJobName(JobNameT&& value) { - m_jobNameHasBeenSet = true; - m_jobName = std::forward(value); - } - template - DescribeModelPackagingJobRequest& WithJobName(JobNameT&& value) { - SetJobName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_jobName; - bool m_jobNameHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelPackagingJobResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelPackagingJobResult.h deleted file mode 100644 index 724d7017a47..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelPackagingJobResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class DescribeModelPackagingJobResult { - public: - AWS_LOOKOUTFORVISION_API DescribeModelPackagingJobResult() = default; - AWS_LOOKOUTFORVISION_API DescribeModelPackagingJobResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API DescribeModelPackagingJobResult& operator=( - const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The description of the model packaging job.

- */ - inline const ModelPackagingDescription& GetModelPackagingDescription() const { return m_modelPackagingDescription; } - template - void SetModelPackagingDescription(ModelPackagingDescriptionT&& value) { - m_modelPackagingDescriptionHasBeenSet = true; - m_modelPackagingDescription = std::forward(value); - } - template - DescribeModelPackagingJobResult& WithModelPackagingDescription(ModelPackagingDescriptionT&& value) { - SetModelPackagingDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeModelPackagingJobResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - ModelPackagingDescription m_modelPackagingDescription; - bool m_modelPackagingDescriptionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelRequest.h deleted file mode 100644 index a092d56ffdb..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelRequest.h +++ /dev/null @@ -1,77 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class DescribeModelRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API DescribeModelRequest() = default; - - // 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 "DescribeModel"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The project that contains the version of a model that you want to - * describe.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - DescribeModelRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the model that you want to describe.

- */ - inline const Aws::String& GetModelVersion() const { return m_modelVersion; } - inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; } - template - void SetModelVersion(ModelVersionT&& value) { - m_modelVersionHasBeenSet = true; - m_modelVersion = std::forward(value); - } - template - DescribeModelRequest& WithModelVersion(ModelVersionT&& value) { - SetModelVersion(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_modelVersion; - bool m_modelVersionHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelResult.h deleted file mode 100644 index 03eb382025f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeModelResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class DescribeModelResult { - public: - AWS_LOOKOUTFORVISION_API DescribeModelResult() = default; - AWS_LOOKOUTFORVISION_API DescribeModelResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API DescribeModelResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Contains the description of the model.

- */ - inline const ModelDescription& GetModelDescription() const { return m_modelDescription; } - template - void SetModelDescription(ModelDescriptionT&& value) { - m_modelDescriptionHasBeenSet = true; - m_modelDescription = std::forward(value); - } - template - DescribeModelResult& WithModelDescription(ModelDescriptionT&& value) { - SetModelDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeModelResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - ModelDescription m_modelDescription; - bool m_modelDescriptionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeProjectRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeProjectRequest.h deleted file mode 100644 index d8e30196adb..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeProjectRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class DescribeProjectRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API DescribeProjectRequest() = default; - - // 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 "DescribeProject"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the project that you want to describe.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - DescribeProjectRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeProjectResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeProjectResult.h deleted file mode 100644 index 6791d6b7a2b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DescribeProjectResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class DescribeProjectResult { - public: - AWS_LOOKOUTFORVISION_API DescribeProjectResult() = default; - AWS_LOOKOUTFORVISION_API DescribeProjectResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API DescribeProjectResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The description of the project.

- */ - inline const ProjectDescription& GetProjectDescription() const { return m_projectDescription; } - template - void SetProjectDescription(ProjectDescriptionT&& value) { - m_projectDescriptionHasBeenSet = true; - m_projectDescription = std::forward(value); - } - template - DescribeProjectResult& WithProjectDescription(ProjectDescriptionT&& value) { - SetProjectDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeProjectResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - ProjectDescription m_projectDescription; - bool m_projectDescriptionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DetectAnomaliesRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DetectAnomaliesRequest.h deleted file mode 100644 index 69f842aa6c7..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DetectAnomaliesRequest.h +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class DetectAnomaliesRequest : public StreamingLookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API DetectAnomaliesRequest() = default; - - // 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 "DetectAnomalies"; } - - ///@{ - /** - *

The name of the project that contains the model version that you want to - * use.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - DetectAnomaliesRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the model that you want to use.

- */ - inline const Aws::String& GetModelVersion() const { return m_modelVersion; } - inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; } - template - void SetModelVersion(ModelVersionT&& value) { - m_modelVersionHasBeenSet = true; - m_modelVersion = std::forward(value); - } - template - DetectAnomaliesRequest& WithModelVersion(ModelVersionT&& value) { - SetModelVersion(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_modelVersion; - bool m_modelVersionHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DetectAnomaliesResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DetectAnomaliesResult.h deleted file mode 100644 index 05938329d42..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DetectAnomaliesResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class DetectAnomaliesResult { - public: - AWS_LOOKOUTFORVISION_API DetectAnomaliesResult() = default; - AWS_LOOKOUTFORVISION_API DetectAnomaliesResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API DetectAnomaliesResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The results of the DetectAnomalies operation.

- */ - inline const DetectAnomalyResult& GetDetectAnomalyResult() const { return m_detectAnomalyResult; } - template - void SetDetectAnomalyResult(DetectAnomalyResultT&& value) { - m_detectAnomalyResultHasBeenSet = true; - m_detectAnomalyResult = std::forward(value); - } - template - DetectAnomaliesResult& WithDetectAnomalyResult(DetectAnomalyResultT&& value) { - SetDetectAnomalyResult(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DetectAnomaliesResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - DetectAnomalyResult m_detectAnomalyResult; - bool m_detectAnomalyResultHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DetectAnomalyResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DetectAnomalyResult.h deleted file mode 100644 index 6f25d083e96..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/DetectAnomalyResult.h +++ /dev/null @@ -1,170 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

The prediction results from a call to DetectAnomalies. - * DetectAnomalyResult includes classification information for the - * prediction (IsAnomalous and Confidence). If the model - * you use is an image segementation model, DetectAnomalyResult also - * includes segmentation information (Anomalies and - * AnomalyMask). Classification information is calculated separately - * from segmentation information and you shouldn't assume a relationship between - * them.

See Also:

AWS - * API Reference

- */ -class DetectAnomalyResult { - public: - AWS_LOOKOUTFORVISION_API DetectAnomalyResult() = default; - AWS_LOOKOUTFORVISION_API DetectAnomalyResult(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API DetectAnomalyResult& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The source of the image that was analyzed. direct means that the - * images was supplied from the local computer. No other values are supported.

- */ - inline const ImageSource& GetSource() const { return m_source; } - inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } - template - void SetSource(SourceT&& value) { - m_sourceHasBeenSet = true; - m_source = std::forward(value); - } - template - DetectAnomalyResult& WithSource(SourceT&& value) { - SetSource(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

True if Amazon Lookout for Vision classifies the image as containing an - * anomaly, otherwise false.

- */ - inline bool GetIsAnomalous() const { return m_isAnomalous; } - inline bool IsAnomalousHasBeenSet() const { return m_isAnomalousHasBeenSet; } - inline void SetIsAnomalous(bool value) { - m_isAnomalousHasBeenSet = true; - m_isAnomalous = value; - } - inline DetectAnomalyResult& WithIsAnomalous(bool value) { - SetIsAnomalous(value); - return *this; - } - ///@} - - ///@{ - /** - *

The confidence that Lookout for Vision has in the accuracy of the - * classification in IsAnomalous.

- */ - inline double GetConfidence() const { return m_confidence; } - inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; } - inline void SetConfidence(double value) { - m_confidenceHasBeenSet = true; - m_confidence = value; - } - inline DetectAnomalyResult& WithConfidence(double value) { - SetConfidence(value); - return *this; - } - ///@} - - ///@{ - /** - *

If the model is an image segmentation model, Anomalies contains - * a list of anomaly types found in the image. There is one entry for each type of - * anomaly found (even if multiple instances of an anomaly type exist on the - * image). The first element in the list is always an anomaly type representing the - * image background ('background') and shouldn't be considered an anomaly. Amazon - * Lookout for Vision automatically add the background anomaly type to the - * response, and you don't need to declare a background anomaly type in your - * dataset.

If the list has one entry ('background'), no anomalies were - * found on the image.

An image classification model doesn't return an - * Anomalies list.

- */ - inline const Aws::Vector& GetAnomalies() const { return m_anomalies; } - inline bool AnomaliesHasBeenSet() const { return m_anomaliesHasBeenSet; } - template > - void SetAnomalies(AnomaliesT&& value) { - m_anomaliesHasBeenSet = true; - m_anomalies = std::forward(value); - } - template > - DetectAnomalyResult& WithAnomalies(AnomaliesT&& value) { - SetAnomalies(std::forward(value)); - return *this; - } - template - DetectAnomalyResult& AddAnomalies(AnomaliesT&& value) { - m_anomaliesHasBeenSet = true; - m_anomalies.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the model is an image segmentation model, AnomalyMask - * contains pixel masks that covers all anomaly types found on the image. Each - * anomaly type has a different mask color. To map a color to an anomaly type, see - * the color field of the PixelAnomaly object.

An image - * classification model doesn't return an Anomalies list.

- */ - inline const Aws::Utils::ByteBuffer& GetAnomalyMask() const { return m_anomalyMask; } - inline bool AnomalyMaskHasBeenSet() const { return m_anomalyMaskHasBeenSet; } - template - void SetAnomalyMask(AnomalyMaskT&& value) { - m_anomalyMaskHasBeenSet = true; - m_anomalyMask = std::forward(value); - } - template - DetectAnomalyResult& WithAnomalyMask(AnomalyMaskT&& value) { - SetAnomalyMask(std::forward(value)); - return *this; - } - ///@} - private: - ImageSource m_source; - bool m_sourceHasBeenSet = false; - - bool m_isAnomalous{false}; - bool m_isAnomalousHasBeenSet = false; - - double m_confidence{0.0}; - bool m_confidenceHasBeenSet = false; - - Aws::Vector m_anomalies; - bool m_anomaliesHasBeenSet = false; - - Aws::Utils::ByteBuffer m_anomalyMask{}; - bool m_anomalyMaskHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/GreengrassConfiguration.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/GreengrassConfiguration.h deleted file mode 100644 index fc3b2b8ddd2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/GreengrassConfiguration.h +++ /dev/null @@ -1,229 +0,0 @@ -/** - * 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 - -namespace Aws { -namespace Utils { -namespace Json { -class JsonValue; -class JsonView; -} // namespace Json -} // namespace Utils -namespace LookoutforVision { -namespace Model { - -/** - *

Configuration information for the AWS IoT Greengrass component created in a - * model packaging job. For more information, see StartModelPackagingJob. - *

You can't specify a component with the same - * ComponentName and Componentversion as an existing - * component with the same component name and component version.

- *

See Also:

AWS - * API Reference

- */ -class GreengrassConfiguration { - public: - AWS_LOOKOUTFORVISION_API GreengrassConfiguration() = default; - AWS_LOOKOUTFORVISION_API GreengrassConfiguration(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API GreengrassConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Additional compiler options for the Greengrass component. Currently, only - * NVIDIA Graphics Processing Units (GPU) and CPU accelerators are supported. If - * you specify TargetDevice, don't specify - * CompilerOptions.

For more information, see Compiler - * options in the Amazon Lookout for Vision Developer Guide.

- */ - inline const Aws::String& GetCompilerOptions() const { return m_compilerOptions; } - inline bool CompilerOptionsHasBeenSet() const { return m_compilerOptionsHasBeenSet; } - template - void SetCompilerOptions(CompilerOptionsT&& value) { - m_compilerOptionsHasBeenSet = true; - m_compilerOptions = std::forward(value); - } - template - GreengrassConfiguration& WithCompilerOptions(CompilerOptionsT&& value) { - SetCompilerOptions(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The target device for the model. Currently the only supported value is - * jetson_xavier. If you specify TargetDevice, you can't - * specify TargetPlatform.

- */ - inline TargetDevice GetTargetDevice() const { return m_targetDevice; } - inline bool TargetDeviceHasBeenSet() const { return m_targetDeviceHasBeenSet; } - inline void SetTargetDevice(TargetDevice value) { - m_targetDeviceHasBeenSet = true; - m_targetDevice = value; - } - inline GreengrassConfiguration& WithTargetDevice(TargetDevice value) { - SetTargetDevice(value); - return *this; - } - ///@} - - ///@{ - /** - *

The target platform for the model. If you specify - * TargetPlatform, you can't specify TargetDevice.

- */ - inline const TargetPlatform& GetTargetPlatform() const { return m_targetPlatform; } - inline bool TargetPlatformHasBeenSet() const { return m_targetPlatformHasBeenSet; } - template - void SetTargetPlatform(TargetPlatformT&& value) { - m_targetPlatformHasBeenSet = true; - m_targetPlatform = std::forward(value); - } - template - GreengrassConfiguration& WithTargetPlatform(TargetPlatformT&& value) { - SetTargetPlatform(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An S3 location in which Lookout for Vision stores the component artifacts. - *

- */ - inline const S3Location& GetS3OutputLocation() const { return m_s3OutputLocation; } - inline bool S3OutputLocationHasBeenSet() const { return m_s3OutputLocationHasBeenSet; } - template - void SetS3OutputLocation(S3OutputLocationT&& value) { - m_s3OutputLocationHasBeenSet = true; - m_s3OutputLocation = std::forward(value); - } - template - GreengrassConfiguration& WithS3OutputLocation(S3OutputLocationT&& value) { - SetS3OutputLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A name for the AWS IoT Greengrass component.

- */ - inline const Aws::String& GetComponentName() const { return m_componentName; } - inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; } - template - void SetComponentName(ComponentNameT&& value) { - m_componentNameHasBeenSet = true; - m_componentName = std::forward(value); - } - template - GreengrassConfiguration& WithComponentName(ComponentNameT&& value) { - SetComponentName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A Version for the AWS IoT Greengrass component. If you don't provide a value, - * a default value of Model Version.0.0 is used.

- */ - inline const Aws::String& GetComponentVersion() const { return m_componentVersion; } - inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; } - template - void SetComponentVersion(ComponentVersionT&& value) { - m_componentVersionHasBeenSet = true; - m_componentVersion = std::forward(value); - } - template - GreengrassConfiguration& WithComponentVersion(ComponentVersionT&& value) { - SetComponentVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A description for the AWS IoT Greengrass component.

- */ - inline const Aws::String& GetComponentDescription() const { return m_componentDescription; } - inline bool ComponentDescriptionHasBeenSet() const { return m_componentDescriptionHasBeenSet; } - template - void SetComponentDescription(ComponentDescriptionT&& value) { - m_componentDescriptionHasBeenSet = true; - m_componentDescription = std::forward(value); - } - template - GreengrassConfiguration& WithComponentDescription(ComponentDescriptionT&& value) { - SetComponentDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A set of tags (key-value pairs) that you want to attach to the AWS IoT - * Greengrass component.

- */ - inline const Aws::Vector& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - GreengrassConfiguration& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - GreengrassConfiguration& AddTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_compilerOptions; - bool m_compilerOptionsHasBeenSet = false; - - TargetDevice m_targetDevice{TargetDevice::NOT_SET}; - bool m_targetDeviceHasBeenSet = false; - - TargetPlatform m_targetPlatform; - bool m_targetPlatformHasBeenSet = false; - - S3Location m_s3OutputLocation; - bool m_s3OutputLocationHasBeenSet = false; - - Aws::String m_componentName; - bool m_componentNameHasBeenSet = false; - - Aws::String m_componentVersion; - bool m_componentVersionHasBeenSet = false; - - Aws::String m_componentDescription; - bool m_componentDescriptionHasBeenSet = false; - - Aws::Vector m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/GreengrassOutputDetails.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/GreengrassOutputDetails.h deleted file mode 100644 index fe5226fe90a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/GreengrassOutputDetails.h +++ /dev/null @@ -1,101 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Information about the AWS IoT Greengrass component created by a model - * packaging job.

See Also:

AWS - * API Reference

- */ -class GreengrassOutputDetails { - public: - AWS_LOOKOUTFORVISION_API GreengrassOutputDetails() = default; - AWS_LOOKOUTFORVISION_API GreengrassOutputDetails(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API GreengrassOutputDetails& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the component.

- */ - inline const Aws::String& GetComponentVersionArn() const { return m_componentVersionArn; } - inline bool ComponentVersionArnHasBeenSet() const { return m_componentVersionArnHasBeenSet; } - template - void SetComponentVersionArn(ComponentVersionArnT&& value) { - m_componentVersionArnHasBeenSet = true; - m_componentVersionArn = std::forward(value); - } - template - GreengrassOutputDetails& WithComponentVersionArn(ComponentVersionArnT&& value) { - SetComponentVersionArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the component.

- */ - inline const Aws::String& GetComponentName() const { return m_componentName; } - inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; } - template - void SetComponentName(ComponentNameT&& value) { - m_componentNameHasBeenSet = true; - m_componentName = std::forward(value); - } - template - GreengrassOutputDetails& WithComponentName(ComponentNameT&& value) { - SetComponentName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the component.

- */ - inline const Aws::String& GetComponentVersion() const { return m_componentVersion; } - inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; } - template - void SetComponentVersion(ComponentVersionT&& value) { - m_componentVersionHasBeenSet = true; - m_componentVersion = std::forward(value); - } - template - GreengrassOutputDetails& WithComponentVersion(ComponentVersionT&& value) { - SetComponentVersion(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_componentVersionArn; - bool m_componentVersionArnHasBeenSet = false; - - Aws::String m_componentName; - bool m_componentNameHasBeenSet = false; - - Aws::String m_componentVersion; - bool m_componentVersionHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ImageSource.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ImageSource.h deleted file mode 100644 index 57ac6242c02..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ImageSource.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

The source for an image.

See Also:

AWS - * API Reference

- */ -class ImageSource { - public: - AWS_LOOKOUTFORVISION_API ImageSource() = default; - AWS_LOOKOUTFORVISION_API ImageSource(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API ImageSource& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The type of the image.

- */ - inline const Aws::String& GetType() const { return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - template - void SetType(TypeT&& value) { - m_typeHasBeenSet = true; - m_type = std::forward(value); - } - template - ImageSource& WithType(TypeT&& value) { - SetType(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_type; - bool m_typeHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/InputS3Object.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/InputS3Object.h deleted file mode 100644 index 07f411ddc95..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/InputS3Object.h +++ /dev/null @@ -1,101 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Amazon S3 Location information for an input manifest file.

See - * Also:

AWS - * API Reference

- */ -class InputS3Object { - public: - AWS_LOOKOUTFORVISION_API InputS3Object() = default; - AWS_LOOKOUTFORVISION_API InputS3Object(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API InputS3Object& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon S3 bucket that contains the manifest.

- */ - inline const Aws::String& GetBucket() const { return m_bucket; } - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - template - void SetBucket(BucketT&& value) { - m_bucketHasBeenSet = true; - m_bucket = std::forward(value); - } - template - InputS3Object& WithBucket(BucketT&& value) { - SetBucket(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name and location of the manifest file withiin the bucket.

- */ - inline const Aws::String& GetKey() const { return m_key; } - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - template - void SetKey(KeyT&& value) { - m_keyHasBeenSet = true; - m_key = std::forward(value); - } - template - InputS3Object& WithKey(KeyT&& value) { - SetKey(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version ID of the bucket.

- */ - inline const Aws::String& GetVersionId() const { return m_versionId; } - inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } - template - void SetVersionId(VersionIdT&& value) { - m_versionIdHasBeenSet = true; - m_versionId = std::forward(value); - } - template - InputS3Object& WithVersionId(VersionIdT&& value) { - SetVersionId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_bucket; - bool m_bucketHasBeenSet = false; - - Aws::String m_key; - bool m_keyHasBeenSet = false; - - Aws::String m_versionId; - bool m_versionIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/InternalServerException.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/InternalServerException.h deleted file mode 100644 index 4df71f60179..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/InternalServerException.h +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Amazon Lookout for Vision experienced a service issue. Try your call - * again.

See Also:

AWS - * API Reference

- */ -class InternalServerException { - public: - AWS_LOOKOUTFORVISION_API InternalServerException() = default; - AWS_LOOKOUTFORVISION_API InternalServerException(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API InternalServerException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - InternalServerException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The period of time, in seconds, before the operation can be retried.

- */ - 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{0}; - bool m_retryAfterSecondsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListDatasetEntriesRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListDatasetEntriesRequest.h deleted file mode 100644 index a0ad2be3174..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListDatasetEntriesRequest.h +++ /dev/null @@ -1,240 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class ListDatasetEntriesRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API ListDatasetEntriesRequest() = default; - - // 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 "ListDatasetEntries"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The name of the project that contains the dataset that you want to list.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - ListDatasetEntriesRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the dataset that you want to list. Specify train to - * list the training dataset. Specify test to list the test dataset. - * If you have a single dataset project, specify train.

- */ - inline const Aws::String& GetDatasetType() const { return m_datasetType; } - inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; } - template - void SetDatasetType(DatasetTypeT&& value) { - m_datasetTypeHasBeenSet = true; - m_datasetType = std::forward(value); - } - template - ListDatasetEntriesRequest& WithDatasetType(DatasetTypeT&& value) { - SetDatasetType(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Specify true to include labeled entries, otherwise specify - * false. If you don't specify a value, Lookout for Vision returns all - * entries.

- */ - inline bool GetLabeled() const { return m_labeled; } - inline bool LabeledHasBeenSet() const { return m_labeledHasBeenSet; } - inline void SetLabeled(bool value) { - m_labeledHasBeenSet = true; - m_labeled = value; - } - inline ListDatasetEntriesRequest& WithLabeled(bool value) { - SetLabeled(value); - return *this; - } - ///@} - - ///@{ - /** - *

Specify normal to include only normal images. Specify - * anomaly to only include anomalous entries. If you don't specify a - * value, Amazon Lookout for Vision returns normal and anomalous images.

- */ - inline const Aws::String& GetAnomalyClass() const { return m_anomalyClass; } - inline bool AnomalyClassHasBeenSet() const { return m_anomalyClassHasBeenSet; } - template - void SetAnomalyClass(AnomalyClassT&& value) { - m_anomalyClassHasBeenSet = true; - m_anomalyClass = std::forward(value); - } - template - ListDatasetEntriesRequest& WithAnomalyClass(AnomalyClassT&& value) { - SetAnomalyClass(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Only includes entries before the specified date in the response. For example, - * 2020-06-23T00:00:00.

- */ - inline const Aws::Utils::DateTime& GetBeforeCreationDate() const { return m_beforeCreationDate; } - inline bool BeforeCreationDateHasBeenSet() const { return m_beforeCreationDateHasBeenSet; } - template - void SetBeforeCreationDate(BeforeCreationDateT&& value) { - m_beforeCreationDateHasBeenSet = true; - m_beforeCreationDate = std::forward(value); - } - template - ListDatasetEntriesRequest& WithBeforeCreationDate(BeforeCreationDateT&& value) { - SetBeforeCreationDate(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Only includes entries after the specified date in the response. For example, - * 2020-06-23T00:00:00.

- */ - inline const Aws::Utils::DateTime& GetAfterCreationDate() const { return m_afterCreationDate; } - inline bool AfterCreationDateHasBeenSet() const { return m_afterCreationDateHasBeenSet; } - template - void SetAfterCreationDate(AfterCreationDateT&& value) { - m_afterCreationDateHasBeenSet = true; - m_afterCreationDate = std::forward(value); - } - template - ListDatasetEntriesRequest& WithAfterCreationDate(AfterCreationDateT&& value) { - SetAfterCreationDate(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the previous response was incomplete (because there is more data to - * retrieve), Amazon Lookout for Vision returns a pagination token in the response. - * You can use this pagination token to retrieve the next set of dataset - * entries.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListDatasetEntriesRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of results to return per paginated call. The largest value - * you can specify is 100. If you specify a value greater than 100, a - * ValidationException error occurs. The default value is 100.

- */ - 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 ListDatasetEntriesRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

Perform a "contains" search on the values of the source-ref key - * within the dataset. For example a value of "IMG_17" returns all JSON Lines where - * the source-ref key value matches *IMG_17*.

- */ - inline const Aws::String& GetSourceRefContains() const { return m_sourceRefContains; } - inline bool SourceRefContainsHasBeenSet() const { return m_sourceRefContainsHasBeenSet; } - template - void SetSourceRefContains(SourceRefContainsT&& value) { - m_sourceRefContainsHasBeenSet = true; - m_sourceRefContains = std::forward(value); - } - template - ListDatasetEntriesRequest& WithSourceRefContains(SourceRefContainsT&& value) { - SetSourceRefContains(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_datasetType; - bool m_datasetTypeHasBeenSet = false; - - bool m_labeled{false}; - bool m_labeledHasBeenSet = false; - - Aws::String m_anomalyClass; - bool m_anomalyClassHasBeenSet = false; - - Aws::Utils::DateTime m_beforeCreationDate{}; - bool m_beforeCreationDateHasBeenSet = false; - - Aws::Utils::DateTime m_afterCreationDate{}; - bool m_afterCreationDateHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::String m_sourceRefContains; - bool m_sourceRefContainsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListDatasetEntriesResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListDatasetEntriesResult.h deleted file mode 100644 index 4d9f32b9c1b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListDatasetEntriesResult.h +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class ListDatasetEntriesResult { - public: - AWS_LOOKOUTFORVISION_API ListDatasetEntriesResult() = default; - AWS_LOOKOUTFORVISION_API ListDatasetEntriesResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API ListDatasetEntriesResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of the entries (JSON Lines) within the dataset.

- */ - inline const Aws::Vector& GetDatasetEntries() const { return m_datasetEntries; } - template > - void SetDatasetEntries(DatasetEntriesT&& value) { - m_datasetEntriesHasBeenSet = true; - m_datasetEntries = std::forward(value); - } - template > - ListDatasetEntriesResult& WithDatasetEntries(DatasetEntriesT&& value) { - SetDatasetEntries(std::forward(value)); - return *this; - } - template - ListDatasetEntriesResult& AddDatasetEntries(DatasetEntriesT&& value) { - m_datasetEntriesHasBeenSet = true; - m_datasetEntries.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the response is truncated, Amazon Lookout for Vision returns this token - * that you can use in the subsequent request to retrieve the next set ofdataset - * entries.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListDatasetEntriesResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListDatasetEntriesResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_datasetEntries; - bool m_datasetEntriesHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelPackagingJobsRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelPackagingJobsRequest.h deleted file mode 100644 index 834e318a51d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelPackagingJobsRequest.h +++ /dev/null @@ -1,105 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class ListModelPackagingJobsRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API ListModelPackagingJobsRequest() = default; - - // 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 "ListModelPackagingJobs"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The name of the project for which you want to list the model packaging jobs. - *

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - ListModelPackagingJobsRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the previous response was incomplete (because there is more results to - * retrieve), Amazon Lookout for Vision returns a pagination token in the response. - * You can use this pagination token to retrieve the next set of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListModelPackagingJobsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of results to return per paginated call. The largest value - * you can specify is 100. If you specify a value greater than 100, a - * ValidationException error occurs. The default value is 100.

- */ - 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 ListModelPackagingJobsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelPackagingJobsResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelPackagingJobsResult.h deleted file mode 100644 index 3aaa305e057..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelPackagingJobsResult.h +++ /dev/null @@ -1,101 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class ListModelPackagingJobsResult { - public: - AWS_LOOKOUTFORVISION_API ListModelPackagingJobsResult() = default; - AWS_LOOKOUTFORVISION_API ListModelPackagingJobsResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API ListModelPackagingJobsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of the model packaging jobs created for the specified Amazon Lookout - * for Vision project.

- */ - inline const Aws::Vector& GetModelPackagingJobs() const { return m_modelPackagingJobs; } - template > - void SetModelPackagingJobs(ModelPackagingJobsT&& value) { - m_modelPackagingJobsHasBeenSet = true; - m_modelPackagingJobs = std::forward(value); - } - template > - ListModelPackagingJobsResult& WithModelPackagingJobs(ModelPackagingJobsT&& value) { - SetModelPackagingJobs(std::forward(value)); - return *this; - } - template - ListModelPackagingJobsResult& AddModelPackagingJobs(ModelPackagingJobsT&& value) { - m_modelPackagingJobsHasBeenSet = true; - m_modelPackagingJobs.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the previous response was incomplete (because there is more results to - * retrieve), Amazon Lookout for Vision returns a pagination token in the response. - * You can use this pagination token to retrieve the next set of results.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListModelPackagingJobsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListModelPackagingJobsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_modelPackagingJobs; - bool m_modelPackagingJobsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelsRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelsRequest.h deleted file mode 100644 index 6122a030e84..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelsRequest.h +++ /dev/null @@ -1,105 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class ListModelsRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API ListModelsRequest() = default; - - // 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 "ListModels"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The name of the project that contains the model versions that you want to - * list.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - ListModelsRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the previous response was incomplete (because there is more data to - * retrieve), Amazon Lookout for Vision returns a pagination token in the response. - * You can use this pagination token to retrieve the next set of models.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListModelsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of results to return per paginated call. The largest value - * you can specify is 100. If you specify a value greater than 100, a - * ValidationException error occurs. The default value is 100.

- */ - 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 ListModelsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelsResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelsResult.h deleted file mode 100644 index 67ea6d74914..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListModelsResult.h +++ /dev/null @@ -1,100 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class ListModelsResult { - public: - AWS_LOOKOUTFORVISION_API ListModelsResult() = default; - AWS_LOOKOUTFORVISION_API ListModelsResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API ListModelsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of model versions in the specified project.

- */ - inline const Aws::Vector& GetModels() const { return m_models; } - template > - void SetModels(ModelsT&& value) { - m_modelsHasBeenSet = true; - m_models = std::forward(value); - } - template > - ListModelsResult& WithModels(ModelsT&& value) { - SetModels(std::forward(value)); - return *this; - } - template - ListModelsResult& AddModels(ModelsT&& value) { - m_modelsHasBeenSet = true; - m_models.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the response is truncated, Amazon Lookout for Vision returns this token - * that you can use in the subsequent request to retrieve the next set of models. - *

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListModelsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListModelsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_models; - bool m_modelsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListProjectsRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListProjectsRequest.h deleted file mode 100644 index 1522e62d61e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListProjectsRequest.h +++ /dev/null @@ -1,83 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class ListProjectsRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API ListProjectsRequest() = default; - - // 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 "ListProjects"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

If the previous response was incomplete (because there is more data to - * retrieve), Amazon Lookout for Vision returns a pagination token in the response. - * You can use this pagination token to retrieve the next set of projects.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListProjectsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of results to return per paginated call. The largest value - * you can specify is 100. If you specify a value greater than 100, a - * ValidationException error occurs. The default value is 100.

- */ - 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 ListProjectsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - private: - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListProjectsResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListProjectsResult.h deleted file mode 100644 index 6cb467d5e3d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListProjectsResult.h +++ /dev/null @@ -1,100 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class ListProjectsResult { - public: - AWS_LOOKOUTFORVISION_API ListProjectsResult() = default; - AWS_LOOKOUTFORVISION_API ListProjectsResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API ListProjectsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of projects in your AWS account.

- */ - inline const Aws::Vector& GetProjects() const { return m_projects; } - template > - void SetProjects(ProjectsT&& value) { - m_projectsHasBeenSet = true; - m_projects = std::forward(value); - } - template > - ListProjectsResult& WithProjects(ProjectsT&& value) { - SetProjects(std::forward(value)); - return *this; - } - template - ListProjectsResult& AddProjects(ProjectsT&& value) { - m_projectsHasBeenSet = true; - m_projects.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the response is truncated, Amazon Lookout for Vision returns this token - * that you can use in the subsequent request to retrieve the next set of - * projects.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListProjectsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListProjectsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_projects; - bool m_projectsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListTagsForResourceRequest.h deleted file mode 100644 index 5c3203ce764..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListTagsForResourceRequest.h +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class ListTagsForResourceRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API ListTagsForResourceRequest() = default; - - // 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_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the model for which you want to list tags. - *

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - ListTagsForResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListTagsForResourceResult.h deleted file mode 100644 index bb2844b550e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ListTagsForResourceResult.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class ListTagsForResourceResult { - public: - AWS_LOOKOUTFORVISION_API ListTagsForResourceResult() = default; - AWS_LOOKOUTFORVISION_API ListTagsForResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A map of tag keys and values attached to the specified model.

- */ - inline const Aws::Vector& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - ListTagsForResourceResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - ListTagsForResourceResult& AddTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListTagsForResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelDescription.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelDescription.h deleted file mode 100644 index 7f2f40a26fc..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelDescription.h +++ /dev/null @@ -1,336 +0,0 @@ -/** - * 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 - -namespace Aws { -namespace Utils { -namespace Json { -class JsonValue; -class JsonView; -} // namespace Json -} // namespace Utils -namespace LookoutforVision { -namespace Model { - -/** - *

Describes an Amazon Lookout for Vision model.

See Also:

AWS - * API Reference

- */ -class ModelDescription { - public: - AWS_LOOKOUTFORVISION_API ModelDescription() = default; - AWS_LOOKOUTFORVISION_API ModelDescription(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API ModelDescription& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The version of the model

- */ - inline const Aws::String& GetModelVersion() const { return m_modelVersion; } - inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; } - template - void SetModelVersion(ModelVersionT&& value) { - m_modelVersionHasBeenSet = true; - m_modelVersion = std::forward(value); - } - template - ModelDescription& WithModelVersion(ModelVersionT&& value) { - SetModelVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the model.

- */ - inline const Aws::String& GetModelArn() const { return m_modelArn; } - inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; } - template - void SetModelArn(ModelArnT&& value) { - m_modelArnHasBeenSet = true; - m_modelArn = std::forward(value); - } - template - ModelDescription& WithModelArn(ModelArnT&& value) { - SetModelArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The unix timestamp for the date and time that the model was created.

- */ - inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; } - inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; } - template - void SetCreationTimestamp(CreationTimestampT&& value) { - m_creationTimestampHasBeenSet = true; - m_creationTimestamp = std::forward(value); - } - template - ModelDescription& WithCreationTimestamp(CreationTimestampT&& value) { - SetCreationTimestamp(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description for the model.

- */ - inline const Aws::String& GetDescription() const { return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - template - void SetDescription(DescriptionT&& value) { - m_descriptionHasBeenSet = true; - m_description = std::forward(value); - } - template - ModelDescription& WithDescription(DescriptionT&& value) { - SetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the model.

- */ - inline ModelStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(ModelStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline ModelDescription& WithStatus(ModelStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status message for the model.

- */ - inline const Aws::String& GetStatusMessage() const { return m_statusMessage; } - inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } - template - void SetStatusMessage(StatusMessageT&& value) { - m_statusMessageHasBeenSet = true; - m_statusMessage = std::forward(value); - } - template - ModelDescription& WithStatusMessage(StatusMessageT&& value) { - SetStatusMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Performance metrics for the model. Created during training.

- */ - inline const ModelPerformance& GetPerformance() const { return m_performance; } - inline bool PerformanceHasBeenSet() const { return m_performanceHasBeenSet; } - template - void SetPerformance(PerformanceT&& value) { - m_performanceHasBeenSet = true; - m_performance = std::forward(value); - } - template - ModelDescription& WithPerformance(PerformanceT&& value) { - SetPerformance(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The S3 location where Amazon Lookout for Vision saves model training - * files.

- */ - inline const OutputConfig& GetOutputConfig() const { return m_outputConfig; } - inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; } - template - void SetOutputConfig(OutputConfigT&& value) { - m_outputConfigHasBeenSet = true; - m_outputConfig = std::forward(value); - } - template - ModelDescription& WithOutputConfig(OutputConfigT&& value) { - SetOutputConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The S3 location where Amazon Lookout for Vision saves the manifest file that - * was used to test the trained model and generate the performance scores.

- */ - inline const OutputS3Object& GetEvaluationManifest() const { return m_evaluationManifest; } - inline bool EvaluationManifestHasBeenSet() const { return m_evaluationManifestHasBeenSet; } - template - void SetEvaluationManifest(EvaluationManifestT&& value) { - m_evaluationManifestHasBeenSet = true; - m_evaluationManifest = std::forward(value); - } - template - ModelDescription& WithEvaluationManifest(EvaluationManifestT&& value) { - SetEvaluationManifest(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The S3 location where Amazon Lookout for Vision saves the performance - * metrics.

- */ - inline const OutputS3Object& GetEvaluationResult() const { return m_evaluationResult; } - inline bool EvaluationResultHasBeenSet() const { return m_evaluationResultHasBeenSet; } - template - void SetEvaluationResult(EvaluationResultT&& value) { - m_evaluationResultHasBeenSet = true; - m_evaluationResult = std::forward(value); - } - template - ModelDescription& WithEvaluationResult(EvaluationResultT&& value) { - SetEvaluationResult(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The unix timestamp for the date and time that the evaluation ended.

- */ - inline const Aws::Utils::DateTime& GetEvaluationEndTimestamp() const { return m_evaluationEndTimestamp; } - inline bool EvaluationEndTimestampHasBeenSet() const { return m_evaluationEndTimestampHasBeenSet; } - template - void SetEvaluationEndTimestamp(EvaluationEndTimestampT&& value) { - m_evaluationEndTimestampHasBeenSet = true; - m_evaluationEndTimestamp = std::forward(value); - } - template - ModelDescription& WithEvaluationEndTimestamp(EvaluationEndTimestampT&& value) { - SetEvaluationEndTimestamp(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The identifer for the AWS Key Management Service (AWS KMS) key that was used - * to encrypt the model during training.

- */ - inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; } - inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } - template - void SetKmsKeyId(KmsKeyIdT&& value) { - m_kmsKeyIdHasBeenSet = true; - m_kmsKeyId = std::forward(value); - } - template - ModelDescription& WithKmsKeyId(KmsKeyIdT&& value) { - SetKmsKeyId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The minimum number of inference units used by the model. For more - * information, see StartModel

- */ - inline int GetMinInferenceUnits() const { return m_minInferenceUnits; } - inline bool MinInferenceUnitsHasBeenSet() const { return m_minInferenceUnitsHasBeenSet; } - inline void SetMinInferenceUnits(int value) { - m_minInferenceUnitsHasBeenSet = true; - m_minInferenceUnits = value; - } - inline ModelDescription& WithMinInferenceUnits(int value) { - SetMinInferenceUnits(value); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of inference units Amazon Lookout for Vision uses to - * auto-scale the model. For more information, see StartModel.

- */ - inline int GetMaxInferenceUnits() const { return m_maxInferenceUnits; } - inline bool MaxInferenceUnitsHasBeenSet() const { return m_maxInferenceUnitsHasBeenSet; } - inline void SetMaxInferenceUnits(int value) { - m_maxInferenceUnitsHasBeenSet = true; - m_maxInferenceUnits = value; - } - inline ModelDescription& WithMaxInferenceUnits(int value) { - SetMaxInferenceUnits(value); - return *this; - } - ///@} - private: - Aws::String m_modelVersion; - bool m_modelVersionHasBeenSet = false; - - Aws::String m_modelArn; - bool m_modelArnHasBeenSet = false; - - Aws::Utils::DateTime m_creationTimestamp{}; - bool m_creationTimestampHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; - - ModelStatus m_status{ModelStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusMessage; - bool m_statusMessageHasBeenSet = false; - - ModelPerformance m_performance; - bool m_performanceHasBeenSet = false; - - OutputConfig m_outputConfig; - bool m_outputConfigHasBeenSet = false; - - OutputS3Object m_evaluationManifest; - bool m_evaluationManifestHasBeenSet = false; - - OutputS3Object m_evaluationResult; - bool m_evaluationResultHasBeenSet = false; - - Aws::Utils::DateTime m_evaluationEndTimestamp{}; - bool m_evaluationEndTimestampHasBeenSet = false; - - Aws::String m_kmsKeyId; - bool m_kmsKeyIdHasBeenSet = false; - - int m_minInferenceUnits{0}; - bool m_minInferenceUnitsHasBeenSet = false; - - int m_maxInferenceUnits{0}; - bool m_maxInferenceUnitsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelHostingStatus.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelHostingStatus.h deleted file mode 100644 index c9c3bec0f06..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelHostingStatus.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutforVision { -namespace Model { -enum class ModelHostingStatus { NOT_SET, STARTING_HOSTING, HOSTED, HOSTING_FAILED, STOPPING_HOSTING, SYSTEM_UPDATING }; - -namespace ModelHostingStatusMapper { -AWS_LOOKOUTFORVISION_API ModelHostingStatus GetModelHostingStatusForName(const Aws::String& name); - -AWS_LOOKOUTFORVISION_API Aws::String GetNameForModelHostingStatus(ModelHostingStatus value); -} // namespace ModelHostingStatusMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelMetadata.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelMetadata.h deleted file mode 100644 index abc2d038684..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelMetadata.h +++ /dev/null @@ -1,186 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Describes an Amazon Lookout for Vision model.

See Also:

AWS - * API Reference

- */ -class ModelMetadata { - public: - AWS_LOOKOUTFORVISION_API ModelMetadata() = default; - AWS_LOOKOUTFORVISION_API ModelMetadata(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API ModelMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The unix timestamp for the date and time that the model was created.

- */ - inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; } - inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; } - template - void SetCreationTimestamp(CreationTimestampT&& value) { - m_creationTimestampHasBeenSet = true; - m_creationTimestamp = std::forward(value); - } - template - ModelMetadata& WithCreationTimestamp(CreationTimestampT&& value) { - SetCreationTimestamp(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the model.

- */ - inline const Aws::String& GetModelVersion() const { return m_modelVersion; } - inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; } - template - void SetModelVersion(ModelVersionT&& value) { - m_modelVersionHasBeenSet = true; - m_modelVersion = std::forward(value); - } - template - ModelMetadata& WithModelVersion(ModelVersionT&& value) { - SetModelVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the model.

- */ - inline const Aws::String& GetModelArn() const { return m_modelArn; } - inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; } - template - void SetModelArn(ModelArnT&& value) { - m_modelArnHasBeenSet = true; - m_modelArn = std::forward(value); - } - template - ModelMetadata& WithModelArn(ModelArnT&& value) { - SetModelArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description for the model.

- */ - inline const Aws::String& GetDescription() const { return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - template - void SetDescription(DescriptionT&& value) { - m_descriptionHasBeenSet = true; - m_description = std::forward(value); - } - template - ModelMetadata& WithDescription(DescriptionT&& value) { - SetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the model.

- */ - inline ModelStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(ModelStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline ModelMetadata& WithStatus(ModelStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status message for the model.

- */ - inline const Aws::String& GetStatusMessage() const { return m_statusMessage; } - inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } - template - void SetStatusMessage(StatusMessageT&& value) { - m_statusMessageHasBeenSet = true; - m_statusMessage = std::forward(value); - } - template - ModelMetadata& WithStatusMessage(StatusMessageT&& value) { - SetStatusMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Performance metrics for the model. Not available until training has - * successfully completed.

- */ - inline const ModelPerformance& GetPerformance() const { return m_performance; } - inline bool PerformanceHasBeenSet() const { return m_performanceHasBeenSet; } - template - void SetPerformance(PerformanceT&& value) { - m_performanceHasBeenSet = true; - m_performance = std::forward(value); - } - template - ModelMetadata& WithPerformance(PerformanceT&& value) { - SetPerformance(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Utils::DateTime m_creationTimestamp{}; - bool m_creationTimestampHasBeenSet = false; - - Aws::String m_modelVersion; - bool m_modelVersionHasBeenSet = false; - - Aws::String m_modelArn; - bool m_modelArnHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; - - ModelStatus m_status{ModelStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusMessage; - bool m_statusMessageHasBeenSet = false; - - ModelPerformance m_performance; - bool m_performanceHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingConfiguration.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingConfiguration.h deleted file mode 100644 index 4646ff1e711..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingConfiguration.h +++ /dev/null @@ -1,61 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Configuration information for a Amazon Lookout for Vision model packaging - * job. For more information, see StartModelPackagingJob.

See - * Also:

AWS - * API Reference

- */ -class ModelPackagingConfiguration { - public: - AWS_LOOKOUTFORVISION_API ModelPackagingConfiguration() = default; - AWS_LOOKOUTFORVISION_API ModelPackagingConfiguration(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API ModelPackagingConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Configuration information for the AWS IoT Greengrass component in a model - * packaging job.

- */ - inline const GreengrassConfiguration& GetGreengrass() const { return m_greengrass; } - inline bool GreengrassHasBeenSet() const { return m_greengrassHasBeenSet; } - template - void SetGreengrass(GreengrassT&& value) { - m_greengrassHasBeenSet = true; - m_greengrass = std::forward(value); - } - template - ModelPackagingConfiguration& WithGreengrass(GreengrassT&& value) { - SetGreengrass(std::forward(value)); - return *this; - } - ///@} - private: - GreengrassConfiguration m_greengrass; - bool m_greengrassHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingDescription.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingDescription.h deleted file mode 100644 index 1cef8dfb7ad..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingDescription.h +++ /dev/null @@ -1,276 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Information about a model packaging job. For more information, see - * DescribeModelPackagingJob.

See Also:

AWS - * API Reference

- */ -class ModelPackagingDescription { - public: - AWS_LOOKOUTFORVISION_API ModelPackagingDescription() = default; - AWS_LOOKOUTFORVISION_API ModelPackagingDescription(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API ModelPackagingDescription& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the model packaging job.

- */ - inline const Aws::String& GetJobName() const { return m_jobName; } - inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } - template - void SetJobName(JobNameT&& value) { - m_jobNameHasBeenSet = true; - m_jobName = std::forward(value); - } - template - ModelPackagingDescription& WithJobName(JobNameT&& value) { - SetJobName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the project that's associated with a model that's in the model - * package.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - ModelPackagingDescription& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the model used in the model packaging job.

- */ - inline const Aws::String& GetModelVersion() const { return m_modelVersion; } - inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; } - template - void SetModelVersion(ModelVersionT&& value) { - m_modelVersionHasBeenSet = true; - m_modelVersion = std::forward(value); - } - template - ModelPackagingDescription& WithModelVersion(ModelVersionT&& value) { - SetModelVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The configuration information used in the model packaging job.

- */ - inline const ModelPackagingConfiguration& GetModelPackagingConfiguration() const { return m_modelPackagingConfiguration; } - inline bool ModelPackagingConfigurationHasBeenSet() const { return m_modelPackagingConfigurationHasBeenSet; } - template - void SetModelPackagingConfiguration(ModelPackagingConfigurationT&& value) { - m_modelPackagingConfigurationHasBeenSet = true; - m_modelPackagingConfiguration = std::forward(value); - } - template - ModelPackagingDescription& WithModelPackagingConfiguration(ModelPackagingConfigurationT&& value) { - SetModelPackagingConfiguration(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description for the model packaging job.

- */ - inline const Aws::String& GetModelPackagingJobDescription() const { return m_modelPackagingJobDescription; } - inline bool ModelPackagingJobDescriptionHasBeenSet() const { return m_modelPackagingJobDescriptionHasBeenSet; } - template - void SetModelPackagingJobDescription(ModelPackagingJobDescriptionT&& value) { - m_modelPackagingJobDescriptionHasBeenSet = true; - m_modelPackagingJobDescription = std::forward(value); - } - template - ModelPackagingDescription& WithModelPackagingJobDescription(ModelPackagingJobDescriptionT&& value) { - SetModelPackagingJobDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The AWS service used to package the job. Currently Lookout for Vision can - * package jobs with AWS IoT Greengrass.

- */ - inline const Aws::String& GetModelPackagingMethod() const { return m_modelPackagingMethod; } - inline bool ModelPackagingMethodHasBeenSet() const { return m_modelPackagingMethodHasBeenSet; } - template - void SetModelPackagingMethod(ModelPackagingMethodT&& value) { - m_modelPackagingMethodHasBeenSet = true; - m_modelPackagingMethod = std::forward(value); - } - template - ModelPackagingDescription& WithModelPackagingMethod(ModelPackagingMethodT&& value) { - SetModelPackagingMethod(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about the output of the model packaging job. For more - * information, see DescribeModelPackagingJob.

- */ - inline const ModelPackagingOutputDetails& GetModelPackagingOutputDetails() const { return m_modelPackagingOutputDetails; } - inline bool ModelPackagingOutputDetailsHasBeenSet() const { return m_modelPackagingOutputDetailsHasBeenSet; } - template - void SetModelPackagingOutputDetails(ModelPackagingOutputDetailsT&& value) { - m_modelPackagingOutputDetailsHasBeenSet = true; - m_modelPackagingOutputDetails = std::forward(value); - } - template - ModelPackagingDescription& WithModelPackagingOutputDetails(ModelPackagingOutputDetailsT&& value) { - SetModelPackagingOutputDetails(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the model packaging job.

- */ - inline ModelPackagingJobStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(ModelPackagingJobStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline ModelPackagingDescription& WithStatus(ModelPackagingJobStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status message for the model packaging job.

- */ - inline const Aws::String& GetStatusMessage() const { return m_statusMessage; } - inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } - template - void SetStatusMessage(StatusMessageT&& value) { - m_statusMessageHasBeenSet = true; - m_statusMessage = std::forward(value); - } - template - ModelPackagingDescription& WithStatusMessage(StatusMessageT&& value) { - SetStatusMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Unix timestamp for the time and date that the model packaging job was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; } - inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; } - template - void SetCreationTimestamp(CreationTimestampT&& value) { - m_creationTimestampHasBeenSet = true; - m_creationTimestamp = std::forward(value); - } - template - ModelPackagingDescription& WithCreationTimestamp(CreationTimestampT&& value) { - SetCreationTimestamp(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Unix timestamp for the time and date that the model packaging job was - * last updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const { return m_lastUpdatedTimestamp; } - inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; } - template - void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { - m_lastUpdatedTimestampHasBeenSet = true; - m_lastUpdatedTimestamp = std::forward(value); - } - template - ModelPackagingDescription& WithLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { - SetLastUpdatedTimestamp(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_jobName; - bool m_jobNameHasBeenSet = false; - - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_modelVersion; - bool m_modelVersionHasBeenSet = false; - - ModelPackagingConfiguration m_modelPackagingConfiguration; - bool m_modelPackagingConfigurationHasBeenSet = false; - - Aws::String m_modelPackagingJobDescription; - bool m_modelPackagingJobDescriptionHasBeenSet = false; - - Aws::String m_modelPackagingMethod; - bool m_modelPackagingMethodHasBeenSet = false; - - ModelPackagingOutputDetails m_modelPackagingOutputDetails; - bool m_modelPackagingOutputDetailsHasBeenSet = false; - - ModelPackagingJobStatus m_status{ModelPackagingJobStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusMessage; - bool m_statusMessageHasBeenSet = false; - - Aws::Utils::DateTime m_creationTimestamp{}; - bool m_creationTimestampHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedTimestamp{}; - bool m_lastUpdatedTimestampHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingJobMetadata.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingJobMetadata.h deleted file mode 100644 index 3fa434a1fae..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingJobMetadata.h +++ /dev/null @@ -1,230 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Metadata for a model packaging job. For more information, see - * ListModelPackagingJobs.

See Also:

AWS - * API Reference

- */ -class ModelPackagingJobMetadata { - public: - AWS_LOOKOUTFORVISION_API ModelPackagingJobMetadata() = default; - AWS_LOOKOUTFORVISION_API ModelPackagingJobMetadata(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API ModelPackagingJobMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the model packaging job.

- */ - inline const Aws::String& GetJobName() const { return m_jobName; } - inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } - template - void SetJobName(JobNameT&& value) { - m_jobNameHasBeenSet = true; - m_jobName = std::forward(value); - } - template - ModelPackagingJobMetadata& WithJobName(JobNameT&& value) { - SetJobName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The project that contains the model that is in the model package.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - ModelPackagingJobMetadata& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the model that is in the model package.

- */ - inline const Aws::String& GetModelVersion() const { return m_modelVersion; } - inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; } - template - void SetModelVersion(ModelVersionT&& value) { - m_modelVersionHasBeenSet = true; - m_modelVersion = std::forward(value); - } - template - ModelPackagingJobMetadata& WithModelVersion(ModelVersionT&& value) { - SetModelVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The description for the model packaging job.

- */ - inline const Aws::String& GetModelPackagingJobDescription() const { return m_modelPackagingJobDescription; } - inline bool ModelPackagingJobDescriptionHasBeenSet() const { return m_modelPackagingJobDescriptionHasBeenSet; } - template - void SetModelPackagingJobDescription(ModelPackagingJobDescriptionT&& value) { - m_modelPackagingJobDescriptionHasBeenSet = true; - m_modelPackagingJobDescription = std::forward(value); - } - template - ModelPackagingJobMetadata& WithModelPackagingJobDescription(ModelPackagingJobDescriptionT&& value) { - SetModelPackagingJobDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The AWS service used to package the job. Currently Lookout for Vision can - * package jobs with AWS IoT Greengrass.

- */ - inline const Aws::String& GetModelPackagingMethod() const { return m_modelPackagingMethod; } - inline bool ModelPackagingMethodHasBeenSet() const { return m_modelPackagingMethodHasBeenSet; } - template - void SetModelPackagingMethod(ModelPackagingMethodT&& value) { - m_modelPackagingMethodHasBeenSet = true; - m_modelPackagingMethod = std::forward(value); - } - template - ModelPackagingJobMetadata& WithModelPackagingMethod(ModelPackagingMethodT&& value) { - SetModelPackagingMethod(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the model packaging job.

- */ - inline ModelPackagingJobStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(ModelPackagingJobStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline ModelPackagingJobMetadata& WithStatus(ModelPackagingJobStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The status message for the model packaging job.

- */ - inline const Aws::String& GetStatusMessage() const { return m_statusMessage; } - inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } - template - void SetStatusMessage(StatusMessageT&& value) { - m_statusMessageHasBeenSet = true; - m_statusMessage = std::forward(value); - } - template - ModelPackagingJobMetadata& WithStatusMessage(StatusMessageT&& value) { - SetStatusMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Unix timestamp for the time and date that the model packaging job was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; } - inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; } - template - void SetCreationTimestamp(CreationTimestampT&& value) { - m_creationTimestampHasBeenSet = true; - m_creationTimestamp = std::forward(value); - } - template - ModelPackagingJobMetadata& WithCreationTimestamp(CreationTimestampT&& value) { - SetCreationTimestamp(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Unix timestamp for the time and date that the model packaging job was - * last updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const { return m_lastUpdatedTimestamp; } - inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; } - template - void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { - m_lastUpdatedTimestampHasBeenSet = true; - m_lastUpdatedTimestamp = std::forward(value); - } - template - ModelPackagingJobMetadata& WithLastUpdatedTimestamp(LastUpdatedTimestampT&& value) { - SetLastUpdatedTimestamp(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_jobName; - bool m_jobNameHasBeenSet = false; - - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_modelVersion; - bool m_modelVersionHasBeenSet = false; - - Aws::String m_modelPackagingJobDescription; - bool m_modelPackagingJobDescriptionHasBeenSet = false; - - Aws::String m_modelPackagingMethod; - bool m_modelPackagingMethodHasBeenSet = false; - - ModelPackagingJobStatus m_status{ModelPackagingJobStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_statusMessage; - bool m_statusMessageHasBeenSet = false; - - Aws::Utils::DateTime m_creationTimestamp{}; - bool m_creationTimestampHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedTimestamp{}; - bool m_lastUpdatedTimestampHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingJobStatus.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingJobStatus.h deleted file mode 100644 index df77230a453..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingJobStatus.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutforVision { -namespace Model { -enum class ModelPackagingJobStatus { NOT_SET, CREATED, RUNNING, SUCCEEDED, FAILED }; - -namespace ModelPackagingJobStatusMapper { -AWS_LOOKOUTFORVISION_API ModelPackagingJobStatus GetModelPackagingJobStatusForName(const Aws::String& name); - -AWS_LOOKOUTFORVISION_API Aws::String GetNameForModelPackagingJobStatus(ModelPackagingJobStatus value); -} // namespace ModelPackagingJobStatusMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingOutputDetails.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingOutputDetails.h deleted file mode 100644 index ccb4d64896c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPackagingOutputDetails.h +++ /dev/null @@ -1,60 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Information about the output from a model packaging job.

See - * Also:

AWS - * API Reference

- */ -class ModelPackagingOutputDetails { - public: - AWS_LOOKOUTFORVISION_API ModelPackagingOutputDetails() = default; - AWS_LOOKOUTFORVISION_API ModelPackagingOutputDetails(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API ModelPackagingOutputDetails& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Information about the AWS IoT Greengrass component in a model packaging job. - *

- */ - inline const GreengrassOutputDetails& GetGreengrass() const { return m_greengrass; } - inline bool GreengrassHasBeenSet() const { return m_greengrassHasBeenSet; } - template - void SetGreengrass(GreengrassT&& value) { - m_greengrassHasBeenSet = true; - m_greengrass = std::forward(value); - } - template - ModelPackagingOutputDetails& WithGreengrass(GreengrassT&& value) { - SetGreengrass(std::forward(value)); - return *this; - } - ///@} - private: - GreengrassOutputDetails m_greengrass; - bool m_greengrassHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPerformance.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPerformance.h deleted file mode 100644 index d325524665b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelPerformance.h +++ /dev/null @@ -1,92 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Information about the evaluation performance of a trained model. - *

See Also:

AWS - * API Reference

- */ -class ModelPerformance { - public: - AWS_LOOKOUTFORVISION_API ModelPerformance() = default; - AWS_LOOKOUTFORVISION_API ModelPerformance(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API ModelPerformance& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The overall F1 score metric for the trained model.

- */ - inline double GetF1Score() const { return m_f1Score; } - inline bool F1ScoreHasBeenSet() const { return m_f1ScoreHasBeenSet; } - inline void SetF1Score(double value) { - m_f1ScoreHasBeenSet = true; - m_f1Score = value; - } - inline ModelPerformance& WithF1Score(double value) { - SetF1Score(value); - return *this; - } - ///@} - - ///@{ - /** - *

The overall recall metric value for the trained model.

- */ - inline double GetRecall() const { return m_recall; } - inline bool RecallHasBeenSet() const { return m_recallHasBeenSet; } - inline void SetRecall(double value) { - m_recallHasBeenSet = true; - m_recall = value; - } - inline ModelPerformance& WithRecall(double value) { - SetRecall(value); - return *this; - } - ///@} - - ///@{ - /** - *

The overall precision metric value for the trained model.

- */ - inline double GetPrecision() const { return m_precision; } - inline bool PrecisionHasBeenSet() const { return m_precisionHasBeenSet; } - inline void SetPrecision(double value) { - m_precisionHasBeenSet = true; - m_precision = value; - } - inline ModelPerformance& WithPrecision(double value) { - SetPrecision(value); - return *this; - } - ///@} - private: - double m_f1Score{0.0}; - bool m_f1ScoreHasBeenSet = false; - - double m_recall{0.0}; - bool m_recallHasBeenSet = false; - - double m_precision{0.0}; - bool m_precisionHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelStatus.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelStatus.h deleted file mode 100644 index 6b3afd55514..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ModelStatus.h +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutforVision { -namespace Model { -enum class ModelStatus { - NOT_SET, - TRAINING, - TRAINED, - TRAINING_FAILED, - STARTING_HOSTING, - HOSTED, - HOSTING_FAILED, - STOPPING_HOSTING, - SYSTEM_UPDATING, - DELETING -}; - -namespace ModelStatusMapper { -AWS_LOOKOUTFORVISION_API ModelStatus GetModelStatusForName(const Aws::String& name); - -AWS_LOOKOUTFORVISION_API Aws::String GetNameForModelStatus(ModelStatus value); -} // namespace ModelStatusMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/OutputConfig.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/OutputConfig.h deleted file mode 100644 index 230d4cc9f98..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/OutputConfig.h +++ /dev/null @@ -1,59 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

The S3 location where Amazon Lookout for Vision saves model training - * files.

See Also:

AWS - * API Reference

- */ -class OutputConfig { - public: - AWS_LOOKOUTFORVISION_API OutputConfig() = default; - AWS_LOOKOUTFORVISION_API OutputConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API OutputConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The S3 location for the output.

- */ - inline const S3Location& GetS3Location() const { return m_s3Location; } - inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; } - template - void SetS3Location(S3LocationT&& value) { - m_s3LocationHasBeenSet = true; - m_s3Location = std::forward(value); - } - template - OutputConfig& WithS3Location(S3LocationT&& value) { - SetS3Location(std::forward(value)); - return *this; - } - ///@} - private: - S3Location m_s3Location; - bool m_s3LocationHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/OutputS3Object.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/OutputS3Object.h deleted file mode 100644 index 38cdd2b5e83..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/OutputS3Object.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

The S3 location where Amazon Lookout for Vision saves training - * output.

See Also:

AWS - * API Reference

- */ -class OutputS3Object { - public: - AWS_LOOKOUTFORVISION_API OutputS3Object() = default; - AWS_LOOKOUTFORVISION_API OutputS3Object(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API OutputS3Object& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The bucket that contains the training output.

- */ - inline const Aws::String& GetBucket() const { return m_bucket; } - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - template - void SetBucket(BucketT&& value) { - m_bucketHasBeenSet = true; - m_bucket = std::forward(value); - } - template - OutputS3Object& WithBucket(BucketT&& value) { - SetBucket(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The location of the training output in the bucket.

- */ - inline const Aws::String& GetKey() const { return m_key; } - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - template - void SetKey(KeyT&& value) { - m_keyHasBeenSet = true; - m_key = std::forward(value); - } - template - OutputS3Object& WithKey(KeyT&& value) { - SetKey(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_bucket; - bool m_bucketHasBeenSet = false; - - Aws::String m_key; - bool m_keyHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/PixelAnomaly.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/PixelAnomaly.h deleted file mode 100644 index 7c646a61be7..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/PixelAnomaly.h +++ /dev/null @@ -1,81 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Information about the pixels in an anomaly mask. For more information, see - * Anomaly. PixelAnomaly is only returned by image segmentation - * models.

See Also:

AWS - * API Reference

- */ -class PixelAnomaly { - public: - AWS_LOOKOUTFORVISION_API PixelAnomaly() = default; - AWS_LOOKOUTFORVISION_API PixelAnomaly(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API PixelAnomaly& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The percentage area of the image that the anomaly type covers.

- */ - inline double GetTotalPercentageArea() const { return m_totalPercentageArea; } - inline bool TotalPercentageAreaHasBeenSet() const { return m_totalPercentageAreaHasBeenSet; } - inline void SetTotalPercentageArea(double value) { - m_totalPercentageAreaHasBeenSet = true; - m_totalPercentageArea = value; - } - inline PixelAnomaly& WithTotalPercentageArea(double value) { - SetTotalPercentageArea(value); - return *this; - } - ///@} - - ///@{ - /** - *

A hex color value for the mask that covers an anomaly type. Each anomaly type - * has a different mask color. The color maps to the color of the anomaly type used - * in the training dataset.

- */ - inline const Aws::String& GetColor() const { return m_color; } - inline bool ColorHasBeenSet() const { return m_colorHasBeenSet; } - template - void SetColor(ColorT&& value) { - m_colorHasBeenSet = true; - m_color = std::forward(value); - } - template - PixelAnomaly& WithColor(ColorT&& value) { - SetColor(std::forward(value)); - return *this; - } - ///@} - private: - double m_totalPercentageArea{0.0}; - bool m_totalPercentageAreaHasBeenSet = false; - - Aws::String m_color; - bool m_colorHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ProjectDescription.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ProjectDescription.h deleted file mode 100644 index da0562dc5f5..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ProjectDescription.h +++ /dev/null @@ -1,131 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Describe an Amazon Lookout for Vision project. For more information, see - * DescribeProject.

See Also:

AWS - * API Reference

- */ -class ProjectDescription { - public: - AWS_LOOKOUTFORVISION_API ProjectDescription() = default; - AWS_LOOKOUTFORVISION_API ProjectDescription(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API ProjectDescription& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the project.

- */ - inline const Aws::String& GetProjectArn() const { return m_projectArn; } - inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; } - template - void SetProjectArn(ProjectArnT&& value) { - m_projectArnHasBeenSet = true; - m_projectArn = std::forward(value); - } - template - ProjectDescription& WithProjectArn(ProjectArnT&& value) { - SetProjectArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the project.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - ProjectDescription& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The unix timestamp for the date and time that the project was created.

- */ - inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; } - inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; } - template - void SetCreationTimestamp(CreationTimestampT&& value) { - m_creationTimestampHasBeenSet = true; - m_creationTimestamp = std::forward(value); - } - template - ProjectDescription& WithCreationTimestamp(CreationTimestampT&& value) { - SetCreationTimestamp(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of datasets in the project.

- */ - inline const Aws::Vector& GetDatasets() const { return m_datasets; } - inline bool DatasetsHasBeenSet() const { return m_datasetsHasBeenSet; } - template > - void SetDatasets(DatasetsT&& value) { - m_datasetsHasBeenSet = true; - m_datasets = std::forward(value); - } - template > - ProjectDescription& WithDatasets(DatasetsT&& value) { - SetDatasets(std::forward(value)); - return *this; - } - template - ProjectDescription& AddDatasets(DatasetsT&& value) { - m_datasetsHasBeenSet = true; - m_datasets.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectArn; - bool m_projectArnHasBeenSet = false; - - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::Utils::DateTime m_creationTimestamp{}; - bool m_creationTimestampHasBeenSet = false; - - Aws::Vector m_datasets; - bool m_datasetsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ProjectMetadata.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ProjectMetadata.h deleted file mode 100644 index 97e2334eaea..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ProjectMetadata.h +++ /dev/null @@ -1,102 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Metadata about an Amazon Lookout for Vision project.

See Also:

- * AWS - * API Reference

- */ -class ProjectMetadata { - public: - AWS_LOOKOUTFORVISION_API ProjectMetadata() = default; - AWS_LOOKOUTFORVISION_API ProjectMetadata(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API ProjectMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the project.

- */ - inline const Aws::String& GetProjectArn() const { return m_projectArn; } - inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; } - template - void SetProjectArn(ProjectArnT&& value) { - m_projectArnHasBeenSet = true; - m_projectArn = std::forward(value); - } - template - ProjectMetadata& WithProjectArn(ProjectArnT&& value) { - SetProjectArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the project.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - ProjectMetadata& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The unix timestamp for the date and time that the project was created.

- */ - inline const Aws::Utils::DateTime& GetCreationTimestamp() const { return m_creationTimestamp; } - inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; } - template - void SetCreationTimestamp(CreationTimestampT&& value) { - m_creationTimestampHasBeenSet = true; - m_creationTimestamp = std::forward(value); - } - template - ProjectMetadata& WithCreationTimestamp(CreationTimestampT&& value) { - SetCreationTimestamp(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectArn; - bool m_projectArnHasBeenSet = false; - - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::Utils::DateTime m_creationTimestamp{}; - bool m_creationTimestampHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ResourceNotFoundException.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ResourceNotFoundException.h deleted file mode 100644 index 4d684132fa5..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ResourceNotFoundException.h +++ /dev/null @@ -1,97 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

The resource could not be found.

See Also:

AWS - * API Reference

- */ -class ResourceNotFoundException { - public: - AWS_LOOKOUTFORVISION_API ResourceNotFoundException() = default; - AWS_LOOKOUTFORVISION_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API ResourceNotFoundException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ResourceNotFoundException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ID of the resource.

- */ - inline const Aws::String& GetResourceId() const { return m_resourceId; } - inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } - template - void SetResourceId(ResourceIdT&& value) { - m_resourceIdHasBeenSet = true; - m_resourceId = std::forward(value); - } - template - ResourceNotFoundException& WithResourceId(ResourceIdT&& value) { - SetResourceId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the resource.

- */ - inline ResourceType GetResourceType() const { return m_resourceType; } - inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } - inline void SetResourceType(ResourceType value) { - m_resourceTypeHasBeenSet = true; - m_resourceType = value; - } - inline ResourceNotFoundException& WithResourceType(ResourceType value) { - SetResourceType(value); - return *this; - } - ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - - Aws::String m_resourceId; - bool m_resourceIdHasBeenSet = false; - - ResourceType m_resourceType{ResourceType::NOT_SET}; - bool m_resourceTypeHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ResourceType.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ResourceType.h deleted file mode 100644 index 16819037677..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ResourceType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutforVision { -namespace Model { -enum class ResourceType { NOT_SET, PROJECT, DATASET, MODEL, TRIAL, MODEL_PACKAGE_JOB }; - -namespace ResourceTypeMapper { -AWS_LOOKOUTFORVISION_API ResourceType GetResourceTypeForName(const Aws::String& name); - -AWS_LOOKOUTFORVISION_API Aws::String GetNameForResourceType(ResourceType value); -} // namespace ResourceTypeMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/S3Location.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/S3Location.h deleted file mode 100644 index e55a966115a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/S3Location.h +++ /dev/null @@ -1,83 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Information about the location of training output or the output of a model - * packaging job.

See Also:

AWS - * API Reference

- */ -class S3Location { - public: - AWS_LOOKOUTFORVISION_API S3Location() = default; - AWS_LOOKOUTFORVISION_API S3Location(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API S3Location& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The S3 bucket that contains the training or model packaging job output. If - * you are training a model, the bucket must in your AWS account. If you use an S3 - * bucket for a model packaging job, the S3 bucket must be in the same AWS Region - * and AWS account in which you use AWS IoT Greengrass.

- */ - inline const Aws::String& GetBucket() const { return m_bucket; } - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - template - void SetBucket(BucketT&& value) { - m_bucketHasBeenSet = true; - m_bucket = std::forward(value); - } - template - S3Location& WithBucket(BucketT&& value) { - SetBucket(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The path of the folder, within the S3 bucket, that contains the output.

- */ - inline const Aws::String& GetPrefix() const { return m_prefix; } - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - template - void SetPrefix(PrefixT&& value) { - m_prefixHasBeenSet = true; - m_prefix = std::forward(value); - } - template - S3Location& WithPrefix(PrefixT&& value) { - SetPrefix(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_bucket; - bool m_bucketHasBeenSet = false; - - Aws::String m_prefix; - bool m_prefixHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ServiceQuotaExceededException.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ServiceQuotaExceededException.h deleted file mode 100644 index c479843673b..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ServiceQuotaExceededException.h +++ /dev/null @@ -1,141 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

A service quota was exceeded the allowed limit. For more information, see - * Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer - * Guide.

See Also:

AWS - * API Reference

- */ -class ServiceQuotaExceededException { - public: - AWS_LOOKOUTFORVISION_API ServiceQuotaExceededException() = default; - AWS_LOOKOUTFORVISION_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API ServiceQuotaExceededException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ServiceQuotaExceededException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The ID of the resource.

- */ - inline const Aws::String& GetResourceId() const { return m_resourceId; } - inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } - template - void SetResourceId(ResourceIdT&& value) { - m_resourceIdHasBeenSet = true; - m_resourceId = std::forward(value); - } - template - ServiceQuotaExceededException& WithResourceId(ResourceIdT&& value) { - SetResourceId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the resource.

- */ - inline ResourceType GetResourceType() const { return m_resourceType; } - inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } - inline void SetResourceType(ResourceType value) { - m_resourceTypeHasBeenSet = true; - m_resourceType = value; - } - inline ServiceQuotaExceededException& WithResourceType(ResourceType value) { - SetResourceType(value); - return *this; - } - ///@} - - ///@{ - /** - *

The quota code.

- */ - inline const Aws::String& GetQuotaCode() const { return m_quotaCode; } - inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } - template - void SetQuotaCode(QuotaCodeT&& value) { - m_quotaCodeHasBeenSet = true; - m_quotaCode = std::forward(value); - } - template - ServiceQuotaExceededException& WithQuotaCode(QuotaCodeT&& value) { - SetQuotaCode(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The service code.

- */ - inline const Aws::String& GetServiceCode() const { return m_serviceCode; } - inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } - template - void SetServiceCode(ServiceCodeT&& value) { - m_serviceCodeHasBeenSet = true; - m_serviceCode = std::forward(value); - } - template - ServiceQuotaExceededException& WithServiceCode(ServiceCodeT&& value) { - SetServiceCode(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - - Aws::String m_resourceId; - bool m_resourceIdHasBeenSet = false; - - ResourceType m_resourceType{ResourceType::NOT_SET}; - bool m_resourceTypeHasBeenSet = false; - - Aws::String m_quotaCode; - bool m_quotaCodeHasBeenSet = false; - - Aws::String m_serviceCode; - bool m_serviceCodeHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelPackagingJobRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelPackagingJobRequest.h deleted file mode 100644 index b4c8e28f3f9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelPackagingJobRequest.h +++ /dev/null @@ -1,178 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class StartModelPackagingJobRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API StartModelPackagingJobRequest() = default; - - // 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 "StartModelPackagingJob"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - ///@{ - /** - *

The name of the project which contains the version of the model that you - * want to package.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - StartModelPackagingJobRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the model within the project that you want to package.

- */ - inline const Aws::String& GetModelVersion() const { return m_modelVersion; } - inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; } - template - void SetModelVersion(ModelVersionT&& value) { - m_modelVersionHasBeenSet = true; - m_modelVersion = std::forward(value); - } - template - StartModelPackagingJobRequest& WithModelVersion(ModelVersionT&& value) { - SetModelVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A name for the model packaging job. If you don't supply a value, the service - * creates a job name for you.

- */ - inline const Aws::String& GetJobName() const { return m_jobName; } - inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } - template - void SetJobName(JobNameT&& value) { - m_jobNameHasBeenSet = true; - m_jobName = std::forward(value); - } - template - StartModelPackagingJobRequest& WithJobName(JobNameT&& value) { - SetJobName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The configuration for the model packaging job.

- */ - inline const ModelPackagingConfiguration& GetConfiguration() const { return m_configuration; } - inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } - template - void SetConfiguration(ConfigurationT&& value) { - m_configurationHasBeenSet = true; - m_configuration = std::forward(value); - } - template - StartModelPackagingJobRequest& WithConfiguration(ConfigurationT&& value) { - SetConfiguration(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A description for the model packaging job.

- */ - inline const Aws::String& GetDescription() const { return m_description; } - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - template - void SetDescription(DescriptionT&& value) { - m_descriptionHasBeenSet = true; - m_description = std::forward(value); - } - template - StartModelPackagingJobRequest& WithDescription(DescriptionT&& value) { - SetDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

ClientToken is an idempotency token that ensures a call to - * StartModelPackagingJob completes only once. You choose the value to - * pass. For example, An issue might prevent you from getting a response from - * StartModelPackagingJob. In this case, safely retry your call to - * StartModelPackagingJob by using the same ClientToken - * parameter value.

If you don't supply a value for - * ClientToken, the AWS SDK you are using inserts a value for you. - * This prevents retries after a network error from making multiple dataset - * creation requests. You'll need to provide your own value for other use cases. - *

An error occurs if the other input parameters are not the same as in the - * first request. Using a different value for ClientToken is - * considered a new call to StartModelPackagingJob. An idempotency - * token is active for 8 hours.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - StartModelPackagingJobRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_modelVersion; - bool m_modelVersionHasBeenSet = false; - - Aws::String m_jobName; - bool m_jobNameHasBeenSet = false; - - ModelPackagingConfiguration m_configuration; - bool m_configurationHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelPackagingJobResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelPackagingJobResult.h deleted file mode 100644 index 7f0901c477e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelPackagingJobResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class StartModelPackagingJobResult { - public: - AWS_LOOKOUTFORVISION_API StartModelPackagingJobResult() = default; - AWS_LOOKOUTFORVISION_API StartModelPackagingJobResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API StartModelPackagingJobResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The job name for the model packaging job. If you don't supply a job name in - * the JobName input parameter, the service creates a job name for - * you.

- */ - inline const Aws::String& GetJobName() const { return m_jobName; } - template - void SetJobName(JobNameT&& value) { - m_jobNameHasBeenSet = true; - m_jobName = std::forward(value); - } - template - StartModelPackagingJobResult& WithJobName(JobNameT&& value) { - SetJobName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - StartModelPackagingJobResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_jobName; - bool m_jobNameHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelRequest.h deleted file mode 100644 index 2518e633407..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelRequest.h +++ /dev/null @@ -1,154 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class StartModelRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API StartModelRequest() = default; - - // 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 "StartModel"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - ///@{ - /** - *

The name of the project that contains the model that you want to start.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - StartModelRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the model that you want to start.

- */ - inline const Aws::String& GetModelVersion() const { return m_modelVersion; } - inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; } - template - void SetModelVersion(ModelVersionT&& value) { - m_modelVersionHasBeenSet = true; - m_modelVersion = std::forward(value); - } - template - StartModelRequest& WithModelVersion(ModelVersionT&& value) { - SetModelVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The minimum number of inference units to use. A single inference unit - * represents 1 hour of processing. Use a higher number to increase the TPS - * throughput of your model. You are charged for the number of inference units that - * you use.

- */ - inline int GetMinInferenceUnits() const { return m_minInferenceUnits; } - inline bool MinInferenceUnitsHasBeenSet() const { return m_minInferenceUnitsHasBeenSet; } - inline void SetMinInferenceUnits(int value) { - m_minInferenceUnitsHasBeenSet = true; - m_minInferenceUnits = value; - } - inline StartModelRequest& WithMinInferenceUnits(int value) { - SetMinInferenceUnits(value); - return *this; - } - ///@} - - ///@{ - /** - *

ClientToken is an idempotency token that ensures a call to - * StartModel completes only once. You choose the value to pass. For - * example, An issue might prevent you from getting a response from - * StartModel. In this case, safely retry your call to - * StartModel by using the same ClientToken parameter - * value.

If you don't supply a value for ClientToken, the AWS - * SDK you are using inserts a value for you. This prevents retries after a network - * error from making multiple start requests. You'll need to provide your own value - * for other use cases.

An error occurs if the other input parameters are - * not the same as in the first request. Using a different value for - * ClientToken is considered a new call to StartModel. An - * idempotency token is active for 8 hours.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - StartModelRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of inference units to use for auto-scaling the model. If - * you don't specify a value, Amazon Lookout for Vision doesn't auto-scale the - * model.

- */ - inline int GetMaxInferenceUnits() const { return m_maxInferenceUnits; } - inline bool MaxInferenceUnitsHasBeenSet() const { return m_maxInferenceUnitsHasBeenSet; } - inline void SetMaxInferenceUnits(int value) { - m_maxInferenceUnitsHasBeenSet = true; - m_maxInferenceUnits = value; - } - inline StartModelRequest& WithMaxInferenceUnits(int value) { - SetMaxInferenceUnits(value); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_modelVersion; - bool m_modelVersionHasBeenSet = false; - - int m_minInferenceUnits{0}; - bool m_minInferenceUnitsHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; - - int m_maxInferenceUnits{0}; - bool m_maxInferenceUnitsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelResult.h deleted file mode 100644 index 9e9c0c70dd7..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StartModelResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class StartModelResult { - public: - AWS_LOOKOUTFORVISION_API StartModelResult() = default; - AWS_LOOKOUTFORVISION_API StartModelResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API StartModelResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The current running status of the model.

- */ - inline ModelHostingStatus GetStatus() const { return m_status; } - inline void SetStatus(ModelHostingStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline StartModelResult& WithStatus(ModelHostingStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - StartModelResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - ModelHostingStatus m_status{ModelHostingStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StopModelRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StopModelRequest.h deleted file mode 100644 index 8efccdd45bf..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StopModelRequest.h +++ /dev/null @@ -1,111 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class StopModelRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API StopModelRequest() = default; - - // 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 "StopModel"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - ///@{ - /** - *

The name of the project that contains the model that you want to stop.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - StopModelRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the model that you want to stop.

- */ - inline const Aws::String& GetModelVersion() const { return m_modelVersion; } - inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; } - template - void SetModelVersion(ModelVersionT&& value) { - m_modelVersionHasBeenSet = true; - m_modelVersion = std::forward(value); - } - template - StopModelRequest& WithModelVersion(ModelVersionT&& value) { - SetModelVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

ClientToken is an idempotency token that ensures a call to - * StopModel completes only once. You choose the value to pass. For - * example, An issue might prevent you from getting a response from - * StopModel. In this case, safely retry your call to - * StopModel by using the same ClientToken parameter - * value.

If you don't supply a value for ClientToken, the AWS - * SDK you are using inserts a value for you. This prevents retries after a network - * error from making multiple stop requests. You'll need to provide your own value - * for other use cases.

An error occurs if the other input parameters are - * not the same as in the first request. Using a different value for - * ClientToken is considered a new call to StopModel. An - * idempotency token is active for 8 hours.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - StopModelRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_modelVersion; - bool m_modelVersionHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StopModelResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StopModelResult.h deleted file mode 100644 index 62eaa6603bf..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/StopModelResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class StopModelResult { - public: - AWS_LOOKOUTFORVISION_API StopModelResult() = default; - AWS_LOOKOUTFORVISION_API StopModelResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API StopModelResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The status of the model.

- */ - inline ModelHostingStatus GetStatus() const { return m_status; } - inline void SetStatus(ModelHostingStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline StopModelResult& WithStatus(ModelHostingStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - StopModelResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - ModelHostingStatus m_status{ModelHostingStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/Tag.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/Tag.h deleted file mode 100644 index 5f1e010033f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/Tag.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

A key and value pair that is attached to the specified Amazon Lookout for - * Vision model.

See Also:

AWS - * API Reference

- */ -class Tag { - public: - AWS_LOOKOUTFORVISION_API Tag() = default; - AWS_LOOKOUTFORVISION_API Tag(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Tag& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The key of the tag that is attached to the specified model.

- */ - inline const Aws::String& GetKey() const { return m_key; } - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - template - void SetKey(KeyT&& value) { - m_keyHasBeenSet = true; - m_key = std::forward(value); - } - template - Tag& WithKey(KeyT&& value) { - SetKey(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The value of the tag that is attached to the specified model.

- */ - inline const Aws::String& GetValue() const { return m_value; } - inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } - template - void SetValue(ValueT&& value) { - m_valueHasBeenSet = true; - m_value = std::forward(value); - } - template - Tag& WithValue(ValueT&& value) { - SetValue(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_key; - bool m_keyHasBeenSet = false; - - Aws::String m_value; - bool m_valueHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TagResourceRequest.h deleted file mode 100644 index f150fe3354f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TagResourceRequest.h +++ /dev/null @@ -1,84 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class TagResourceRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API TagResourceRequest() = default; - - // 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_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the model to assign the tags.

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - TagResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The key-value tags to assign to the model.

- */ - inline const Aws::Vector& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - TagResourceRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - TagResourceRequest& AddTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; - - Aws::Vector m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TagResourceResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TagResourceResult.h deleted file mode 100644 index 63d17925054..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TagResourceResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class TagResourceResult { - public: - AWS_LOOKOUTFORVISION_API TagResourceResult() = default; - AWS_LOOKOUTFORVISION_API TagResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API TagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - TagResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetDevice.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetDevice.h deleted file mode 100644 index 04395228530..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetDevice.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutforVision { -namespace Model { -enum class TargetDevice { NOT_SET, jetson_xavier }; - -namespace TargetDeviceMapper { -AWS_LOOKOUTFORVISION_API TargetDevice GetTargetDeviceForName(const Aws::String& name); - -AWS_LOOKOUTFORVISION_API Aws::String GetNameForTargetDevice(TargetDevice value); -} // namespace TargetDeviceMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatform.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatform.h deleted file mode 100644 index 74b875737bd..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatform.h +++ /dev/null @@ -1,110 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

The platform on which a model runs on an AWS IoT Greengrass core - * device.

See Also:

AWS - * API Reference

- */ -class TargetPlatform { - public: - AWS_LOOKOUTFORVISION_API TargetPlatform() = default; - AWS_LOOKOUTFORVISION_API TargetPlatform(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API TargetPlatform& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The target operating system for the model. Linux is the only operating system - * that is currently supported.

- */ - inline TargetPlatformOs GetOs() const { return m_os; } - inline bool OsHasBeenSet() const { return m_osHasBeenSet; } - inline void SetOs(TargetPlatformOs value) { - m_osHasBeenSet = true; - m_os = value; - } - inline TargetPlatform& WithOs(TargetPlatformOs value) { - SetOs(value); - return *this; - } - ///@} - - ///@{ - /** - *

The target architecture for the model. The currently supported architectures - * are X86_64 (64-bit version of the x86 instruction set) and ARM_64 (ARMv8 64-bit - * CPU).

- */ - inline TargetPlatformArch GetArch() const { return m_arch; } - inline bool ArchHasBeenSet() const { return m_archHasBeenSet; } - inline void SetArch(TargetPlatformArch value) { - m_archHasBeenSet = true; - m_arch = value; - } - inline TargetPlatform& WithArch(TargetPlatformArch value) { - SetArch(value); - return *this; - } - ///@} - - ///@{ - /** - *

The target accelerator for the model. Currently, Amazon Lookout for Vision - * only supports NVIDIA (Nvidia graphics processing unit) and CPU accelerators. If - * you specify NVIDIA as an accelerator, you must also specify the - * gpu-code, trt-ver, and cuda-ver compiler - * options. If you don't specify an accelerator, Lookout for Vision uses the CPU - * for compilation and we highly recommend that you use the - * GreengrassConfiguration$CompilerOptions field. For example, you can use - * the following compiler options for CPU:

  • mcpu: - * CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'} - *

  • mattr: CPU flags. For example, {'mattr': - * ['+neon', '+vfpv4']}

- */ - inline TargetPlatformAccelerator GetAccelerator() const { return m_accelerator; } - inline bool AcceleratorHasBeenSet() const { return m_acceleratorHasBeenSet; } - inline void SetAccelerator(TargetPlatformAccelerator value) { - m_acceleratorHasBeenSet = true; - m_accelerator = value; - } - inline TargetPlatform& WithAccelerator(TargetPlatformAccelerator value) { - SetAccelerator(value); - return *this; - } - ///@} - private: - TargetPlatformOs m_os{TargetPlatformOs::NOT_SET}; - bool m_osHasBeenSet = false; - - TargetPlatformArch m_arch{TargetPlatformArch::NOT_SET}; - bool m_archHasBeenSet = false; - - TargetPlatformAccelerator m_accelerator{TargetPlatformAccelerator::NOT_SET}; - bool m_acceleratorHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatformAccelerator.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatformAccelerator.h deleted file mode 100644 index b0bd5243e9f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatformAccelerator.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutforVision { -namespace Model { -enum class TargetPlatformAccelerator { NOT_SET, NVIDIA }; - -namespace TargetPlatformAcceleratorMapper { -AWS_LOOKOUTFORVISION_API TargetPlatformAccelerator GetTargetPlatformAcceleratorForName(const Aws::String& name); - -AWS_LOOKOUTFORVISION_API Aws::String GetNameForTargetPlatformAccelerator(TargetPlatformAccelerator value); -} // namespace TargetPlatformAcceleratorMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatformArch.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatformArch.h deleted file mode 100644 index ef2a4d30257..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatformArch.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutforVision { -namespace Model { -enum class TargetPlatformArch { NOT_SET, ARM64, X86_64 }; - -namespace TargetPlatformArchMapper { -AWS_LOOKOUTFORVISION_API TargetPlatformArch GetTargetPlatformArchForName(const Aws::String& name); - -AWS_LOOKOUTFORVISION_API Aws::String GetNameForTargetPlatformArch(TargetPlatformArch value); -} // namespace TargetPlatformArchMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatformOs.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatformOs.h deleted file mode 100644 index c964a2ab831..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/TargetPlatformOs.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace LookoutforVision { -namespace Model { -enum class TargetPlatformOs { NOT_SET, LINUX }; - -namespace TargetPlatformOsMapper { -AWS_LOOKOUTFORVISION_API TargetPlatformOs GetTargetPlatformOsForName(const Aws::String& name); - -AWS_LOOKOUTFORVISION_API Aws::String GetNameForTargetPlatformOs(TargetPlatformOs value); -} // namespace TargetPlatformOsMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ThrottlingException.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ThrottlingException.h deleted file mode 100644 index 2a7186fe8b6..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/ThrottlingException.h +++ /dev/null @@ -1,118 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - *

Amazon Lookout for Vision is temporarily unable to process the request. Try - * your call again.

See Also:

AWS - * API Reference

- */ -class ThrottlingException { - public: - AWS_LOOKOUTFORVISION_API ThrottlingException() = default; - AWS_LOOKOUTFORVISION_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API ThrottlingException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ThrottlingException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The quota code.

- */ - inline const Aws::String& GetQuotaCode() const { return m_quotaCode; } - inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } - template - void SetQuotaCode(QuotaCodeT&& value) { - m_quotaCodeHasBeenSet = true; - m_quotaCode = std::forward(value); - } - template - ThrottlingException& WithQuotaCode(QuotaCodeT&& value) { - SetQuotaCode(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The service code.

- */ - inline const Aws::String& GetServiceCode() const { return m_serviceCode; } - inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } - template - void SetServiceCode(ServiceCodeT&& value) { - m_serviceCodeHasBeenSet = true; - m_serviceCode = std::forward(value); - } - template - ThrottlingException& WithServiceCode(ServiceCodeT&& value) { - SetServiceCode(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The period of time, in seconds, before the operation can be retried.

- */ - 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_quotaCode; - bool m_quotaCodeHasBeenSet = false; - - Aws::String m_serviceCode; - bool m_serviceCodeHasBeenSet = false; - - int m_retryAfterSeconds{0}; - bool m_retryAfterSecondsHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UntagResourceRequest.h deleted file mode 100644 index 37c27c5c52c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UntagResourceRequest.h +++ /dev/null @@ -1,89 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class UntagResourceRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API UntagResourceRequest() = default; - - // 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_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the model from which you want to remove - * tags.

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - UntagResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of the keys of the tags that you want to remove.

- */ - inline const Aws::Vector& GetTagKeys() const { return m_tagKeys; } - inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } - template > - void SetTagKeys(TagKeysT&& value) { - m_tagKeysHasBeenSet = true; - m_tagKeys = std::forward(value); - } - template > - UntagResourceRequest& WithTagKeys(TagKeysT&& value) { - SetTagKeys(std::forward(value)); - return *this; - } - template - UntagResourceRequest& AddTagKeys(TagKeysT&& value) { - m_tagKeysHasBeenSet = true; - m_tagKeys.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; - - Aws::Vector m_tagKeys; - bool m_tagKeysHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UntagResourceResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UntagResourceResult.h deleted file mode 100644 index 3b1856776bc..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UntagResourceResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class UntagResourceResult { - public: - AWS_LOOKOUTFORVISION_API UntagResourceResult() = default; - AWS_LOOKOUTFORVISION_API UntagResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API UntagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UntagResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UpdateDatasetEntriesRequest.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UpdateDatasetEntriesRequest.h deleted file mode 100644 index 4b1da06cbd9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UpdateDatasetEntriesRequest.h +++ /dev/null @@ -1,137 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -/** - */ -class UpdateDatasetEntriesRequest : public LookoutforVisionRequest { - public: - AWS_LOOKOUTFORVISION_API UpdateDatasetEntriesRequest() = default; - - // 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 "UpdateDatasetEntries"; } - - AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override; - - AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - ///@{ - /** - *

The name of the project that contains the dataset that you want to - * update.

- */ - inline const Aws::String& GetProjectName() const { return m_projectName; } - inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } - template - void SetProjectName(ProjectNameT&& value) { - m_projectNameHasBeenSet = true; - m_projectName = std::forward(value); - } - template - UpdateDatasetEntriesRequest& WithProjectName(ProjectNameT&& value) { - SetProjectName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of the dataset that you want to update. Specify train - * to update the training dataset. Specify test to update the test - * dataset. If you have a single dataset project, specify train.

- */ - inline const Aws::String& GetDatasetType() const { return m_datasetType; } - inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; } - template - void SetDatasetType(DatasetTypeT&& value) { - m_datasetTypeHasBeenSet = true; - m_datasetType = std::forward(value); - } - template - UpdateDatasetEntriesRequest& WithDatasetType(DatasetTypeT&& value) { - SetDatasetType(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The entries to add to the dataset.

- */ - inline const Aws::Utils::ByteBuffer& GetChanges() const { return m_changes; } - inline bool ChangesHasBeenSet() const { return m_changesHasBeenSet; } - template - void SetChanges(ChangesT&& value) { - m_changesHasBeenSet = true; - m_changes = std::forward(value); - } - template - UpdateDatasetEntriesRequest& WithChanges(ChangesT&& value) { - SetChanges(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

ClientToken is an idempotency token that ensures a call to - * UpdateDatasetEntries completes only once. You choose the value to - * pass. For example, An issue might prevent you from getting a response from - * UpdateDatasetEntries. In this case, safely retry your call to - * UpdateDatasetEntries by using the same ClientToken - * parameter value.

If you don't supply a value for - * ClientToken, the AWS SDK you are using inserts a value for you. - * This prevents retries after a network error from making multiple updates with - * the same dataset entries. You'll need to provide your own value for other use - * cases.

An error occurs if the other input parameters are not the same as - * in the first request. Using a different value for ClientToken is - * considered a new call to UpdateDatasetEntries. An idempotency token - * is active for 8 hours.

- */ - inline const Aws::String& GetClientToken() const { return m_clientToken; } - inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } - template - void SetClientToken(ClientTokenT&& value) { - m_clientTokenHasBeenSet = true; - m_clientToken = std::forward(value); - } - template - UpdateDatasetEntriesRequest& WithClientToken(ClientTokenT&& value) { - SetClientToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_projectName; - bool m_projectNameHasBeenSet = false; - - Aws::String m_datasetType; - bool m_datasetTypeHasBeenSet = false; - - Aws::Utils::ByteBuffer m_changes{}; - bool m_changesHasBeenSet = false; - - Aws::String m_clientToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientTokenHasBeenSet = true; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UpdateDatasetEntriesResult.h b/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UpdateDatasetEntriesResult.h deleted file mode 100644 index aa4faf86778..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/include/aws/lookoutvision/model/UpdateDatasetEntriesResult.h +++ /dev/null @@ -1,69 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -class UpdateDatasetEntriesResult { - public: - AWS_LOOKOUTFORVISION_API UpdateDatasetEntriesResult() = default; - AWS_LOOKOUTFORVISION_API UpdateDatasetEntriesResult(const Aws::AmazonWebServiceResult& result); - AWS_LOOKOUTFORVISION_API UpdateDatasetEntriesResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The status of the dataset update.

- */ - inline DatasetStatus GetStatus() const { return m_status; } - inline void SetStatus(DatasetStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline UpdateDatasetEntriesResult& WithStatus(DatasetStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UpdateDatasetEntriesResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - DatasetStatus m_status{DatasetStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionClient.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionClient.cpp deleted file mode 100644 index d063993378e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionClient.cpp +++ /dev/null @@ -1,1030 +0,0 @@ -/** - * 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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -using namespace Aws; -using namespace Aws::Auth; -using namespace Aws::Client; -using namespace Aws::LookoutforVision; -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Http; -using namespace Aws::Utils::Json; -using namespace smithy::components::tracing; -using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; - -namespace Aws { -namespace LookoutforVision { -const char SERVICE_NAME[] = "lookoutvision"; -const char ALLOCATION_TAG[] = "LookoutforVisionClient"; -} // namespace LookoutforVision -} // namespace Aws -const char* LookoutforVisionClient::GetServiceName() { return SERVICE_NAME; } -const char* LookoutforVisionClient::GetAllocationTag() { return ALLOCATION_TAG; } - -LookoutforVisionClient::LookoutforVisionClient(const LookoutforVision::LookoutforVisionClientConfiguration& clientConfiguration, - std::shared_ptr endpointProvider) - : BASECLASS(clientConfiguration, - Aws::MakeShared( - ALLOCATION_TAG, - Aws::MakeShared(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig), - 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); -} - -LookoutforVisionClient::LookoutforVisionClient(const AWSCredentials& credentials, - std::shared_ptr endpointProvider, - const LookoutforVision::LookoutforVisionClientConfiguration& 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); -} - -LookoutforVisionClient::LookoutforVisionClient(const std::shared_ptr& credentialsProvider, - std::shared_ptr endpointProvider, - const LookoutforVision::LookoutforVisionClientConfiguration& 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 */ -LookoutforVisionClient::LookoutforVisionClient(const Client::ClientConfiguration& clientConfiguration) - : BASECLASS(clientConfiguration, - Aws::MakeShared( - ALLOCATION_TAG, - Aws::MakeShared(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig), - SERVICE_NAME, Aws::Region::ComputeSignerRegion(clientConfiguration.region)), - Aws::MakeShared(ALLOCATION_TAG)), - m_clientConfiguration(clientConfiguration), - m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG)) { - init(m_clientConfiguration); -} - -LookoutforVisionClient::LookoutforVisionClient(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); -} - -LookoutforVisionClient::LookoutforVisionClient(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 */ -LookoutforVisionClient::~LookoutforVisionClient() { ShutdownSdkClient(this, -1); } - -std::shared_ptr& LookoutforVisionClient::accessEndpointProvider() { return m_endpointProvider; } - -void LookoutforVisionClient::init(const LookoutforVision::LookoutforVisionClientConfiguration& config) { - AWSClient::SetServiceClientName("LookoutVision"); - 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 LookoutforVisionClient::OverrideEndpoint(const Aws::String& endpoint) { - AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider); - m_clientConfiguration.endpointOverride = endpoint; - m_endpointProvider->OverrideEndpoint(endpoint); -} - -CreateDatasetOutcome LookoutforVisionClient::CreateDataset(const CreateDatasetRequest& request) const { - AWS_OPERATION_GUARD(CreateDataset); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateDataset, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("CreateDataset", "Required field: ProjectName, is not set"); - return CreateDatasetOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProjectName]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateDataset, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateDataset, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateDataset", - {{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( - [&]() -> CreateDatasetOutcome { - 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, CreateDataset, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/datasets"); - return CreateDatasetOutcome( - 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()}}); -} - -CreateModelOutcome LookoutforVisionClient::CreateModel(const CreateModelRequest& request) const { - AWS_OPERATION_GUARD(CreateModel); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("CreateModel", "Required field: ProjectName, is not set"); - return CreateModelOutcome(Aws::Client::AWSError(LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [ProjectName]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateModel, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateModel, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateModel", - {{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( - [&]() -> CreateModelOutcome { - 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, CreateModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/models"); - return CreateModelOutcome( - 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()}}); -} - -CreateProjectOutcome LookoutforVisionClient::CreateProject(const CreateProjectRequest& request) const { - AWS_OPERATION_GUARD(CreateProject); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateProject, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateProject, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateProject, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateProject", - {{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( - [&]() -> CreateProjectOutcome { - 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, CreateProject, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects"); - return CreateProjectOutcome( - 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()}}); -} - -DeleteDatasetOutcome LookoutforVisionClient::DeleteDataset(const DeleteDatasetRequest& request) const { - AWS_OPERATION_GUARD(DeleteDataset); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteDataset, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DeleteDataset", "Required field: ProjectName, is not set"); - return DeleteDatasetOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProjectName]", false)); - } - if (!request.DatasetTypeHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DeleteDataset", "Required field: DatasetType, is not set"); - return DeleteDatasetOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DatasetType]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteDataset, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteDataset, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteDataset", - {{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( - [&]() -> DeleteDatasetOutcome { - 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, DeleteDataset, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/datasets/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDatasetType()); - return DeleteDatasetOutcome( - 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()}}); -} - -DeleteModelOutcome LookoutforVisionClient::DeleteModel(const DeleteModelRequest& request) const { - AWS_OPERATION_GUARD(DeleteModel); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DeleteModel", "Required field: ProjectName, is not set"); - return DeleteModelOutcome(Aws::Client::AWSError(LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [ProjectName]", false)); - } - if (!request.ModelVersionHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DeleteModel", "Required field: ModelVersion, is not set"); - return DeleteModelOutcome(Aws::Client::AWSError(LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [ModelVersion]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteModel, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteModel, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteModel", - {{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( - [&]() -> DeleteModelOutcome { - 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, DeleteModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/models/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetModelVersion()); - return DeleteModelOutcome( - 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()}}); -} - -DeleteProjectOutcome LookoutforVisionClient::DeleteProject(const DeleteProjectRequest& request) const { - AWS_OPERATION_GUARD(DeleteProject); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteProject, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DeleteProject", "Required field: ProjectName, is not set"); - return DeleteProjectOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProjectName]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteProject, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteProject, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteProject", - {{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( - [&]() -> DeleteProjectOutcome { - 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, DeleteProject, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - return DeleteProjectOutcome( - 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()}}); -} - -DescribeDatasetOutcome LookoutforVisionClient::DescribeDataset(const DescribeDatasetRequest& request) const { - AWS_OPERATION_GUARD(DescribeDataset); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeDataset, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DescribeDataset", "Required field: ProjectName, is not set"); - return DescribeDatasetOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProjectName]", false)); - } - if (!request.DatasetTypeHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DescribeDataset", "Required field: DatasetType, is not set"); - return DescribeDatasetOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DatasetType]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeDataset, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeDataset, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeDataset", - {{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( - [&]() -> DescribeDatasetOutcome { - 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, DescribeDataset, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/datasets/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDatasetType()); - return DescribeDatasetOutcome( - 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()}}); -} - -DescribeModelOutcome LookoutforVisionClient::DescribeModel(const DescribeModelRequest& request) const { - AWS_OPERATION_GUARD(DescribeModel); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DescribeModel", "Required field: ProjectName, is not set"); - return DescribeModelOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProjectName]", false)); - } - if (!request.ModelVersionHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DescribeModel", "Required field: ModelVersion, is not set"); - return DescribeModelOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ModelVersion]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeModel, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeModel, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeModel", - {{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( - [&]() -> DescribeModelOutcome { - 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, DescribeModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/models/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetModelVersion()); - return DescribeModelOutcome( - 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()}}); -} - -DescribeModelPackagingJobOutcome LookoutforVisionClient::DescribeModelPackagingJob(const DescribeModelPackagingJobRequest& request) const { - AWS_OPERATION_GUARD(DescribeModelPackagingJob); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeModelPackagingJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DescribeModelPackagingJob", "Required field: ProjectName, is not set"); - return DescribeModelPackagingJobOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProjectName]", false)); - } - if (!request.JobNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DescribeModelPackagingJob", "Required field: JobName, is not set"); - return DescribeModelPackagingJobOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobName]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeModelPackagingJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeModelPackagingJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeModelPackagingJob", - {{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( - [&]() -> DescribeModelPackagingJobOutcome { - 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, DescribeModelPackagingJob, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/modelpackagingjobs/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobName()); - return DescribeModelPackagingJobOutcome( - 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()}}); -} - -DescribeProjectOutcome LookoutforVisionClient::DescribeProject(const DescribeProjectRequest& request) const { - AWS_OPERATION_GUARD(DescribeProject); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeProject, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DescribeProject", "Required field: ProjectName, is not set"); - return DescribeProjectOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProjectName]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeProject, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeProject, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeProject", - {{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( - [&]() -> DescribeProjectOutcome { - 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, DescribeProject, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - return DescribeProjectOutcome( - 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()}}); -} - -DetectAnomaliesOutcome LookoutforVisionClient::DetectAnomalies(const DetectAnomaliesRequest& request) const { - AWS_OPERATION_GUARD(DetectAnomalies); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DetectAnomalies, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DetectAnomalies", "Required field: ProjectName, is not set"); - return DetectAnomaliesOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProjectName]", false)); - } - if (!request.ModelVersionHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DetectAnomalies", "Required field: ModelVersion, is not set"); - return DetectAnomaliesOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ModelVersion]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DetectAnomalies, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DetectAnomalies, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DetectAnomalies", - {{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( - [&]() -> DetectAnomaliesOutcome { - 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, DetectAnomalies, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/models/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetModelVersion()); - endpointResolutionOutcome.GetResult().AddPathSegments("/detect"); - return DetectAnomaliesOutcome( - 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()}}); -} - -ListDatasetEntriesOutcome LookoutforVisionClient::ListDatasetEntries(const ListDatasetEntriesRequest& request) const { - AWS_OPERATION_GUARD(ListDatasetEntries); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListDatasetEntries, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("ListDatasetEntries", "Required field: ProjectName, is not set"); - return ListDatasetEntriesOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProjectName]", false)); - } - if (!request.DatasetTypeHasBeenSet()) { - AWS_LOGSTREAM_ERROR("ListDatasetEntries", "Required field: DatasetType, is not set"); - return ListDatasetEntriesOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DatasetType]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListDatasetEntries, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListDatasetEntries, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListDatasetEntries", - {{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( - [&]() -> ListDatasetEntriesOutcome { - 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, ListDatasetEntries, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/datasets/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDatasetType()); - endpointResolutionOutcome.GetResult().AddPathSegments("/entries"); - return ListDatasetEntriesOutcome( - 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()}}); -} - -ListModelPackagingJobsOutcome LookoutforVisionClient::ListModelPackagingJobs(const ListModelPackagingJobsRequest& request) const { - AWS_OPERATION_GUARD(ListModelPackagingJobs); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListModelPackagingJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("ListModelPackagingJobs", "Required field: ProjectName, is not set"); - return ListModelPackagingJobsOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProjectName]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListModelPackagingJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListModelPackagingJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListModelPackagingJobs", - {{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( - [&]() -> ListModelPackagingJobsOutcome { - 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, ListModelPackagingJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/modelpackagingjobs"); - return ListModelPackagingJobsOutcome( - 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()}}); -} - -ListModelsOutcome LookoutforVisionClient::ListModels(const ListModelsRequest& request) const { - AWS_OPERATION_GUARD(ListModels); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListModels, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("ListModels", "Required field: ProjectName, is not set"); - return ListModelsOutcome(Aws::Client::AWSError(LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [ProjectName]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListModels, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListModels, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListModels", - {{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( - [&]() -> ListModelsOutcome { - 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, ListModels, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/models"); - return ListModelsOutcome( - 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()}}); -} - -ListProjectsOutcome LookoutforVisionClient::ListProjects(const ListProjectsRequest& request) const { - AWS_OPERATION_GUARD(ListProjects); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListProjects, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListProjects, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListProjects, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListProjects", - {{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( - [&]() -> ListProjectsOutcome { - 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, ListProjects, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects"); - return ListProjectsOutcome( - 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 LookoutforVisionClient::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( - LookoutforVisionErrors::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("/2020-11-20/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()}}); -} - -StartModelOutcome LookoutforVisionClient::StartModel(const StartModelRequest& request) const { - AWS_OPERATION_GUARD(StartModel); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("StartModel", "Required field: ProjectName, is not set"); - return StartModelOutcome(Aws::Client::AWSError(LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [ProjectName]", false)); - } - if (!request.ModelVersionHasBeenSet()) { - AWS_LOGSTREAM_ERROR("StartModel", "Required field: ModelVersion, is not set"); - return StartModelOutcome(Aws::Client::AWSError(LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [ModelVersion]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartModel, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartModel, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartModel", - {{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( - [&]() -> StartModelOutcome { - 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, StartModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/models/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetModelVersion()); - endpointResolutionOutcome.GetResult().AddPathSegments("/start"); - return StartModelOutcome( - 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()}}); -} - -StartModelPackagingJobOutcome LookoutforVisionClient::StartModelPackagingJob(const StartModelPackagingJobRequest& request) const { - AWS_OPERATION_GUARD(StartModelPackagingJob); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartModelPackagingJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("StartModelPackagingJob", "Required field: ProjectName, is not set"); - return StartModelPackagingJobOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProjectName]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartModelPackagingJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartModelPackagingJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartModelPackagingJob", - {{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( - [&]() -> StartModelPackagingJobOutcome { - 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, StartModelPackagingJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/modelpackagingjobs"); - return StartModelPackagingJobOutcome( - 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()}}); -} - -StopModelOutcome LookoutforVisionClient::StopModel(const StopModelRequest& request) const { - AWS_OPERATION_GUARD(StopModel); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StopModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("StopModel", "Required field: ProjectName, is not set"); - return StopModelOutcome(Aws::Client::AWSError(LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [ProjectName]", false)); - } - if (!request.ModelVersionHasBeenSet()) { - AWS_LOGSTREAM_ERROR("StopModel", "Required field: ModelVersion, is not set"); - return StopModelOutcome(Aws::Client::AWSError(LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [ModelVersion]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StopModel, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StopModel, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StopModel", - {{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( - [&]() -> StopModelOutcome { - 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, StopModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/models/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetModelVersion()); - endpointResolutionOutcome.GetResult().AddPathSegments("/stop"); - return StopModelOutcome( - 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()}}); -} - -TagResourceOutcome LookoutforVisionClient::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(LookoutforVisionErrors::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("/2020-11-20/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 LookoutforVisionClient::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( - LookoutforVisionErrors::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( - LookoutforVisionErrors::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("/2020-11-20/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()}}); -} - -UpdateDatasetEntriesOutcome LookoutforVisionClient::UpdateDatasetEntries(const UpdateDatasetEntriesRequest& request) const { - AWS_OPERATION_GUARD(UpdateDatasetEntries); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateDatasetEntries, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ProjectNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("UpdateDatasetEntries", "Required field: ProjectName, is not set"); - return UpdateDatasetEntriesOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ProjectName]", false)); - } - if (!request.DatasetTypeHasBeenSet()) { - AWS_LOGSTREAM_ERROR("UpdateDatasetEntries", "Required field: DatasetType, is not set"); - return UpdateDatasetEntriesOutcome(Aws::Client::AWSError( - LookoutforVisionErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DatasetType]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateDatasetEntries, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateDatasetEntries, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateDatasetEntries", - {{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( - [&]() -> UpdateDatasetEntriesOutcome { - 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, UpdateDatasetEntries, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/2020-11-20/projects/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetProjectName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/datasets/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDatasetType()); - endpointResolutionOutcome.GetResult().AddPathSegments("/entries"); - return UpdateDatasetEntriesOutcome( - MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, 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-lookoutvision/source/LookoutforVisionEndpointProvider.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionEndpointProvider.cpp deleted file mode 100644 index 077c81bff8a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionEndpointProvider.cpp +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include - -namespace Aws { -namespace LookoutforVision { -namespace Endpoint {} // namespace Endpoint -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionEndpointRules.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionEndpointRules.cpp deleted file mode 100644 index 275f3cf2ccc..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionEndpointRules.cpp +++ /dev/null @@ -1,150 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -namespace Aws { -namespace LookoutforVision { -const size_t LookoutforVisionEndpointRules::RulesBlobStrLen = 3500; -const size_t LookoutforVisionEndpointRules::RulesBlobSize = 3501; - -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', '"', ',', '"', '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', '"', ':', '[', '{', '"', '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', '"', ':', '"', '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', ':', '/', '/', 'l', 'o', 'o', 'k', 'o', 'u', - 't', 'v', 'i', 's', 'i', 'o', 'n', '-', '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', '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', '"', '}', ']', ',', '"', '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', ':', '/', '/', 'l', 'o', 'o', 'k', 'o', 'u', 't', 'v', 'i', 's', 'i', 'o', 'n', '-', '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', ':', '/', '/', 'l', 'o', 'o', 'k', 'o', 'u', 't', 'v', - 'i', 's', 'i', 'o', 'n', '.', '{', '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', ':', '/', '/', 'l', 'o', 'o', 'k', 'o', 'u', 't', 'v', 'i', - 's', 'i', 'o', 'n', '.', '{', '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'}}; - -const char* LookoutforVisionEndpointRules::GetRulesBlob() { return RulesBlob.data(); } - -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionErrorMarshaller.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionErrorMarshaller.cpp deleted file mode 100644 index ad7f690f00e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionErrorMarshaller.cpp +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 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::LookoutforVision; - -AWSError LookoutforVisionErrorMarshaller::FindErrorByName(const char* errorName) const { - AWSError error = LookoutforVisionErrorMapper::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-lookoutvision/source/LookoutforVisionErrors.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionErrors.cpp deleted file mode 100644 index 38674ab8471..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionErrors.cpp +++ /dev/null @@ -1,73 +0,0 @@ -/** - * 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::LookoutforVision; -using namespace Aws::LookoutforVision::Model; - -namespace Aws { -namespace LookoutforVision { -template <> -AWS_LOOKOUTFORVISION_API ConflictException LookoutforVisionError::GetModeledError() { - assert(this->GetErrorType() == LookoutforVisionErrors::CONFLICT); - return ConflictException(this->GetJsonPayload().View()); -} - -template <> -AWS_LOOKOUTFORVISION_API ThrottlingException LookoutforVisionError::GetModeledError() { - assert(this->GetErrorType() == LookoutforVisionErrors::THROTTLING); - return ThrottlingException(this->GetJsonPayload().View()); -} - -template <> -AWS_LOOKOUTFORVISION_API ServiceQuotaExceededException LookoutforVisionError::GetModeledError() { - assert(this->GetErrorType() == LookoutforVisionErrors::SERVICE_QUOTA_EXCEEDED); - return ServiceQuotaExceededException(this->GetJsonPayload().View()); -} - -template <> -AWS_LOOKOUTFORVISION_API InternalServerException LookoutforVisionError::GetModeledError() { - assert(this->GetErrorType() == LookoutforVisionErrors::INTERNAL_SERVER); - return InternalServerException(this->GetJsonPayload().View()); -} - -template <> -AWS_LOOKOUTFORVISION_API ResourceNotFoundException LookoutforVisionError::GetModeledError() { - assert(this->GetErrorType() == LookoutforVisionErrors::RESOURCE_NOT_FOUND); - return ResourceNotFoundException(this->GetJsonPayload().View()); -} - -namespace LookoutforVisionErrorMapper { - -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(LookoutforVisionErrors::CONFLICT), RetryableType::NOT_RETRYABLE); - } else if (hashCode == SERVICE_QUOTA_EXCEEDED_HASH) { - return AWSError(static_cast(LookoutforVisionErrors::SERVICE_QUOTA_EXCEEDED), RetryableType::NOT_RETRYABLE); - } else if (hashCode == INTERNAL_SERVER_HASH) { - return AWSError(static_cast(LookoutforVisionErrors::INTERNAL_SERVER), RetryableType::RETRYABLE); - } - return AWSError(CoreErrors::UNKNOWN, false); -} - -} // namespace LookoutforVisionErrorMapper -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionRequest.cpp deleted file mode 100644 index adac21e5101..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/LookoutforVisionRequest.cpp +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include - -namespace Aws { -namespace LookoutforVision {} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/Anomaly.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/Anomaly.cpp deleted file mode 100644 index 778a8c16218..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/Anomaly.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -Anomaly::Anomaly(JsonView jsonValue) { *this = jsonValue; } - -Anomaly& Anomaly::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Name")) { - m_name = jsonValue.GetString("Name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("PixelAnomaly")) { - m_pixelAnomaly = jsonValue.GetObject("PixelAnomaly"); - m_pixelAnomalyHasBeenSet = true; - } - return *this; -} - -JsonValue Anomaly::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("Name", m_name); - } - - if (m_pixelAnomalyHasBeenSet) { - payload.WithObject("PixelAnomaly", m_pixelAnomaly.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ConflictException.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ConflictException.cpp deleted file mode 100644 index bb7e3243ca4..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ConflictException.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -ConflictException::ConflictException(JsonView jsonValue) { *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 = ResourceTypeMapper::GetResourceTypeForName(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", ResourceTypeMapper::GetNameForResourceType(m_resourceType)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateDatasetRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateDatasetRequest.cpp deleted file mode 100644 index 2f1879aef03..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateDatasetRequest.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateDatasetRequest::SerializePayload() const { - JsonValue payload; - - if (m_datasetTypeHasBeenSet) { - payload.WithString("DatasetType", m_datasetType); - } - - if (m_datasetSourceHasBeenSet) { - payload.WithObject("DatasetSource", m_datasetSource.Jsonize()); - } - - return payload.View().WriteReadable(); -} - -Aws::Http::HeaderValueCollection CreateDatasetRequest::GetRequestSpecificHeaders() const { - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if (m_clientTokenHasBeenSet) { - ss << m_clientToken; - headers.emplace("x-amzn-client-token", ss.str()); - ss.str(""); - } - - return headers; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateDatasetResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateDatasetResult.cpp deleted file mode 100644 index 8fbb41ea5d1..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateDatasetResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateDatasetResult::CreateDatasetResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateDatasetResult& CreateDatasetResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("DatasetMetadata")) { - m_datasetMetadata = jsonValue.GetObject("DatasetMetadata"); - m_datasetMetadataHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateModelRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateModelRequest.cpp deleted file mode 100644 index 46e5ab43b73..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateModelRequest.cpp +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateModelRequest::SerializePayload() const { - JsonValue payload; - - if (m_descriptionHasBeenSet) { - payload.WithString("Description", m_description); - } - - if (m_outputConfigHasBeenSet) { - payload.WithObject("OutputConfig", m_outputConfig.Jsonize()); - } - - if (m_kmsKeyIdHasBeenSet) { - payload.WithString("KmsKeyId", m_kmsKeyId); - } - - if (m_tagsHasBeenSet) { - Aws::Utils::Array tagsJsonList(m_tags.size()); - for (unsigned tagsIndex = 0; tagsIndex < tagsJsonList.GetLength(); ++tagsIndex) { - tagsJsonList[tagsIndex].AsObject(m_tags[tagsIndex].Jsonize()); - } - payload.WithArray("Tags", std::move(tagsJsonList)); - } - - return payload.View().WriteReadable(); -} - -Aws::Http::HeaderValueCollection CreateModelRequest::GetRequestSpecificHeaders() const { - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if (m_clientTokenHasBeenSet) { - ss << m_clientToken; - headers.emplace("x-amzn-client-token", ss.str()); - ss.str(""); - } - - return headers; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateModelResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateModelResult.cpp deleted file mode 100644 index 490152414b0..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateModelResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateModelResult::CreateModelResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateModelResult& CreateModelResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("ModelMetadata")) { - m_modelMetadata = jsonValue.GetObject("ModelMetadata"); - m_modelMetadataHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateProjectRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateProjectRequest.cpp deleted file mode 100644 index 89c81a9ac65..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateProjectRequest.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateProjectRequest::SerializePayload() const { - JsonValue payload; - - if (m_projectNameHasBeenSet) { - payload.WithString("ProjectName", m_projectName); - } - - return payload.View().WriteReadable(); -} - -Aws::Http::HeaderValueCollection CreateProjectRequest::GetRequestSpecificHeaders() const { - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if (m_clientTokenHasBeenSet) { - ss << m_clientToken; - headers.emplace("x-amzn-client-token", ss.str()); - ss.str(""); - } - - return headers; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateProjectResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateProjectResult.cpp deleted file mode 100644 index cd2f02f88ee..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/CreateProjectResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateProjectResult::CreateProjectResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateProjectResult& CreateProjectResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("ProjectMetadata")) { - m_projectMetadata = jsonValue.GetObject("ProjectMetadata"); - m_projectMetadataHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetDescription.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetDescription.cpp deleted file mode 100644 index d477f2fc24c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetDescription.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -DatasetDescription::DatasetDescription(JsonView jsonValue) { *this = jsonValue; } - -DatasetDescription& DatasetDescription::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("ProjectName")) { - m_projectName = jsonValue.GetString("ProjectName"); - m_projectNameHasBeenSet = true; - } - if (jsonValue.ValueExists("DatasetType")) { - m_datasetType = jsonValue.GetString("DatasetType"); - m_datasetTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationTimestamp")) { - m_creationTimestamp = jsonValue.GetDouble("CreationTimestamp"); - m_creationTimestampHasBeenSet = true; - } - if (jsonValue.ValueExists("LastUpdatedTimestamp")) { - m_lastUpdatedTimestamp = jsonValue.GetDouble("LastUpdatedTimestamp"); - m_lastUpdatedTimestampHasBeenSet = true; - } - if (jsonValue.ValueExists("Status")) { - m_status = DatasetStatusMapper::GetDatasetStatusForName(jsonValue.GetString("Status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("StatusMessage")) { - m_statusMessage = jsonValue.GetString("StatusMessage"); - m_statusMessageHasBeenSet = true; - } - if (jsonValue.ValueExists("ImageStats")) { - m_imageStats = jsonValue.GetObject("ImageStats"); - m_imageStatsHasBeenSet = true; - } - return *this; -} - -JsonValue DatasetDescription::Jsonize() const { - JsonValue payload; - - if (m_projectNameHasBeenSet) { - payload.WithString("ProjectName", m_projectName); - } - - if (m_datasetTypeHasBeenSet) { - payload.WithString("DatasetType", m_datasetType); - } - - if (m_creationTimestampHasBeenSet) { - payload.WithDouble("CreationTimestamp", m_creationTimestamp.SecondsWithMSPrecision()); - } - - if (m_lastUpdatedTimestampHasBeenSet) { - payload.WithDouble("LastUpdatedTimestamp", m_lastUpdatedTimestamp.SecondsWithMSPrecision()); - } - - if (m_statusHasBeenSet) { - payload.WithString("Status", DatasetStatusMapper::GetNameForDatasetStatus(m_status)); - } - - if (m_statusMessageHasBeenSet) { - payload.WithString("StatusMessage", m_statusMessage); - } - - if (m_imageStatsHasBeenSet) { - payload.WithObject("ImageStats", m_imageStats.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetGroundTruthManifest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetGroundTruthManifest.cpp deleted file mode 100644 index 0cfdd31c3b5..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetGroundTruthManifest.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -DatasetGroundTruthManifest::DatasetGroundTruthManifest(JsonView jsonValue) { *this = jsonValue; } - -DatasetGroundTruthManifest& DatasetGroundTruthManifest::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("S3Object")) { - m_s3Object = jsonValue.GetObject("S3Object"); - m_s3ObjectHasBeenSet = true; - } - return *this; -} - -JsonValue DatasetGroundTruthManifest::Jsonize() const { - JsonValue payload; - - if (m_s3ObjectHasBeenSet) { - payload.WithObject("S3Object", m_s3Object.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetImageStats.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetImageStats.cpp deleted file mode 100644 index b7909d3f04c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetImageStats.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -DatasetImageStats::DatasetImageStats(JsonView jsonValue) { *this = jsonValue; } - -DatasetImageStats& DatasetImageStats::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Total")) { - m_total = jsonValue.GetInteger("Total"); - m_totalHasBeenSet = true; - } - if (jsonValue.ValueExists("Labeled")) { - m_labeled = jsonValue.GetInteger("Labeled"); - m_labeledHasBeenSet = true; - } - if (jsonValue.ValueExists("Normal")) { - m_normal = jsonValue.GetInteger("Normal"); - m_normalHasBeenSet = true; - } - if (jsonValue.ValueExists("Anomaly")) { - m_anomaly = jsonValue.GetInteger("Anomaly"); - m_anomalyHasBeenSet = true; - } - return *this; -} - -JsonValue DatasetImageStats::Jsonize() const { - JsonValue payload; - - if (m_totalHasBeenSet) { - payload.WithInteger("Total", m_total); - } - - if (m_labeledHasBeenSet) { - payload.WithInteger("Labeled", m_labeled); - } - - if (m_normalHasBeenSet) { - payload.WithInteger("Normal", m_normal); - } - - if (m_anomalyHasBeenSet) { - payload.WithInteger("Anomaly", m_anomaly); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetMetadata.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetMetadata.cpp deleted file mode 100644 index abf9b0a5c2e..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetMetadata.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -DatasetMetadata::DatasetMetadata(JsonView jsonValue) { *this = jsonValue; } - -DatasetMetadata& DatasetMetadata::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("DatasetType")) { - m_datasetType = jsonValue.GetString("DatasetType"); - m_datasetTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationTimestamp")) { - m_creationTimestamp = jsonValue.GetDouble("CreationTimestamp"); - m_creationTimestampHasBeenSet = true; - } - if (jsonValue.ValueExists("Status")) { - m_status = DatasetStatusMapper::GetDatasetStatusForName(jsonValue.GetString("Status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("StatusMessage")) { - m_statusMessage = jsonValue.GetString("StatusMessage"); - m_statusMessageHasBeenSet = true; - } - return *this; -} - -JsonValue DatasetMetadata::Jsonize() const { - JsonValue payload; - - if (m_datasetTypeHasBeenSet) { - payload.WithString("DatasetType", m_datasetType); - } - - if (m_creationTimestampHasBeenSet) { - payload.WithDouble("CreationTimestamp", m_creationTimestamp.SecondsWithMSPrecision()); - } - - if (m_statusHasBeenSet) { - payload.WithString("Status", DatasetStatusMapper::GetNameForDatasetStatus(m_status)); - } - - if (m_statusMessageHasBeenSet) { - payload.WithString("StatusMessage", m_statusMessage); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetSource.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetSource.cpp deleted file mode 100644 index 05ed8753ae7..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetSource.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -DatasetSource::DatasetSource(JsonView jsonValue) { *this = jsonValue; } - -DatasetSource& DatasetSource::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("GroundTruthManifest")) { - m_groundTruthManifest = jsonValue.GetObject("GroundTruthManifest"); - m_groundTruthManifestHasBeenSet = true; - } - return *this; -} - -JsonValue DatasetSource::Jsonize() const { - JsonValue payload; - - if (m_groundTruthManifestHasBeenSet) { - payload.WithObject("GroundTruthManifest", m_groundTruthManifest.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetStatus.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetStatus.cpp deleted file mode 100644 index addf0f71e11..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DatasetStatus.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -namespace DatasetStatusMapper { - -static const int CREATE_IN_PROGRESS_HASH = HashingUtils::HashString("CREATE_IN_PROGRESS"); -static const int CREATE_COMPLETE_HASH = HashingUtils::HashString("CREATE_COMPLETE"); -static const int CREATE_FAILED_HASH = HashingUtils::HashString("CREATE_FAILED"); -static const int UPDATE_IN_PROGRESS_HASH = HashingUtils::HashString("UPDATE_IN_PROGRESS"); -static const int UPDATE_COMPLETE_HASH = HashingUtils::HashString("UPDATE_COMPLETE"); -static const int UPDATE_FAILED_ROLLBACK_IN_PROGRESS_HASH = HashingUtils::HashString("UPDATE_FAILED_ROLLBACK_IN_PROGRESS"); -static const int UPDATE_FAILED_ROLLBACK_COMPLETE_HASH = HashingUtils::HashString("UPDATE_FAILED_ROLLBACK_COMPLETE"); -static const int DELETE_IN_PROGRESS_HASH = HashingUtils::HashString("DELETE_IN_PROGRESS"); -static const int DELETE_COMPLETE_HASH = HashingUtils::HashString("DELETE_COMPLETE"); -static const int DELETE_FAILED_HASH = HashingUtils::HashString("DELETE_FAILED"); - -DatasetStatus GetDatasetStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == CREATE_IN_PROGRESS_HASH) { - return DatasetStatus::CREATE_IN_PROGRESS; - } else if (hashCode == CREATE_COMPLETE_HASH) { - return DatasetStatus::CREATE_COMPLETE; - } else if (hashCode == CREATE_FAILED_HASH) { - return DatasetStatus::CREATE_FAILED; - } else if (hashCode == UPDATE_IN_PROGRESS_HASH) { - return DatasetStatus::UPDATE_IN_PROGRESS; - } else if (hashCode == UPDATE_COMPLETE_HASH) { - return DatasetStatus::UPDATE_COMPLETE; - } else if (hashCode == UPDATE_FAILED_ROLLBACK_IN_PROGRESS_HASH) { - return DatasetStatus::UPDATE_FAILED_ROLLBACK_IN_PROGRESS; - } else if (hashCode == UPDATE_FAILED_ROLLBACK_COMPLETE_HASH) { - return DatasetStatus::UPDATE_FAILED_ROLLBACK_COMPLETE; - } else if (hashCode == DELETE_IN_PROGRESS_HASH) { - return DatasetStatus::DELETE_IN_PROGRESS; - } else if (hashCode == DELETE_COMPLETE_HASH) { - return DatasetStatus::DELETE_COMPLETE; - } else if (hashCode == DELETE_FAILED_HASH) { - return DatasetStatus::DELETE_FAILED; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return DatasetStatus::NOT_SET; -} - -Aws::String GetNameForDatasetStatus(DatasetStatus enumValue) { - switch (enumValue) { - case DatasetStatus::NOT_SET: - return {}; - case DatasetStatus::CREATE_IN_PROGRESS: - return "CREATE_IN_PROGRESS"; - case DatasetStatus::CREATE_COMPLETE: - return "CREATE_COMPLETE"; - case DatasetStatus::CREATE_FAILED: - return "CREATE_FAILED"; - case DatasetStatus::UPDATE_IN_PROGRESS: - return "UPDATE_IN_PROGRESS"; - case DatasetStatus::UPDATE_COMPLETE: - return "UPDATE_COMPLETE"; - case DatasetStatus::UPDATE_FAILED_ROLLBACK_IN_PROGRESS: - return "UPDATE_FAILED_ROLLBACK_IN_PROGRESS"; - case DatasetStatus::UPDATE_FAILED_ROLLBACK_COMPLETE: - return "UPDATE_FAILED_ROLLBACK_COMPLETE"; - case DatasetStatus::DELETE_IN_PROGRESS: - return "DELETE_IN_PROGRESS"; - case DatasetStatus::DELETE_COMPLETE: - return "DELETE_COMPLETE"; - case DatasetStatus::DELETE_FAILED: - return "DELETE_FAILED"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace DatasetStatusMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteDatasetRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteDatasetRequest.cpp deleted file mode 100644 index 689c15c0d0a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteDatasetRequest.cpp +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DeleteDatasetRequest::SerializePayload() const { return {}; } - -Aws::Http::HeaderValueCollection DeleteDatasetRequest::GetRequestSpecificHeaders() const { - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if (m_clientTokenHasBeenSet) { - ss << m_clientToken; - headers.emplace("x-amzn-client-token", ss.str()); - ss.str(""); - } - - return headers; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteDatasetResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteDatasetResult.cpp deleted file mode 100644 index d9ad76334dc..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteDatasetResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DeleteDatasetResult::DeleteDatasetResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DeleteDatasetResult& DeleteDatasetResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteModelRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteModelRequest.cpp deleted file mode 100644 index ee44f484dad..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteModelRequest.cpp +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DeleteModelRequest::SerializePayload() const { return {}; } - -Aws::Http::HeaderValueCollection DeleteModelRequest::GetRequestSpecificHeaders() const { - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if (m_clientTokenHasBeenSet) { - ss << m_clientToken; - headers.emplace("x-amzn-client-token", ss.str()); - ss.str(""); - } - - return headers; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteModelResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteModelResult.cpp deleted file mode 100644 index bb0c2b66676..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteModelResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DeleteModelResult::DeleteModelResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DeleteModelResult& DeleteModelResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("ModelArn")) { - m_modelArn = jsonValue.GetString("ModelArn"); - m_modelArnHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteProjectRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteProjectRequest.cpp deleted file mode 100644 index 3fc35634bdc..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteProjectRequest.cpp +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DeleteProjectRequest::SerializePayload() const { return {}; } - -Aws::Http::HeaderValueCollection DeleteProjectRequest::GetRequestSpecificHeaders() const { - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if (m_clientTokenHasBeenSet) { - ss << m_clientToken; - headers.emplace("x-amzn-client-token", ss.str()); - ss.str(""); - } - - return headers; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteProjectResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteProjectResult.cpp deleted file mode 100644 index bcd4093de64..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DeleteProjectResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DeleteProjectResult::DeleteProjectResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DeleteProjectResult& DeleteProjectResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("ProjectArn")) { - m_projectArn = jsonValue.GetString("ProjectArn"); - m_projectArnHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeDatasetRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeDatasetRequest.cpp deleted file mode 100644 index eac95482a48..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeDatasetRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeDatasetRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeDatasetResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeDatasetResult.cpp deleted file mode 100644 index f769e3fa9cb..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeDatasetResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeDatasetResult::DescribeDatasetResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeDatasetResult& DescribeDatasetResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("DatasetDescription")) { - m_datasetDescription = jsonValue.GetObject("DatasetDescription"); - m_datasetDescriptionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelPackagingJobRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelPackagingJobRequest.cpp deleted file mode 100644 index 044c98f8364..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelPackagingJobRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeModelPackagingJobRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelPackagingJobResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelPackagingJobResult.cpp deleted file mode 100644 index a75565153dd..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelPackagingJobResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeModelPackagingJobResult::DescribeModelPackagingJobResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeModelPackagingJobResult& DescribeModelPackagingJobResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("ModelPackagingDescription")) { - m_modelPackagingDescription = jsonValue.GetObject("ModelPackagingDescription"); - m_modelPackagingDescriptionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelRequest.cpp deleted file mode 100644 index 713ff2af766..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeModelRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelResult.cpp deleted file mode 100644 index 59c11431c97..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeModelResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeModelResult::DescribeModelResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeModelResult& DescribeModelResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("ModelDescription")) { - m_modelDescription = jsonValue.GetObject("ModelDescription"); - m_modelDescriptionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeProjectRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeProjectRequest.cpp deleted file mode 100644 index 5837a613dd6..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeProjectRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeProjectRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeProjectResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeProjectResult.cpp deleted file mode 100644 index ce4ce3deba5..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DescribeProjectResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeProjectResult::DescribeProjectResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeProjectResult& DescribeProjectResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("ProjectDescription")) { - m_projectDescription = jsonValue.GetObject("ProjectDescription"); - m_projectDescriptionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DetectAnomaliesRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DetectAnomaliesRequest.cpp deleted file mode 100644 index 8cdcbdd14be..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DetectAnomaliesRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Stream; -using namespace Aws::Utils; -using namespace Aws; diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DetectAnomaliesResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DetectAnomaliesResult.cpp deleted file mode 100644 index c5f047c6920..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DetectAnomaliesResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DetectAnomaliesResult::DetectAnomaliesResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DetectAnomaliesResult& DetectAnomaliesResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("DetectAnomalyResult")) { - m_detectAnomalyResult = jsonValue.GetObject("DetectAnomalyResult"); - m_detectAnomalyResultHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DetectAnomalyResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/DetectAnomalyResult.cpp deleted file mode 100644 index be2bb2bbd22..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/DetectAnomalyResult.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -DetectAnomalyResult::DetectAnomalyResult(JsonView jsonValue) { *this = jsonValue; } - -DetectAnomalyResult& DetectAnomalyResult::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Source")) { - m_source = jsonValue.GetObject("Source"); - m_sourceHasBeenSet = true; - } - if (jsonValue.ValueExists("IsAnomalous")) { - m_isAnomalous = jsonValue.GetBool("IsAnomalous"); - m_isAnomalousHasBeenSet = true; - } - if (jsonValue.ValueExists("Confidence")) { - m_confidence = jsonValue.GetDouble("Confidence"); - m_confidenceHasBeenSet = true; - } - if (jsonValue.ValueExists("Anomalies")) { - Aws::Utils::Array anomaliesJsonList = jsonValue.GetArray("Anomalies"); - for (unsigned anomaliesIndex = 0; anomaliesIndex < anomaliesJsonList.GetLength(); ++anomaliesIndex) { - m_anomalies.push_back(anomaliesJsonList[anomaliesIndex].AsObject()); - } - m_anomaliesHasBeenSet = true; - } - if (jsonValue.ValueExists("AnomalyMask")) { - m_anomalyMask = HashingUtils::Base64Decode(jsonValue.GetString("AnomalyMask")); - m_anomalyMaskHasBeenSet = true; - } - return *this; -} - -JsonValue DetectAnomalyResult::Jsonize() const { - JsonValue payload; - - if (m_sourceHasBeenSet) { - payload.WithObject("Source", m_source.Jsonize()); - } - - if (m_isAnomalousHasBeenSet) { - payload.WithBool("IsAnomalous", m_isAnomalous); - } - - if (m_confidenceHasBeenSet) { - payload.WithDouble("Confidence", m_confidence); - } - - if (m_anomaliesHasBeenSet) { - Aws::Utils::Array anomaliesJsonList(m_anomalies.size()); - for (unsigned anomaliesIndex = 0; anomaliesIndex < anomaliesJsonList.GetLength(); ++anomaliesIndex) { - anomaliesJsonList[anomaliesIndex].AsObject(m_anomalies[anomaliesIndex].Jsonize()); - } - payload.WithArray("Anomalies", std::move(anomaliesJsonList)); - } - - if (m_anomalyMaskHasBeenSet) { - payload.WithString("AnomalyMask", HashingUtils::Base64Encode(m_anomalyMask)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/GreengrassConfiguration.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/GreengrassConfiguration.cpp deleted file mode 100644 index 4ebf8785c93..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/GreengrassConfiguration.cpp +++ /dev/null @@ -1,103 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -GreengrassConfiguration::GreengrassConfiguration(JsonView jsonValue) { *this = jsonValue; } - -GreengrassConfiguration& GreengrassConfiguration::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("CompilerOptions")) { - m_compilerOptions = jsonValue.GetString("CompilerOptions"); - m_compilerOptionsHasBeenSet = true; - } - if (jsonValue.ValueExists("TargetDevice")) { - m_targetDevice = TargetDeviceMapper::GetTargetDeviceForName(jsonValue.GetString("TargetDevice")); - m_targetDeviceHasBeenSet = true; - } - if (jsonValue.ValueExists("TargetPlatform")) { - m_targetPlatform = jsonValue.GetObject("TargetPlatform"); - m_targetPlatformHasBeenSet = true; - } - if (jsonValue.ValueExists("S3OutputLocation")) { - m_s3OutputLocation = jsonValue.GetObject("S3OutputLocation"); - m_s3OutputLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("ComponentName")) { - m_componentName = jsonValue.GetString("ComponentName"); - m_componentNameHasBeenSet = true; - } - if (jsonValue.ValueExists("ComponentVersion")) { - m_componentVersion = jsonValue.GetString("ComponentVersion"); - m_componentVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("ComponentDescription")) { - m_componentDescription = jsonValue.GetString("ComponentDescription"); - m_componentDescriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("Tags")) { - Aws::Utils::Array tagsJsonList = jsonValue.GetArray("Tags"); - for (unsigned tagsIndex = 0; tagsIndex < tagsJsonList.GetLength(); ++tagsIndex) { - m_tags.push_back(tagsJsonList[tagsIndex].AsObject()); - } - m_tagsHasBeenSet = true; - } - return *this; -} - -JsonValue GreengrassConfiguration::Jsonize() const { - JsonValue payload; - - if (m_compilerOptionsHasBeenSet) { - payload.WithString("CompilerOptions", m_compilerOptions); - } - - if (m_targetDeviceHasBeenSet) { - payload.WithString("TargetDevice", TargetDeviceMapper::GetNameForTargetDevice(m_targetDevice)); - } - - if (m_targetPlatformHasBeenSet) { - payload.WithObject("TargetPlatform", m_targetPlatform.Jsonize()); - } - - if (m_s3OutputLocationHasBeenSet) { - payload.WithObject("S3OutputLocation", m_s3OutputLocation.Jsonize()); - } - - if (m_componentNameHasBeenSet) { - payload.WithString("ComponentName", m_componentName); - } - - if (m_componentVersionHasBeenSet) { - payload.WithString("ComponentVersion", m_componentVersion); - } - - if (m_componentDescriptionHasBeenSet) { - payload.WithString("ComponentDescription", m_componentDescription); - } - - if (m_tagsHasBeenSet) { - Aws::Utils::Array tagsJsonList(m_tags.size()); - for (unsigned tagsIndex = 0; tagsIndex < tagsJsonList.GetLength(); ++tagsIndex) { - tagsJsonList[tagsIndex].AsObject(m_tags[tagsIndex].Jsonize()); - } - payload.WithArray("Tags", std::move(tagsJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/GreengrassOutputDetails.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/GreengrassOutputDetails.cpp deleted file mode 100644 index 6e045d1ca91..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/GreengrassOutputDetails.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -GreengrassOutputDetails::GreengrassOutputDetails(JsonView jsonValue) { *this = jsonValue; } - -GreengrassOutputDetails& GreengrassOutputDetails::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("ComponentVersionArn")) { - m_componentVersionArn = jsonValue.GetString("ComponentVersionArn"); - m_componentVersionArnHasBeenSet = true; - } - if (jsonValue.ValueExists("ComponentName")) { - m_componentName = jsonValue.GetString("ComponentName"); - m_componentNameHasBeenSet = true; - } - if (jsonValue.ValueExists("ComponentVersion")) { - m_componentVersion = jsonValue.GetString("ComponentVersion"); - m_componentVersionHasBeenSet = true; - } - return *this; -} - -JsonValue GreengrassOutputDetails::Jsonize() const { - JsonValue payload; - - if (m_componentVersionArnHasBeenSet) { - payload.WithString("ComponentVersionArn", m_componentVersionArn); - } - - if (m_componentNameHasBeenSet) { - payload.WithString("ComponentName", m_componentName); - } - - if (m_componentVersionHasBeenSet) { - payload.WithString("ComponentVersion", m_componentVersion); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ImageSource.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ImageSource.cpp deleted file mode 100644 index b36ac4974c3..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ImageSource.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -ImageSource::ImageSource(JsonView jsonValue) { *this = jsonValue; } - -ImageSource& ImageSource::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Type")) { - m_type = jsonValue.GetString("Type"); - m_typeHasBeenSet = true; - } - return *this; -} - -JsonValue ImageSource::Jsonize() const { - JsonValue payload; - - if (m_typeHasBeenSet) { - payload.WithString("Type", m_type); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/InputS3Object.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/InputS3Object.cpp deleted file mode 100644 index 478f67a26b9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/InputS3Object.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -InputS3Object::InputS3Object(JsonView jsonValue) { *this = jsonValue; } - -InputS3Object& InputS3Object::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Bucket")) { - m_bucket = jsonValue.GetString("Bucket"); - m_bucketHasBeenSet = true; - } - if (jsonValue.ValueExists("Key")) { - m_key = jsonValue.GetString("Key"); - m_keyHasBeenSet = true; - } - if (jsonValue.ValueExists("VersionId")) { - m_versionId = jsonValue.GetString("VersionId"); - m_versionIdHasBeenSet = true; - } - return *this; -} - -JsonValue InputS3Object::Jsonize() const { - JsonValue payload; - - if (m_bucketHasBeenSet) { - payload.WithString("Bucket", m_bucket); - } - - if (m_keyHasBeenSet) { - payload.WithString("Key", m_key); - } - - if (m_versionIdHasBeenSet) { - payload.WithString("VersionId", m_versionId); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/InternalServerException.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/InternalServerException.cpp deleted file mode 100644 index ee7e41e870f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/InternalServerException.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -InternalServerException::InternalServerException(JsonView jsonValue) { *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 LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListDatasetEntriesRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListDatasetEntriesRequest.cpp deleted file mode 100644 index 85201167120..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListDatasetEntriesRequest.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListDatasetEntriesRequest::SerializePayload() const { return {}; } - -void ListDatasetEntriesRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_labeledHasBeenSet) { - ss << m_labeled; - uri.AddQueryStringParameter("labeled", ss.str()); - ss.str(""); - } - - if (m_anomalyClassHasBeenSet) { - ss << m_anomalyClass; - uri.AddQueryStringParameter("anomalyClass", ss.str()); - ss.str(""); - } - - if (m_beforeCreationDateHasBeenSet) { - ss << m_beforeCreationDate.ToGmtString(Aws::Utils::DateFormat::ISO_8601); - uri.AddQueryStringParameter("createdBefore", ss.str()); - ss.str(""); - } - - if (m_afterCreationDateHasBeenSet) { - ss << m_afterCreationDate.ToGmtString(Aws::Utils::DateFormat::ISO_8601); - uri.AddQueryStringParameter("createdAfter", 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(""); - } - - if (m_sourceRefContainsHasBeenSet) { - ss << m_sourceRefContains; - uri.AddQueryStringParameter("sourceRefContains", ss.str()); - ss.str(""); - } -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListDatasetEntriesResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListDatasetEntriesResult.cpp deleted file mode 100644 index 56ba03c1f70..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListDatasetEntriesResult.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListDatasetEntriesResult::ListDatasetEntriesResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListDatasetEntriesResult& ListDatasetEntriesResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("DatasetEntries")) { - Aws::Utils::Array datasetEntriesJsonList = jsonValue.GetArray("DatasetEntries"); - for (unsigned datasetEntriesIndex = 0; datasetEntriesIndex < datasetEntriesJsonList.GetLength(); ++datasetEntriesIndex) { - m_datasetEntries.push_back(datasetEntriesJsonList[datasetEntriesIndex].AsString()); - } - m_datasetEntriesHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListModelPackagingJobsRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListModelPackagingJobsRequest.cpp deleted file mode 100644 index de75ec51d90..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListModelPackagingJobsRequest.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListModelPackagingJobsRequest::SerializePayload() const { return {}; } - -void ListModelPackagingJobsRequest::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-lookoutvision/source/model/ListModelPackagingJobsResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListModelPackagingJobsResult.cpp deleted file mode 100644 index 78584beeac3..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListModelPackagingJobsResult.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListModelPackagingJobsResult::ListModelPackagingJobsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListModelPackagingJobsResult& ListModelPackagingJobsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("ModelPackagingJobs")) { - Aws::Utils::Array modelPackagingJobsJsonList = jsonValue.GetArray("ModelPackagingJobs"); - for (unsigned modelPackagingJobsIndex = 0; modelPackagingJobsIndex < modelPackagingJobsJsonList.GetLength(); - ++modelPackagingJobsIndex) { - m_modelPackagingJobs.push_back(modelPackagingJobsJsonList[modelPackagingJobsIndex].AsObject()); - } - m_modelPackagingJobsHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListModelsRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListModelsRequest.cpp deleted file mode 100644 index 0820c6605fb..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListModelsRequest.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListModelsRequest::SerializePayload() const { return {}; } - -void ListModelsRequest::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-lookoutvision/source/model/ListModelsResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListModelsResult.cpp deleted file mode 100644 index ae76c84bd58..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListModelsResult.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListModelsResult::ListModelsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListModelsResult& ListModelsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Models")) { - Aws::Utils::Array modelsJsonList = jsonValue.GetArray("Models"); - for (unsigned modelsIndex = 0; modelsIndex < modelsJsonList.GetLength(); ++modelsIndex) { - m_models.push_back(modelsJsonList[modelsIndex].AsObject()); - } - m_modelsHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListProjectsRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListProjectsRequest.cpp deleted file mode 100644 index 3cac948add7..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListProjectsRequest.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListProjectsRequest::SerializePayload() const { return {}; } - -void ListProjectsRequest::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-lookoutvision/source/model/ListProjectsResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListProjectsResult.cpp deleted file mode 100644 index bfea693d74a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListProjectsResult.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListProjectsResult::ListProjectsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListProjectsResult& ListProjectsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Projects")) { - Aws::Utils::Array projectsJsonList = jsonValue.GetArray("Projects"); - for (unsigned projectsIndex = 0; projectsIndex < projectsJsonList.GetLength(); ++projectsIndex) { - m_projects.push_back(projectsJsonList[projectsIndex].AsObject()); - } - m_projectsHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListTagsForResourceRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListTagsForResourceRequest.cpp deleted file mode 100644 index 89b8332bb35..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListTagsForResourceRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListTagsForResourceRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListTagsForResourceResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListTagsForResourceResult.cpp deleted file mode 100644 index b85fd8f9b88..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ListTagsForResourceResult.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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::Utils::Array tagsJsonList = jsonValue.GetArray("Tags"); - for (unsigned tagsIndex = 0; tagsIndex < tagsJsonList.GetLength(); ++tagsIndex) { - m_tags.push_back(tagsJsonList[tagsIndex].AsObject()); - } - m_tagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelDescription.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelDescription.cpp deleted file mode 100644 index eaf01d926c2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelDescription.cpp +++ /dev/null @@ -1,144 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -ModelDescription::ModelDescription(JsonView jsonValue) { *this = jsonValue; } - -ModelDescription& ModelDescription::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("ModelVersion")) { - m_modelVersion = jsonValue.GetString("ModelVersion"); - m_modelVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("ModelArn")) { - m_modelArn = jsonValue.GetString("ModelArn"); - m_modelArnHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationTimestamp")) { - m_creationTimestamp = jsonValue.GetDouble("CreationTimestamp"); - m_creationTimestampHasBeenSet = true; - } - if (jsonValue.ValueExists("Description")) { - m_description = jsonValue.GetString("Description"); - m_descriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("Status")) { - m_status = ModelStatusMapper::GetModelStatusForName(jsonValue.GetString("Status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("StatusMessage")) { - m_statusMessage = jsonValue.GetString("StatusMessage"); - m_statusMessageHasBeenSet = true; - } - if (jsonValue.ValueExists("Performance")) { - m_performance = jsonValue.GetObject("Performance"); - m_performanceHasBeenSet = true; - } - if (jsonValue.ValueExists("OutputConfig")) { - m_outputConfig = jsonValue.GetObject("OutputConfig"); - m_outputConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("EvaluationManifest")) { - m_evaluationManifest = jsonValue.GetObject("EvaluationManifest"); - m_evaluationManifestHasBeenSet = true; - } - if (jsonValue.ValueExists("EvaluationResult")) { - m_evaluationResult = jsonValue.GetObject("EvaluationResult"); - m_evaluationResultHasBeenSet = true; - } - if (jsonValue.ValueExists("EvaluationEndTimestamp")) { - m_evaluationEndTimestamp = jsonValue.GetDouble("EvaluationEndTimestamp"); - m_evaluationEndTimestampHasBeenSet = true; - } - if (jsonValue.ValueExists("KmsKeyId")) { - m_kmsKeyId = jsonValue.GetString("KmsKeyId"); - m_kmsKeyIdHasBeenSet = true; - } - if (jsonValue.ValueExists("MinInferenceUnits")) { - m_minInferenceUnits = jsonValue.GetInteger("MinInferenceUnits"); - m_minInferenceUnitsHasBeenSet = true; - } - if (jsonValue.ValueExists("MaxInferenceUnits")) { - m_maxInferenceUnits = jsonValue.GetInteger("MaxInferenceUnits"); - m_maxInferenceUnitsHasBeenSet = true; - } - return *this; -} - -JsonValue ModelDescription::Jsonize() const { - JsonValue payload; - - if (m_modelVersionHasBeenSet) { - payload.WithString("ModelVersion", m_modelVersion); - } - - if (m_modelArnHasBeenSet) { - payload.WithString("ModelArn", m_modelArn); - } - - if (m_creationTimestampHasBeenSet) { - payload.WithDouble("CreationTimestamp", m_creationTimestamp.SecondsWithMSPrecision()); - } - - if (m_descriptionHasBeenSet) { - payload.WithString("Description", m_description); - } - - if (m_statusHasBeenSet) { - payload.WithString("Status", ModelStatusMapper::GetNameForModelStatus(m_status)); - } - - if (m_statusMessageHasBeenSet) { - payload.WithString("StatusMessage", m_statusMessage); - } - - if (m_performanceHasBeenSet) { - payload.WithObject("Performance", m_performance.Jsonize()); - } - - if (m_outputConfigHasBeenSet) { - payload.WithObject("OutputConfig", m_outputConfig.Jsonize()); - } - - if (m_evaluationManifestHasBeenSet) { - payload.WithObject("EvaluationManifest", m_evaluationManifest.Jsonize()); - } - - if (m_evaluationResultHasBeenSet) { - payload.WithObject("EvaluationResult", m_evaluationResult.Jsonize()); - } - - if (m_evaluationEndTimestampHasBeenSet) { - payload.WithDouble("EvaluationEndTimestamp", m_evaluationEndTimestamp.SecondsWithMSPrecision()); - } - - if (m_kmsKeyIdHasBeenSet) { - payload.WithString("KmsKeyId", m_kmsKeyId); - } - - if (m_minInferenceUnitsHasBeenSet) { - payload.WithInteger("MinInferenceUnits", m_minInferenceUnits); - } - - if (m_maxInferenceUnitsHasBeenSet) { - payload.WithInteger("MaxInferenceUnits", m_maxInferenceUnits); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelHostingStatus.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelHostingStatus.cpp deleted file mode 100644 index 7c59a2d6e3c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelHostingStatus.cpp +++ /dev/null @@ -1,73 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -namespace ModelHostingStatusMapper { - -static const int STARTING_HOSTING_HASH = HashingUtils::HashString("STARTING_HOSTING"); -static const int HOSTED_HASH = HashingUtils::HashString("HOSTED"); -static const int HOSTING_FAILED_HASH = HashingUtils::HashString("HOSTING_FAILED"); -static const int STOPPING_HOSTING_HASH = HashingUtils::HashString("STOPPING_HOSTING"); -static const int SYSTEM_UPDATING_HASH = HashingUtils::HashString("SYSTEM_UPDATING"); - -ModelHostingStatus GetModelHostingStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == STARTING_HOSTING_HASH) { - return ModelHostingStatus::STARTING_HOSTING; - } else if (hashCode == HOSTED_HASH) { - return ModelHostingStatus::HOSTED; - } else if (hashCode == HOSTING_FAILED_HASH) { - return ModelHostingStatus::HOSTING_FAILED; - } else if (hashCode == STOPPING_HOSTING_HASH) { - return ModelHostingStatus::STOPPING_HOSTING; - } else if (hashCode == SYSTEM_UPDATING_HASH) { - return ModelHostingStatus::SYSTEM_UPDATING; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return ModelHostingStatus::NOT_SET; -} - -Aws::String GetNameForModelHostingStatus(ModelHostingStatus enumValue) { - switch (enumValue) { - case ModelHostingStatus::NOT_SET: - return {}; - case ModelHostingStatus::STARTING_HOSTING: - return "STARTING_HOSTING"; - case ModelHostingStatus::HOSTED: - return "HOSTED"; - case ModelHostingStatus::HOSTING_FAILED: - return "HOSTING_FAILED"; - case ModelHostingStatus::STOPPING_HOSTING: - return "STOPPING_HOSTING"; - case ModelHostingStatus::SYSTEM_UPDATING: - return "SYSTEM_UPDATING"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ModelHostingStatusMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelMetadata.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelMetadata.cpp deleted file mode 100644 index e01840f1540..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelMetadata.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -ModelMetadata::ModelMetadata(JsonView jsonValue) { *this = jsonValue; } - -ModelMetadata& ModelMetadata::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("CreationTimestamp")) { - m_creationTimestamp = jsonValue.GetDouble("CreationTimestamp"); - m_creationTimestampHasBeenSet = true; - } - if (jsonValue.ValueExists("ModelVersion")) { - m_modelVersion = jsonValue.GetString("ModelVersion"); - m_modelVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("ModelArn")) { - m_modelArn = jsonValue.GetString("ModelArn"); - m_modelArnHasBeenSet = true; - } - if (jsonValue.ValueExists("Description")) { - m_description = jsonValue.GetString("Description"); - m_descriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("Status")) { - m_status = ModelStatusMapper::GetModelStatusForName(jsonValue.GetString("Status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("StatusMessage")) { - m_statusMessage = jsonValue.GetString("StatusMessage"); - m_statusMessageHasBeenSet = true; - } - if (jsonValue.ValueExists("Performance")) { - m_performance = jsonValue.GetObject("Performance"); - m_performanceHasBeenSet = true; - } - return *this; -} - -JsonValue ModelMetadata::Jsonize() const { - JsonValue payload; - - if (m_creationTimestampHasBeenSet) { - payload.WithDouble("CreationTimestamp", m_creationTimestamp.SecondsWithMSPrecision()); - } - - if (m_modelVersionHasBeenSet) { - payload.WithString("ModelVersion", m_modelVersion); - } - - if (m_modelArnHasBeenSet) { - payload.WithString("ModelArn", m_modelArn); - } - - if (m_descriptionHasBeenSet) { - payload.WithString("Description", m_description); - } - - if (m_statusHasBeenSet) { - payload.WithString("Status", ModelStatusMapper::GetNameForModelStatus(m_status)); - } - - if (m_statusMessageHasBeenSet) { - payload.WithString("StatusMessage", m_statusMessage); - } - - if (m_performanceHasBeenSet) { - payload.WithObject("Performance", m_performance.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingConfiguration.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingConfiguration.cpp deleted file mode 100644 index b890ddfd51a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingConfiguration.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -ModelPackagingConfiguration::ModelPackagingConfiguration(JsonView jsonValue) { *this = jsonValue; } - -ModelPackagingConfiguration& ModelPackagingConfiguration::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Greengrass")) { - m_greengrass = jsonValue.GetObject("Greengrass"); - m_greengrassHasBeenSet = true; - } - return *this; -} - -JsonValue ModelPackagingConfiguration::Jsonize() const { - JsonValue payload; - - if (m_greengrassHasBeenSet) { - payload.WithObject("Greengrass", m_greengrass.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingDescription.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingDescription.cpp deleted file mode 100644 index 90d56a02f64..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingDescription.cpp +++ /dev/null @@ -1,120 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -ModelPackagingDescription::ModelPackagingDescription(JsonView jsonValue) { *this = jsonValue; } - -ModelPackagingDescription& ModelPackagingDescription::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("JobName")) { - m_jobName = jsonValue.GetString("JobName"); - m_jobNameHasBeenSet = true; - } - if (jsonValue.ValueExists("ProjectName")) { - m_projectName = jsonValue.GetString("ProjectName"); - m_projectNameHasBeenSet = true; - } - if (jsonValue.ValueExists("ModelVersion")) { - m_modelVersion = jsonValue.GetString("ModelVersion"); - m_modelVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("ModelPackagingConfiguration")) { - m_modelPackagingConfiguration = jsonValue.GetObject("ModelPackagingConfiguration"); - m_modelPackagingConfigurationHasBeenSet = true; - } - if (jsonValue.ValueExists("ModelPackagingJobDescription")) { - m_modelPackagingJobDescription = jsonValue.GetString("ModelPackagingJobDescription"); - m_modelPackagingJobDescriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("ModelPackagingMethod")) { - m_modelPackagingMethod = jsonValue.GetString("ModelPackagingMethod"); - m_modelPackagingMethodHasBeenSet = true; - } - if (jsonValue.ValueExists("ModelPackagingOutputDetails")) { - m_modelPackagingOutputDetails = jsonValue.GetObject("ModelPackagingOutputDetails"); - m_modelPackagingOutputDetailsHasBeenSet = true; - } - if (jsonValue.ValueExists("Status")) { - m_status = ModelPackagingJobStatusMapper::GetModelPackagingJobStatusForName(jsonValue.GetString("Status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("StatusMessage")) { - m_statusMessage = jsonValue.GetString("StatusMessage"); - m_statusMessageHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationTimestamp")) { - m_creationTimestamp = jsonValue.GetDouble("CreationTimestamp"); - m_creationTimestampHasBeenSet = true; - } - if (jsonValue.ValueExists("LastUpdatedTimestamp")) { - m_lastUpdatedTimestamp = jsonValue.GetDouble("LastUpdatedTimestamp"); - m_lastUpdatedTimestampHasBeenSet = true; - } - return *this; -} - -JsonValue ModelPackagingDescription::Jsonize() const { - JsonValue payload; - - if (m_jobNameHasBeenSet) { - payload.WithString("JobName", m_jobName); - } - - if (m_projectNameHasBeenSet) { - payload.WithString("ProjectName", m_projectName); - } - - if (m_modelVersionHasBeenSet) { - payload.WithString("ModelVersion", m_modelVersion); - } - - if (m_modelPackagingConfigurationHasBeenSet) { - payload.WithObject("ModelPackagingConfiguration", m_modelPackagingConfiguration.Jsonize()); - } - - if (m_modelPackagingJobDescriptionHasBeenSet) { - payload.WithString("ModelPackagingJobDescription", m_modelPackagingJobDescription); - } - - if (m_modelPackagingMethodHasBeenSet) { - payload.WithString("ModelPackagingMethod", m_modelPackagingMethod); - } - - if (m_modelPackagingOutputDetailsHasBeenSet) { - payload.WithObject("ModelPackagingOutputDetails", m_modelPackagingOutputDetails.Jsonize()); - } - - if (m_statusHasBeenSet) { - payload.WithString("Status", ModelPackagingJobStatusMapper::GetNameForModelPackagingJobStatus(m_status)); - } - - if (m_statusMessageHasBeenSet) { - payload.WithString("StatusMessage", m_statusMessage); - } - - if (m_creationTimestampHasBeenSet) { - payload.WithDouble("CreationTimestamp", m_creationTimestamp.SecondsWithMSPrecision()); - } - - if (m_lastUpdatedTimestampHasBeenSet) { - payload.WithDouble("LastUpdatedTimestamp", m_lastUpdatedTimestamp.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingJobMetadata.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingJobMetadata.cpp deleted file mode 100644 index 77fad177cde..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingJobMetadata.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -ModelPackagingJobMetadata::ModelPackagingJobMetadata(JsonView jsonValue) { *this = jsonValue; } - -ModelPackagingJobMetadata& ModelPackagingJobMetadata::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("JobName")) { - m_jobName = jsonValue.GetString("JobName"); - m_jobNameHasBeenSet = true; - } - if (jsonValue.ValueExists("ProjectName")) { - m_projectName = jsonValue.GetString("ProjectName"); - m_projectNameHasBeenSet = true; - } - if (jsonValue.ValueExists("ModelVersion")) { - m_modelVersion = jsonValue.GetString("ModelVersion"); - m_modelVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("ModelPackagingJobDescription")) { - m_modelPackagingJobDescription = jsonValue.GetString("ModelPackagingJobDescription"); - m_modelPackagingJobDescriptionHasBeenSet = true; - } - if (jsonValue.ValueExists("ModelPackagingMethod")) { - m_modelPackagingMethod = jsonValue.GetString("ModelPackagingMethod"); - m_modelPackagingMethodHasBeenSet = true; - } - if (jsonValue.ValueExists("Status")) { - m_status = ModelPackagingJobStatusMapper::GetModelPackagingJobStatusForName(jsonValue.GetString("Status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("StatusMessage")) { - m_statusMessage = jsonValue.GetString("StatusMessage"); - m_statusMessageHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationTimestamp")) { - m_creationTimestamp = jsonValue.GetDouble("CreationTimestamp"); - m_creationTimestampHasBeenSet = true; - } - if (jsonValue.ValueExists("LastUpdatedTimestamp")) { - m_lastUpdatedTimestamp = jsonValue.GetDouble("LastUpdatedTimestamp"); - m_lastUpdatedTimestampHasBeenSet = true; - } - return *this; -} - -JsonValue ModelPackagingJobMetadata::Jsonize() const { - JsonValue payload; - - if (m_jobNameHasBeenSet) { - payload.WithString("JobName", m_jobName); - } - - if (m_projectNameHasBeenSet) { - payload.WithString("ProjectName", m_projectName); - } - - if (m_modelVersionHasBeenSet) { - payload.WithString("ModelVersion", m_modelVersion); - } - - if (m_modelPackagingJobDescriptionHasBeenSet) { - payload.WithString("ModelPackagingJobDescription", m_modelPackagingJobDescription); - } - - if (m_modelPackagingMethodHasBeenSet) { - payload.WithString("ModelPackagingMethod", m_modelPackagingMethod); - } - - if (m_statusHasBeenSet) { - payload.WithString("Status", ModelPackagingJobStatusMapper::GetNameForModelPackagingJobStatus(m_status)); - } - - if (m_statusMessageHasBeenSet) { - payload.WithString("StatusMessage", m_statusMessage); - } - - if (m_creationTimestampHasBeenSet) { - payload.WithDouble("CreationTimestamp", m_creationTimestamp.SecondsWithMSPrecision()); - } - - if (m_lastUpdatedTimestampHasBeenSet) { - payload.WithDouble("LastUpdatedTimestamp", m_lastUpdatedTimestamp.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingJobStatus.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingJobStatus.cpp deleted file mode 100644 index 8c427969e0c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingJobStatus.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -namespace ModelPackagingJobStatusMapper { - -static const int CREATED_HASH = HashingUtils::HashString("CREATED"); -static const int RUNNING_HASH = HashingUtils::HashString("RUNNING"); -static const int SUCCEEDED_HASH = HashingUtils::HashString("SUCCEEDED"); -static const int FAILED_HASH = HashingUtils::HashString("FAILED"); - -ModelPackagingJobStatus GetModelPackagingJobStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == CREATED_HASH) { - return ModelPackagingJobStatus::CREATED; - } else if (hashCode == RUNNING_HASH) { - return ModelPackagingJobStatus::RUNNING; - } else if (hashCode == SUCCEEDED_HASH) { - return ModelPackagingJobStatus::SUCCEEDED; - } else if (hashCode == FAILED_HASH) { - return ModelPackagingJobStatus::FAILED; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return ModelPackagingJobStatus::NOT_SET; -} - -Aws::String GetNameForModelPackagingJobStatus(ModelPackagingJobStatus enumValue) { - switch (enumValue) { - case ModelPackagingJobStatus::NOT_SET: - return {}; - case ModelPackagingJobStatus::CREATED: - return "CREATED"; - case ModelPackagingJobStatus::RUNNING: - return "RUNNING"; - case ModelPackagingJobStatus::SUCCEEDED: - return "SUCCEEDED"; - case ModelPackagingJobStatus::FAILED: - return "FAILED"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ModelPackagingJobStatusMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingOutputDetails.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingOutputDetails.cpp deleted file mode 100644 index 01d5fd600c2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPackagingOutputDetails.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -ModelPackagingOutputDetails::ModelPackagingOutputDetails(JsonView jsonValue) { *this = jsonValue; } - -ModelPackagingOutputDetails& ModelPackagingOutputDetails::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Greengrass")) { - m_greengrass = jsonValue.GetObject("Greengrass"); - m_greengrassHasBeenSet = true; - } - return *this; -} - -JsonValue ModelPackagingOutputDetails::Jsonize() const { - JsonValue payload; - - if (m_greengrassHasBeenSet) { - payload.WithObject("Greengrass", m_greengrass.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPerformance.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPerformance.cpp deleted file mode 100644 index 1c8021ca3ad..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelPerformance.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -ModelPerformance::ModelPerformance(JsonView jsonValue) { *this = jsonValue; } - -ModelPerformance& ModelPerformance::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("F1Score")) { - m_f1Score = jsonValue.GetDouble("F1Score"); - m_f1ScoreHasBeenSet = true; - } - if (jsonValue.ValueExists("Recall")) { - m_recall = jsonValue.GetDouble("Recall"); - m_recallHasBeenSet = true; - } - if (jsonValue.ValueExists("Precision")) { - m_precision = jsonValue.GetDouble("Precision"); - m_precisionHasBeenSet = true; - } - return *this; -} - -JsonValue ModelPerformance::Jsonize() const { - JsonValue payload; - - if (m_f1ScoreHasBeenSet) { - payload.WithDouble("F1Score", m_f1Score); - } - - if (m_recallHasBeenSet) { - payload.WithDouble("Recall", m_recall); - } - - if (m_precisionHasBeenSet) { - payload.WithDouble("Precision", m_precision); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelStatus.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelStatus.cpp deleted file mode 100644 index 995519cc223..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ModelStatus.cpp +++ /dev/null @@ -1,93 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -namespace ModelStatusMapper { - -static const int TRAINING_HASH = HashingUtils::HashString("TRAINING"); -static const int TRAINED_HASH = HashingUtils::HashString("TRAINED"); -static const int TRAINING_FAILED_HASH = HashingUtils::HashString("TRAINING_FAILED"); -static const int STARTING_HOSTING_HASH = HashingUtils::HashString("STARTING_HOSTING"); -static const int HOSTED_HASH = HashingUtils::HashString("HOSTED"); -static const int HOSTING_FAILED_HASH = HashingUtils::HashString("HOSTING_FAILED"); -static const int STOPPING_HOSTING_HASH = HashingUtils::HashString("STOPPING_HOSTING"); -static const int SYSTEM_UPDATING_HASH = HashingUtils::HashString("SYSTEM_UPDATING"); -static const int DELETING_HASH = HashingUtils::HashString("DELETING"); - -ModelStatus GetModelStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == TRAINING_HASH) { - return ModelStatus::TRAINING; - } else if (hashCode == TRAINED_HASH) { - return ModelStatus::TRAINED; - } else if (hashCode == TRAINING_FAILED_HASH) { - return ModelStatus::TRAINING_FAILED; - } else if (hashCode == STARTING_HOSTING_HASH) { - return ModelStatus::STARTING_HOSTING; - } else if (hashCode == HOSTED_HASH) { - return ModelStatus::HOSTED; - } else if (hashCode == HOSTING_FAILED_HASH) { - return ModelStatus::HOSTING_FAILED; - } else if (hashCode == STOPPING_HOSTING_HASH) { - return ModelStatus::STOPPING_HOSTING; - } else if (hashCode == SYSTEM_UPDATING_HASH) { - return ModelStatus::SYSTEM_UPDATING; - } else if (hashCode == DELETING_HASH) { - return ModelStatus::DELETING; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return ModelStatus::NOT_SET; -} - -Aws::String GetNameForModelStatus(ModelStatus enumValue) { - switch (enumValue) { - case ModelStatus::NOT_SET: - return {}; - case ModelStatus::TRAINING: - return "TRAINING"; - case ModelStatus::TRAINED: - return "TRAINED"; - case ModelStatus::TRAINING_FAILED: - return "TRAINING_FAILED"; - case ModelStatus::STARTING_HOSTING: - return "STARTING_HOSTING"; - case ModelStatus::HOSTED: - return "HOSTED"; - case ModelStatus::HOSTING_FAILED: - return "HOSTING_FAILED"; - case ModelStatus::STOPPING_HOSTING: - return "STOPPING_HOSTING"; - case ModelStatus::SYSTEM_UPDATING: - return "SYSTEM_UPDATING"; - case ModelStatus::DELETING: - return "DELETING"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ModelStatusMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/OutputConfig.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/OutputConfig.cpp deleted file mode 100644 index 957a7b87fed..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/OutputConfig.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -OutputConfig::OutputConfig(JsonView jsonValue) { *this = jsonValue; } - -OutputConfig& OutputConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("S3Location")) { - m_s3Location = jsonValue.GetObject("S3Location"); - m_s3LocationHasBeenSet = true; - } - return *this; -} - -JsonValue OutputConfig::Jsonize() const { - JsonValue payload; - - if (m_s3LocationHasBeenSet) { - payload.WithObject("S3Location", m_s3Location.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/OutputS3Object.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/OutputS3Object.cpp deleted file mode 100644 index 312937feeb7..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/OutputS3Object.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -OutputS3Object::OutputS3Object(JsonView jsonValue) { *this = jsonValue; } - -OutputS3Object& OutputS3Object::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Bucket")) { - m_bucket = jsonValue.GetString("Bucket"); - m_bucketHasBeenSet = true; - } - if (jsonValue.ValueExists("Key")) { - m_key = jsonValue.GetString("Key"); - m_keyHasBeenSet = true; - } - return *this; -} - -JsonValue OutputS3Object::Jsonize() const { - JsonValue payload; - - if (m_bucketHasBeenSet) { - payload.WithString("Bucket", m_bucket); - } - - if (m_keyHasBeenSet) { - payload.WithString("Key", m_key); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/PixelAnomaly.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/PixelAnomaly.cpp deleted file mode 100644 index c158d29dae4..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/PixelAnomaly.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -PixelAnomaly::PixelAnomaly(JsonView jsonValue) { *this = jsonValue; } - -PixelAnomaly& PixelAnomaly::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("TotalPercentageArea")) { - m_totalPercentageArea = jsonValue.GetDouble("TotalPercentageArea"); - m_totalPercentageAreaHasBeenSet = true; - } - if (jsonValue.ValueExists("Color")) { - m_color = jsonValue.GetString("Color"); - m_colorHasBeenSet = true; - } - return *this; -} - -JsonValue PixelAnomaly::Jsonize() const { - JsonValue payload; - - if (m_totalPercentageAreaHasBeenSet) { - payload.WithDouble("TotalPercentageArea", m_totalPercentageArea); - } - - if (m_colorHasBeenSet) { - payload.WithString("Color", m_color); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ProjectDescription.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ProjectDescription.cpp deleted file mode 100644 index 4b70fa37738..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ProjectDescription.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -ProjectDescription::ProjectDescription(JsonView jsonValue) { *this = jsonValue; } - -ProjectDescription& ProjectDescription::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("ProjectArn")) { - m_projectArn = jsonValue.GetString("ProjectArn"); - m_projectArnHasBeenSet = true; - } - if (jsonValue.ValueExists("ProjectName")) { - m_projectName = jsonValue.GetString("ProjectName"); - m_projectNameHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationTimestamp")) { - m_creationTimestamp = jsonValue.GetDouble("CreationTimestamp"); - m_creationTimestampHasBeenSet = true; - } - if (jsonValue.ValueExists("Datasets")) { - Aws::Utils::Array datasetsJsonList = jsonValue.GetArray("Datasets"); - for (unsigned datasetsIndex = 0; datasetsIndex < datasetsJsonList.GetLength(); ++datasetsIndex) { - m_datasets.push_back(datasetsJsonList[datasetsIndex].AsObject()); - } - m_datasetsHasBeenSet = true; - } - return *this; -} - -JsonValue ProjectDescription::Jsonize() const { - JsonValue payload; - - if (m_projectArnHasBeenSet) { - payload.WithString("ProjectArn", m_projectArn); - } - - if (m_projectNameHasBeenSet) { - payload.WithString("ProjectName", m_projectName); - } - - if (m_creationTimestampHasBeenSet) { - payload.WithDouble("CreationTimestamp", m_creationTimestamp.SecondsWithMSPrecision()); - } - - if (m_datasetsHasBeenSet) { - Aws::Utils::Array datasetsJsonList(m_datasets.size()); - for (unsigned datasetsIndex = 0; datasetsIndex < datasetsJsonList.GetLength(); ++datasetsIndex) { - datasetsJsonList[datasetsIndex].AsObject(m_datasets[datasetsIndex].Jsonize()); - } - payload.WithArray("Datasets", std::move(datasetsJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ProjectMetadata.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ProjectMetadata.cpp deleted file mode 100644 index 91962a27401..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ProjectMetadata.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -ProjectMetadata::ProjectMetadata(JsonView jsonValue) { *this = jsonValue; } - -ProjectMetadata& ProjectMetadata::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("ProjectArn")) { - m_projectArn = jsonValue.GetString("ProjectArn"); - m_projectArnHasBeenSet = true; - } - if (jsonValue.ValueExists("ProjectName")) { - m_projectName = jsonValue.GetString("ProjectName"); - m_projectNameHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationTimestamp")) { - m_creationTimestamp = jsonValue.GetDouble("CreationTimestamp"); - m_creationTimestampHasBeenSet = true; - } - return *this; -} - -JsonValue ProjectMetadata::Jsonize() const { - JsonValue payload; - - if (m_projectArnHasBeenSet) { - payload.WithString("ProjectArn", m_projectArn); - } - - if (m_projectNameHasBeenSet) { - payload.WithString("ProjectName", m_projectName); - } - - if (m_creationTimestampHasBeenSet) { - payload.WithDouble("CreationTimestamp", m_creationTimestamp.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ResourceNotFoundException.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ResourceNotFoundException.cpp deleted file mode 100644 index 3ddc8f800bb..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ResourceNotFoundException.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -ResourceNotFoundException::ResourceNotFoundException(JsonView jsonValue) { *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 = ResourceTypeMapper::GetResourceTypeForName(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", ResourceTypeMapper::GetNameForResourceType(m_resourceType)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ResourceType.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ResourceType.cpp deleted file mode 100644 index 16cce09c267..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ResourceType.cpp +++ /dev/null @@ -1,73 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -namespace ResourceTypeMapper { - -static const int PROJECT_HASH = HashingUtils::HashString("PROJECT"); -static const int DATASET_HASH = HashingUtils::HashString("DATASET"); -static const int MODEL_HASH = HashingUtils::HashString("MODEL"); -static const int TRIAL_HASH = HashingUtils::HashString("TRIAL"); -static const int MODEL_PACKAGE_JOB_HASH = HashingUtils::HashString("MODEL_PACKAGE_JOB"); - -ResourceType GetResourceTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == PROJECT_HASH) { - return ResourceType::PROJECT; - } else if (hashCode == DATASET_HASH) { - return ResourceType::DATASET; - } else if (hashCode == MODEL_HASH) { - return ResourceType::MODEL; - } else if (hashCode == TRIAL_HASH) { - return ResourceType::TRIAL; - } else if (hashCode == MODEL_PACKAGE_JOB_HASH) { - return ResourceType::MODEL_PACKAGE_JOB; - } - 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::PROJECT: - return "PROJECT"; - case ResourceType::DATASET: - return "DATASET"; - case ResourceType::MODEL: - return "MODEL"; - case ResourceType::TRIAL: - return "TRIAL"; - case ResourceType::MODEL_PACKAGE_JOB: - return "MODEL_PACKAGE_JOB"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ResourceTypeMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/S3Location.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/S3Location.cpp deleted file mode 100644 index 375a8428e0f..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/S3Location.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -S3Location::S3Location(JsonView jsonValue) { *this = jsonValue; } - -S3Location& S3Location::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Bucket")) { - m_bucket = jsonValue.GetString("Bucket"); - m_bucketHasBeenSet = true; - } - if (jsonValue.ValueExists("Prefix")) { - m_prefix = jsonValue.GetString("Prefix"); - m_prefixHasBeenSet = true; - } - return *this; -} - -JsonValue S3Location::Jsonize() const { - JsonValue payload; - - if (m_bucketHasBeenSet) { - payload.WithString("Bucket", m_bucket); - } - - if (m_prefixHasBeenSet) { - payload.WithString("Prefix", m_prefix); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ServiceQuotaExceededException.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ServiceQuotaExceededException.cpp deleted file mode 100644 index 8ef7d6309a2..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ServiceQuotaExceededException.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -ServiceQuotaExceededException::ServiceQuotaExceededException(JsonView jsonValue) { *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 = ResourceTypeMapper::GetResourceTypeForName(jsonValue.GetString("ResourceType")); - m_resourceTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("QuotaCode")) { - m_quotaCode = jsonValue.GetString("QuotaCode"); - m_quotaCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("ServiceCode")) { - m_serviceCode = jsonValue.GetString("ServiceCode"); - m_serviceCodeHasBeenSet = 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", ResourceTypeMapper::GetNameForResourceType(m_resourceType)); - } - - if (m_quotaCodeHasBeenSet) { - payload.WithString("QuotaCode", m_quotaCode); - } - - if (m_serviceCodeHasBeenSet) { - payload.WithString("ServiceCode", m_serviceCode); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelPackagingJobRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelPackagingJobRequest.cpp deleted file mode 100644 index 5f9db8c0faa..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelPackagingJobRequest.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String StartModelPackagingJobRequest::SerializePayload() const { - JsonValue payload; - - if (m_modelVersionHasBeenSet) { - payload.WithString("ModelVersion", m_modelVersion); - } - - if (m_jobNameHasBeenSet) { - payload.WithString("JobName", m_jobName); - } - - if (m_configurationHasBeenSet) { - payload.WithObject("Configuration", m_configuration.Jsonize()); - } - - if (m_descriptionHasBeenSet) { - payload.WithString("Description", m_description); - } - - return payload.View().WriteReadable(); -} - -Aws::Http::HeaderValueCollection StartModelPackagingJobRequest::GetRequestSpecificHeaders() const { - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if (m_clientTokenHasBeenSet) { - ss << m_clientToken; - headers.emplace("x-amzn-client-token", ss.str()); - ss.str(""); - } - - return headers; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelPackagingJobResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelPackagingJobResult.cpp deleted file mode 100644 index e28b3ad56a7..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelPackagingJobResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -StartModelPackagingJobResult::StartModelPackagingJobResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -StartModelPackagingJobResult& StartModelPackagingJobResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("JobName")) { - m_jobName = jsonValue.GetString("JobName"); - m_jobNameHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelRequest.cpp deleted file mode 100644 index a7eeacc45c9..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelRequest.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String StartModelRequest::SerializePayload() const { - JsonValue payload; - - if (m_minInferenceUnitsHasBeenSet) { - payload.WithInteger("MinInferenceUnits", m_minInferenceUnits); - } - - if (m_maxInferenceUnitsHasBeenSet) { - payload.WithInteger("MaxInferenceUnits", m_maxInferenceUnits); - } - - return payload.View().WriteReadable(); -} - -Aws::Http::HeaderValueCollection StartModelRequest::GetRequestSpecificHeaders() const { - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if (m_clientTokenHasBeenSet) { - ss << m_clientToken; - headers.emplace("x-amzn-client-token", ss.str()); - ss.str(""); - } - - return headers; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelResult.cpp deleted file mode 100644 index 604ee3ae3f8..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/StartModelResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -StartModelResult::StartModelResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -StartModelResult& StartModelResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Status")) { - m_status = ModelHostingStatusMapper::GetModelHostingStatusForName(jsonValue.GetString("Status")); - m_statusHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/StopModelRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/StopModelRequest.cpp deleted file mode 100644 index 10b8ef4126c..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/StopModelRequest.cpp +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String StopModelRequest::SerializePayload() const { return {}; } - -Aws::Http::HeaderValueCollection StopModelRequest::GetRequestSpecificHeaders() const { - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if (m_clientTokenHasBeenSet) { - ss << m_clientToken; - headers.emplace("x-amzn-client-token", ss.str()); - ss.str(""); - } - - return headers; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/StopModelResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/StopModelResult.cpp deleted file mode 100644 index 34fcfef3bab..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/StopModelResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -StopModelResult::StopModelResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -StopModelResult& StopModelResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Status")) { - m_status = ModelHostingStatusMapper::GetModelHostingStatusForName(jsonValue.GetString("Status")); - m_statusHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/Tag.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/Tag.cpp deleted file mode 100644 index c2db6908fbe..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/Tag.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -Tag::Tag(JsonView jsonValue) { *this = jsonValue; } - -Tag& Tag::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Key")) { - m_key = jsonValue.GetString("Key"); - m_keyHasBeenSet = true; - } - if (jsonValue.ValueExists("Value")) { - m_value = jsonValue.GetString("Value"); - m_valueHasBeenSet = true; - } - return *this; -} - -JsonValue Tag::Jsonize() const { - JsonValue payload; - - if (m_keyHasBeenSet) { - payload.WithString("Key", m_key); - } - - if (m_valueHasBeenSet) { - payload.WithString("Value", m_value); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/TagResourceRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/TagResourceRequest.cpp deleted file mode 100644 index d55b9b62a97..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/TagResourceRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String TagResourceRequest::SerializePayload() const { - JsonValue payload; - - if (m_tagsHasBeenSet) { - Aws::Utils::Array tagsJsonList(m_tags.size()); - for (unsigned tagsIndex = 0; tagsIndex < tagsJsonList.GetLength(); ++tagsIndex) { - tagsJsonList[tagsIndex].AsObject(m_tags[tagsIndex].Jsonize()); - } - payload.WithArray("Tags", std::move(tagsJsonList)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/TagResourceResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/TagResourceResult.cpp deleted file mode 100644 index 23559572d82..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/TagResourceResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetDevice.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetDevice.cpp deleted file mode 100644 index 4984bfb3b2d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetDevice.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -namespace TargetDeviceMapper { - -static const int jetson_xavier_HASH = HashingUtils::HashString("jetson_xavier"); - -TargetDevice GetTargetDeviceForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == jetson_xavier_HASH) { - return TargetDevice::jetson_xavier; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return TargetDevice::NOT_SET; -} - -Aws::String GetNameForTargetDevice(TargetDevice enumValue) { - switch (enumValue) { - case TargetDevice::NOT_SET: - return {}; - case TargetDevice::jetson_xavier: - return "jetson_xavier"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace TargetDeviceMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatform.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatform.cpp deleted file mode 100644 index 082e7168e1a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatform.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -TargetPlatform::TargetPlatform(JsonView jsonValue) { *this = jsonValue; } - -TargetPlatform& TargetPlatform::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Os")) { - m_os = TargetPlatformOsMapper::GetTargetPlatformOsForName(jsonValue.GetString("Os")); - m_osHasBeenSet = true; - } - if (jsonValue.ValueExists("Arch")) { - m_arch = TargetPlatformArchMapper::GetTargetPlatformArchForName(jsonValue.GetString("Arch")); - m_archHasBeenSet = true; - } - if (jsonValue.ValueExists("Accelerator")) { - m_accelerator = TargetPlatformAcceleratorMapper::GetTargetPlatformAcceleratorForName(jsonValue.GetString("Accelerator")); - m_acceleratorHasBeenSet = true; - } - return *this; -} - -JsonValue TargetPlatform::Jsonize() const { - JsonValue payload; - - if (m_osHasBeenSet) { - payload.WithString("Os", TargetPlatformOsMapper::GetNameForTargetPlatformOs(m_os)); - } - - if (m_archHasBeenSet) { - payload.WithString("Arch", TargetPlatformArchMapper::GetNameForTargetPlatformArch(m_arch)); - } - - if (m_acceleratorHasBeenSet) { - payload.WithString("Accelerator", TargetPlatformAcceleratorMapper::GetNameForTargetPlatformAccelerator(m_accelerator)); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatformAccelerator.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatformAccelerator.cpp deleted file mode 100644 index 7996658e147..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatformAccelerator.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -namespace TargetPlatformAcceleratorMapper { - -static const int NVIDIA_HASH = HashingUtils::HashString("NVIDIA"); - -TargetPlatformAccelerator GetTargetPlatformAcceleratorForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == NVIDIA_HASH) { - return TargetPlatformAccelerator::NVIDIA; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return TargetPlatformAccelerator::NOT_SET; -} - -Aws::String GetNameForTargetPlatformAccelerator(TargetPlatformAccelerator enumValue) { - switch (enumValue) { - case TargetPlatformAccelerator::NOT_SET: - return {}; - case TargetPlatformAccelerator::NVIDIA: - return "NVIDIA"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace TargetPlatformAcceleratorMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatformArch.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatformArch.cpp deleted file mode 100644 index e0d9b2a4ff8..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatformArch.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -namespace TargetPlatformArchMapper { - -static const int ARM64_HASH = HashingUtils::HashString("ARM64"); -static const int X86_64_HASH = HashingUtils::HashString("X86_64"); - -TargetPlatformArch GetTargetPlatformArchForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == ARM64_HASH) { - return TargetPlatformArch::ARM64; - } else if (hashCode == X86_64_HASH) { - return TargetPlatformArch::X86_64; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return TargetPlatformArch::NOT_SET; -} - -Aws::String GetNameForTargetPlatformArch(TargetPlatformArch enumValue) { - switch (enumValue) { - case TargetPlatformArch::NOT_SET: - return {}; - case TargetPlatformArch::ARM64: - return "ARM64"; - case TargetPlatformArch::X86_64: - return "X86_64"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace TargetPlatformArchMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatformOs.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatformOs.cpp deleted file mode 100644 index 117dbf9df2d..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/TargetPlatformOs.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { -namespace TargetPlatformOsMapper { - -static const int LINUX_HASH = HashingUtils::HashString("LINUX"); - -TargetPlatformOs GetTargetPlatformOsForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == LINUX_HASH) { - return TargetPlatformOs::LINUX; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return TargetPlatformOs::NOT_SET; -} - -Aws::String GetNameForTargetPlatformOs(TargetPlatformOs enumValue) { - switch (enumValue) { - case TargetPlatformOs::NOT_SET: - return {}; - case TargetPlatformOs::LINUX: - return "LINUX"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace TargetPlatformOsMapper -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ThrottlingException.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/ThrottlingException.cpp deleted file mode 100644 index 4f5482a28c7..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/ThrottlingException.cpp +++ /dev/null @@ -1,57 +0,0 @@ -/** - * 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 LookoutforVision { -namespace Model { - -ThrottlingException::ThrottlingException(JsonView jsonValue) { *this = jsonValue; } - -ThrottlingException& ThrottlingException::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Message")) { - m_message = jsonValue.GetString("Message"); - m_messageHasBeenSet = true; - } - if (jsonValue.ValueExists("QuotaCode")) { - m_quotaCode = jsonValue.GetString("QuotaCode"); - m_quotaCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("ServiceCode")) { - m_serviceCode = jsonValue.GetString("ServiceCode"); - m_serviceCodeHasBeenSet = true; - } - return *this; -} - -JsonValue ThrottlingException::Jsonize() const { - JsonValue payload; - - if (m_messageHasBeenSet) { - payload.WithString("Message", m_message); - } - - if (m_quotaCodeHasBeenSet) { - payload.WithString("QuotaCode", m_quotaCode); - } - - if (m_serviceCodeHasBeenSet) { - payload.WithString("ServiceCode", m_serviceCode); - } - - return payload; -} - -} // namespace Model -} // namespace LookoutforVision -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/UntagResourceRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/UntagResourceRequest.cpp deleted file mode 100644 index 18208a1bdfe..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/UntagResourceRequest.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -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-lookoutvision/source/model/UntagResourceResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/UntagResourceResult.cpp deleted file mode 100644 index ae03a2e197a..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/UntagResourceResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/UpdateDatasetEntriesRequest.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/UpdateDatasetEntriesRequest.cpp deleted file mode 100644 index 6318a97d4b5..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/UpdateDatasetEntriesRequest.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String UpdateDatasetEntriesRequest::SerializePayload() const { - JsonValue payload; - - if (m_changesHasBeenSet) { - payload.WithString("Changes", HashingUtils::Base64Encode(m_changes)); - } - - return payload.View().WriteReadable(); -} - -Aws::Http::HeaderValueCollection UpdateDatasetEntriesRequest::GetRequestSpecificHeaders() const { - Aws::Http::HeaderValueCollection headers; - Aws::StringStream ss; - if (m_clientTokenHasBeenSet) { - ss << m_clientToken; - headers.emplace("x-amzn-client-token", ss.str()); - ss.str(""); - } - - return headers; -} diff --git a/generated/src/aws-cpp-sdk-lookoutvision/source/model/UpdateDatasetEntriesResult.cpp b/generated/src/aws-cpp-sdk-lookoutvision/source/model/UpdateDatasetEntriesResult.cpp deleted file mode 100644 index ecc73eda945..00000000000 --- a/generated/src/aws-cpp-sdk-lookoutvision/source/model/UpdateDatasetEntriesResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::LookoutforVision::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -UpdateDatasetEntriesResult::UpdateDatasetEntriesResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -UpdateDatasetEntriesResult& UpdateDatasetEntriesResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Status")) { - m_status = DatasetStatusMapper::GetDatasetStatusForName(jsonValue.GetString("Status")); - m_statusHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb-session/CMakeLists.txt b/generated/src/aws-cpp-sdk-qldb-session/CMakeLists.txt deleted file mode 100644 index 1b2fdc36d11..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/CMakeLists.txt +++ /dev/null @@ -1,76 +0,0 @@ -add_project(aws-cpp-sdk-qldb-session "C++ SDK for the AWS qldb-session service" aws-cpp-sdk-core) - -file(GLOB AWS_QLDB-SESSION_HEADERS - "include/aws/qldb-session/*.h" -) - -file(GLOB AWS_QLDB-SESSION_MODEL_HEADERS - "include/aws/qldb-session/model/*.h" -) - -file(GLOB AWS_QLDB-SESSION_SOURCE - "source/*.cpp" -) - -file(GLOB AWS_QLDB-SESSION_MODEL_SOURCE - "source/model/*.cpp" -) - -file(GLOB QLDB-SESSION_UNIFIED_HEADERS - ${AWS_QLDB-SESSION_HEADERS} - ${AWS_QLDB-SESSION_MODEL_HEADERS} -) - -file(GLOB QLDB-SESSION_UNITY_SRC - ${AWS_QLDB-SESSION_SOURCE} - ${AWS_QLDB-SESSION_MODEL_SOURCE} -) - -if(ENABLE_UNITY_BUILD) - enable_unity_build("QLDB-SESSION" QLDB-SESSION_UNITY_SRC) -endif() - -file(GLOB QLDB-SESSION_SRC - ${QLDB-SESSION_UNIFIED_HEADERS} - ${QLDB-SESSION_UNITY_SRC} -) - -if(WIN32) - #if we are compiling for visual studio, create a sane directory tree. - if(MSVC) - source_group("Header Files\\aws\\qldb-session" FILES ${AWS_QLDB-SESSION_HEADERS}) - source_group("Header Files\\aws\\qldb-session\\model" FILES ${AWS_QLDB-SESSION_MODEL_HEADERS}) - source_group("Source Files" FILES ${AWS_QLDB-SESSION_SOURCE}) - source_group("Source Files\\model" FILES ${AWS_QLDB-SESSION_MODEL_SOURCE}) - endif(MSVC) -endif() - -set(QLDB-SESSION_INCLUDES - "${CMAKE_CURRENT_SOURCE_DIR}/include/" -) - -add_library(${PROJECT_NAME} ${QLDB-SESSION_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_QLDBSESSION_EXPORTS") -endif() - -target_include_directories(${PROJECT_NAME} PUBLIC - $ - $) - -target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS}) - - -setup_install() - -install (FILES ${AWS_QLDB-SESSION_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/qldb-session) -install (FILES ${AWS_QLDB-SESSION_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/qldb-session/model) - -do_packaging() - - diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionClient.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionClient.h deleted file mode 100644 index e3db6bbe83c..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionClient.h +++ /dev/null @@ -1,142 +0,0 @@ -/** - * 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 QLDBSession { -/** - *

The transactional data APIs for Amazon QLDB

Instead of - * interacting directly with this API, we recommend using the QLDB driver or the - * QLDB shell to execute data transactions on a ledger.

  • If you are - * working with an AWS SDK, use the QLDB driver. The driver provides a high-level - * abstraction layer above this QLDB Session data plane and manages - * SendCommand API calls for you. For information and a list of - * supported programming languages, see Getting - * started with the driver in the Amazon QLDB Developer Guide.

  • - *
  • If you are working with the AWS Command Line Interface (AWS CLI), use - * the QLDB shell. The shell is a command line interface that uses the QLDB driver - * to interact with a ledger. For information, see Accessing - * Amazon QLDB using the QLDB shell.

- */ -class AWS_QLDBSESSION_API QLDBSessionClient : public Aws::Client::AWSJsonClient, - public Aws::Client::ClientWithAsyncTemplateMethods { - public: - typedef Aws::Client::AWSJsonClient BASECLASS; - static const char* GetServiceName(); - static const char* GetAllocationTag(); - - typedef QLDBSessionClientConfiguration ClientConfigurationType; - typedef QLDBSessionEndpointProvider 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. - */ - QLDBSessionClient( - const Aws::QLDBSession::QLDBSessionClientConfiguration& clientConfiguration = Aws::QLDBSession::QLDBSessionClientConfiguration(), - 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. - */ - QLDBSessionClient( - const Aws::Auth::AWSCredentials& credentials, std::shared_ptr endpointProvider = nullptr, - const Aws::QLDBSession::QLDBSessionClientConfiguration& clientConfiguration = Aws::QLDBSession::QLDBSessionClientConfiguration()); - - /** - * 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 - */ - QLDBSessionClient( - const std::shared_ptr& credentialsProvider, - std::shared_ptr endpointProvider = nullptr, - const Aws::QLDBSession::QLDBSessionClientConfiguration& clientConfiguration = Aws::QLDBSession::QLDBSessionClientConfiguration()); - - /* 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. - */ - QLDBSessionClient(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. - */ - QLDBSessionClient(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 - */ - QLDBSessionClient(const std::shared_ptr& credentialsProvider, - const Aws::Client::ClientConfiguration& clientConfiguration); - - /* End of legacy constructors due deprecation */ - virtual ~QLDBSessionClient(); - - /** - *

Sends a command to an Amazon QLDB ledger.

Instead of - * interacting directly with this API, we recommend using the QLDB driver or the - * QLDB shell to execute data transactions on a ledger.

  • If you are - * working with an AWS SDK, use the QLDB driver. The driver provides a high-level - * abstraction layer above this QLDB Session data plane and manages - * SendCommand API calls for you. For information and a list of - * supported programming languages, see Getting - * started with the driver in the Amazon QLDB Developer Guide.

  • - *
  • If you are working with the AWS Command Line Interface (AWS CLI), use - * the QLDB shell. The shell is a command line interface that uses the QLDB driver - * to interact with a ledger. For information, see Accessing - * Amazon QLDB using the QLDB shell.

See - * Also:

AWS - * API Reference

- */ - virtual Model::SendCommandOutcome SendCommand(const Model::SendCommandRequest& request = {}) const; - - /** - * A Callable wrapper for SendCommand that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::SendCommandOutcomeCallable SendCommandCallable(const SendCommandRequestT& request = {}) const { - return SubmitCallable(&QLDBSessionClient::SendCommand, request); - } - - /** - * An Async wrapper for SendCommand that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void SendCommandAsync(const SendCommandResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const SendCommandRequestT& request = {}) const { - return SubmitAsync(&QLDBSessionClient::SendCommand, request, handler, context); - } - - void OverrideEndpoint(const Aws::String& endpoint); - std::shared_ptr& accessEndpointProvider(); - - private: - friend class Aws::Client::ClientWithAsyncTemplateMethods; - void init(const QLDBSessionClientConfiguration& clientConfiguration); - - QLDBSessionClientConfiguration m_clientConfiguration; - std::shared_ptr m_endpointProvider; -}; - -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionEndpointProvider.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionEndpointProvider.h deleted file mode 100644 index 060cd3d2360..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionEndpointProvider.h +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 QLDBSession { -namespace Endpoint { -using EndpointParameters = Aws::Endpoint::EndpointParameters; -using Aws::Endpoint::DefaultEndpointProvider; -using Aws::Endpoint::EndpointProviderBase; - -using QLDBSessionClientContextParameters = Aws::Endpoint::ClientContextParameters; - -using QLDBSessionClientConfiguration = Aws::Client::GenericClientConfiguration; -using QLDBSessionBuiltInParameters = Aws::Endpoint::BuiltInParameters; - -/** - * The type for the QLDBSession 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 QLDBSessionEndpointProviderBase = - EndpointProviderBase; - -using QLDBSessionDefaultEpProviderBase = - DefaultEndpointProvider; - -/** - * Default endpoint provider used for this service - */ -class AWS_QLDBSESSION_API QLDBSessionEndpointProvider : public QLDBSessionDefaultEpProviderBase { - public: - using QLDBSessionResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; - - QLDBSessionEndpointProvider() - : QLDBSessionDefaultEpProviderBase(Aws::QLDBSession::QLDBSessionEndpointRules::GetRulesBlob(), - Aws::QLDBSession::QLDBSessionEndpointRules::RulesBlobSize) {} - - ~QLDBSessionEndpointProvider() {} -}; -} // namespace Endpoint -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionEndpointRules.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionEndpointRules.h deleted file mode 100644 index d3ebfaf3c73..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionEndpointRules.h +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include - -#include - -namespace Aws { -namespace QLDBSession { -class QLDBSessionEndpointRules { - public: - static const size_t RulesBlobStrLen; - static const size_t RulesBlobSize; - - static const char* GetRulesBlob(); -}; -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionErrorMarshaller.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionErrorMarshaller.h deleted file mode 100644 index 33962a7d402..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionErrorMarshaller.h +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 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_QLDBSESSION_API QLDBSessionErrorMarshaller : 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-qldb-session/include/aws/qldb-session/QLDBSessionErrors.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionErrors.h deleted file mode 100644 index 0e9fd3b2239..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionErrors.h +++ /dev/null @@ -1,72 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once - -#include -#include -#include - -namespace Aws { -namespace QLDBSession { -enum class QLDBSessionErrors { - // 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, - /////////////////////////////////////////////////////////////////////////////////////////// - - BAD_REQUEST = static_cast(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1, - CAPACITY_EXCEEDED, - INVALID_SESSION, - LIMIT_EXCEEDED, - OCC_CONFLICT, - RATE_EXCEEDED -}; - -class AWS_QLDBSESSION_API QLDBSessionError : public Aws::Client::AWSError { - public: - QLDBSessionError() {} - QLDBSessionError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} - QLDBSessionError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} - QLDBSessionError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} - QLDBSessionError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} - - template - T GetModeledError(); -}; - -namespace QLDBSessionErrorMapper { -AWS_QLDBSESSION_API Aws::Client::AWSError GetErrorForName(const char* errorName); -} - -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionRequest.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionRequest.h deleted file mode 100644 index 25b3eb1708d..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionRequest.h +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 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 QLDBSession { -class AWS_QLDBSESSION_API QLDBSessionRequest : public Aws::AmazonSerializableWebServiceRequest { - public: - using EndpointParameter = Aws::Endpoint::EndpointParameter; - using EndpointParameters = Aws::Endpoint::EndpointParameters; - - virtual ~QLDBSessionRequest() {} - - 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::AMZN_JSON_CONTENT_TYPE_1_0)); - } - headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2019-07-11")); - return headers; - } - - protected: - virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); } -}; - -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionServiceClientModel.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionServiceClientModel.h deleted file mode 100644 index 17e7795b429..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSessionServiceClientModel.h +++ /dev/null @@ -1,77 +0,0 @@ -/** - * 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 QLDBSessionClient header */ -#include -#include -/* End of service model headers required in QLDBSessionClient header */ - -namespace Aws { -namespace Http { -class HttpClient; -class HttpClientFactory; -} // namespace Http - -namespace Utils { -template -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 QLDBSession { -using QLDBSessionClientConfiguration = Aws::Client::GenericClientConfiguration; -using QLDBSessionEndpointProviderBase = Aws::QLDBSession::Endpoint::QLDBSessionEndpointProviderBase; -using QLDBSessionEndpointProvider = Aws::QLDBSession::Endpoint::QLDBSessionEndpointProvider; - -namespace Model { -/* Service model forward declarations required in QLDBSessionClient header */ -class SendCommandRequest; -/* End of service model forward declarations required in QLDBSessionClient header */ - -/* Service model Outcome class definitions */ -typedef Aws::Utils::Outcome SendCommandOutcome; -/* End of service model Outcome class definitions */ - -/* Service model Outcome callable definitions */ -typedef std::future SendCommandOutcomeCallable; -/* End of service model Outcome callable definitions */ -} // namespace Model - -class QLDBSessionClient; - -/* Service model async handlers definitions */ -typedef std::function&)> - SendCommandResponseReceivedHandler; -/* End of service model async handlers definitions */ -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSession_EXPORTS.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSession_EXPORTS.h deleted file mode 100644 index 9afa41066d4..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/QLDBSession_EXPORTS.h +++ /dev/null @@ -1,32 +0,0 @@ -/** - * 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_QLDBSESSION_EXPORTS -#define AWS_QLDBSESSION_API __declspec(dllexport) -#else -#define AWS_QLDBSESSION_API __declspec(dllimport) -#endif /* AWS_QLDBSESSION_EXPORTS */ -#define AWS_QLDBSESSION_EXTERN -#else -#define AWS_QLDBSESSION_API -#define AWS_QLDBSESSION_EXTERN extern -#endif // USE_IMPORT_EXPORT -#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) -#define AWS_QLDBSESSION_API -#define AWS_QLDBSESSION_EXTERN extern -#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/AbortTransactionRequest.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/AbortTransactionRequest.h deleted file mode 100644 index e750794e3d1..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/AbortTransactionRequest.h +++ /dev/null @@ -1,35 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Contains the details of the transaction to abort.

See Also:

- * AWS - * API Reference

- */ -class AbortTransactionRequest { - public: - AWS_QLDBSESSION_API AbortTransactionRequest() = default; - AWS_QLDBSESSION_API AbortTransactionRequest(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API AbortTransactionRequest& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/AbortTransactionResult.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/AbortTransactionResult.h deleted file mode 100644 index a9570ba8d74..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/AbortTransactionResult.h +++ /dev/null @@ -1,59 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Contains the details of the aborted transaction.

See Also:

- * AWS - * API Reference

- */ -class AbortTransactionResult { - public: - AWS_QLDBSESSION_API AbortTransactionResult() = default; - AWS_QLDBSESSION_API AbortTransactionResult(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API AbortTransactionResult& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Contains server-side performance information for the command.

- */ - inline const TimingInformation& GetTimingInformation() const { return m_timingInformation; } - inline bool TimingInformationHasBeenSet() const { return m_timingInformationHasBeenSet; } - template - void SetTimingInformation(TimingInformationT&& value) { - m_timingInformationHasBeenSet = true; - m_timingInformation = std::forward(value); - } - template - AbortTransactionResult& WithTimingInformation(TimingInformationT&& value) { - SetTimingInformation(std::forward(value)); - return *this; - } - ///@} - private: - TimingInformation m_timingInformation; - bool m_timingInformationHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/BadRequestException.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/BadRequestException.h deleted file mode 100644 index c5d70d09787..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/BadRequestException.h +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Returned if the request is malformed or contains an error such as an invalid - * parameter value or a missing required parameter.

See Also:

AWS - * API Reference

- */ -class BadRequestException { - public: - AWS_QLDBSESSION_API BadRequestException() = default; - AWS_QLDBSESSION_API BadRequestException(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API BadRequestException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - BadRequestException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetCode() const { return m_code; } - inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } - template - void SetCode(CodeT&& value) { - m_codeHasBeenSet = true; - m_code = std::forward(value); - } - template - BadRequestException& WithCode(CodeT&& value) { - SetCode(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - - Aws::String m_code; - bool m_codeHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/CommitTransactionRequest.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/CommitTransactionRequest.h deleted file mode 100644 index 073b225adac..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/CommitTransactionRequest.h +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Contains the details of the transaction to commit.

See Also:

- * AWS - * API Reference

- */ -class CommitTransactionRequest { - public: - AWS_QLDBSESSION_API CommitTransactionRequest() = default; - AWS_QLDBSESSION_API CommitTransactionRequest(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API CommitTransactionRequest& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Specifies the transaction ID of the transaction to commit.

- */ - inline const Aws::String& GetTransactionId() const { return m_transactionId; } - inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; } - template - void SetTransactionId(TransactionIdT&& value) { - m_transactionIdHasBeenSet = true; - m_transactionId = std::forward(value); - } - template - CommitTransactionRequest& WithTransactionId(TransactionIdT&& value) { - SetTransactionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Specifies the commit digest for the transaction to commit. For every active - * transaction, the commit digest must be passed. QLDB validates - * CommitDigest and rejects the commit with an error if the digest - * computed on the client does not match the digest computed by QLDB.

The - * purpose of the CommitDigest parameter is to ensure that QLDB - * commits a transaction if and only if the server has processed the exact set of - * statements sent by the client, in the same order that client sent them, and with - * no duplicates.

- */ - inline const Aws::Utils::ByteBuffer& GetCommitDigest() const { return m_commitDigest; } - inline bool CommitDigestHasBeenSet() const { return m_commitDigestHasBeenSet; } - template - void SetCommitDigest(CommitDigestT&& value) { - m_commitDigestHasBeenSet = true; - m_commitDigest = std::forward(value); - } - template - CommitTransactionRequest& WithCommitDigest(CommitDigestT&& value) { - SetCommitDigest(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_transactionId; - bool m_transactionIdHasBeenSet = false; - - Aws::Utils::ByteBuffer m_commitDigest{}; - bool m_commitDigestHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/CommitTransactionResult.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/CommitTransactionResult.h deleted file mode 100644 index 0011c3a6078..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/CommitTransactionResult.h +++ /dev/null @@ -1,125 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Contains the details of the committed transaction.

See Also:

- * AWS - * API Reference

- */ -class CommitTransactionResult { - public: - AWS_QLDBSESSION_API CommitTransactionResult() = default; - AWS_QLDBSESSION_API CommitTransactionResult(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API CommitTransactionResult& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The transaction ID of the committed transaction.

- */ - inline const Aws::String& GetTransactionId() const { return m_transactionId; } - inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; } - template - void SetTransactionId(TransactionIdT&& value) { - m_transactionIdHasBeenSet = true; - m_transactionId = std::forward(value); - } - template - CommitTransactionResult& WithTransactionId(TransactionIdT&& value) { - SetTransactionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The commit digest of the committed transaction.

- */ - inline const Aws::Utils::ByteBuffer& GetCommitDigest() const { return m_commitDigest; } - inline bool CommitDigestHasBeenSet() const { return m_commitDigestHasBeenSet; } - template - void SetCommitDigest(CommitDigestT&& value) { - m_commitDigestHasBeenSet = true; - m_commitDigest = std::forward(value); - } - template - CommitTransactionResult& WithCommitDigest(CommitDigestT&& value) { - SetCommitDigest(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains server-side performance information for the command.

- */ - inline const TimingInformation& GetTimingInformation() const { return m_timingInformation; } - inline bool TimingInformationHasBeenSet() const { return m_timingInformationHasBeenSet; } - template - void SetTimingInformation(TimingInformationT&& value) { - m_timingInformationHasBeenSet = true; - m_timingInformation = std::forward(value); - } - template - CommitTransactionResult& WithTimingInformation(TimingInformationT&& value) { - SetTimingInformation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains metrics about the number of I/O requests that were consumed.

- */ - inline const IOUsage& GetConsumedIOs() const { return m_consumedIOs; } - inline bool ConsumedIOsHasBeenSet() const { return m_consumedIOsHasBeenSet; } - template - void SetConsumedIOs(ConsumedIOsT&& value) { - m_consumedIOsHasBeenSet = true; - m_consumedIOs = std::forward(value); - } - template - CommitTransactionResult& WithConsumedIOs(ConsumedIOsT&& value) { - SetConsumedIOs(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_transactionId; - bool m_transactionIdHasBeenSet = false; - - Aws::Utils::ByteBuffer m_commitDigest{}; - bool m_commitDigestHasBeenSet = false; - - TimingInformation m_timingInformation; - bool m_timingInformationHasBeenSet = false; - - IOUsage m_consumedIOs; - bool m_consumedIOsHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/EndSessionRequest.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/EndSessionRequest.h deleted file mode 100644 index 27335256281..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/EndSessionRequest.h +++ /dev/null @@ -1,34 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Specifies a request to end the session.

See Also:

AWS - * API Reference

- */ -class EndSessionRequest { - public: - AWS_QLDBSESSION_API EndSessionRequest() = default; - AWS_QLDBSESSION_API EndSessionRequest(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API EndSessionRequest& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/EndSessionResult.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/EndSessionResult.h deleted file mode 100644 index b94989ea45f..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/EndSessionResult.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Contains the details of the ended session.

See Also:

AWS - * API Reference

- */ -class EndSessionResult { - public: - AWS_QLDBSESSION_API EndSessionResult() = default; - AWS_QLDBSESSION_API EndSessionResult(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API EndSessionResult& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Contains server-side performance information for the command.

- */ - inline const TimingInformation& GetTimingInformation() const { return m_timingInformation; } - inline bool TimingInformationHasBeenSet() const { return m_timingInformationHasBeenSet; } - template - void SetTimingInformation(TimingInformationT&& value) { - m_timingInformationHasBeenSet = true; - m_timingInformation = std::forward(value); - } - template - EndSessionResult& WithTimingInformation(TimingInformationT&& value) { - SetTimingInformation(std::forward(value)); - return *this; - } - ///@} - private: - TimingInformation m_timingInformation; - bool m_timingInformationHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/ExecuteStatementRequest.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/ExecuteStatementRequest.h deleted file mode 100644 index 0caaae8bff0..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/ExecuteStatementRequest.h +++ /dev/null @@ -1,108 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Specifies a request to execute a statement.

See Also:

AWS - * API Reference

- */ -class ExecuteStatementRequest { - public: - AWS_QLDBSESSION_API ExecuteStatementRequest() = default; - AWS_QLDBSESSION_API ExecuteStatementRequest(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API ExecuteStatementRequest& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Specifies the transaction ID of the request.

- */ - inline const Aws::String& GetTransactionId() const { return m_transactionId; } - inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; } - template - void SetTransactionId(TransactionIdT&& value) { - m_transactionIdHasBeenSet = true; - m_transactionId = std::forward(value); - } - template - ExecuteStatementRequest& WithTransactionId(TransactionIdT&& value) { - SetTransactionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Specifies the statement of the request.

- */ - inline const Aws::String& GetStatement() const { return m_statement; } - inline bool StatementHasBeenSet() const { return m_statementHasBeenSet; } - template - void SetStatement(StatementT&& value) { - m_statementHasBeenSet = true; - m_statement = std::forward(value); - } - template - ExecuteStatementRequest& WithStatement(StatementT&& value) { - SetStatement(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Specifies the parameters for the parameterized statement in the request.

- */ - inline const Aws::Vector& GetParameters() const { return m_parameters; } - inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } - template > - void SetParameters(ParametersT&& value) { - m_parametersHasBeenSet = true; - m_parameters = std::forward(value); - } - template > - ExecuteStatementRequest& WithParameters(ParametersT&& value) { - SetParameters(std::forward(value)); - return *this; - } - template - ExecuteStatementRequest& AddParameters(ParametersT&& value) { - m_parametersHasBeenSet = true; - m_parameters.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_transactionId; - bool m_transactionIdHasBeenSet = false; - - Aws::String m_statement; - bool m_statementHasBeenSet = false; - - Aws::Vector m_parameters; - bool m_parametersHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/ExecuteStatementResult.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/ExecuteStatementResult.h deleted file mode 100644 index 48c4e97e060..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/ExecuteStatementResult.h +++ /dev/null @@ -1,102 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Contains the details of the executed statement.

See Also:

AWS - * API Reference

- */ -class ExecuteStatementResult { - public: - AWS_QLDBSESSION_API ExecuteStatementResult() = default; - AWS_QLDBSESSION_API ExecuteStatementResult(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API ExecuteStatementResult& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Contains the details of the first fetched page.

- */ - inline const Page& GetFirstPage() const { return m_firstPage; } - inline bool FirstPageHasBeenSet() const { return m_firstPageHasBeenSet; } - template - void SetFirstPage(FirstPageT&& value) { - m_firstPageHasBeenSet = true; - m_firstPage = std::forward(value); - } - template - ExecuteStatementResult& WithFirstPage(FirstPageT&& value) { - SetFirstPage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains server-side performance information for the command.

- */ - inline const TimingInformation& GetTimingInformation() const { return m_timingInformation; } - inline bool TimingInformationHasBeenSet() const { return m_timingInformationHasBeenSet; } - template - void SetTimingInformation(TimingInformationT&& value) { - m_timingInformationHasBeenSet = true; - m_timingInformation = std::forward(value); - } - template - ExecuteStatementResult& WithTimingInformation(TimingInformationT&& value) { - SetTimingInformation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains metrics about the number of I/O requests that were consumed.

- */ - inline const IOUsage& GetConsumedIOs() const { return m_consumedIOs; } - inline bool ConsumedIOsHasBeenSet() const { return m_consumedIOsHasBeenSet; } - template - void SetConsumedIOs(ConsumedIOsT&& value) { - m_consumedIOsHasBeenSet = true; - m_consumedIOs = std::forward(value); - } - template - ExecuteStatementResult& WithConsumedIOs(ConsumedIOsT&& value) { - SetConsumedIOs(std::forward(value)); - return *this; - } - ///@} - private: - Page m_firstPage; - bool m_firstPageHasBeenSet = false; - - TimingInformation m_timingInformation; - bool m_timingInformationHasBeenSet = false; - - IOUsage m_consumedIOs; - bool m_consumedIOsHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/FetchPageRequest.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/FetchPageRequest.h deleted file mode 100644 index 084cdc95013..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/FetchPageRequest.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Specifies the details of the page to be fetched.

See Also:

- * AWS - * API Reference

- */ -class FetchPageRequest { - public: - AWS_QLDBSESSION_API FetchPageRequest() = default; - AWS_QLDBSESSION_API FetchPageRequest(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API FetchPageRequest& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Specifies the transaction ID of the page to be fetched.

- */ - inline const Aws::String& GetTransactionId() const { return m_transactionId; } - inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; } - template - void SetTransactionId(TransactionIdT&& value) { - m_transactionIdHasBeenSet = true; - m_transactionId = std::forward(value); - } - template - FetchPageRequest& WithTransactionId(TransactionIdT&& value) { - SetTransactionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Specifies the next page token of the page to be fetched.

- */ - inline const Aws::String& GetNextPageToken() const { return m_nextPageToken; } - inline bool NextPageTokenHasBeenSet() const { return m_nextPageTokenHasBeenSet; } - template - void SetNextPageToken(NextPageTokenT&& value) { - m_nextPageTokenHasBeenSet = true; - m_nextPageToken = std::forward(value); - } - template - FetchPageRequest& WithNextPageToken(NextPageTokenT&& value) { - SetNextPageToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_transactionId; - bool m_transactionIdHasBeenSet = false; - - Aws::String m_nextPageToken; - bool m_nextPageTokenHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/FetchPageResult.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/FetchPageResult.h deleted file mode 100644 index 722cc89ac7d..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/FetchPageResult.h +++ /dev/null @@ -1,102 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Contains the page that was fetched.

See Also:

AWS - * API Reference

- */ -class FetchPageResult { - public: - AWS_QLDBSESSION_API FetchPageResult() = default; - AWS_QLDBSESSION_API FetchPageResult(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API FetchPageResult& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Contains details of the fetched page.

- */ - inline const Page& GetPage() const { return m_page; } - inline bool PageHasBeenSet() const { return m_pageHasBeenSet; } - template - void SetPage(PageT&& value) { - m_pageHasBeenSet = true; - m_page = std::forward(value); - } - template - FetchPageResult& WithPage(PageT&& value) { - SetPage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains server-side performance information for the command.

- */ - inline const TimingInformation& GetTimingInformation() const { return m_timingInformation; } - inline bool TimingInformationHasBeenSet() const { return m_timingInformationHasBeenSet; } - template - void SetTimingInformation(TimingInformationT&& value) { - m_timingInformationHasBeenSet = true; - m_timingInformation = std::forward(value); - } - template - FetchPageResult& WithTimingInformation(TimingInformationT&& value) { - SetTimingInformation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains metrics about the number of I/O requests that were consumed.

- */ - inline const IOUsage& GetConsumedIOs() const { return m_consumedIOs; } - inline bool ConsumedIOsHasBeenSet() const { return m_consumedIOsHasBeenSet; } - template - void SetConsumedIOs(ConsumedIOsT&& value) { - m_consumedIOsHasBeenSet = true; - m_consumedIOs = std::forward(value); - } - template - FetchPageResult& WithConsumedIOs(ConsumedIOsT&& value) { - SetConsumedIOs(std::forward(value)); - return *this; - } - ///@} - private: - Page m_page; - bool m_pageHasBeenSet = false; - - TimingInformation m_timingInformation; - bool m_timingInformationHasBeenSet = false; - - IOUsage m_consumedIOs; - bool m_consumedIOsHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/IOUsage.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/IOUsage.h deleted file mode 100644 index 3bc69da0e8e..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/IOUsage.h +++ /dev/null @@ -1,73 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Contains I/O usage metrics for a command that was invoked.

See - * Also:

AWS - * API Reference

- */ -class IOUsage { - public: - AWS_QLDBSESSION_API IOUsage() = default; - AWS_QLDBSESSION_API IOUsage(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API IOUsage& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The number of read I/O requests that the command made.

- */ - inline long long GetReadIOs() const { return m_readIOs; } - inline bool ReadIOsHasBeenSet() const { return m_readIOsHasBeenSet; } - inline void SetReadIOs(long long value) { - m_readIOsHasBeenSet = true; - m_readIOs = value; - } - inline IOUsage& WithReadIOs(long long value) { - SetReadIOs(value); - return *this; - } - ///@} - - ///@{ - /** - *

The number of write I/O requests that the command made.

- */ - inline long long GetWriteIOs() const { return m_writeIOs; } - inline bool WriteIOsHasBeenSet() const { return m_writeIOsHasBeenSet; } - inline void SetWriteIOs(long long value) { - m_writeIOsHasBeenSet = true; - m_writeIOs = value; - } - inline IOUsage& WithWriteIOs(long long value) { - SetWriteIOs(value); - return *this; - } - ///@} - private: - long long m_readIOs{0}; - bool m_readIOsHasBeenSet = false; - - long long m_writeIOs{0}; - bool m_writeIOsHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/InvalidSessionException.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/InvalidSessionException.h deleted file mode 100644 index 50a25752159..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/InvalidSessionException.h +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Returned if the session doesn't exist anymore because it timed out or - * expired.

See Also:

AWS - * API Reference

- */ -class InvalidSessionException { - public: - AWS_QLDBSESSION_API InvalidSessionException() = default; - AWS_QLDBSESSION_API InvalidSessionException(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API InvalidSessionException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - InvalidSessionException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetCode() const { return m_code; } - inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } - template - void SetCode(CodeT&& value) { - m_codeHasBeenSet = true; - m_code = std::forward(value); - } - template - InvalidSessionException& WithCode(CodeT&& value) { - SetCode(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - - Aws::String m_code; - bool m_codeHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/Page.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/Page.h deleted file mode 100644 index d7f39b21bbf..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/Page.h +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Contains details of the fetched page.

See Also:

AWS - * API Reference

- */ -class Page { - public: - AWS_QLDBSESSION_API Page() = default; - AWS_QLDBSESSION_API Page(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Page& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

A structure that contains values in multiple encoding formats.

- */ - inline const Aws::Vector& GetValues() const { return m_values; } - inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } - template > - void SetValues(ValuesT&& value) { - m_valuesHasBeenSet = true; - m_values = std::forward(value); - } - template > - Page& WithValues(ValuesT&& value) { - SetValues(std::forward(value)); - return *this; - } - template - Page& AddValues(ValuesT&& value) { - m_valuesHasBeenSet = true; - m_values.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The token of the next page.

- */ - inline const Aws::String& GetNextPageToken() const { return m_nextPageToken; } - inline bool NextPageTokenHasBeenSet() const { return m_nextPageTokenHasBeenSet; } - template - void SetNextPageToken(NextPageTokenT&& value) { - m_nextPageTokenHasBeenSet = true; - m_nextPageToken = std::forward(value); - } - template - Page& WithNextPageToken(NextPageTokenT&& value) { - SetNextPageToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_values; - bool m_valuesHasBeenSet = false; - - Aws::String m_nextPageToken; - bool m_nextPageTokenHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/SendCommandRequest.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/SendCommandRequest.h deleted file mode 100644 index 45a273e5297..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/SendCommandRequest.h +++ /dev/null @@ -1,216 +0,0 @@ -/** - * 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 -#include - -#include - -namespace Aws { -namespace QLDBSession { -namespace Model { - -/** - */ -class SendCommandRequest : public QLDBSessionRequest { - public: - AWS_QLDBSESSION_API SendCommandRequest() = default; - - // 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 "SendCommand"; } - - AWS_QLDBSESSION_API Aws::String SerializePayload() const override; - - AWS_QLDBSESSION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - - ///@{ - /** - *

Specifies the session token for the current command. A session token is - * constant throughout the life of the session.

To obtain a session token, - * run the StartSession command. This SessionToken is - * required for every subsequent command that is issued during the current - * session.

- */ - inline const Aws::String& GetSessionToken() const { return m_sessionToken; } - inline bool SessionTokenHasBeenSet() const { return m_sessionTokenHasBeenSet; } - template - void SetSessionToken(SessionTokenT&& value) { - m_sessionTokenHasBeenSet = true; - m_sessionToken = std::forward(value); - } - template - SendCommandRequest& WithSessionToken(SessionTokenT&& value) { - SetSessionToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Command to start a new session. A session token is obtained as part of the - * response.

- */ - inline const StartSessionRequest& GetStartSession() const { return m_startSession; } - inline bool StartSessionHasBeenSet() const { return m_startSessionHasBeenSet; } - template - void SetStartSession(StartSessionT&& value) { - m_startSessionHasBeenSet = true; - m_startSession = std::forward(value); - } - template - SendCommandRequest& WithStartSession(StartSessionT&& value) { - SetStartSession(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Command to start a new transaction.

- */ - inline const StartTransactionRequest& GetStartTransaction() const { return m_startTransaction; } - inline bool StartTransactionHasBeenSet() const { return m_startTransactionHasBeenSet; } - template - void SetStartTransaction(StartTransactionT&& value) { - m_startTransactionHasBeenSet = true; - m_startTransaction = std::forward(value); - } - template - SendCommandRequest& WithStartTransaction(StartTransactionT&& value) { - SetStartTransaction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Command to end the current session.

- */ - inline const EndSessionRequest& GetEndSession() const { return m_endSession; } - inline bool EndSessionHasBeenSet() const { return m_endSessionHasBeenSet; } - template - void SetEndSession(EndSessionT&& value) { - m_endSessionHasBeenSet = true; - m_endSession = std::forward(value); - } - template - SendCommandRequest& WithEndSession(EndSessionT&& value) { - SetEndSession(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Command to commit the specified transaction.

- */ - inline const CommitTransactionRequest& GetCommitTransaction() const { return m_commitTransaction; } - inline bool CommitTransactionHasBeenSet() const { return m_commitTransactionHasBeenSet; } - template - void SetCommitTransaction(CommitTransactionT&& value) { - m_commitTransactionHasBeenSet = true; - m_commitTransaction = std::forward(value); - } - template - SendCommandRequest& WithCommitTransaction(CommitTransactionT&& value) { - SetCommitTransaction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Command to abort the current transaction.

- */ - inline const AbortTransactionRequest& GetAbortTransaction() const { return m_abortTransaction; } - inline bool AbortTransactionHasBeenSet() const { return m_abortTransactionHasBeenSet; } - template - void SetAbortTransaction(AbortTransactionT&& value) { - m_abortTransactionHasBeenSet = true; - m_abortTransaction = std::forward(value); - } - template - SendCommandRequest& WithAbortTransaction(AbortTransactionT&& value) { - SetAbortTransaction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Command to execute a statement in the specified transaction.

- */ - inline const ExecuteStatementRequest& GetExecuteStatement() const { return m_executeStatement; } - inline bool ExecuteStatementHasBeenSet() const { return m_executeStatementHasBeenSet; } - template - void SetExecuteStatement(ExecuteStatementT&& value) { - m_executeStatementHasBeenSet = true; - m_executeStatement = std::forward(value); - } - template - SendCommandRequest& WithExecuteStatement(ExecuteStatementT&& value) { - SetExecuteStatement(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Command to fetch a page.

- */ - inline const FetchPageRequest& GetFetchPage() const { return m_fetchPage; } - inline bool FetchPageHasBeenSet() const { return m_fetchPageHasBeenSet; } - template - void SetFetchPage(FetchPageT&& value) { - m_fetchPageHasBeenSet = true; - m_fetchPage = std::forward(value); - } - template - SendCommandRequest& WithFetchPage(FetchPageT&& value) { - SetFetchPage(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_sessionToken; - bool m_sessionTokenHasBeenSet = false; - - StartSessionRequest m_startSession; - bool m_startSessionHasBeenSet = false; - - StartTransactionRequest m_startTransaction; - bool m_startTransactionHasBeenSet = false; - - EndSessionRequest m_endSession; - bool m_endSessionHasBeenSet = false; - - CommitTransactionRequest m_commitTransaction; - bool m_commitTransactionHasBeenSet = false; - - AbortTransactionRequest m_abortTransaction; - bool m_abortTransactionHasBeenSet = false; - - ExecuteStatementRequest m_executeStatement; - bool m_executeStatementHasBeenSet = false; - - FetchPageRequest m_fetchPage; - bool m_fetchPageHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/SendCommandResult.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/SendCommandResult.h deleted file mode 100644 index 8da165e236e..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/SendCommandResult.h +++ /dev/null @@ -1,199 +0,0 @@ -/** - * 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 - -#include - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace QLDBSession { -namespace Model { -class SendCommandResult { - public: - AWS_QLDBSESSION_API SendCommandResult() = default; - AWS_QLDBSESSION_API SendCommandResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDBSESSION_API SendCommandResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Contains the details of the started session that includes a session token. - * This SessionToken is required for every subsequent command that is - * issued during the current session.

- */ - inline const StartSessionResult& GetStartSession() const { return m_startSession; } - template - void SetStartSession(StartSessionT&& value) { - m_startSessionHasBeenSet = true; - m_startSession = std::forward(value); - } - template - SendCommandResult& WithStartSession(StartSessionT&& value) { - SetStartSession(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains the details of the started transaction.

- */ - inline const StartTransactionResult& GetStartTransaction() const { return m_startTransaction; } - template - void SetStartTransaction(StartTransactionT&& value) { - m_startTransactionHasBeenSet = true; - m_startTransaction = std::forward(value); - } - template - SendCommandResult& WithStartTransaction(StartTransactionT&& value) { - SetStartTransaction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains the details of the ended session.

- */ - inline const EndSessionResult& GetEndSession() const { return m_endSession; } - template - void SetEndSession(EndSessionT&& value) { - m_endSessionHasBeenSet = true; - m_endSession = std::forward(value); - } - template - SendCommandResult& WithEndSession(EndSessionT&& value) { - SetEndSession(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains the details of the committed transaction.

- */ - inline const CommitTransactionResult& GetCommitTransaction() const { return m_commitTransaction; } - template - void SetCommitTransaction(CommitTransactionT&& value) { - m_commitTransactionHasBeenSet = true; - m_commitTransaction = std::forward(value); - } - template - SendCommandResult& WithCommitTransaction(CommitTransactionT&& value) { - SetCommitTransaction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains the details of the aborted transaction.

- */ - inline const AbortTransactionResult& GetAbortTransaction() const { return m_abortTransaction; } - template - void SetAbortTransaction(AbortTransactionT&& value) { - m_abortTransactionHasBeenSet = true; - m_abortTransaction = std::forward(value); - } - template - SendCommandResult& WithAbortTransaction(AbortTransactionT&& value) { - SetAbortTransaction(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains the details of the executed statement.

- */ - inline const ExecuteStatementResult& GetExecuteStatement() const { return m_executeStatement; } - template - void SetExecuteStatement(ExecuteStatementT&& value) { - m_executeStatementHasBeenSet = true; - m_executeStatement = std::forward(value); - } - template - SendCommandResult& WithExecuteStatement(ExecuteStatementT&& value) { - SetExecuteStatement(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains the details of the fetched page.

- */ - inline const FetchPageResult& GetFetchPage() const { return m_fetchPage; } - template - void SetFetchPage(FetchPageT&& value) { - m_fetchPageHasBeenSet = true; - m_fetchPage = std::forward(value); - } - template - SendCommandResult& WithFetchPage(FetchPageT&& value) { - SetFetchPage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - SendCommandResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - StartSessionResult m_startSession; - bool m_startSessionHasBeenSet = false; - - StartTransactionResult m_startTransaction; - bool m_startTransactionHasBeenSet = false; - - EndSessionResult m_endSession; - bool m_endSessionHasBeenSet = false; - - CommitTransactionResult m_commitTransaction; - bool m_commitTransactionHasBeenSet = false; - - AbortTransactionResult m_abortTransaction; - bool m_abortTransactionHasBeenSet = false; - - ExecuteStatementResult m_executeStatement; - bool m_executeStatementHasBeenSet = false; - - FetchPageResult m_fetchPage; - bool m_fetchPageHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartSessionRequest.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartSessionRequest.h deleted file mode 100644 index c4b920acc75..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartSessionRequest.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Specifies a request to start a new session.

See Also:

AWS - * API Reference

- */ -class StartSessionRequest { - public: - AWS_QLDBSESSION_API StartSessionRequest() = default; - AWS_QLDBSESSION_API StartSessionRequest(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API StartSessionRequest& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the ledger to start a new session against.

- */ - inline const Aws::String& GetLedgerName() const { return m_ledgerName; } - inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; } - template - void SetLedgerName(LedgerNameT&& value) { - m_ledgerNameHasBeenSet = true; - m_ledgerName = std::forward(value); - } - template - StartSessionRequest& WithLedgerName(LedgerNameT&& value) { - SetLedgerName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_ledgerName; - bool m_ledgerNameHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartSessionResult.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartSessionResult.h deleted file mode 100644 index c85bd703a69..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartSessionResult.h +++ /dev/null @@ -1,82 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Contains the details of the started session.

See Also:

AWS - * API Reference

- */ -class StartSessionResult { - public: - AWS_QLDBSESSION_API StartSessionResult() = default; - AWS_QLDBSESSION_API StartSessionResult(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API StartSessionResult& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Session token of the started session. This SessionToken is - * required for every subsequent command that is issued during the current - * session.

- */ - inline const Aws::String& GetSessionToken() const { return m_sessionToken; } - inline bool SessionTokenHasBeenSet() const { return m_sessionTokenHasBeenSet; } - template - void SetSessionToken(SessionTokenT&& value) { - m_sessionTokenHasBeenSet = true; - m_sessionToken = std::forward(value); - } - template - StartSessionResult& WithSessionToken(SessionTokenT&& value) { - SetSessionToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains server-side performance information for the command.

- */ - inline const TimingInformation& GetTimingInformation() const { return m_timingInformation; } - inline bool TimingInformationHasBeenSet() const { return m_timingInformationHasBeenSet; } - template - void SetTimingInformation(TimingInformationT&& value) { - m_timingInformationHasBeenSet = true; - m_timingInformation = std::forward(value); - } - template - StartSessionResult& WithTimingInformation(TimingInformationT&& value) { - SetTimingInformation(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_sessionToken; - bool m_sessionTokenHasBeenSet = false; - - TimingInformation m_timingInformation; - bool m_timingInformationHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartTransactionRequest.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartTransactionRequest.h deleted file mode 100644 index b75e2ee66db..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartTransactionRequest.h +++ /dev/null @@ -1,34 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Specifies a request to start a transaction.

See Also:

AWS - * API Reference

- */ -class StartTransactionRequest { - public: - AWS_QLDBSESSION_API StartTransactionRequest() = default; - AWS_QLDBSESSION_API StartTransactionRequest(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API StartTransactionRequest& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartTransactionResult.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartTransactionResult.h deleted file mode 100644 index 396c3322c55..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/StartTransactionResult.h +++ /dev/null @@ -1,81 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Contains the details of the started transaction.

See Also:

- * AWS - * API Reference

- */ -class StartTransactionResult { - public: - AWS_QLDBSESSION_API StartTransactionResult() = default; - AWS_QLDBSESSION_API StartTransactionResult(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API StartTransactionResult& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The transaction ID of the started transaction.

- */ - inline const Aws::String& GetTransactionId() const { return m_transactionId; } - inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; } - template - void SetTransactionId(TransactionIdT&& value) { - m_transactionIdHasBeenSet = true; - m_transactionId = std::forward(value); - } - template - StartTransactionResult& WithTransactionId(TransactionIdT&& value) { - SetTransactionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Contains server-side performance information for the command.

- */ - inline const TimingInformation& GetTimingInformation() const { return m_timingInformation; } - inline bool TimingInformationHasBeenSet() const { return m_timingInformationHasBeenSet; } - template - void SetTimingInformation(TimingInformationT&& value) { - m_timingInformationHasBeenSet = true; - m_timingInformation = std::forward(value); - } - template - StartTransactionResult& WithTimingInformation(TimingInformationT&& value) { - SetTimingInformation(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_transactionId; - bool m_transactionIdHasBeenSet = false; - - TimingInformation m_timingInformation; - bool m_timingInformationHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/TimingInformation.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/TimingInformation.h deleted file mode 100644 index 4957f723aaa..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/TimingInformation.h +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

Contains server-side performance information for a command. Amazon QLDB - * captures timing information between the times when it receives the request and - * when it sends the corresponding response.

See Also:

AWS - * API Reference

- */ -class TimingInformation { - public: - AWS_QLDBSESSION_API TimingInformation() = default; - AWS_QLDBSESSION_API TimingInformation(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API TimingInformation& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The amount of time that QLDB spent on processing the command, measured in - * milliseconds.

- */ - inline long long GetProcessingTimeMilliseconds() const { return m_processingTimeMilliseconds; } - inline bool ProcessingTimeMillisecondsHasBeenSet() const { return m_processingTimeMillisecondsHasBeenSet; } - inline void SetProcessingTimeMilliseconds(long long value) { - m_processingTimeMillisecondsHasBeenSet = true; - m_processingTimeMilliseconds = value; - } - inline TimingInformation& WithProcessingTimeMilliseconds(long long value) { - SetProcessingTimeMilliseconds(value); - return *this; - } - ///@} - private: - long long m_processingTimeMilliseconds{0}; - bool m_processingTimeMillisecondsHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/ValueHolder.h b/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/ValueHolder.h deleted file mode 100644 index 02d284c9ce6..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/include/aws/qldb-session/model/ValueHolder.h +++ /dev/null @@ -1,83 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -/** - *

A structure that can contain a value in multiple encoding - * formats.

See Also:

AWS - * API Reference

- */ -class ValueHolder { - public: - AWS_QLDBSESSION_API ValueHolder() = default; - AWS_QLDBSESSION_API ValueHolder(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API ValueHolder& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDBSESSION_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

An Amazon Ion binary value contained in a ValueHolder - * structure.

- */ - inline const Aws::Utils::ByteBuffer& GetIonBinary() const { return m_ionBinary; } - inline bool IonBinaryHasBeenSet() const { return m_ionBinaryHasBeenSet; } - template - void SetIonBinary(IonBinaryT&& value) { - m_ionBinaryHasBeenSet = true; - m_ionBinary = std::forward(value); - } - template - ValueHolder& WithIonBinary(IonBinaryT&& value) { - SetIonBinary(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An Amazon Ion plaintext value contained in a ValueHolder - * structure.

- */ - inline const Aws::String& GetIonText() const { return m_ionText; } - inline bool IonTextHasBeenSet() const { return m_ionTextHasBeenSet; } - template - void SetIonText(IonTextT&& value) { - m_ionTextHasBeenSet = true; - m_ionText = std::forward(value); - } - template - ValueHolder& WithIonText(IonTextT&& value) { - SetIonText(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Utils::ByteBuffer m_ionBinary{}; - bool m_ionBinaryHasBeenSet = false; - - Aws::String m_ionText; - bool m_ionTextHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionClient.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionClient.cpp deleted file mode 100644 index 7c1372be9c4..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionClient.cpp +++ /dev/null @@ -1,167 +0,0 @@ -/** - * 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 - -using namespace Aws; -using namespace Aws::Auth; -using namespace Aws::Client; -using namespace Aws::QLDBSession; -using namespace Aws::QLDBSession::Model; -using namespace Aws::Http; -using namespace Aws::Utils::Json; -using namespace smithy::components::tracing; -using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; - -namespace Aws { -namespace QLDBSession { -const char SERVICE_NAME[] = "qldb"; -const char ALLOCATION_TAG[] = "QLDBSessionClient"; -} // namespace QLDBSession -} // namespace Aws -const char* QLDBSessionClient::GetServiceName() { return SERVICE_NAME; } -const char* QLDBSessionClient::GetAllocationTag() { return ALLOCATION_TAG; } - -QLDBSessionClient::QLDBSessionClient(const QLDBSession::QLDBSessionClientConfiguration& clientConfiguration, - std::shared_ptr endpointProvider) - : BASECLASS(clientConfiguration, - Aws::MakeShared( - ALLOCATION_TAG, - Aws::MakeShared(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig), - 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); -} - -QLDBSessionClient::QLDBSessionClient(const AWSCredentials& credentials, std::shared_ptr endpointProvider, - const QLDBSession::QLDBSessionClientConfiguration& 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); -} - -QLDBSessionClient::QLDBSessionClient(const std::shared_ptr& credentialsProvider, - std::shared_ptr endpointProvider, - const QLDBSession::QLDBSessionClientConfiguration& 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 */ -QLDBSessionClient::QLDBSessionClient(const Client::ClientConfiguration& clientConfiguration) - : BASECLASS(clientConfiguration, - Aws::MakeShared( - ALLOCATION_TAG, - Aws::MakeShared(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig), - SERVICE_NAME, Aws::Region::ComputeSignerRegion(clientConfiguration.region)), - Aws::MakeShared(ALLOCATION_TAG)), - m_clientConfiguration(clientConfiguration), - m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG)) { - init(m_clientConfiguration); -} - -QLDBSessionClient::QLDBSessionClient(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); -} - -QLDBSessionClient::QLDBSessionClient(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 */ -QLDBSessionClient::~QLDBSessionClient() { ShutdownSdkClient(this, -1); } - -std::shared_ptr& QLDBSessionClient::accessEndpointProvider() { return m_endpointProvider; } - -void QLDBSessionClient::init(const QLDBSession::QLDBSessionClientConfiguration& config) { - AWSClient::SetServiceClientName("QLDB Session"); - 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 QLDBSessionClient::OverrideEndpoint(const Aws::String& endpoint) { - AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider); - m_clientConfiguration.endpointOverride = endpoint; - m_endpointProvider->OverrideEndpoint(endpoint); -} - -SendCommandOutcome QLDBSessionClient::SendCommand(const SendCommandRequest& request) const { - AWS_OPERATION_GUARD(SendCommand); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, SendCommand, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, SendCommand, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, SendCommand, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".SendCommand", - {{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( - [&]() -> SendCommandOutcome { - 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, SendCommand, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - return SendCommandOutcome( - 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()}}); -} diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionEndpointProvider.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionEndpointProvider.cpp deleted file mode 100644 index 6c32b80bab7..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionEndpointProvider.cpp +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include - -namespace Aws { -namespace QLDBSession { -namespace Endpoint {} // namespace Endpoint -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionEndpointRules.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionEndpointRules.cpp deleted file mode 100644 index 561567cef60..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionEndpointRules.cpp +++ /dev/null @@ -1,150 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -namespace Aws { -namespace QLDBSession { -const size_t QLDBSessionEndpointRules::RulesBlobStrLen = 3496; -const size_t QLDBSessionEndpointRules::RulesBlobSize = 3497; - -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', '"', ',', '"', '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', '"', ':', '[', '{', '"', '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', '"', ':', '"', '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', ':', '/', '/', 's', 'e', 's', 's', 'i', 'o', - 'n', '.', 'q', 'l', 'd', 'b', '-', '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', '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', '"', '}', ']', ',', '"', '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', - ':', '/', '/', 's', 'e', 's', 's', 'i', 'o', 'n', '.', 'q', 'l', 'd', 'b', '-', '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', ':', '/', '/', 's', 'e', 's', 's', 'i', 'o', 'n', '.', 'q', 'l', - 'd', 'b', '.', '{', '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', ':', '/', '/', 's', 'e', 's', 's', 'i', 'o', 'n', '.', 'q', 'l', 'd', 'b', - '.', '{', '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'}}; - -const char* QLDBSessionEndpointRules::GetRulesBlob() { return RulesBlob.data(); } - -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionErrorMarshaller.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionErrorMarshaller.cpp deleted file mode 100644 index 3e065d55613..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionErrorMarshaller.cpp +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 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::QLDBSession; - -AWSError QLDBSessionErrorMarshaller::FindErrorByName(const char* errorName) const { - AWSError error = QLDBSessionErrorMapper::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-qldb-session/source/QLDBSessionErrors.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionErrors.cpp deleted file mode 100644 index 2414d326663..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionErrors.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include -#include - -using namespace Aws::Client; -using namespace Aws::Utils; -using namespace Aws::QLDBSession; -using namespace Aws::QLDBSession::Model; - -namespace Aws { -namespace QLDBSession { -template <> -AWS_QLDBSESSION_API InvalidSessionException QLDBSessionError::GetModeledError() { - assert(this->GetErrorType() == QLDBSessionErrors::INVALID_SESSION); - return InvalidSessionException(this->GetJsonPayload().View()); -} - -template <> -AWS_QLDBSESSION_API BadRequestException QLDBSessionError::GetModeledError() { - assert(this->GetErrorType() == QLDBSessionErrors::BAD_REQUEST); - return BadRequestException(this->GetJsonPayload().View()); -} - -namespace QLDBSessionErrorMapper { - -static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException"); -static const int INVALID_SESSION_HASH = HashingUtils::HashString("InvalidSessionException"); -static const int BAD_REQUEST_HASH = HashingUtils::HashString("BadRequestException"); -static const int CAPACITY_EXCEEDED_HASH = HashingUtils::HashString("CapacityExceededException"); -static const int OCC_CONFLICT_HASH = HashingUtils::HashString("OccConflictException"); -static const int RATE_EXCEEDED_HASH = HashingUtils::HashString("RateExceededException"); - -AWSError GetErrorForName(const char* errorName) { - int hashCode = HashingUtils::HashString(errorName); - - if (hashCode == LIMIT_EXCEEDED_HASH) { - return AWSError(static_cast(QLDBSessionErrors::LIMIT_EXCEEDED), RetryableType::RETRYABLE); - } else if (hashCode == INVALID_SESSION_HASH) { - return AWSError(static_cast(QLDBSessionErrors::INVALID_SESSION), RetryableType::NOT_RETRYABLE); - } else if (hashCode == BAD_REQUEST_HASH) { - return AWSError(static_cast(QLDBSessionErrors::BAD_REQUEST), RetryableType::NOT_RETRYABLE); - } else if (hashCode == CAPACITY_EXCEEDED_HASH) { - return AWSError(static_cast(QLDBSessionErrors::CAPACITY_EXCEEDED), RetryableType::NOT_RETRYABLE); - } else if (hashCode == OCC_CONFLICT_HASH) { - return AWSError(static_cast(QLDBSessionErrors::OCC_CONFLICT), RetryableType::NOT_RETRYABLE); - } else if (hashCode == RATE_EXCEEDED_HASH) { - return AWSError(static_cast(QLDBSessionErrors::RATE_EXCEEDED), RetryableType::NOT_RETRYABLE); - } - return AWSError(CoreErrors::UNKNOWN, false); -} - -} // namespace QLDBSessionErrorMapper -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionRequest.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionRequest.cpp deleted file mode 100644 index e15c8582411..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/QLDBSessionRequest.cpp +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include - -namespace Aws { -namespace QLDBSession {} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/AbortTransactionRequest.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/AbortTransactionRequest.cpp deleted file mode 100644 index 446d7f25f51..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/AbortTransactionRequest.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -AbortTransactionRequest::AbortTransactionRequest(JsonView jsonValue) { *this = jsonValue; } - -AbortTransactionRequest& AbortTransactionRequest::operator=(JsonView jsonValue) { - AWS_UNREFERENCED_PARAM(jsonValue); - return *this; -} - -JsonValue AbortTransactionRequest::Jsonize() const { - JsonValue payload; - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/AbortTransactionResult.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/AbortTransactionResult.cpp deleted file mode 100644 index c259b5bef0d..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/AbortTransactionResult.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -AbortTransactionResult::AbortTransactionResult(JsonView jsonValue) { *this = jsonValue; } - -AbortTransactionResult& AbortTransactionResult::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("TimingInformation")) { - m_timingInformation = jsonValue.GetObject("TimingInformation"); - m_timingInformationHasBeenSet = true; - } - return *this; -} - -JsonValue AbortTransactionResult::Jsonize() const { - JsonValue payload; - - if (m_timingInformationHasBeenSet) { - payload.WithObject("TimingInformation", m_timingInformation.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/BadRequestException.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/BadRequestException.cpp deleted file mode 100644 index c43bc85ef67..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/BadRequestException.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -BadRequestException::BadRequestException(JsonView jsonValue) { *this = jsonValue; } - -BadRequestException& BadRequestException::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Message")) { - m_message = jsonValue.GetString("Message"); - m_messageHasBeenSet = true; - } - if (jsonValue.ValueExists("Code")) { - m_code = jsonValue.GetString("Code"); - m_codeHasBeenSet = true; - } - return *this; -} - -JsonValue BadRequestException::Jsonize() const { - JsonValue payload; - - if (m_messageHasBeenSet) { - payload.WithString("Message", m_message); - } - - if (m_codeHasBeenSet) { - payload.WithString("Code", m_code); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/CommitTransactionRequest.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/CommitTransactionRequest.cpp deleted file mode 100644 index 8071713f26e..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/CommitTransactionRequest.cpp +++ /dev/null @@ -1,49 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -CommitTransactionRequest::CommitTransactionRequest(JsonView jsonValue) { *this = jsonValue; } - -CommitTransactionRequest& CommitTransactionRequest::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("TransactionId")) { - m_transactionId = jsonValue.GetString("TransactionId"); - m_transactionIdHasBeenSet = true; - } - if (jsonValue.ValueExists("CommitDigest")) { - m_commitDigest = HashingUtils::Base64Decode(jsonValue.GetString("CommitDigest")); - m_commitDigestHasBeenSet = true; - } - return *this; -} - -JsonValue CommitTransactionRequest::Jsonize() const { - JsonValue payload; - - if (m_transactionIdHasBeenSet) { - payload.WithString("TransactionId", m_transactionId); - } - - if (m_commitDigestHasBeenSet) { - payload.WithString("CommitDigest", HashingUtils::Base64Encode(m_commitDigest)); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/CommitTransactionResult.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/CommitTransactionResult.cpp deleted file mode 100644 index 37766bbb98e..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/CommitTransactionResult.cpp +++ /dev/null @@ -1,65 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -CommitTransactionResult::CommitTransactionResult(JsonView jsonValue) { *this = jsonValue; } - -CommitTransactionResult& CommitTransactionResult::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("TransactionId")) { - m_transactionId = jsonValue.GetString("TransactionId"); - m_transactionIdHasBeenSet = true; - } - if (jsonValue.ValueExists("CommitDigest")) { - m_commitDigest = HashingUtils::Base64Decode(jsonValue.GetString("CommitDigest")); - m_commitDigestHasBeenSet = true; - } - if (jsonValue.ValueExists("TimingInformation")) { - m_timingInformation = jsonValue.GetObject("TimingInformation"); - m_timingInformationHasBeenSet = true; - } - if (jsonValue.ValueExists("ConsumedIOs")) { - m_consumedIOs = jsonValue.GetObject("ConsumedIOs"); - m_consumedIOsHasBeenSet = true; - } - return *this; -} - -JsonValue CommitTransactionResult::Jsonize() const { - JsonValue payload; - - if (m_transactionIdHasBeenSet) { - payload.WithString("TransactionId", m_transactionId); - } - - if (m_commitDigestHasBeenSet) { - payload.WithString("CommitDigest", HashingUtils::Base64Encode(m_commitDigest)); - } - - if (m_timingInformationHasBeenSet) { - payload.WithObject("TimingInformation", m_timingInformation.Jsonize()); - } - - if (m_consumedIOsHasBeenSet) { - payload.WithObject("ConsumedIOs", m_consumedIOs.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/EndSessionRequest.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/EndSessionRequest.cpp deleted file mode 100644 index bdfd4f3ddce..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/EndSessionRequest.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -EndSessionRequest::EndSessionRequest(JsonView jsonValue) { *this = jsonValue; } - -EndSessionRequest& EndSessionRequest::operator=(JsonView jsonValue) { - AWS_UNREFERENCED_PARAM(jsonValue); - return *this; -} - -JsonValue EndSessionRequest::Jsonize() const { - JsonValue payload; - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/EndSessionResult.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/EndSessionResult.cpp deleted file mode 100644 index 4f53d104ad8..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/EndSessionResult.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -EndSessionResult::EndSessionResult(JsonView jsonValue) { *this = jsonValue; } - -EndSessionResult& EndSessionResult::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("TimingInformation")) { - m_timingInformation = jsonValue.GetObject("TimingInformation"); - m_timingInformationHasBeenSet = true; - } - return *this; -} - -JsonValue EndSessionResult::Jsonize() const { - JsonValue payload; - - if (m_timingInformationHasBeenSet) { - payload.WithObject("TimingInformation", m_timingInformation.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/ExecuteStatementRequest.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/ExecuteStatementRequest.cpp deleted file mode 100644 index 68ddb4c4e27..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/ExecuteStatementRequest.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -ExecuteStatementRequest::ExecuteStatementRequest(JsonView jsonValue) { *this = jsonValue; } - -ExecuteStatementRequest& ExecuteStatementRequest::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("TransactionId")) { - m_transactionId = jsonValue.GetString("TransactionId"); - m_transactionIdHasBeenSet = true; - } - if (jsonValue.ValueExists("Statement")) { - m_statement = jsonValue.GetString("Statement"); - m_statementHasBeenSet = true; - } - if (jsonValue.ValueExists("Parameters")) { - Aws::Utils::Array parametersJsonList = jsonValue.GetArray("Parameters"); - for (unsigned parametersIndex = 0; parametersIndex < parametersJsonList.GetLength(); ++parametersIndex) { - m_parameters.push_back(parametersJsonList[parametersIndex].AsObject()); - } - m_parametersHasBeenSet = true; - } - return *this; -} - -JsonValue ExecuteStatementRequest::Jsonize() const { - JsonValue payload; - - if (m_transactionIdHasBeenSet) { - payload.WithString("TransactionId", m_transactionId); - } - - if (m_statementHasBeenSet) { - payload.WithString("Statement", m_statement); - } - - if (m_parametersHasBeenSet) { - Aws::Utils::Array parametersJsonList(m_parameters.size()); - for (unsigned parametersIndex = 0; parametersIndex < parametersJsonList.GetLength(); ++parametersIndex) { - parametersJsonList[parametersIndex].AsObject(m_parameters[parametersIndex].Jsonize()); - } - payload.WithArray("Parameters", std::move(parametersJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/ExecuteStatementResult.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/ExecuteStatementResult.cpp deleted file mode 100644 index d61c1107138..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/ExecuteStatementResult.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -ExecuteStatementResult::ExecuteStatementResult(JsonView jsonValue) { *this = jsonValue; } - -ExecuteStatementResult& ExecuteStatementResult::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("FirstPage")) { - m_firstPage = jsonValue.GetObject("FirstPage"); - m_firstPageHasBeenSet = true; - } - if (jsonValue.ValueExists("TimingInformation")) { - m_timingInformation = jsonValue.GetObject("TimingInformation"); - m_timingInformationHasBeenSet = true; - } - if (jsonValue.ValueExists("ConsumedIOs")) { - m_consumedIOs = jsonValue.GetObject("ConsumedIOs"); - m_consumedIOsHasBeenSet = true; - } - return *this; -} - -JsonValue ExecuteStatementResult::Jsonize() const { - JsonValue payload; - - if (m_firstPageHasBeenSet) { - payload.WithObject("FirstPage", m_firstPage.Jsonize()); - } - - if (m_timingInformationHasBeenSet) { - payload.WithObject("TimingInformation", m_timingInformation.Jsonize()); - } - - if (m_consumedIOsHasBeenSet) { - payload.WithObject("ConsumedIOs", m_consumedIOs.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/FetchPageRequest.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/FetchPageRequest.cpp deleted file mode 100644 index c9207a49647..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/FetchPageRequest.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -FetchPageRequest::FetchPageRequest(JsonView jsonValue) { *this = jsonValue; } - -FetchPageRequest& FetchPageRequest::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("TransactionId")) { - m_transactionId = jsonValue.GetString("TransactionId"); - m_transactionIdHasBeenSet = true; - } - if (jsonValue.ValueExists("NextPageToken")) { - m_nextPageToken = jsonValue.GetString("NextPageToken"); - m_nextPageTokenHasBeenSet = true; - } - return *this; -} - -JsonValue FetchPageRequest::Jsonize() const { - JsonValue payload; - - if (m_transactionIdHasBeenSet) { - payload.WithString("TransactionId", m_transactionId); - } - - if (m_nextPageTokenHasBeenSet) { - payload.WithString("NextPageToken", m_nextPageToken); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/FetchPageResult.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/FetchPageResult.cpp deleted file mode 100644 index 9119dced1db..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/FetchPageResult.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -FetchPageResult::FetchPageResult(JsonView jsonValue) { *this = jsonValue; } - -FetchPageResult& FetchPageResult::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Page")) { - m_page = jsonValue.GetObject("Page"); - m_pageHasBeenSet = true; - } - if (jsonValue.ValueExists("TimingInformation")) { - m_timingInformation = jsonValue.GetObject("TimingInformation"); - m_timingInformationHasBeenSet = true; - } - if (jsonValue.ValueExists("ConsumedIOs")) { - m_consumedIOs = jsonValue.GetObject("ConsumedIOs"); - m_consumedIOsHasBeenSet = true; - } - return *this; -} - -JsonValue FetchPageResult::Jsonize() const { - JsonValue payload; - - if (m_pageHasBeenSet) { - payload.WithObject("Page", m_page.Jsonize()); - } - - if (m_timingInformationHasBeenSet) { - payload.WithObject("TimingInformation", m_timingInformation.Jsonize()); - } - - if (m_consumedIOsHasBeenSet) { - payload.WithObject("ConsumedIOs", m_consumedIOs.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/IOUsage.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/IOUsage.cpp deleted file mode 100644 index d157d48c248..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/IOUsage.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -IOUsage::IOUsage(JsonView jsonValue) { *this = jsonValue; } - -IOUsage& IOUsage::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("ReadIOs")) { - m_readIOs = jsonValue.GetInt64("ReadIOs"); - m_readIOsHasBeenSet = true; - } - if (jsonValue.ValueExists("WriteIOs")) { - m_writeIOs = jsonValue.GetInt64("WriteIOs"); - m_writeIOsHasBeenSet = true; - } - return *this; -} - -JsonValue IOUsage::Jsonize() const { - JsonValue payload; - - if (m_readIOsHasBeenSet) { - payload.WithInt64("ReadIOs", m_readIOs); - } - - if (m_writeIOsHasBeenSet) { - payload.WithInt64("WriteIOs", m_writeIOs); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/InvalidSessionException.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/InvalidSessionException.cpp deleted file mode 100644 index 78a9af73b41..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/InvalidSessionException.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -InvalidSessionException::InvalidSessionException(JsonView jsonValue) { *this = jsonValue; } - -InvalidSessionException& InvalidSessionException::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Message")) { - m_message = jsonValue.GetString("Message"); - m_messageHasBeenSet = true; - } - if (jsonValue.ValueExists("Code")) { - m_code = jsonValue.GetString("Code"); - m_codeHasBeenSet = true; - } - return *this; -} - -JsonValue InvalidSessionException::Jsonize() const { - JsonValue payload; - - if (m_messageHasBeenSet) { - payload.WithString("Message", m_message); - } - - if (m_codeHasBeenSet) { - payload.WithString("Code", m_code); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/Page.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/Page.cpp deleted file mode 100644 index abc280bb668..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/Page.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -Page::Page(JsonView jsonValue) { *this = jsonValue; } - -Page& Page::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Values")) { - Aws::Utils::Array valuesJsonList = jsonValue.GetArray("Values"); - for (unsigned valuesIndex = 0; valuesIndex < valuesJsonList.GetLength(); ++valuesIndex) { - m_values.push_back(valuesJsonList[valuesIndex].AsObject()); - } - m_valuesHasBeenSet = true; - } - if (jsonValue.ValueExists("NextPageToken")) { - m_nextPageToken = jsonValue.GetString("NextPageToken"); - m_nextPageTokenHasBeenSet = true; - } - return *this; -} - -JsonValue Page::Jsonize() const { - JsonValue payload; - - if (m_valuesHasBeenSet) { - Aws::Utils::Array valuesJsonList(m_values.size()); - for (unsigned valuesIndex = 0; valuesIndex < valuesJsonList.GetLength(); ++valuesIndex) { - valuesJsonList[valuesIndex].AsObject(m_values[valuesIndex].Jsonize()); - } - payload.WithArray("Values", std::move(valuesJsonList)); - } - - if (m_nextPageTokenHasBeenSet) { - payload.WithString("NextPageToken", m_nextPageToken); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/SendCommandRequest.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/SendCommandRequest.cpp deleted file mode 100644 index ddefdf07133..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/SendCommandRequest.cpp +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDBSession::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String SendCommandRequest::SerializePayload() const { - JsonValue payload; - - if (m_sessionTokenHasBeenSet) { - payload.WithString("SessionToken", m_sessionToken); - } - - if (m_startSessionHasBeenSet) { - payload.WithObject("StartSession", m_startSession.Jsonize()); - } - - if (m_startTransactionHasBeenSet) { - payload.WithObject("StartTransaction", m_startTransaction.Jsonize()); - } - - if (m_endSessionHasBeenSet) { - payload.WithObject("EndSession", m_endSession.Jsonize()); - } - - if (m_commitTransactionHasBeenSet) { - payload.WithObject("CommitTransaction", m_commitTransaction.Jsonize()); - } - - if (m_abortTransactionHasBeenSet) { - payload.WithObject("AbortTransaction", m_abortTransaction.Jsonize()); - } - - if (m_executeStatementHasBeenSet) { - payload.WithObject("ExecuteStatement", m_executeStatement.Jsonize()); - } - - if (m_fetchPageHasBeenSet) { - payload.WithObject("FetchPage", m_fetchPage.Jsonize()); - } - - return payload.View().WriteReadable(); -} - -Aws::Http::HeaderValueCollection SendCommandRequest::GetRequestSpecificHeaders() const { - Aws::Http::HeaderValueCollection headers; - headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "QLDBSession.SendCommand")); - return headers; -} diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/SendCommandResult.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/SendCommandResult.cpp deleted file mode 100644 index 9aab32583ef..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/SendCommandResult.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/** - * 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::QLDBSession::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -SendCommandResult::SendCommandResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -SendCommandResult& SendCommandResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("StartSession")) { - m_startSession = jsonValue.GetObject("StartSession"); - m_startSessionHasBeenSet = true; - } - if (jsonValue.ValueExists("StartTransaction")) { - m_startTransaction = jsonValue.GetObject("StartTransaction"); - m_startTransactionHasBeenSet = true; - } - if (jsonValue.ValueExists("EndSession")) { - m_endSession = jsonValue.GetObject("EndSession"); - m_endSessionHasBeenSet = true; - } - if (jsonValue.ValueExists("CommitTransaction")) { - m_commitTransaction = jsonValue.GetObject("CommitTransaction"); - m_commitTransactionHasBeenSet = true; - } - if (jsonValue.ValueExists("AbortTransaction")) { - m_abortTransaction = jsonValue.GetObject("AbortTransaction"); - m_abortTransactionHasBeenSet = true; - } - if (jsonValue.ValueExists("ExecuteStatement")) { - m_executeStatement = jsonValue.GetObject("ExecuteStatement"); - m_executeStatementHasBeenSet = true; - } - if (jsonValue.ValueExists("FetchPage")) { - m_fetchPage = jsonValue.GetObject("FetchPage"); - m_fetchPageHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/StartSessionRequest.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/StartSessionRequest.cpp deleted file mode 100644 index 1bae871a594..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/StartSessionRequest.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -StartSessionRequest::StartSessionRequest(JsonView jsonValue) { *this = jsonValue; } - -StartSessionRequest& StartSessionRequest::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("LedgerName")) { - m_ledgerName = jsonValue.GetString("LedgerName"); - m_ledgerNameHasBeenSet = true; - } - return *this; -} - -JsonValue StartSessionRequest::Jsonize() const { - JsonValue payload; - - if (m_ledgerNameHasBeenSet) { - payload.WithString("LedgerName", m_ledgerName); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/StartSessionResult.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/StartSessionResult.cpp deleted file mode 100644 index ae5ef953620..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/StartSessionResult.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -StartSessionResult::StartSessionResult(JsonView jsonValue) { *this = jsonValue; } - -StartSessionResult& StartSessionResult::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("SessionToken")) { - m_sessionToken = jsonValue.GetString("SessionToken"); - m_sessionTokenHasBeenSet = true; - } - if (jsonValue.ValueExists("TimingInformation")) { - m_timingInformation = jsonValue.GetObject("TimingInformation"); - m_timingInformationHasBeenSet = true; - } - return *this; -} - -JsonValue StartSessionResult::Jsonize() const { - JsonValue payload; - - if (m_sessionTokenHasBeenSet) { - payload.WithString("SessionToken", m_sessionToken); - } - - if (m_timingInformationHasBeenSet) { - payload.WithObject("TimingInformation", m_timingInformation.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/StartTransactionRequest.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/StartTransactionRequest.cpp deleted file mode 100644 index 1c30ba73267..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/StartTransactionRequest.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -StartTransactionRequest::StartTransactionRequest(JsonView jsonValue) { *this = jsonValue; } - -StartTransactionRequest& StartTransactionRequest::operator=(JsonView jsonValue) { - AWS_UNREFERENCED_PARAM(jsonValue); - return *this; -} - -JsonValue StartTransactionRequest::Jsonize() const { - JsonValue payload; - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/StartTransactionResult.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/StartTransactionResult.cpp deleted file mode 100644 index a608460c5b5..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/StartTransactionResult.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -StartTransactionResult::StartTransactionResult(JsonView jsonValue) { *this = jsonValue; } - -StartTransactionResult& StartTransactionResult::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("TransactionId")) { - m_transactionId = jsonValue.GetString("TransactionId"); - m_transactionIdHasBeenSet = true; - } - if (jsonValue.ValueExists("TimingInformation")) { - m_timingInformation = jsonValue.GetObject("TimingInformation"); - m_timingInformationHasBeenSet = true; - } - return *this; -} - -JsonValue StartTransactionResult::Jsonize() const { - JsonValue payload; - - if (m_transactionIdHasBeenSet) { - payload.WithString("TransactionId", m_transactionId); - } - - if (m_timingInformationHasBeenSet) { - payload.WithObject("TimingInformation", m_timingInformation.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/TimingInformation.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/TimingInformation.cpp deleted file mode 100644 index 770ac97a2b8..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/TimingInformation.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -TimingInformation::TimingInformation(JsonView jsonValue) { *this = jsonValue; } - -TimingInformation& TimingInformation::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("ProcessingTimeMilliseconds")) { - m_processingTimeMilliseconds = jsonValue.GetInt64("ProcessingTimeMilliseconds"); - m_processingTimeMillisecondsHasBeenSet = true; - } - return *this; -} - -JsonValue TimingInformation::Jsonize() const { - JsonValue payload; - - if (m_processingTimeMillisecondsHasBeenSet) { - payload.WithInt64("ProcessingTimeMilliseconds", m_processingTimeMilliseconds); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb-session/source/model/ValueHolder.cpp b/generated/src/aws-cpp-sdk-qldb-session/source/model/ValueHolder.cpp deleted file mode 100644 index d27516f9c79..00000000000 --- a/generated/src/aws-cpp-sdk-qldb-session/source/model/ValueHolder.cpp +++ /dev/null @@ -1,49 +0,0 @@ -/** - * 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 QLDBSession { -namespace Model { - -ValueHolder::ValueHolder(JsonView jsonValue) { *this = jsonValue; } - -ValueHolder& ValueHolder::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("IonBinary")) { - m_ionBinary = HashingUtils::Base64Decode(jsonValue.GetString("IonBinary")); - m_ionBinaryHasBeenSet = true; - } - if (jsonValue.ValueExists("IonText")) { - m_ionText = jsonValue.GetString("IonText"); - m_ionTextHasBeenSet = true; - } - return *this; -} - -JsonValue ValueHolder::Jsonize() const { - JsonValue payload; - - if (m_ionBinaryHasBeenSet) { - payload.WithString("IonBinary", HashingUtils::Base64Encode(m_ionBinary)); - } - - if (m_ionTextHasBeenSet) { - payload.WithString("IonText", m_ionText); - } - - return payload; -} - -} // namespace Model -} // namespace QLDBSession -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/CMakeLists.txt b/generated/src/aws-cpp-sdk-qldb/CMakeLists.txt deleted file mode 100644 index bd94c7447fd..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/CMakeLists.txt +++ /dev/null @@ -1,76 +0,0 @@ -add_project(aws-cpp-sdk-qldb "C++ SDK for the AWS qldb service" aws-cpp-sdk-core) - -file(GLOB AWS_QLDB_HEADERS - "include/aws/qldb/*.h" -) - -file(GLOB AWS_QLDB_MODEL_HEADERS - "include/aws/qldb/model/*.h" -) - -file(GLOB AWS_QLDB_SOURCE - "source/*.cpp" -) - -file(GLOB AWS_QLDB_MODEL_SOURCE - "source/model/*.cpp" -) - -file(GLOB QLDB_UNIFIED_HEADERS - ${AWS_QLDB_HEADERS} - ${AWS_QLDB_MODEL_HEADERS} -) - -file(GLOB QLDB_UNITY_SRC - ${AWS_QLDB_SOURCE} - ${AWS_QLDB_MODEL_SOURCE} -) - -if(ENABLE_UNITY_BUILD) - enable_unity_build("QLDB" QLDB_UNITY_SRC) -endif() - -file(GLOB QLDB_SRC - ${QLDB_UNIFIED_HEADERS} - ${QLDB_UNITY_SRC} -) - -if(WIN32) - #if we are compiling for visual studio, create a sane directory tree. - if(MSVC) - source_group("Header Files\\aws\\qldb" FILES ${AWS_QLDB_HEADERS}) - source_group("Header Files\\aws\\qldb\\model" FILES ${AWS_QLDB_MODEL_HEADERS}) - source_group("Source Files" FILES ${AWS_QLDB_SOURCE}) - source_group("Source Files\\model" FILES ${AWS_QLDB_MODEL_SOURCE}) - endif(MSVC) -endif() - -set(QLDB_INCLUDES - "${CMAKE_CURRENT_SOURCE_DIR}/include/" -) - -add_library(${PROJECT_NAME} ${QLDB_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_QLDB_EXPORTS") -endif() - -target_include_directories(${PROJECT_NAME} PUBLIC - $ - $) - -target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS}) - - -setup_install() - -install (FILES ${AWS_QLDB_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/qldb) -install (FILES ${AWS_QLDB_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/qldb/model) - -do_packaging() - - diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBClient.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBClient.h deleted file mode 100644 index c60a41b23a7..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBClient.h +++ /dev/null @@ -1,704 +0,0 @@ -/** - * 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 QLDB { -/** - *

The resource management API for Amazon QLDB

- */ -class AWS_QLDB_API QLDBClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods { - public: - typedef Aws::Client::AWSJsonClient BASECLASS; - static const char* GetServiceName(); - static const char* GetAllocationTag(); - - typedef QLDBClientConfiguration ClientConfigurationType; - typedef QLDBEndpointProvider 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. - */ - QLDBClient(const Aws::QLDB::QLDBClientConfiguration& clientConfiguration = Aws::QLDB::QLDBClientConfiguration(), - 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. - */ - QLDBClient(const Aws::Auth::AWSCredentials& credentials, std::shared_ptr endpointProvider = nullptr, - const Aws::QLDB::QLDBClientConfiguration& clientConfiguration = Aws::QLDB::QLDBClientConfiguration()); - - /** - * 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 - */ - QLDBClient(const std::shared_ptr& credentialsProvider, - std::shared_ptr endpointProvider = nullptr, - const Aws::QLDB::QLDBClientConfiguration& clientConfiguration = Aws::QLDB::QLDBClientConfiguration()); - - /* 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. - */ - QLDBClient(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. - */ - QLDBClient(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 - */ - QLDBClient(const std::shared_ptr& credentialsProvider, - const Aws::Client::ClientConfiguration& clientConfiguration); - - /* End of legacy constructors due deprecation */ - virtual ~QLDBClient(); - - /** - *

Ends a given Amazon QLDB journal stream. Before a stream can be canceled, its - * current status must be ACTIVE.

You can't restart a stream - * after you cancel it. Canceled QLDB stream resources are subject to a 7-day - * retention period, so they are automatically deleted after this limit - * expires.

See Also:

AWS - * API Reference

- */ - virtual Model::CancelJournalKinesisStreamOutcome CancelJournalKinesisStream( - const Model::CancelJournalKinesisStreamRequest& request) const; - - /** - * A Callable wrapper for CancelJournalKinesisStream that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::CancelJournalKinesisStreamOutcomeCallable CancelJournalKinesisStreamCallable( - const CancelJournalKinesisStreamRequestT& request) const { - return SubmitCallable(&QLDBClient::CancelJournalKinesisStream, request); - } - - /** - * An Async wrapper for CancelJournalKinesisStream that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void CancelJournalKinesisStreamAsync(const CancelJournalKinesisStreamRequestT& request, - const CancelJournalKinesisStreamResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::CancelJournalKinesisStream, request, handler, context); - } - - /** - *

Creates a new ledger in your Amazon Web Services account in the current - * Region.

See Also:

AWS - * API Reference

- */ - virtual Model::CreateLedgerOutcome CreateLedger(const Model::CreateLedgerRequest& request) const; - - /** - * A Callable wrapper for CreateLedger that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::CreateLedgerOutcomeCallable CreateLedgerCallable(const CreateLedgerRequestT& request) const { - return SubmitCallable(&QLDBClient::CreateLedger, request); - } - - /** - * An Async wrapper for CreateLedger that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void CreateLedgerAsync(const CreateLedgerRequestT& request, const CreateLedgerResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::CreateLedger, request, handler, context); - } - - /** - *

Deletes a ledger and all of its contents. This action is irreversible.

- *

If deletion protection is enabled, you must first disable it before you can - * delete the ledger. You can disable it by calling the UpdateLedger - * operation to set this parameter to false.

See Also:

- * AWS - * API Reference

- */ - virtual Model::DeleteLedgerOutcome DeleteLedger(const Model::DeleteLedgerRequest& request) const; - - /** - * A Callable wrapper for DeleteLedger that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DeleteLedgerOutcomeCallable DeleteLedgerCallable(const DeleteLedgerRequestT& request) const { - return SubmitCallable(&QLDBClient::DeleteLedger, request); - } - - /** - * An Async wrapper for DeleteLedger that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DeleteLedgerAsync(const DeleteLedgerRequestT& request, const DeleteLedgerResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::DeleteLedger, request, handler, context); - } - - /** - *

Returns detailed information about a given Amazon QLDB journal stream. The - * output includes the Amazon Resource Name (ARN), stream name, current status, - * creation time, and the parameters of the original stream creation request.

- *

This action does not return any expired journal streams. For more - * information, see Expiration - * for terminal streams in the Amazon QLDB Developer - * Guide.

See Also:

AWS - * API Reference

- */ - virtual Model::DescribeJournalKinesisStreamOutcome DescribeJournalKinesisStream( - const Model::DescribeJournalKinesisStreamRequest& request) const; - - /** - * A Callable wrapper for DescribeJournalKinesisStream that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::DescribeJournalKinesisStreamOutcomeCallable DescribeJournalKinesisStreamCallable( - const DescribeJournalKinesisStreamRequestT& request) const { - return SubmitCallable(&QLDBClient::DescribeJournalKinesisStream, request); - } - - /** - * An Async wrapper for DescribeJournalKinesisStream that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DescribeJournalKinesisStreamAsync(const DescribeJournalKinesisStreamRequestT& request, - const DescribeJournalKinesisStreamResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::DescribeJournalKinesisStream, request, handler, context); - } - - /** - *

Returns information about a journal export job, including the ledger name, - * export ID, creation time, current status, and the parameters of the original - * export creation request.

This action does not return any expired export - * jobs. For more information, see Export - * job expiration in the Amazon QLDB Developer Guide.

If the - * export job with the given ExportId doesn't exist, then throws - * ResourceNotFoundException.

If the ledger with the given - * Name doesn't exist, then throws - * ResourceNotFoundException.

See Also:

AWS - * API Reference

- */ - virtual Model::DescribeJournalS3ExportOutcome DescribeJournalS3Export(const Model::DescribeJournalS3ExportRequest& request) const; - - /** - * A Callable wrapper for DescribeJournalS3Export that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DescribeJournalS3ExportOutcomeCallable DescribeJournalS3ExportCallable(const DescribeJournalS3ExportRequestT& request) const { - return SubmitCallable(&QLDBClient::DescribeJournalS3Export, request); - } - - /** - * An Async wrapper for DescribeJournalS3Export that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DescribeJournalS3ExportAsync(const DescribeJournalS3ExportRequestT& request, - const DescribeJournalS3ExportResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::DescribeJournalS3Export, request, handler, context); - } - - /** - *

Returns information about a ledger, including its state, permissions mode, - * encryption at rest settings, and when it was created.

See Also:

- * AWS - * API Reference

- */ - virtual Model::DescribeLedgerOutcome DescribeLedger(const Model::DescribeLedgerRequest& request) const; - - /** - * A Callable wrapper for DescribeLedger that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DescribeLedgerOutcomeCallable DescribeLedgerCallable(const DescribeLedgerRequestT& request) const { - return SubmitCallable(&QLDBClient::DescribeLedger, request); - } - - /** - * An Async wrapper for DescribeLedger that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DescribeLedgerAsync(const DescribeLedgerRequestT& request, const DescribeLedgerResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::DescribeLedger, request, handler, context); - } - - /** - *

Exports journal contents within a date and time range from a ledger into a - * specified Amazon Simple Storage Service (Amazon S3) bucket. A journal export job - * can write the data objects in either the text or binary representation of Amazon - * Ion format, or in JSON Lines text format.

If the ledger with the - * given Name doesn't exist, then throws - * ResourceNotFoundException.

If the ledger with the given - * Name is in CREATING status, then throws - * ResourcePreconditionNotMetException.

You can initiate up to - * two concurrent journal export requests for each ledger. Beyond this limit, - * journal export requests throw LimitExceededException.

See - * Also:

AWS - * API Reference

- */ - virtual Model::ExportJournalToS3Outcome ExportJournalToS3(const Model::ExportJournalToS3Request& request) const; - - /** - * A Callable wrapper for ExportJournalToS3 that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ExportJournalToS3OutcomeCallable ExportJournalToS3Callable(const ExportJournalToS3RequestT& request) const { - return SubmitCallable(&QLDBClient::ExportJournalToS3, request); - } - - /** - * An Async wrapper for ExportJournalToS3 that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void ExportJournalToS3Async(const ExportJournalToS3RequestT& request, const ExportJournalToS3ResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::ExportJournalToS3, request, handler, context); - } - - /** - *

Returns a block object at a specified address in a journal. Also returns a - * proof of the specified block for verification if DigestTipAddress - * is provided.

For information about the data contents in a block, see Journal - * contents in the Amazon QLDB Developer Guide.

If the specified - * ledger doesn't exist or is in DELETING status, then throws - * ResourceNotFoundException.

If the specified ledger is in - * CREATING status, then throws - * ResourcePreconditionNotMetException.

If no block exists with - * the specified address, then throws - * InvalidParameterException.

See Also:

AWS API - * Reference

- */ - virtual Model::GetBlockOutcome GetBlock(const Model::GetBlockRequest& request) const; - - /** - * A Callable wrapper for GetBlock that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::GetBlockOutcomeCallable GetBlockCallable(const GetBlockRequestT& request) const { - return SubmitCallable(&QLDBClient::GetBlock, request); - } - - /** - * An Async wrapper for GetBlock that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void GetBlockAsync(const GetBlockRequestT& request, const GetBlockResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::GetBlock, request, handler, context); - } - - /** - *

Returns the digest of a ledger at the latest committed block in the journal. - * The response includes a 256-bit hash value and a block address.

See - * Also:

AWS API - * Reference

- */ - virtual Model::GetDigestOutcome GetDigest(const Model::GetDigestRequest& request) const; - - /** - * A Callable wrapper for GetDigest that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::GetDigestOutcomeCallable GetDigestCallable(const GetDigestRequestT& request) const { - return SubmitCallable(&QLDBClient::GetDigest, request); - } - - /** - * An Async wrapper for GetDigest that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void GetDigestAsync(const GetDigestRequestT& request, const GetDigestResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::GetDigest, request, handler, context); - } - - /** - *

Returns a revision data object for a specified document ID and block address. - * Also returns a proof of the specified revision for verification if - * DigestTipAddress is provided.

See Also:

AWS - * API Reference

- */ - virtual Model::GetRevisionOutcome GetRevision(const Model::GetRevisionRequest& request) const; - - /** - * A Callable wrapper for GetRevision that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::GetRevisionOutcomeCallable GetRevisionCallable(const GetRevisionRequestT& request) const { - return SubmitCallable(&QLDBClient::GetRevision, request); - } - - /** - * An Async wrapper for GetRevision that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void GetRevisionAsync(const GetRevisionRequestT& request, const GetRevisionResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::GetRevision, request, handler, context); - } - - /** - *

Returns all Amazon QLDB journal streams for a given ledger.

This - * action does not return any expired journal streams. For more information, see Expiration - * for terminal streams in the Amazon QLDB Developer Guide.

This - * action returns a maximum of MaxResults items. It is paginated so - * that you can retrieve all the items by calling - * ListJournalKinesisStreamsForLedger multiple times.

See - * Also:

AWS - * API Reference

- */ - virtual Model::ListJournalKinesisStreamsForLedgerOutcome ListJournalKinesisStreamsForLedger( - const Model::ListJournalKinesisStreamsForLedgerRequest& request) const; - - /** - * A Callable wrapper for ListJournalKinesisStreamsForLedger that returns a future to the operation so that it can be executed in parallel - * to other requests. - */ - template - Model::ListJournalKinesisStreamsForLedgerOutcomeCallable ListJournalKinesisStreamsForLedgerCallable( - const ListJournalKinesisStreamsForLedgerRequestT& request) const { - return SubmitCallable(&QLDBClient::ListJournalKinesisStreamsForLedger, request); - } - - /** - * An Async wrapper for ListJournalKinesisStreamsForLedger that queues the request into a thread executor and triggers associated callback - * when operation has finished. - */ - template - void ListJournalKinesisStreamsForLedgerAsync(const ListJournalKinesisStreamsForLedgerRequestT& request, - const ListJournalKinesisStreamsForLedgerResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::ListJournalKinesisStreamsForLedger, request, handler, context); - } - - /** - *

Returns all journal export jobs for all ledgers that are associated with the - * current Amazon Web Services account and Region.

This action returns a - * maximum of MaxResults items, and is paginated so that you can - * retrieve all the items by calling ListJournalS3Exports multiple - * times.

This action does not return any expired export jobs. For more - * information, see Export - * job expiration in the Amazon QLDB Developer Guide.

See - * Also:

AWS - * API Reference

- */ - virtual Model::ListJournalS3ExportsOutcome ListJournalS3Exports(const Model::ListJournalS3ExportsRequest& request = {}) const; - - /** - * A Callable wrapper for ListJournalS3Exports that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListJournalS3ExportsOutcomeCallable ListJournalS3ExportsCallable(const ListJournalS3ExportsRequestT& request = {}) const { - return SubmitCallable(&QLDBClient::ListJournalS3Exports, request); - } - - /** - * An Async wrapper for ListJournalS3Exports that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void ListJournalS3ExportsAsync(const ListJournalS3ExportsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListJournalS3ExportsRequestT& request = {}) const { - return SubmitAsync(&QLDBClient::ListJournalS3Exports, request, handler, context); - } - - /** - *

Returns all journal export jobs for a specified ledger.

This action - * returns a maximum of MaxResults items, and is paginated so that you - * can retrieve all the items by calling ListJournalS3ExportsForLedger - * multiple times.

This action does not return any expired export jobs. For - * more information, see Export - * job expiration in the Amazon QLDB Developer Guide.

See - * Also:

AWS - * API Reference

- */ - virtual Model::ListJournalS3ExportsForLedgerOutcome ListJournalS3ExportsForLedger( - const Model::ListJournalS3ExportsForLedgerRequest& request) const; - - /** - * A Callable wrapper for ListJournalS3ExportsForLedger that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::ListJournalS3ExportsForLedgerOutcomeCallable ListJournalS3ExportsForLedgerCallable( - const ListJournalS3ExportsForLedgerRequestT& request) const { - return SubmitCallable(&QLDBClient::ListJournalS3ExportsForLedger, request); - } - - /** - * An Async wrapper for ListJournalS3ExportsForLedger that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void ListJournalS3ExportsForLedgerAsync(const ListJournalS3ExportsForLedgerRequestT& request, - const ListJournalS3ExportsForLedgerResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::ListJournalS3ExportsForLedger, request, handler, context); - } - - /** - *

Returns all ledgers that are associated with the current Amazon Web Services - * account and Region.

This action returns a maximum of - * MaxResults items and is paginated so that you can retrieve all the - * items by calling ListLedgers multiple times.

See - * Also:

AWS - * API Reference

- */ - virtual Model::ListLedgersOutcome ListLedgers(const Model::ListLedgersRequest& request = {}) const; - - /** - * A Callable wrapper for ListLedgers that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::ListLedgersOutcomeCallable ListLedgersCallable(const ListLedgersRequestT& request = {}) const { - return SubmitCallable(&QLDBClient::ListLedgers, request); - } - - /** - * An Async wrapper for ListLedgers that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void ListLedgersAsync(const ListLedgersResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListLedgersRequestT& request = {}) const { - return SubmitAsync(&QLDBClient::ListLedgers, request, handler, context); - } - - /** - *

Returns all tags for a specified Amazon QLDB resource.

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(&QLDBClient::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(&QLDBClient::ListTagsForResource, request, handler, context); - } - - /** - *

Creates a journal stream for a given Amazon QLDB ledger. The stream captures - * every document revision that is committed to the ledger's journal and delivers - * the data to a specified Amazon Kinesis Data Streams resource.

See - * Also:

AWS - * API Reference

- */ - virtual Model::StreamJournalToKinesisOutcome StreamJournalToKinesis(const Model::StreamJournalToKinesisRequest& request) const; - - /** - * A Callable wrapper for StreamJournalToKinesis that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::StreamJournalToKinesisOutcomeCallable StreamJournalToKinesisCallable(const StreamJournalToKinesisRequestT& request) const { - return SubmitCallable(&QLDBClient::StreamJournalToKinesis, request); - } - - /** - * An Async wrapper for StreamJournalToKinesis that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void StreamJournalToKinesisAsync(const StreamJournalToKinesisRequestT& request, - const StreamJournalToKinesisResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::StreamJournalToKinesis, request, handler, context); - } - - /** - *

Adds one or more tags to a specified Amazon QLDB resource.

A resource - * can have up to 50 tags. If you try to create more than 50 tags for a resource, - * your request fails and returns an error.

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(&QLDBClient::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(&QLDBClient::TagResource, request, handler, context); - } - - /** - *

Removes one or more tags from a specified Amazon QLDB resource. You can - * specify up to 50 tag keys to remove.

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(&QLDBClient::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(&QLDBClient::UntagResource, request, handler, context); - } - - /** - *

Updates properties on a ledger.

See Also:

AWS - * API Reference

- */ - virtual Model::UpdateLedgerOutcome UpdateLedger(const Model::UpdateLedgerRequest& request) const; - - /** - * A Callable wrapper for UpdateLedger that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::UpdateLedgerOutcomeCallable UpdateLedgerCallable(const UpdateLedgerRequestT& request) const { - return SubmitCallable(&QLDBClient::UpdateLedger, request); - } - - /** - * An Async wrapper for UpdateLedger that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void UpdateLedgerAsync(const UpdateLedgerRequestT& request, const UpdateLedgerResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::UpdateLedger, request, handler, context); - } - - /** - *

Updates the permissions mode of a ledger.

Before you - * switch to the STANDARD permissions mode, you must first create all - * required IAM policies and table tags to avoid disruption to your users. To learn - * more, see Migrating - * to the standard permissions mode in the Amazon QLDB Developer - * Guide.

See Also:

AWS - * API Reference

- */ - virtual Model::UpdateLedgerPermissionsModeOutcome UpdateLedgerPermissionsMode( - const Model::UpdateLedgerPermissionsModeRequest& request) const; - - /** - * A Callable wrapper for UpdateLedgerPermissionsMode that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::UpdateLedgerPermissionsModeOutcomeCallable UpdateLedgerPermissionsModeCallable( - const UpdateLedgerPermissionsModeRequestT& request) const { - return SubmitCallable(&QLDBClient::UpdateLedgerPermissionsMode, request); - } - - /** - * An Async wrapper for UpdateLedgerPermissionsMode that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void UpdateLedgerPermissionsModeAsync(const UpdateLedgerPermissionsModeRequestT& request, - const UpdateLedgerPermissionsModeResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&QLDBClient::UpdateLedgerPermissionsMode, request, handler, context); - } - - void OverrideEndpoint(const Aws::String& endpoint); - std::shared_ptr& accessEndpointProvider(); - - private: - friend class Aws::Client::ClientWithAsyncTemplateMethods; - void init(const QLDBClientConfiguration& clientConfiguration); - - QLDBClientConfiguration m_clientConfiguration; - std::shared_ptr m_endpointProvider; -}; - -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBEndpointProvider.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBEndpointProvider.h deleted file mode 100644 index ae1a459ea30..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBEndpointProvider.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 QLDB { -namespace Endpoint { -using EndpointParameters = Aws::Endpoint::EndpointParameters; -using Aws::Endpoint::DefaultEndpointProvider; -using Aws::Endpoint::EndpointProviderBase; - -using QLDBClientContextParameters = Aws::Endpoint::ClientContextParameters; - -using QLDBClientConfiguration = Aws::Client::GenericClientConfiguration; -using QLDBBuiltInParameters = Aws::Endpoint::BuiltInParameters; - -/** - * The type for the QLDB 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 QLDBEndpointProviderBase = EndpointProviderBase; - -using QLDBDefaultEpProviderBase = DefaultEndpointProvider; - -/** - * Default endpoint provider used for this service - */ -class AWS_QLDB_API QLDBEndpointProvider : public QLDBDefaultEpProviderBase { - public: - using QLDBResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; - - QLDBEndpointProvider() - : QLDBDefaultEpProviderBase(Aws::QLDB::QLDBEndpointRules::GetRulesBlob(), Aws::QLDB::QLDBEndpointRules::RulesBlobSize) {} - - ~QLDBEndpointProvider() {} -}; -} // namespace Endpoint -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBEndpointRules.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBEndpointRules.h deleted file mode 100644 index cd5efa21588..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBEndpointRules.h +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include - -#include - -namespace Aws { -namespace QLDB { -class QLDBEndpointRules { - public: - static const size_t RulesBlobStrLen; - static const size_t RulesBlobSize; - - static const char* GetRulesBlob(); -}; -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBErrorMarshaller.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBErrorMarshaller.h deleted file mode 100644 index 9b7936bb620..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBErrorMarshaller.h +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 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_QLDB_API QLDBErrorMarshaller : 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-qldb/include/aws/qldb/QLDBErrors.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBErrors.h deleted file mode 100644 index a56d4a4bf57..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBErrors.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once - -#include -#include -#include - -namespace Aws { -namespace QLDB { -enum class QLDBErrors { - // 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, - /////////////////////////////////////////////////////////////////////////////////////////// - - INVALID_PARAMETER = static_cast(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1, - LIMIT_EXCEEDED, - RESOURCE_ALREADY_EXISTS, - RESOURCE_IN_USE, - RESOURCE_PRECONDITION_NOT_MET -}; - -class AWS_QLDB_API QLDBError : public Aws::Client::AWSError { - public: - QLDBError() {} - QLDBError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} - QLDBError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} - QLDBError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} - QLDBError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} - - template - T GetModeledError(); -}; - -namespace QLDBErrorMapper { -AWS_QLDB_API Aws::Client::AWSError GetErrorForName(const char* errorName); -} - -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBRequest.h deleted file mode 100644 index edb96ef1b4a..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBRequest.h +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 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 QLDB { -class AWS_QLDB_API QLDBRequest : public Aws::AmazonSerializableWebServiceRequest { - public: - using EndpointParameter = Aws::Endpoint::EndpointParameter; - using EndpointParameters = Aws::Endpoint::EndpointParameters; - - virtual ~QLDBRequest() {} - - 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, "2019-01-02")); - return headers; - } - - protected: - virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); } -}; - -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBServiceClientModel.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBServiceClientModel.h deleted file mode 100644 index da3607cea8d..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDBServiceClientModel.h +++ /dev/null @@ -1,214 +0,0 @@ -/** - * 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 QLDBClient header */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -/* End of service model headers required in QLDBClient header */ - -namespace Aws { -namespace Http { -class HttpClient; -class HttpClientFactory; -} // namespace Http - -namespace Utils { -template -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 QLDB { -using QLDBClientConfiguration = Aws::Client::GenericClientConfiguration; -using QLDBEndpointProviderBase = Aws::QLDB::Endpoint::QLDBEndpointProviderBase; -using QLDBEndpointProvider = Aws::QLDB::Endpoint::QLDBEndpointProvider; - -namespace Model { -/* Service model forward declarations required in QLDBClient header */ -class CancelJournalKinesisStreamRequest; -class CreateLedgerRequest; -class DeleteLedgerRequest; -class DescribeJournalKinesisStreamRequest; -class DescribeJournalS3ExportRequest; -class DescribeLedgerRequest; -class ExportJournalToS3Request; -class GetBlockRequest; -class GetDigestRequest; -class GetRevisionRequest; -class ListJournalKinesisStreamsForLedgerRequest; -class ListJournalS3ExportsRequest; -class ListJournalS3ExportsForLedgerRequest; -class ListLedgersRequest; -class ListTagsForResourceRequest; -class StreamJournalToKinesisRequest; -class TagResourceRequest; -class UntagResourceRequest; -class UpdateLedgerRequest; -class UpdateLedgerPermissionsModeRequest; -/* End of service model forward declarations required in QLDBClient header */ - -/* Service model Outcome class definitions */ -typedef Aws::Utils::Outcome CancelJournalKinesisStreamOutcome; -typedef Aws::Utils::Outcome CreateLedgerOutcome; -typedef Aws::Utils::Outcome DeleteLedgerOutcome; -typedef Aws::Utils::Outcome DescribeJournalKinesisStreamOutcome; -typedef Aws::Utils::Outcome DescribeJournalS3ExportOutcome; -typedef Aws::Utils::Outcome DescribeLedgerOutcome; -typedef Aws::Utils::Outcome ExportJournalToS3Outcome; -typedef Aws::Utils::Outcome GetBlockOutcome; -typedef Aws::Utils::Outcome GetDigestOutcome; -typedef Aws::Utils::Outcome GetRevisionOutcome; -typedef Aws::Utils::Outcome ListJournalKinesisStreamsForLedgerOutcome; -typedef Aws::Utils::Outcome ListJournalS3ExportsOutcome; -typedef Aws::Utils::Outcome ListJournalS3ExportsForLedgerOutcome; -typedef Aws::Utils::Outcome ListLedgersOutcome; -typedef Aws::Utils::Outcome ListTagsForResourceOutcome; -typedef Aws::Utils::Outcome StreamJournalToKinesisOutcome; -typedef Aws::Utils::Outcome TagResourceOutcome; -typedef Aws::Utils::Outcome UntagResourceOutcome; -typedef Aws::Utils::Outcome UpdateLedgerOutcome; -typedef Aws::Utils::Outcome UpdateLedgerPermissionsModeOutcome; -/* End of service model Outcome class definitions */ - -/* Service model Outcome callable definitions */ -typedef std::future CancelJournalKinesisStreamOutcomeCallable; -typedef std::future CreateLedgerOutcomeCallable; -typedef std::future DeleteLedgerOutcomeCallable; -typedef std::future DescribeJournalKinesisStreamOutcomeCallable; -typedef std::future DescribeJournalS3ExportOutcomeCallable; -typedef std::future DescribeLedgerOutcomeCallable; -typedef std::future ExportJournalToS3OutcomeCallable; -typedef std::future GetBlockOutcomeCallable; -typedef std::future GetDigestOutcomeCallable; -typedef std::future GetRevisionOutcomeCallable; -typedef std::future ListJournalKinesisStreamsForLedgerOutcomeCallable; -typedef std::future ListJournalS3ExportsOutcomeCallable; -typedef std::future ListJournalS3ExportsForLedgerOutcomeCallable; -typedef std::future ListLedgersOutcomeCallable; -typedef std::future ListTagsForResourceOutcomeCallable; -typedef std::future StreamJournalToKinesisOutcomeCallable; -typedef std::future TagResourceOutcomeCallable; -typedef std::future UntagResourceOutcomeCallable; -typedef std::future UpdateLedgerOutcomeCallable; -typedef std::future UpdateLedgerPermissionsModeOutcomeCallable; -/* End of service model Outcome callable definitions */ -} // namespace Model - -class QLDBClient; - -/* Service model async handlers definitions */ -typedef std::function&)> - CancelJournalKinesisStreamResponseReceivedHandler; -typedef std::function&)> - CreateLedgerResponseReceivedHandler; -typedef std::function&)> - DeleteLedgerResponseReceivedHandler; -typedef std::function&)> - DescribeJournalKinesisStreamResponseReceivedHandler; -typedef std::function&)> - DescribeJournalS3ExportResponseReceivedHandler; -typedef std::function&)> - DescribeLedgerResponseReceivedHandler; -typedef std::function&)> - ExportJournalToS3ResponseReceivedHandler; -typedef std::function&)> - GetBlockResponseReceivedHandler; -typedef std::function&)> - GetDigestResponseReceivedHandler; -typedef std::function&)> - GetRevisionResponseReceivedHandler; -typedef std::function&)> - ListJournalKinesisStreamsForLedgerResponseReceivedHandler; -typedef std::function&)> - ListJournalS3ExportsResponseReceivedHandler; -typedef std::function&)> - ListJournalS3ExportsForLedgerResponseReceivedHandler; -typedef std::function&)> - ListLedgersResponseReceivedHandler; -typedef std::function&)> - ListTagsForResourceResponseReceivedHandler; -typedef std::function&)> - StreamJournalToKinesisResponseReceivedHandler; -typedef std::function&)> - TagResourceResponseReceivedHandler; -typedef std::function&)> - UntagResourceResponseReceivedHandler; -typedef std::function&)> - UpdateLedgerResponseReceivedHandler; -typedef std::function&)> - UpdateLedgerPermissionsModeResponseReceivedHandler; -/* End of service model async handlers definitions */ -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDB_EXPORTS.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDB_EXPORTS.h deleted file mode 100644 index 9aa29d9fce1..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/QLDB_EXPORTS.h +++ /dev/null @@ -1,32 +0,0 @@ -/** - * 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_QLDB_EXPORTS -#define AWS_QLDB_API __declspec(dllexport) -#else -#define AWS_QLDB_API __declspec(dllimport) -#endif /* AWS_QLDB_EXPORTS */ -#define AWS_QLDB_EXTERN -#else -#define AWS_QLDB_API -#define AWS_QLDB_EXTERN extern -#endif // USE_IMPORT_EXPORT -#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) -#define AWS_QLDB_API -#define AWS_QLDB_EXTERN extern -#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CancelJournalKinesisStreamRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CancelJournalKinesisStreamRequest.h deleted file mode 100644 index 680ca5359b0..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CancelJournalKinesisStreamRequest.h +++ /dev/null @@ -1,77 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class CancelJournalKinesisStreamRequest : public QLDBRequest { - public: - AWS_QLDB_API CancelJournalKinesisStreamRequest() = default; - - // 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 "CancelJournalKinesisStream"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetLedgerName() const { return m_ledgerName; } - inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; } - template - void SetLedgerName(LedgerNameT&& value) { - m_ledgerNameHasBeenSet = true; - m_ledgerName = std::forward(value); - } - template - CancelJournalKinesisStreamRequest& WithLedgerName(LedgerNameT&& value) { - SetLedgerName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The UUID (represented in Base62-encoded text) of the QLDB journal stream to - * be canceled.

- */ - inline const Aws::String& GetStreamId() const { return m_streamId; } - inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } - template - void SetStreamId(StreamIdT&& value) { - m_streamIdHasBeenSet = true; - m_streamId = std::forward(value); - } - template - CancelJournalKinesisStreamRequest& WithStreamId(StreamIdT&& value) { - SetStreamId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_ledgerName; - bool m_ledgerNameHasBeenSet = false; - - Aws::String m_streamId; - bool m_streamIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CancelJournalKinesisStreamResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CancelJournalKinesisStreamResult.h deleted file mode 100644 index e3cc6a82163..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CancelJournalKinesisStreamResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class CancelJournalKinesisStreamResult { - public: - AWS_QLDB_API CancelJournalKinesisStreamResult() = default; - AWS_QLDB_API CancelJournalKinesisStreamResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API CancelJournalKinesisStreamResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The UUID (Base62-encoded text) of the canceled QLDB journal stream.

- */ - inline const Aws::String& GetStreamId() const { return m_streamId; } - template - void SetStreamId(StreamIdT&& value) { - m_streamIdHasBeenSet = true; - m_streamId = std::forward(value); - } - template - CancelJournalKinesisStreamResult& WithStreamId(StreamIdT&& value) { - SetStreamId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CancelJournalKinesisStreamResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_streamId; - bool m_streamIdHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CreateLedgerRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CreateLedgerRequest.h deleted file mode 100644 index e16ad29b487..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CreateLedgerRequest.h +++ /dev/null @@ -1,196 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class CreateLedgerRequest : public QLDBRequest { - public: - AWS_QLDB_API CreateLedgerRequest() = default; - - // 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 "CreateLedger"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the ledger that you want to create. The name must be unique among - * all of the ledgers in your Amazon Web Services account in the current - * Region.

Naming constraints for ledger names are defined in Quotas - * in Amazon QLDB in the Amazon QLDB Developer Guide.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - CreateLedgerRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The key-value pairs to add as tags to the ledger that you want to create. Tag - * keys are case sensitive. Tag values are case sensitive and can be null.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateLedgerRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateLedgerRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The permissions mode to assign to the ledger that you want to create. This - * parameter can have one of the following values:

  • - * ALLOW_ALL: A legacy permissions mode that enables access control - * with API-level granularity for ledgers.

    This mode allows users who have - * the SendCommand API permission for this ledger to run all PartiQL - * commands (hence, ALLOW_ALL) on any tables in the specified ledger. - * This mode disregards any table-level or command-level IAM permissions policies - * that you create for the ledger.

  • STANDARD: - * (Recommended) A permissions mode that enables access control with finer - * granularity for ledgers, tables, and PartiQL commands.

    By default, this - * mode denies all user requests to run any PartiQL commands on any tables in this - * ledger. To allow PartiQL commands to run, you must create IAM permissions - * policies for specific table resources and PartiQL actions, in addition to the - * SendCommand API permission for the ledger. For information, see Getting - * started with the standard permissions mode in the Amazon QLDB Developer - * Guide.

We strongly recommend using the - * STANDARD permissions mode to maximize the security of your ledger - * data.

- */ - inline PermissionsMode GetPermissionsMode() const { return m_permissionsMode; } - inline bool PermissionsModeHasBeenSet() const { return m_permissionsModeHasBeenSet; } - inline void SetPermissionsMode(PermissionsMode value) { - m_permissionsModeHasBeenSet = true; - m_permissionsMode = value; - } - inline CreateLedgerRequest& WithPermissionsMode(PermissionsMode value) { - SetPermissionsMode(value); - return *this; - } - ///@} - - ///@{ - /** - *

Specifies whether the ledger is protected from being deleted by any user. If - * not defined during ledger creation, this feature is enabled (true) - * by default.

If deletion protection is enabled, you must first disable it - * before you can delete the ledger. You can disable it by calling the - * UpdateLedger operation to set this parameter to - * false.

- */ - inline bool GetDeletionProtection() const { return m_deletionProtection; } - inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; } - inline void SetDeletionProtection(bool value) { - m_deletionProtectionHasBeenSet = true; - m_deletionProtection = value; - } - inline CreateLedgerRequest& WithDeletionProtection(bool value) { - SetDeletionProtection(value); - return *this; - } - ///@} - - ///@{ - /** - *

The key in Key Management Service (KMS) to use for encryption of data at rest - * in the ledger. For more information, see Encryption - * at rest in the Amazon QLDB Developer Guide.

Use one of the - * following options to specify this parameter:

  • - * AWS_OWNED_KMS_KEY: Use an KMS key that is owned and managed by - * Amazon Web Services on your behalf.

  • Undefined: By - * default, use an Amazon Web Services owned KMS key.

  • A valid - * symmetric customer managed KMS key: Use the specified symmetric encryption - * KMS key in your account that you create, own, and manage.

    Amazon QLDB - * does not support asymmetric keys. For more information, see Using - * symmetric and asymmetric keys in the Key Management Service Developer - * Guide.

To specify a customer managed KMS key, you can use - * its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an - * alias name, prefix it with "alias/". To specify a key in a - * different Amazon Web Services account, you must use the key ARN or alias - * ARN.

For example:

  • Key ID: - * 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: - * arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - *

  • Alias name: alias/ExampleAlias

  • - *

    Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias - *

For more information, see Key - * identifiers (KeyId) in the Key Management Service Developer - * Guide.

- */ - inline const Aws::String& GetKmsKey() const { return m_kmsKey; } - inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; } - template - void SetKmsKey(KmsKeyT&& value) { - m_kmsKeyHasBeenSet = true; - m_kmsKey = std::forward(value); - } - template - CreateLedgerRequest& WithKmsKey(KmsKeyT&& value) { - SetKmsKey(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - PermissionsMode m_permissionsMode{PermissionsMode::NOT_SET}; - bool m_permissionsModeHasBeenSet = false; - - bool m_deletionProtection{false}; - bool m_deletionProtectionHasBeenSet = false; - - Aws::String m_kmsKey; - bool m_kmsKeyHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CreateLedgerResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CreateLedgerResult.h deleted file mode 100644 index 3a5d2036068..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/CreateLedgerResult.h +++ /dev/null @@ -1,196 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class CreateLedgerResult { - public: - AWS_QLDB_API CreateLedgerResult() = default; - AWS_QLDB_API CreateLedgerResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API CreateLedgerResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - CreateLedgerResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) for the ledger.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - CreateLedgerResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The current status of the ledger.

- */ - inline LedgerState GetState() const { return m_state; } - inline void SetState(LedgerState value) { - m_stateHasBeenSet = true; - m_state = value; - } - inline CreateLedgerResult& WithState(LedgerState value) { - SetState(value); - return *this; - } - ///@} - - ///@{ - /** - *

The date and time, in epoch time format, when the ledger was created. (Epoch - * time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 - * UTC.)

- */ - inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; } - template - void SetCreationDateTime(CreationDateTimeT&& value) { - m_creationDateTimeHasBeenSet = true; - m_creationDateTime = std::forward(value); - } - template - CreateLedgerResult& WithCreationDateTime(CreationDateTimeT&& value) { - SetCreationDateTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The permissions mode of the ledger that you created.

- */ - inline PermissionsMode GetPermissionsMode() const { return m_permissionsMode; } - inline void SetPermissionsMode(PermissionsMode value) { - m_permissionsModeHasBeenSet = true; - m_permissionsMode = value; - } - inline CreateLedgerResult& WithPermissionsMode(PermissionsMode value) { - SetPermissionsMode(value); - return *this; - } - ///@} - - ///@{ - /** - *

Specifies whether the ledger is protected from being deleted by any user. If - * not defined during ledger creation, this feature is enabled (true) - * by default.

If deletion protection is enabled, you must first disable it - * before you can delete the ledger. You can disable it by calling the - * UpdateLedger operation to set this parameter to - * false.

- */ - inline bool GetDeletionProtection() const { return m_deletionProtection; } - inline void SetDeletionProtection(bool value) { - m_deletionProtectionHasBeenSet = true; - m_deletionProtection = value; - } - inline CreateLedgerResult& WithDeletionProtection(bool value) { - SetDeletionProtection(value); - return *this; - } - ///@} - - ///@{ - /** - *

The ARN of the customer managed KMS key that the ledger uses for encryption - * at rest. If this parameter is undefined, the ledger uses an Amazon Web Services - * owned KMS key for encryption.

- */ - inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; } - template - void SetKmsKeyArn(KmsKeyArnT&& value) { - m_kmsKeyArnHasBeenSet = true; - m_kmsKeyArn = std::forward(value); - } - template - CreateLedgerResult& WithKmsKeyArn(KmsKeyArnT&& value) { - SetKmsKeyArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateLedgerResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - LedgerState m_state{LedgerState::NOT_SET}; - bool m_stateHasBeenSet = false; - - Aws::Utils::DateTime m_creationDateTime{}; - bool m_creationDateTimeHasBeenSet = false; - - PermissionsMode m_permissionsMode{PermissionsMode::NOT_SET}; - bool m_permissionsModeHasBeenSet = false; - - bool m_deletionProtection{false}; - bool m_deletionProtectionHasBeenSet = false; - - Aws::String m_kmsKeyArn; - bool m_kmsKeyArnHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DeleteLedgerRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DeleteLedgerRequest.h deleted file mode 100644 index af846c9862e..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DeleteLedgerRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class DeleteLedgerRequest : public QLDBRequest { - public: - AWS_QLDB_API DeleteLedgerRequest() = default; - - // 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 "DeleteLedger"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the ledger that you want to delete.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - DeleteLedgerRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalKinesisStreamRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalKinesisStreamRequest.h deleted file mode 100644 index c4822551a47..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalKinesisStreamRequest.h +++ /dev/null @@ -1,77 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class DescribeJournalKinesisStreamRequest : public QLDBRequest { - public: - AWS_QLDB_API DescribeJournalKinesisStreamRequest() = default; - - // 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 "DescribeJournalKinesisStream"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetLedgerName() const { return m_ledgerName; } - inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; } - template - void SetLedgerName(LedgerNameT&& value) { - m_ledgerNameHasBeenSet = true; - m_ledgerName = std::forward(value); - } - template - DescribeJournalKinesisStreamRequest& WithLedgerName(LedgerNameT&& value) { - SetLedgerName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The UUID (represented in Base62-encoded text) of the QLDB journal stream to - * describe.

- */ - inline const Aws::String& GetStreamId() const { return m_streamId; } - inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } - template - void SetStreamId(StreamIdT&& value) { - m_streamIdHasBeenSet = true; - m_streamId = std::forward(value); - } - template - DescribeJournalKinesisStreamRequest& WithStreamId(StreamIdT&& value) { - SetStreamId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_ledgerName; - bool m_ledgerNameHasBeenSet = false; - - Aws::String m_streamId; - bool m_streamIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalKinesisStreamResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalKinesisStreamResult.h deleted file mode 100644 index 9d98847238a..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalKinesisStreamResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class DescribeJournalKinesisStreamResult { - public: - AWS_QLDB_API DescribeJournalKinesisStreamResult() = default; - AWS_QLDB_API DescribeJournalKinesisStreamResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API DescribeJournalKinesisStreamResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Information about the QLDB journal stream returned by a - * DescribeJournalS3Export request.

- */ - inline const JournalKinesisStreamDescription& GetStream() const { return m_stream; } - template - void SetStream(StreamT&& value) { - m_streamHasBeenSet = true; - m_stream = std::forward(value); - } - template - DescribeJournalKinesisStreamResult& WithStream(StreamT&& value) { - SetStream(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeJournalKinesisStreamResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - JournalKinesisStreamDescription m_stream; - bool m_streamHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalS3ExportRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalS3ExportRequest.h deleted file mode 100644 index eeeacd032cb..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalS3ExportRequest.h +++ /dev/null @@ -1,77 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class DescribeJournalS3ExportRequest : public QLDBRequest { - public: - AWS_QLDB_API DescribeJournalS3ExportRequest() = default; - - // 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 "DescribeJournalS3Export"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - DescribeJournalS3ExportRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The UUID (represented in Base62-encoded text) of the journal export job to - * describe.

- */ - inline const Aws::String& GetExportId() const { return m_exportId; } - inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; } - template - void SetExportId(ExportIdT&& value) { - m_exportIdHasBeenSet = true; - m_exportId = std::forward(value); - } - template - DescribeJournalS3ExportRequest& WithExportId(ExportIdT&& value) { - SetExportId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_exportId; - bool m_exportIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalS3ExportResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalS3ExportResult.h deleted file mode 100644 index ab6e00423ae..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalS3ExportResult.h +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class DescribeJournalS3ExportResult { - public: - AWS_QLDB_API DescribeJournalS3ExportResult() = default; - AWS_QLDB_API DescribeJournalS3ExportResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API DescribeJournalS3ExportResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Information about the journal export job returned by a - * DescribeJournalS3Export request.

- */ - inline const JournalS3ExportDescription& GetExportDescription() const { return m_exportDescription; } - template - void SetExportDescription(ExportDescriptionT&& value) { - m_exportDescriptionHasBeenSet = true; - m_exportDescription = std::forward(value); - } - template - DescribeJournalS3ExportResult& WithExportDescription(ExportDescriptionT&& value) { - SetExportDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeJournalS3ExportResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - JournalS3ExportDescription m_exportDescription; - bool m_exportDescriptionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeLedgerRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeLedgerRequest.h deleted file mode 100644 index 16b83abc6d5..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeLedgerRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class DescribeLedgerRequest : public QLDBRequest { - public: - AWS_QLDB_API DescribeLedgerRequest() = default; - - // 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 "DescribeLedger"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the ledger that you want to describe.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - DescribeLedgerRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeLedgerResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeLedgerResult.h deleted file mode 100644 index d3836db8567..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeLedgerResult.h +++ /dev/null @@ -1,198 +0,0 @@ -/** - * 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 { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace QLDB { -namespace Model { -class DescribeLedgerResult { - public: - AWS_QLDB_API DescribeLedgerResult() = default; - AWS_QLDB_API DescribeLedgerResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API DescribeLedgerResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - DescribeLedgerResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) for the ledger.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - DescribeLedgerResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The current status of the ledger.

- */ - inline LedgerState GetState() const { return m_state; } - inline void SetState(LedgerState value) { - m_stateHasBeenSet = true; - m_state = value; - } - inline DescribeLedgerResult& WithState(LedgerState value) { - SetState(value); - return *this; - } - ///@} - - ///@{ - /** - *

The date and time, in epoch time format, when the ledger was created. (Epoch - * time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 - * UTC.)

- */ - inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; } - template - void SetCreationDateTime(CreationDateTimeT&& value) { - m_creationDateTimeHasBeenSet = true; - m_creationDateTime = std::forward(value); - } - template - DescribeLedgerResult& WithCreationDateTime(CreationDateTimeT&& value) { - SetCreationDateTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The permissions mode of the ledger.

- */ - inline PermissionsMode GetPermissionsMode() const { return m_permissionsMode; } - inline void SetPermissionsMode(PermissionsMode value) { - m_permissionsModeHasBeenSet = true; - m_permissionsMode = value; - } - inline DescribeLedgerResult& WithPermissionsMode(PermissionsMode value) { - SetPermissionsMode(value); - return *this; - } - ///@} - - ///@{ - /** - *

Specifies whether the ledger is protected from being deleted by any user. If - * not defined during ledger creation, this feature is enabled (true) - * by default.

If deletion protection is enabled, you must first disable it - * before you can delete the ledger. You can disable it by calling the - * UpdateLedger operation to set this parameter to - * false.

- */ - inline bool GetDeletionProtection() const { return m_deletionProtection; } - inline void SetDeletionProtection(bool value) { - m_deletionProtectionHasBeenSet = true; - m_deletionProtection = value; - } - inline DescribeLedgerResult& WithDeletionProtection(bool value) { - SetDeletionProtection(value); - return *this; - } - ///@} - - ///@{ - /** - *

Information about the encryption of data at rest in the ledger. This includes - * the current status, the KMS key, and when the key became inaccessible (in the - * case of an error). If this parameter is undefined, the ledger uses an Amazon Web - * Services owned KMS key for encryption.

- */ - inline const LedgerEncryptionDescription& GetEncryptionDescription() const { return m_encryptionDescription; } - template - void SetEncryptionDescription(EncryptionDescriptionT&& value) { - m_encryptionDescriptionHasBeenSet = true; - m_encryptionDescription = std::forward(value); - } - template - DescribeLedgerResult& WithEncryptionDescription(EncryptionDescriptionT&& value) { - SetEncryptionDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeLedgerResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - LedgerState m_state{LedgerState::NOT_SET}; - bool m_stateHasBeenSet = false; - - Aws::Utils::DateTime m_creationDateTime{}; - bool m_creationDateTimeHasBeenSet = false; - - PermissionsMode m_permissionsMode{PermissionsMode::NOT_SET}; - bool m_permissionsModeHasBeenSet = false; - - bool m_deletionProtection{false}; - bool m_deletionProtectionHasBeenSet = false; - - LedgerEncryptionDescription m_encryptionDescription; - bool m_encryptionDescriptionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/EncryptionStatus.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/EncryptionStatus.h deleted file mode 100644 index c2f2dc359bd..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/EncryptionStatus.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace QLDB { -namespace Model { -enum class EncryptionStatus { NOT_SET, ENABLED, UPDATING, KMS_KEY_INACCESSIBLE }; - -namespace EncryptionStatusMapper { -AWS_QLDB_API EncryptionStatus GetEncryptionStatusForName(const Aws::String& name); - -AWS_QLDB_API Aws::String GetNameForEncryptionStatus(EncryptionStatus value); -} // namespace EncryptionStatusMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ErrorCause.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ErrorCause.h deleted file mode 100644 index d6025628c03..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ErrorCause.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace QLDB { -namespace Model { -enum class ErrorCause { NOT_SET, KINESIS_STREAM_NOT_FOUND, IAM_PERMISSION_REVOKED }; - -namespace ErrorCauseMapper { -AWS_QLDB_API ErrorCause GetErrorCauseForName(const Aws::String& name); - -AWS_QLDB_API Aws::String GetNameForErrorCause(ErrorCause value); -} // namespace ErrorCauseMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ExportJournalToS3Request.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ExportJournalToS3Request.h deleted file mode 100644 index fca4e232180..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ExportJournalToS3Request.h +++ /dev/null @@ -1,190 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class ExportJournalToS3Request : public QLDBRequest { - public: - AWS_QLDB_API ExportJournalToS3Request() = default; - - // 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 "ExportJournalToS3"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - ExportJournalToS3Request& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The inclusive start date and time for the range of journal contents to - * export.

The InclusiveStartTime must be in ISO - * 8601 date and time format and in Universal Coordinated Time (UTC). For - * example: 2019-06-13T21:36:34Z.

The - * InclusiveStartTime must be before - * ExclusiveEndTime.

If you provide an - * InclusiveStartTime that is before the ledger's - * CreationDateTime, Amazon QLDB defaults it to the ledger's - * CreationDateTime.

- */ - inline const Aws::Utils::DateTime& GetInclusiveStartTime() const { return m_inclusiveStartTime; } - inline bool InclusiveStartTimeHasBeenSet() const { return m_inclusiveStartTimeHasBeenSet; } - template - void SetInclusiveStartTime(InclusiveStartTimeT&& value) { - m_inclusiveStartTimeHasBeenSet = true; - m_inclusiveStartTime = std::forward(value); - } - template - ExportJournalToS3Request& WithInclusiveStartTime(InclusiveStartTimeT&& value) { - SetInclusiveStartTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The exclusive end date and time for the range of journal contents to - * export.

The ExclusiveEndTime must be in ISO - * 8601 date and time format and in Universal Coordinated Time (UTC). For - * example: 2019-06-13T21:36:34Z.

The - * ExclusiveEndTime must be less than or equal to the current UTC date - * and time.

- */ - inline const Aws::Utils::DateTime& GetExclusiveEndTime() const { return m_exclusiveEndTime; } - inline bool ExclusiveEndTimeHasBeenSet() const { return m_exclusiveEndTimeHasBeenSet; } - template - void SetExclusiveEndTime(ExclusiveEndTimeT&& value) { - m_exclusiveEndTimeHasBeenSet = true; - m_exclusiveEndTime = std::forward(value); - } - template - ExportJournalToS3Request& WithExclusiveEndTime(ExclusiveEndTimeT&& value) { - SetExclusiveEndTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The configuration settings of the Amazon S3 bucket destination for your - * export request.

- */ - inline const S3ExportConfiguration& GetS3ExportConfiguration() const { return m_s3ExportConfiguration; } - inline bool S3ExportConfigurationHasBeenSet() const { return m_s3ExportConfigurationHasBeenSet; } - template - void SetS3ExportConfiguration(S3ExportConfigurationT&& value) { - m_s3ExportConfigurationHasBeenSet = true; - m_s3ExportConfiguration = std::forward(value); - } - template - ExportJournalToS3Request& WithS3ExportConfiguration(S3ExportConfigurationT&& value) { - SetS3ExportConfiguration(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions - * for a journal export job to do the following:

  • Write objects - * into your Amazon S3 bucket.

  • (Optional) Use your customer - * managed key in Key Management Service (KMS) for server-side encryption of your - * exported data.

To pass a role to QLDB when requesting a - * journal export, you must have permissions to perform the - * iam:PassRole action on the IAM role resource. This is required for - * all journal export requests.

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - ExportJournalToS3Request& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The output format of your exported journal data. A journal export job can - * write the data objects in either the text or binary representation of Amazon - * Ion format, or in JSON Lines text - * format.

Default: ION_TEXT

In JSON Lines format, each - * journal block in an exported data object is a valid JSON object that is - * delimited by a newline. You can use this format to directly integrate JSON - * exports with analytics tools such as Amazon Athena and Glue because these - * services can parse newline-delimited JSON automatically.

- */ - inline OutputFormat GetOutputFormat() const { return m_outputFormat; } - inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; } - inline void SetOutputFormat(OutputFormat value) { - m_outputFormatHasBeenSet = true; - m_outputFormat = value; - } - inline ExportJournalToS3Request& WithOutputFormat(OutputFormat value) { - SetOutputFormat(value); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::Utils::DateTime m_inclusiveStartTime{}; - bool m_inclusiveStartTimeHasBeenSet = false; - - Aws::Utils::DateTime m_exclusiveEndTime{}; - bool m_exclusiveEndTimeHasBeenSet = false; - - S3ExportConfiguration m_s3ExportConfiguration; - bool m_s3ExportConfigurationHasBeenSet = false; - - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - OutputFormat m_outputFormat{OutputFormat::NOT_SET}; - bool m_outputFormatHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ExportJournalToS3Result.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ExportJournalToS3Result.h deleted file mode 100644 index 52ac283370b..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ExportJournalToS3Result.h +++ /dev/null @@ -1,73 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class ExportJournalToS3Result { - public: - AWS_QLDB_API ExportJournalToS3Result() = default; - AWS_QLDB_API ExportJournalToS3Result(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API ExportJournalToS3Result& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The UUID (represented in Base62-encoded text) that QLDB assigns to each - * journal export job.

To describe your export request and check the status - * of the job, you can use ExportId to call - * DescribeJournalS3Export.

- */ - inline const Aws::String& GetExportId() const { return m_exportId; } - template - void SetExportId(ExportIdT&& value) { - m_exportIdHasBeenSet = true; - m_exportId = std::forward(value); - } - template - ExportJournalToS3Result& WithExportId(ExportIdT&& value) { - SetExportId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ExportJournalToS3Result& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_exportId; - bool m_exportIdHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ExportStatus.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ExportStatus.h deleted file mode 100644 index fe1986a035e..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ExportStatus.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace QLDB { -namespace Model { -enum class ExportStatus { NOT_SET, IN_PROGRESS, COMPLETED, CANCELLED }; - -namespace ExportStatusMapper { -AWS_QLDB_API ExportStatus GetExportStatusForName(const Aws::String& name); - -AWS_QLDB_API Aws::String GetNameForExportStatus(ExportStatus value); -} // namespace ExportStatusMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetBlockRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetBlockRequest.h deleted file mode 100644 index 16b2675601f..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetBlockRequest.h +++ /dev/null @@ -1,104 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class GetBlockRequest : public QLDBRequest { - public: - AWS_QLDB_API GetBlockRequest() = default; - - // 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 "GetBlock"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - GetBlockRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The location of the block that you want to request. An address is an Amazon - * Ion structure that has two fields: strandId and - * sequenceNo.

For example: - * {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.

- */ - inline const ValueHolder& GetBlockAddress() const { return m_blockAddress; } - inline bool BlockAddressHasBeenSet() const { return m_blockAddressHasBeenSet; } - template - void SetBlockAddress(BlockAddressT&& value) { - m_blockAddressHasBeenSet = true; - m_blockAddress = std::forward(value); - } - template - GetBlockRequest& WithBlockAddress(BlockAddressT&& value) { - SetBlockAddress(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The latest block location covered by the digest for which to request a proof. - * An address is an Amazon Ion structure that has two fields: strandId - * and sequenceNo.

For example: - * {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.

- */ - inline const ValueHolder& GetDigestTipAddress() const { return m_digestTipAddress; } - inline bool DigestTipAddressHasBeenSet() const { return m_digestTipAddressHasBeenSet; } - template - void SetDigestTipAddress(DigestTipAddressT&& value) { - m_digestTipAddressHasBeenSet = true; - m_digestTipAddress = std::forward(value); - } - template - GetBlockRequest& WithDigestTipAddress(DigestTipAddressT&& value) { - SetDigestTipAddress(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - ValueHolder m_blockAddress; - bool m_blockAddressHasBeenSet = false; - - ValueHolder m_digestTipAddress; - bool m_digestTipAddressHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetBlockResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetBlockResult.h deleted file mode 100644 index 041b134460a..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetBlockResult.h +++ /dev/null @@ -1,93 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class GetBlockResult { - public: - AWS_QLDB_API GetBlockResult() = default; - AWS_QLDB_API GetBlockResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API GetBlockResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The block data object in Amazon Ion format.

- */ - inline const ValueHolder& GetBlock() const { return m_block; } - template - void SetBlock(BlockT&& value) { - m_blockHasBeenSet = true; - m_block = std::forward(value); - } - template - GetBlockResult& WithBlock(BlockT&& value) { - SetBlock(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The proof object in Amazon Ion format returned by a GetBlock - * request. A proof contains the list of hash values required to recalculate the - * specified digest using a Merkle tree, starting with the specified block.

- */ - inline const ValueHolder& GetProof() const { return m_proof; } - template - void SetProof(ProofT&& value) { - m_proofHasBeenSet = true; - m_proof = std::forward(value); - } - template - GetBlockResult& WithProof(ProofT&& value) { - SetProof(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - GetBlockResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - ValueHolder m_block; - bool m_blockHasBeenSet = false; - - ValueHolder m_proof; - bool m_proofHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetDigestRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetDigestRequest.h deleted file mode 100644 index 8ffff67d8c6..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetDigestRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class GetDigestRequest : public QLDBRequest { - public: - AWS_QLDB_API GetDigestRequest() = default; - - // 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 "GetDigest"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - GetDigestRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetDigestResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetDigestResult.h deleted file mode 100644 index 81785a1fcd7..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetDigestResult.h +++ /dev/null @@ -1,95 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class GetDigestResult { - public: - AWS_QLDB_API GetDigestResult() = default; - AWS_QLDB_API GetDigestResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API GetDigestResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The 256-bit hash value representing the digest returned by a - * GetDigest request.

- */ - inline const Aws::Utils::ByteBuffer& GetDigest() const { return m_digest; } - template - void SetDigest(DigestT&& value) { - m_digestHasBeenSet = true; - m_digest = std::forward(value); - } - template - GetDigestResult& WithDigest(DigestT&& value) { - SetDigest(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The latest block location covered by the digest that you requested. An - * address is an Amazon Ion structure that has two fields: strandId - * and sequenceNo.

- */ - inline const ValueHolder& GetDigestTipAddress() const { return m_digestTipAddress; } - template - void SetDigestTipAddress(DigestTipAddressT&& value) { - m_digestTipAddressHasBeenSet = true; - m_digestTipAddress = std::forward(value); - } - template - GetDigestResult& WithDigestTipAddress(DigestTipAddressT&& value) { - SetDigestTipAddress(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - GetDigestResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Utils::ByteBuffer m_digest{}; - bool m_digestHasBeenSet = false; - - ValueHolder m_digestTipAddress; - bool m_digestTipAddressHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetRevisionRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetRevisionRequest.h deleted file mode 100644 index 83c8c23422c..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetRevisionRequest.h +++ /dev/null @@ -1,126 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class GetRevisionRequest : public QLDBRequest { - public: - AWS_QLDB_API GetRevisionRequest() = default; - - // 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 "GetRevision"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - GetRevisionRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The block location of the document revision to be verified. An address is an - * Amazon Ion structure that has two fields: strandId and - * sequenceNo.

For example: - * {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.

- */ - inline const ValueHolder& GetBlockAddress() const { return m_blockAddress; } - inline bool BlockAddressHasBeenSet() const { return m_blockAddressHasBeenSet; } - template - void SetBlockAddress(BlockAddressT&& value) { - m_blockAddressHasBeenSet = true; - m_blockAddress = std::forward(value); - } - template - GetRevisionRequest& WithBlockAddress(BlockAddressT&& value) { - SetBlockAddress(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The UUID (represented in Base62-encoded text) of the document to be - * verified.

- */ - inline const Aws::String& GetDocumentId() const { return m_documentId; } - inline bool DocumentIdHasBeenSet() const { return m_documentIdHasBeenSet; } - template - void SetDocumentId(DocumentIdT&& value) { - m_documentIdHasBeenSet = true; - m_documentId = std::forward(value); - } - template - GetRevisionRequest& WithDocumentId(DocumentIdT&& value) { - SetDocumentId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The latest block location covered by the digest for which to request a proof. - * An address is an Amazon Ion structure that has two fields: strandId - * and sequenceNo.

For example: - * {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.

- */ - inline const ValueHolder& GetDigestTipAddress() const { return m_digestTipAddress; } - inline bool DigestTipAddressHasBeenSet() const { return m_digestTipAddressHasBeenSet; } - template - void SetDigestTipAddress(DigestTipAddressT&& value) { - m_digestTipAddressHasBeenSet = true; - m_digestTipAddress = std::forward(value); - } - template - GetRevisionRequest& WithDigestTipAddress(DigestTipAddressT&& value) { - SetDigestTipAddress(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - ValueHolder m_blockAddress; - bool m_blockAddressHasBeenSet = false; - - Aws::String m_documentId; - bool m_documentIdHasBeenSet = false; - - ValueHolder m_digestTipAddress; - bool m_digestTipAddressHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetRevisionResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetRevisionResult.h deleted file mode 100644 index b0500560d34..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/GetRevisionResult.h +++ /dev/null @@ -1,94 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class GetRevisionResult { - public: - AWS_QLDB_API GetRevisionResult() = default; - AWS_QLDB_API GetRevisionResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API GetRevisionResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The proof object in Amazon Ion format returned by a GetRevision - * request. A proof contains the list of hash values that are required to - * recalculate the specified digest using a Merkle tree, starting with the - * specified document revision.

- */ - inline const ValueHolder& GetProof() const { return m_proof; } - template - void SetProof(ProofT&& value) { - m_proofHasBeenSet = true; - m_proof = std::forward(value); - } - template - GetRevisionResult& WithProof(ProofT&& value) { - SetProof(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The document revision data object in Amazon Ion format.

- */ - inline const ValueHolder& GetRevision() const { return m_revision; } - template - void SetRevision(RevisionT&& value) { - m_revisionHasBeenSet = true; - m_revision = std::forward(value); - } - template - GetRevisionResult& WithRevision(RevisionT&& value) { - SetRevision(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - GetRevisionResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - ValueHolder m_proof; - bool m_proofHasBeenSet = false; - - ValueHolder m_revision; - bool m_revisionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/InvalidParameterException.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/InvalidParameterException.h deleted file mode 100644 index b01990ffa21..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/InvalidParameterException.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - *

One or more parameters in the request aren't valid.

See Also:

- * AWS - * API Reference

- */ -class InvalidParameterException { - public: - AWS_QLDB_API InvalidParameterException() = default; - AWS_QLDB_API InvalidParameterException(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API InvalidParameterException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - InvalidParameterException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the invalid parameter.

- */ - inline const Aws::String& GetParameterName() const { return m_parameterName; } - inline bool ParameterNameHasBeenSet() const { return m_parameterNameHasBeenSet; } - template - void SetParameterName(ParameterNameT&& value) { - m_parameterNameHasBeenSet = true; - m_parameterName = std::forward(value); - } - template - InvalidParameterException& WithParameterName(ParameterNameT&& value) { - SetParameterName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - - Aws::String m_parameterName; - bool m_parameterNameHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/JournalKinesisStreamDescription.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/JournalKinesisStreamDescription.h deleted file mode 100644 index ba70655f721..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/JournalKinesisStreamDescription.h +++ /dev/null @@ -1,280 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - *

Information about an Amazon QLDB journal stream, including the Amazon - * Resource Name (ARN), stream name, creation time, current status, and the - * parameters of the original stream creation request.

See Also:

- * AWS - * API Reference

- */ -class JournalKinesisStreamDescription { - public: - AWS_QLDB_API JournalKinesisStreamDescription() = default; - AWS_QLDB_API JournalKinesisStreamDescription(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API JournalKinesisStreamDescription& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetLedgerName() const { return m_ledgerName; } - inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; } - template - void SetLedgerName(LedgerNameT&& value) { - m_ledgerNameHasBeenSet = true; - m_ledgerName = std::forward(value); - } - template - JournalKinesisStreamDescription& WithLedgerName(LedgerNameT&& value) { - SetLedgerName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The date and time, in epoch time format, when the QLDB journal stream was - * created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM - * January 1, 1970 UTC.)

- */ - inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; } - inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } - template - void SetCreationTime(CreationTimeT&& value) { - m_creationTimeHasBeenSet = true; - m_creationTime = std::forward(value); - } - template - JournalKinesisStreamDescription& WithCreationTime(CreationTimeT&& value) { - SetCreationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The inclusive start date and time from which to start streaming journal - * data.

- */ - inline const Aws::Utils::DateTime& GetInclusiveStartTime() const { return m_inclusiveStartTime; } - inline bool InclusiveStartTimeHasBeenSet() const { return m_inclusiveStartTimeHasBeenSet; } - template - void SetInclusiveStartTime(InclusiveStartTimeT&& value) { - m_inclusiveStartTimeHasBeenSet = true; - m_inclusiveStartTime = std::forward(value); - } - template - JournalKinesisStreamDescription& WithInclusiveStartTime(InclusiveStartTimeT&& value) { - SetInclusiveStartTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The exclusive date and time that specifies when the stream ends. If this - * parameter is undefined, the stream runs indefinitely until you cancel it.

- */ - inline const Aws::Utils::DateTime& GetExclusiveEndTime() const { return m_exclusiveEndTime; } - inline bool ExclusiveEndTimeHasBeenSet() const { return m_exclusiveEndTimeHasBeenSet; } - template - void SetExclusiveEndTime(ExclusiveEndTimeT&& value) { - m_exclusiveEndTimeHasBeenSet = true; - m_exclusiveEndTime = std::forward(value); - } - template - JournalKinesisStreamDescription& WithExclusiveEndTime(ExclusiveEndTimeT&& value) { - SetExclusiveEndTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions - * for a journal stream to write data records to a Kinesis Data Streams - * resource.

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - JournalKinesisStreamDescription& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The UUID (represented in Base62-encoded text) of the QLDB journal stream.

- */ - inline const Aws::String& GetStreamId() const { return m_streamId; } - inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } - template - void SetStreamId(StreamIdT&& value) { - m_streamIdHasBeenSet = true; - m_streamId = std::forward(value); - } - template - JournalKinesisStreamDescription& WithStreamId(StreamIdT&& value) { - SetStreamId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the QLDB journal stream.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - JournalKinesisStreamDescription& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The current state of the QLDB journal stream.

- */ - inline StreamStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(StreamStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline JournalKinesisStreamDescription& WithStatus(StreamStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The configuration settings of the Amazon Kinesis Data Streams destination for - * a QLDB journal stream.

- */ - inline const KinesisConfiguration& GetKinesisConfiguration() const { return m_kinesisConfiguration; } - inline bool KinesisConfigurationHasBeenSet() const { return m_kinesisConfigurationHasBeenSet; } - template - void SetKinesisConfiguration(KinesisConfigurationT&& value) { - m_kinesisConfigurationHasBeenSet = true; - m_kinesisConfiguration = std::forward(value); - } - template - JournalKinesisStreamDescription& WithKinesisConfiguration(KinesisConfigurationT&& value) { - SetKinesisConfiguration(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The error message that describes the reason that a stream has a status of - * IMPAIRED or FAILED. This is not applicable to streams - * that have other status values.

- */ - inline ErrorCause GetErrorCause() const { return m_errorCause; } - inline bool ErrorCauseHasBeenSet() const { return m_errorCauseHasBeenSet; } - inline void SetErrorCause(ErrorCause value) { - m_errorCauseHasBeenSet = true; - m_errorCause = value; - } - inline JournalKinesisStreamDescription& WithErrorCause(ErrorCause value) { - SetErrorCause(value); - return *this; - } - ///@} - - ///@{ - /** - *

The user-defined name of the QLDB journal stream.

- */ - inline const Aws::String& GetStreamName() const { return m_streamName; } - inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; } - template - void SetStreamName(StreamNameT&& value) { - m_streamNameHasBeenSet = true; - m_streamName = std::forward(value); - } - template - JournalKinesisStreamDescription& WithStreamName(StreamNameT&& value) { - SetStreamName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_ledgerName; - bool m_ledgerNameHasBeenSet = false; - - Aws::Utils::DateTime m_creationTime{}; - bool m_creationTimeHasBeenSet = false; - - Aws::Utils::DateTime m_inclusiveStartTime{}; - bool m_inclusiveStartTimeHasBeenSet = false; - - Aws::Utils::DateTime m_exclusiveEndTime{}; - bool m_exclusiveEndTimeHasBeenSet = false; - - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - Aws::String m_streamId; - bool m_streamIdHasBeenSet = false; - - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - StreamStatus m_status{StreamStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - KinesisConfiguration m_kinesisConfiguration; - bool m_kinesisConfigurationHasBeenSet = false; - - ErrorCause m_errorCause{ErrorCause::NOT_SET}; - bool m_errorCauseHasBeenSet = false; - - Aws::String m_streamName; - bool m_streamNameHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/JournalS3ExportDescription.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/JournalS3ExportDescription.h deleted file mode 100644 index 760b18d7f66..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/JournalS3ExportDescription.h +++ /dev/null @@ -1,234 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - *

Information about a journal export job, including the ledger name, export ID, - * creation time, current status, and the parameters of the original export - * creation request.

See Also:

AWS - * API Reference

- */ -class JournalS3ExportDescription { - public: - AWS_QLDB_API JournalS3ExportDescription() = default; - AWS_QLDB_API JournalS3ExportDescription(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API JournalS3ExportDescription& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetLedgerName() const { return m_ledgerName; } - inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; } - template - void SetLedgerName(LedgerNameT&& value) { - m_ledgerNameHasBeenSet = true; - m_ledgerName = std::forward(value); - } - template - JournalS3ExportDescription& WithLedgerName(LedgerNameT&& value) { - SetLedgerName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The UUID (represented in Base62-encoded text) of the journal export job.

- */ - inline const Aws::String& GetExportId() const { return m_exportId; } - inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; } - template - void SetExportId(ExportIdT&& value) { - m_exportIdHasBeenSet = true; - m_exportId = std::forward(value); - } - template - JournalS3ExportDescription& WithExportId(ExportIdT&& value) { - SetExportId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The date and time, in epoch time format, when the export job was created. - * (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, - * 1970 UTC.)

- */ - inline const Aws::Utils::DateTime& GetExportCreationTime() const { return m_exportCreationTime; } - inline bool ExportCreationTimeHasBeenSet() const { return m_exportCreationTimeHasBeenSet; } - template - void SetExportCreationTime(ExportCreationTimeT&& value) { - m_exportCreationTimeHasBeenSet = true; - m_exportCreationTime = std::forward(value); - } - template - JournalS3ExportDescription& WithExportCreationTime(ExportCreationTimeT&& value) { - SetExportCreationTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The current state of the journal export job.

- */ - inline ExportStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(ExportStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline JournalS3ExportDescription& WithStatus(ExportStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The inclusive start date and time for the range of journal contents that was - * specified in the original export request.

- */ - inline const Aws::Utils::DateTime& GetInclusiveStartTime() const { return m_inclusiveStartTime; } - inline bool InclusiveStartTimeHasBeenSet() const { return m_inclusiveStartTimeHasBeenSet; } - template - void SetInclusiveStartTime(InclusiveStartTimeT&& value) { - m_inclusiveStartTimeHasBeenSet = true; - m_inclusiveStartTime = std::forward(value); - } - template - JournalS3ExportDescription& WithInclusiveStartTime(InclusiveStartTimeT&& value) { - SetInclusiveStartTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The exclusive end date and time for the range of journal contents that was - * specified in the original export request.

- */ - inline const Aws::Utils::DateTime& GetExclusiveEndTime() const { return m_exclusiveEndTime; } - inline bool ExclusiveEndTimeHasBeenSet() const { return m_exclusiveEndTimeHasBeenSet; } - template - void SetExclusiveEndTime(ExclusiveEndTimeT&& value) { - m_exclusiveEndTimeHasBeenSet = true; - m_exclusiveEndTime = std::forward(value); - } - template - JournalS3ExportDescription& WithExclusiveEndTime(ExclusiveEndTimeT&& value) { - SetExclusiveEndTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const S3ExportConfiguration& GetS3ExportConfiguration() const { return m_s3ExportConfiguration; } - inline bool S3ExportConfigurationHasBeenSet() const { return m_s3ExportConfigurationHasBeenSet; } - template - void SetS3ExportConfiguration(S3ExportConfigurationT&& value) { - m_s3ExportConfigurationHasBeenSet = true; - m_s3ExportConfiguration = std::forward(value); - } - template - JournalS3ExportDescription& WithS3ExportConfiguration(S3ExportConfigurationT&& value) { - SetS3ExportConfiguration(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions - * for a journal export job to do the following:

  • Write objects - * into your Amazon Simple Storage Service (Amazon S3) bucket.

  • - *

    (Optional) Use your customer managed key in Key Management Service (KMS) for - * server-side encryption of your exported data.

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - JournalS3ExportDescription& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The output format of the exported journal data.

- */ - inline OutputFormat GetOutputFormat() const { return m_outputFormat; } - inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; } - inline void SetOutputFormat(OutputFormat value) { - m_outputFormatHasBeenSet = true; - m_outputFormat = value; - } - inline JournalS3ExportDescription& WithOutputFormat(OutputFormat value) { - SetOutputFormat(value); - return *this; - } - ///@} - private: - Aws::String m_ledgerName; - bool m_ledgerNameHasBeenSet = false; - - Aws::String m_exportId; - bool m_exportIdHasBeenSet = false; - - Aws::Utils::DateTime m_exportCreationTime{}; - bool m_exportCreationTimeHasBeenSet = false; - - ExportStatus m_status{ExportStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Utils::DateTime m_inclusiveStartTime{}; - bool m_inclusiveStartTimeHasBeenSet = false; - - Aws::Utils::DateTime m_exclusiveEndTime{}; - bool m_exclusiveEndTimeHasBeenSet = false; - - S3ExportConfiguration m_s3ExportConfiguration; - bool m_s3ExportConfigurationHasBeenSet = false; - - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - OutputFormat m_outputFormat{OutputFormat::NOT_SET}; - bool m_outputFormatHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/KinesisConfiguration.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/KinesisConfiguration.h deleted file mode 100644 index 2988e223024..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/KinesisConfiguration.h +++ /dev/null @@ -1,87 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - *

The configuration settings of the Amazon Kinesis Data Streams destination for - * an Amazon QLDB journal stream.

See Also:

AWS - * API Reference

- */ -class KinesisConfiguration { - public: - AWS_QLDB_API KinesisConfiguration() = default; - AWS_QLDB_API KinesisConfiguration(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API KinesisConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the Kinesis Data Streams resource.

- */ - inline const Aws::String& GetStreamArn() const { return m_streamArn; } - inline bool StreamArnHasBeenSet() const { return m_streamArnHasBeenSet; } - template - void SetStreamArn(StreamArnT&& value) { - m_streamArnHasBeenSet = true; - m_streamArn = std::forward(value); - } - template - KinesisConfiguration& WithStreamArn(StreamArnT&& value) { - SetStreamArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Enables QLDB to publish multiple data records in a single Kinesis Data - * Streams record, increasing the number of records sent per API call.

- *

Default: True

Record aggregation has - * important implications for processing records and requires de-aggregation in - * your stream consumer. To learn more, see KPL - * Key Concepts and Consumer - * De-aggregation in the Amazon Kinesis Data Streams Developer - * Guide.

- */ - inline bool GetAggregationEnabled() const { return m_aggregationEnabled; } - inline bool AggregationEnabledHasBeenSet() const { return m_aggregationEnabledHasBeenSet; } - inline void SetAggregationEnabled(bool value) { - m_aggregationEnabledHasBeenSet = true; - m_aggregationEnabled = value; - } - inline KinesisConfiguration& WithAggregationEnabled(bool value) { - SetAggregationEnabled(value); - return *this; - } - ///@} - private: - Aws::String m_streamArn; - bool m_streamArnHasBeenSet = false; - - bool m_aggregationEnabled{false}; - bool m_aggregationEnabledHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LedgerEncryptionDescription.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LedgerEncryptionDescription.h deleted file mode 100644 index 23a6c6478ba..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LedgerEncryptionDescription.h +++ /dev/null @@ -1,128 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - *

Information about the encryption of data at rest in an Amazon QLDB ledger. - * This includes the current status, the key in Key Management Service (KMS), and - * when the key became inaccessible (in the case of an error).

For more - * information, see Encryption - * at rest in the Amazon QLDB Developer Guide.

See Also:

- * AWS - * API Reference

- */ -class LedgerEncryptionDescription { - public: - AWS_QLDB_API LedgerEncryptionDescription() = default; - AWS_QLDB_API LedgerEncryptionDescription(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API LedgerEncryptionDescription& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the customer managed KMS key that the - * ledger uses for encryption at rest. If this parameter is undefined, the ledger - * uses an Amazon Web Services owned KMS key for encryption. It will display - * AWS_OWNED_KMS_KEY when updating the ledger's encryption - * configuration to the Amazon Web Services owned KMS key.

- */ - inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; } - inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } - template - void SetKmsKeyArn(KmsKeyArnT&& value) { - m_kmsKeyArnHasBeenSet = true; - m_kmsKeyArn = std::forward(value); - } - template - LedgerEncryptionDescription& WithKmsKeyArn(KmsKeyArnT&& value) { - SetKmsKeyArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The current state of encryption at rest for the ledger. This can be one of - * the following values:

  • ENABLED: Encryption is - * fully enabled using the specified key.

  • UPDATING: - * The ledger is actively processing the specified key change.

    Key changes - * in QLDB are asynchronous. The ledger is fully accessible without any performance - * impact while the key change is being processed. The amount of time it takes to - * update a key varies depending on the ledger size.

  • - * KMS_KEY_INACCESSIBLE: The specified customer managed KMS key is not - * accessible, and the ledger is impaired. Either the key was disabled or deleted, - * or the grants on the key were revoked. When a ledger is impaired, it is not - * accessible and does not accept any read or write requests.

    An impaired - * ledger automatically returns to an active state after you restore the grants on - * the key, or re-enable the key that was disabled. However, deleting a customer - * managed KMS key is irreversible. After a key is deleted, you can no longer - * access the ledgers that are protected with that key, and the data becomes - * unrecoverable permanently.

- */ - inline EncryptionStatus GetEncryptionStatus() const { return m_encryptionStatus; } - inline bool EncryptionStatusHasBeenSet() const { return m_encryptionStatusHasBeenSet; } - inline void SetEncryptionStatus(EncryptionStatus value) { - m_encryptionStatusHasBeenSet = true; - m_encryptionStatus = value; - } - inline LedgerEncryptionDescription& WithEncryptionStatus(EncryptionStatus value) { - SetEncryptionStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The date and time, in epoch time format, when the KMS key first became - * inaccessible, in the case of an error. (Epoch time format is the number of - * seconds that have elapsed since 12:00:00 AM January 1, 1970 UTC.)

This - * parameter is undefined if the KMS key is accessible.

- */ - inline const Aws::Utils::DateTime& GetInaccessibleKmsKeyDateTime() const { return m_inaccessibleKmsKeyDateTime; } - inline bool InaccessibleKmsKeyDateTimeHasBeenSet() const { return m_inaccessibleKmsKeyDateTimeHasBeenSet; } - template - void SetInaccessibleKmsKeyDateTime(InaccessibleKmsKeyDateTimeT&& value) { - m_inaccessibleKmsKeyDateTimeHasBeenSet = true; - m_inaccessibleKmsKeyDateTime = std::forward(value); - } - template - LedgerEncryptionDescription& WithInaccessibleKmsKeyDateTime(InaccessibleKmsKeyDateTimeT&& value) { - SetInaccessibleKmsKeyDateTime(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_kmsKeyArn; - bool m_kmsKeyArnHasBeenSet = false; - - EncryptionStatus m_encryptionStatus{EncryptionStatus::NOT_SET}; - bool m_encryptionStatusHasBeenSet = false; - - Aws::Utils::DateTime m_inaccessibleKmsKeyDateTime{}; - bool m_inaccessibleKmsKeyDateTimeHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LedgerState.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LedgerState.h deleted file mode 100644 index 8208bdac7a5..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LedgerState.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace QLDB { -namespace Model { -enum class LedgerState { NOT_SET, CREATING, ACTIVE, DELETING, DELETED }; - -namespace LedgerStateMapper { -AWS_QLDB_API LedgerState GetLedgerStateForName(const Aws::String& name); - -AWS_QLDB_API Aws::String GetNameForLedgerState(LedgerState value); -} // namespace LedgerStateMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LedgerSummary.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LedgerSummary.h deleted file mode 100644 index 9e8ab18d053..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LedgerSummary.h +++ /dev/null @@ -1,103 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - *

Information about a ledger, including its name, state, and when it was - * created.

See Also:

AWS - * API Reference

- */ -class LedgerSummary { - public: - AWS_QLDB_API LedgerSummary() = default; - AWS_QLDB_API LedgerSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API LedgerSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - LedgerSummary& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The current status of the ledger.

- */ - inline LedgerState GetState() const { return m_state; } - inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } - inline void SetState(LedgerState value) { - m_stateHasBeenSet = true; - m_state = value; - } - inline LedgerSummary& WithState(LedgerState value) { - SetState(value); - return *this; - } - ///@} - - ///@{ - /** - *

The date and time, in epoch time format, when the ledger was created. (Epoch - * time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 - * UTC.)

- */ - inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; } - inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } - template - void SetCreationDateTime(CreationDateTimeT&& value) { - m_creationDateTimeHasBeenSet = true; - m_creationDateTime = std::forward(value); - } - template - LedgerSummary& WithCreationDateTime(CreationDateTimeT&& value) { - SetCreationDateTime(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - LedgerState m_state{LedgerState::NOT_SET}; - bool m_stateHasBeenSet = false; - - Aws::Utils::DateTime m_creationDateTime{}; - bool m_creationDateTimeHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LimitExceededException.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LimitExceededException.h deleted file mode 100644 index 98cbcec5dee..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/LimitExceededException.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - *

You have reached the limit on the maximum number of resources - * allowed.

See Also:

AWS - * API Reference

- */ -class LimitExceededException { - public: - AWS_QLDB_API LimitExceededException() = default; - AWS_QLDB_API LimitExceededException(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API LimitExceededException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - LimitExceededException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of resource.

- */ - inline const Aws::String& GetResourceType() const { return m_resourceType; } - inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } - template - void SetResourceType(ResourceTypeT&& value) { - m_resourceTypeHasBeenSet = true; - m_resourceType = std::forward(value); - } - template - LimitExceededException& WithResourceType(ResourceTypeT&& value) { - SetResourceType(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - - Aws::String m_resourceType; - bool m_resourceTypeHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalKinesisStreamsForLedgerRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalKinesisStreamsForLedgerRequest.h deleted file mode 100644 index 134e56a89f8..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalKinesisStreamsForLedgerRequest.h +++ /dev/null @@ -1,105 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class ListJournalKinesisStreamsForLedgerRequest : public QLDBRequest { - public: - AWS_QLDB_API ListJournalKinesisStreamsForLedgerRequest() = default; - - // 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 "ListJournalKinesisStreamsForLedger"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - AWS_QLDB_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetLedgerName() const { return m_ledgerName; } - inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; } - template - void SetLedgerName(LedgerNameT&& value) { - m_ledgerNameHasBeenSet = true; - m_ledgerName = std::forward(value); - } - template - ListJournalKinesisStreamsForLedgerRequest& WithLedgerName(LedgerNameT&& value) { - SetLedgerName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of results to return in a single - * ListJournalKinesisStreamsForLedger request. (The actual number of - * results returned might be fewer.)

- */ - 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 ListJournalKinesisStreamsForLedgerRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

A pagination token, indicating that you want to retrieve the next page of - * results. If you received a value for NextToken in the response from - * a previous ListJournalKinesisStreamsForLedger call, you should use - * that value as input here.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListJournalKinesisStreamsForLedgerRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_ledgerName; - bool m_ledgerNameHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalKinesisStreamsForLedgerResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalKinesisStreamsForLedgerResult.h deleted file mode 100644 index d935889da7d..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalKinesisStreamsForLedgerResult.h +++ /dev/null @@ -1,103 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class ListJournalKinesisStreamsForLedgerResult { - public: - AWS_QLDB_API ListJournalKinesisStreamsForLedgerResult() = default; - AWS_QLDB_API ListJournalKinesisStreamsForLedgerResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API ListJournalKinesisStreamsForLedgerResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The QLDB journal streams that are currently associated with the given - * ledger.

- */ - inline const Aws::Vector& GetStreams() const { return m_streams; } - template > - void SetStreams(StreamsT&& value) { - m_streamsHasBeenSet = true; - m_streams = std::forward(value); - } - template > - ListJournalKinesisStreamsForLedgerResult& WithStreams(StreamsT&& value) { - SetStreams(std::forward(value)); - return *this; - } - template - ListJournalKinesisStreamsForLedgerResult& AddStreams(StreamsT&& value) { - m_streamsHasBeenSet = true; - m_streams.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *
  • If NextToken is empty, the last page of results has - * been processed and there are no more results to be retrieved.

  • - *

    If NextToken is not empty, more results are available. To - * retrieve the next page of results, use the value of NextToken in a - * subsequent ListJournalKinesisStreamsForLedger call.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListJournalKinesisStreamsForLedgerResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListJournalKinesisStreamsForLedgerResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_streams; - bool m_streamsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsForLedgerRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsForLedgerRequest.h deleted file mode 100644 index 48bb61fc879..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsForLedgerRequest.h +++ /dev/null @@ -1,105 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class ListJournalS3ExportsForLedgerRequest : public QLDBRequest { - public: - AWS_QLDB_API ListJournalS3ExportsForLedgerRequest() = default; - - // 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 "ListJournalS3ExportsForLedger"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - AWS_QLDB_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - ListJournalS3ExportsForLedgerRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum number of results to return in a single - * ListJournalS3ExportsForLedger request. (The actual number of - * results returned might be fewer.)

- */ - 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 ListJournalS3ExportsForLedgerRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

A pagination token, indicating that you want to retrieve the next page of - * results. If you received a value for NextToken in the response from - * a previous ListJournalS3ExportsForLedger call, then you should use - * that value as input here.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListJournalS3ExportsForLedgerRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsForLedgerResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsForLedgerResult.h deleted file mode 100644 index 3515e4cf5cb..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsForLedgerResult.h +++ /dev/null @@ -1,104 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class ListJournalS3ExportsForLedgerResult { - public: - AWS_QLDB_API ListJournalS3ExportsForLedgerResult() = default; - AWS_QLDB_API ListJournalS3ExportsForLedgerResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API ListJournalS3ExportsForLedgerResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The journal export jobs that are currently associated with the specified - * ledger.

- */ - inline const Aws::Vector& GetJournalS3Exports() const { return m_journalS3Exports; } - template > - void SetJournalS3Exports(JournalS3ExportsT&& value) { - m_journalS3ExportsHasBeenSet = true; - m_journalS3Exports = std::forward(value); - } - template > - ListJournalS3ExportsForLedgerResult& WithJournalS3Exports(JournalS3ExportsT&& value) { - SetJournalS3Exports(std::forward(value)); - return *this; - } - template - ListJournalS3ExportsForLedgerResult& AddJournalS3Exports(JournalS3ExportsT&& value) { - m_journalS3ExportsHasBeenSet = true; - m_journalS3Exports.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *
  • If NextToken is empty, then the last page of results - * has been processed and there are no more results to be retrieved.

  • - *

    If NextToken is not empty, then there are more results - * available. To retrieve the next page of results, use the value of - * NextToken in a subsequent - * ListJournalS3ExportsForLedger call.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListJournalS3ExportsForLedgerResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListJournalS3ExportsForLedgerResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_journalS3Exports; - bool m_journalS3ExportsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsRequest.h deleted file mode 100644 index b4d3ef0eb21..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsRequest.h +++ /dev/null @@ -1,84 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class ListJournalS3ExportsRequest : public QLDBRequest { - public: - AWS_QLDB_API ListJournalS3ExportsRequest() = default; - - // 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 "ListJournalS3Exports"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - AWS_QLDB_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The maximum number of results to return in a single - * ListJournalS3Exports request. (The actual number of results - * returned might be fewer.)

- */ - 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 ListJournalS3ExportsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

A pagination token, indicating that you want to retrieve the next page of - * results. If you received a value for NextToken in the response from - * a previous ListJournalS3Exports call, then you should use that - * value as input here.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListJournalS3ExportsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - private: - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsResult.h deleted file mode 100644 index d97503b2bbd..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListJournalS3ExportsResult.h +++ /dev/null @@ -1,104 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class ListJournalS3ExportsResult { - public: - AWS_QLDB_API ListJournalS3ExportsResult() = default; - AWS_QLDB_API ListJournalS3ExportsResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API ListJournalS3ExportsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The journal export jobs for all ledgers that are associated with the current - * Amazon Web Services account and Region.

- */ - inline const Aws::Vector& GetJournalS3Exports() const { return m_journalS3Exports; } - template > - void SetJournalS3Exports(JournalS3ExportsT&& value) { - m_journalS3ExportsHasBeenSet = true; - m_journalS3Exports = std::forward(value); - } - template > - ListJournalS3ExportsResult& WithJournalS3Exports(JournalS3ExportsT&& value) { - SetJournalS3Exports(std::forward(value)); - return *this; - } - template - ListJournalS3ExportsResult& AddJournalS3Exports(JournalS3ExportsT&& value) { - m_journalS3ExportsHasBeenSet = true; - m_journalS3Exports.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *
  • If NextToken is empty, then the last page of results - * has been processed and there are no more results to be retrieved.

  • - *

    If NextToken is not empty, then there are more results - * available. To retrieve the next page of results, use the value of - * NextToken in a subsequent ListJournalS3Exports - * call.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListJournalS3ExportsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListJournalS3ExportsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_journalS3Exports; - bool m_journalS3ExportsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListLedgersRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListLedgersRequest.h deleted file mode 100644 index caeda4de41d..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListLedgersRequest.h +++ /dev/null @@ -1,83 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class ListLedgersRequest : public QLDBRequest { - public: - AWS_QLDB_API ListLedgersRequest() = default; - - // 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 "ListLedgers"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - AWS_QLDB_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The maximum number of results to return in a single ListLedgers - * request. (The actual number of results returned might be fewer.)

- */ - 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 ListLedgersRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

A pagination token, indicating that you want to retrieve the next page of - * results. If you received a value for NextToken in the response from - * a previous ListLedgers call, then you should use that value as - * input here.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListLedgersRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - private: - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListLedgersResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListLedgersResult.h deleted file mode 100644 index 9ed9862a0dd..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListLedgersResult.h +++ /dev/null @@ -1,105 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class ListLedgersResult { - public: - AWS_QLDB_API ListLedgersResult() = default; - AWS_QLDB_API ListLedgersResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API ListLedgersResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The ledgers that are associated with the current Amazon Web Services account - * and Region.

- */ - inline const Aws::Vector& GetLedgers() const { return m_ledgers; } - template > - void SetLedgers(LedgersT&& value) { - m_ledgersHasBeenSet = true; - m_ledgers = std::forward(value); - } - template > - ListLedgersResult& WithLedgers(LedgersT&& value) { - SetLedgers(std::forward(value)); - return *this; - } - template - ListLedgersResult& AddLedgers(LedgersT&& value) { - m_ledgersHasBeenSet = true; - m_ledgers.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A pagination token, indicating whether there are more results available:

- *
  • If NextToken is empty, then the last page of results - * has been processed and there are no more results to be retrieved.

  • - *

    If NextToken is not empty, then there are more results - * available. To retrieve the next page of results, use the value of - * NextToken in a subsequent ListLedgers call.

  • - *
- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListLedgersResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListLedgersResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_ledgers; - bool m_ledgersHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListTagsForResourceRequest.h deleted file mode 100644 index 26e15e6d8a1..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListTagsForResourceRequest.h +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class ListTagsForResourceRequest : public QLDBRequest { - public: - AWS_QLDB_API ListTagsForResourceRequest() = default; - - // 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_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) for which to list the tags. For example:

- *

arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - ListTagsForResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListTagsForResourceResult.h deleted file mode 100644 index 43ea0887e3c..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ListTagsForResourceResult.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class ListTagsForResourceResult { - public: - AWS_QLDB_API ListTagsForResourceResult() = default; - AWS_QLDB_API ListTagsForResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The tags that are currently associated with the specified Amazon QLDB - * resource.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - ListTagsForResourceResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - ListTagsForResourceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListTagsForResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/OutputFormat.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/OutputFormat.h deleted file mode 100644 index 02f43f77a17..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/OutputFormat.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace QLDB { -namespace Model { -enum class OutputFormat { NOT_SET, ION_BINARY, ION_TEXT, JSON }; - -namespace OutputFormatMapper { -AWS_QLDB_API OutputFormat GetOutputFormatForName(const Aws::String& name); - -AWS_QLDB_API Aws::String GetNameForOutputFormat(OutputFormat value); -} // namespace OutputFormatMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/PermissionsMode.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/PermissionsMode.h deleted file mode 100644 index 90aaf6f6cb2..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/PermissionsMode.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace QLDB { -namespace Model { -enum class PermissionsMode { NOT_SET, ALLOW_ALL, STANDARD }; - -namespace PermissionsModeMapper { -AWS_QLDB_API PermissionsMode GetPermissionsModeForName(const Aws::String& name); - -AWS_QLDB_API Aws::String GetNameForPermissionsMode(PermissionsMode value); -} // namespace PermissionsModeMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourceAlreadyExistsException.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourceAlreadyExistsException.h deleted file mode 100644 index 8f0dd47d3b3..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourceAlreadyExistsException.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - *

The specified resource already exists.

See Also:

AWS - * API Reference

- */ -class ResourceAlreadyExistsException { - public: - AWS_QLDB_API ResourceAlreadyExistsException() = default; - AWS_QLDB_API ResourceAlreadyExistsException(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API ResourceAlreadyExistsException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ResourceAlreadyExistsException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of resource.

- */ - inline const Aws::String& GetResourceType() const { return m_resourceType; } - inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } - template - void SetResourceType(ResourceTypeT&& value) { - m_resourceTypeHasBeenSet = true; - m_resourceType = std::forward(value); - } - template - ResourceAlreadyExistsException& WithResourceType(ResourceTypeT&& value) { - SetResourceType(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the resource.

- */ - inline const Aws::String& GetResourceName() const { return m_resourceName; } - inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } - template - void SetResourceName(ResourceNameT&& value) { - m_resourceNameHasBeenSet = true; - m_resourceName = std::forward(value); - } - template - ResourceAlreadyExistsException& WithResourceName(ResourceNameT&& value) { - SetResourceName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - - Aws::String m_resourceType; - bool m_resourceTypeHasBeenSet = false; - - Aws::String m_resourceName; - bool m_resourceNameHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourceInUseException.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourceInUseException.h deleted file mode 100644 index 0b3bbeaabbb..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourceInUseException.h +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - *

The specified resource can't be modified at this time.

See - * Also:

AWS - * API Reference

- */ -class ResourceInUseException { - public: - AWS_QLDB_API ResourceInUseException() = default; - AWS_QLDB_API ResourceInUseException(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API ResourceInUseException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ResourceInUseException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of resource.

- */ - inline const Aws::String& GetResourceType() const { return m_resourceType; } - inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } - template - void SetResourceType(ResourceTypeT&& value) { - m_resourceTypeHasBeenSet = true; - m_resourceType = std::forward(value); - } - template - ResourceInUseException& WithResourceType(ResourceTypeT&& value) { - SetResourceType(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the resource.

- */ - inline const Aws::String& GetResourceName() const { return m_resourceName; } - inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } - template - void SetResourceName(ResourceNameT&& value) { - m_resourceNameHasBeenSet = true; - m_resourceName = std::forward(value); - } - template - ResourceInUseException& WithResourceName(ResourceNameT&& value) { - SetResourceName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - - Aws::String m_resourceType; - bool m_resourceTypeHasBeenSet = false; - - Aws::String m_resourceName; - bool m_resourceNameHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourceNotFoundException.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourceNotFoundException.h deleted file mode 100644 index 6b88f7a1f0f..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourceNotFoundException.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - *

The specified resource doesn't exist.

See Also:

AWS - * API Reference

- */ -class ResourceNotFoundException { - public: - AWS_QLDB_API ResourceNotFoundException() = default; - AWS_QLDB_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API ResourceNotFoundException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ResourceNotFoundException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of resource.

- */ - inline const Aws::String& GetResourceType() const { return m_resourceType; } - inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } - template - void SetResourceType(ResourceTypeT&& value) { - m_resourceTypeHasBeenSet = true; - m_resourceType = std::forward(value); - } - template - ResourceNotFoundException& WithResourceType(ResourceTypeT&& value) { - SetResourceType(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the resource.

- */ - inline const Aws::String& GetResourceName() const { return m_resourceName; } - inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } - template - void SetResourceName(ResourceNameT&& value) { - m_resourceNameHasBeenSet = true; - m_resourceName = std::forward(value); - } - template - ResourceNotFoundException& WithResourceName(ResourceNameT&& value) { - SetResourceName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - - Aws::String m_resourceType; - bool m_resourceTypeHasBeenSet = false; - - Aws::String m_resourceName; - bool m_resourceNameHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourcePreconditionNotMetException.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourcePreconditionNotMetException.h deleted file mode 100644 index 81df0e58824..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ResourcePreconditionNotMetException.h +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - *

The operation failed because a condition wasn't satisfied in - * advance.

See Also:

AWS - * API Reference

- */ -class ResourcePreconditionNotMetException { - public: - AWS_QLDB_API ResourcePreconditionNotMetException() = default; - AWS_QLDB_API ResourcePreconditionNotMetException(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API ResourcePreconditionNotMetException& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const Aws::String& GetMessage() const { return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - template - void SetMessage(MessageT&& value) { - m_messageHasBeenSet = true; - m_message = std::forward(value); - } - template - ResourcePreconditionNotMetException& WithMessage(MessageT&& value) { - SetMessage(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The type of resource.

- */ - inline const Aws::String& GetResourceType() const { return m_resourceType; } - inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } - template - void SetResourceType(ResourceTypeT&& value) { - m_resourceTypeHasBeenSet = true; - m_resourceType = std::forward(value); - } - template - ResourcePreconditionNotMetException& WithResourceType(ResourceTypeT&& value) { - SetResourceType(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the resource.

- */ - inline const Aws::String& GetResourceName() const { return m_resourceName; } - inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } - template - void SetResourceName(ResourceNameT&& value) { - m_resourceNameHasBeenSet = true; - m_resourceName = std::forward(value); - } - template - ResourcePreconditionNotMetException& WithResourceName(ResourceNameT&& value) { - SetResourceName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - - Aws::String m_resourceType; - bool m_resourceTypeHasBeenSet = false; - - Aws::String m_resourceName; - bool m_resourceNameHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/S3EncryptionConfiguration.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/S3EncryptionConfiguration.h deleted file mode 100644 index bad5864a942..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/S3EncryptionConfiguration.h +++ /dev/null @@ -1,89 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - *

The encryption settings that are used by a journal export job to write data - * in an Amazon Simple Storage Service (Amazon S3) bucket.

See Also:

- * AWS - * API Reference

- */ -class S3EncryptionConfiguration { - public: - AWS_QLDB_API S3EncryptionConfiguration() = default; - AWS_QLDB_API S3EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API S3EncryptionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon S3 object encryption type.

To learn more about server-side - * encryption options in Amazon S3, see Protecting - * Data Using Server-Side Encryption in the Amazon S3 Developer - * Guide.

- */ - inline S3ObjectEncryptionType GetObjectEncryptionType() const { return m_objectEncryptionType; } - inline bool ObjectEncryptionTypeHasBeenSet() const { return m_objectEncryptionTypeHasBeenSet; } - inline void SetObjectEncryptionType(S3ObjectEncryptionType value) { - m_objectEncryptionTypeHasBeenSet = true; - m_objectEncryptionType = value; - } - inline S3EncryptionConfiguration& WithObjectEncryptionType(S3ObjectEncryptionType value) { - SetObjectEncryptionType(value); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of a symmetric encryption key in Key - * Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.

- *

You must provide a KmsKeyArn if you specify SSE_KMS - * as the ObjectEncryptionType.

KmsKeyArn is not - * required if you specify SSE_S3 as the - * ObjectEncryptionType.

- */ - inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; } - inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } - template - void SetKmsKeyArn(KmsKeyArnT&& value) { - m_kmsKeyArnHasBeenSet = true; - m_kmsKeyArn = std::forward(value); - } - template - S3EncryptionConfiguration& WithKmsKeyArn(KmsKeyArnT&& value) { - SetKmsKeyArn(std::forward(value)); - return *this; - } - ///@} - private: - S3ObjectEncryptionType m_objectEncryptionType{S3ObjectEncryptionType::NOT_SET}; - bool m_objectEncryptionTypeHasBeenSet = false; - - Aws::String m_kmsKeyArn; - bool m_kmsKeyArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/S3ExportConfiguration.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/S3ExportConfiguration.h deleted file mode 100644 index 64366a18ea0..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/S3ExportConfiguration.h +++ /dev/null @@ -1,115 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - *

The Amazon Simple Storage Service (Amazon S3) bucket location in which a - * journal export job writes the journal contents.

See Also:

AWS - * API Reference

- */ -class S3ExportConfiguration { - public: - AWS_QLDB_API S3ExportConfiguration() = default; - AWS_QLDB_API S3ExportConfiguration(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API S3ExportConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon S3 bucket name in which a journal export job writes the journal - * contents.

The bucket name must comply with the Amazon S3 bucket naming - * conventions. For more information, see Bucket - * Restrictions and Limitations in the Amazon S3 Developer Guide.

- */ - inline const Aws::String& GetBucket() const { return m_bucket; } - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - template - void SetBucket(BucketT&& value) { - m_bucketHasBeenSet = true; - m_bucket = std::forward(value); - } - template - S3ExportConfiguration& WithBucket(BucketT&& value) { - SetBucket(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The prefix for the Amazon S3 bucket in which a journal export job writes the - * journal contents.

The prefix must comply with Amazon S3 key naming rules - * and restrictions. For more information, see Object - * Key and Metadata in the Amazon S3 Developer Guide.

The - * following are examples of valid Prefix values:

  • - * JournalExports-ForMyLedger/Testing/

  • - * JournalExports

  • My:Tests/

    - *
- */ - inline const Aws::String& GetPrefix() const { return m_prefix; } - inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } - template - void SetPrefix(PrefixT&& value) { - m_prefixHasBeenSet = true; - m_prefix = std::forward(value); - } - template - S3ExportConfiguration& WithPrefix(PrefixT&& value) { - SetPrefix(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The encryption settings that are used by a journal export job to write data - * in an Amazon S3 bucket.

- */ - inline const S3EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; } - inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; } - template - void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { - m_encryptionConfigurationHasBeenSet = true; - m_encryptionConfiguration = std::forward(value); - } - template - S3ExportConfiguration& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { - SetEncryptionConfiguration(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_bucket; - bool m_bucketHasBeenSet = false; - - Aws::String m_prefix; - bool m_prefixHasBeenSet = false; - - S3EncryptionConfiguration m_encryptionConfiguration; - bool m_encryptionConfigurationHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/S3ObjectEncryptionType.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/S3ObjectEncryptionType.h deleted file mode 100644 index 765f2f74df1..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/S3ObjectEncryptionType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace QLDB { -namespace Model { -enum class S3ObjectEncryptionType { NOT_SET, SSE_KMS, SSE_S3, NO_ENCRYPTION }; - -namespace S3ObjectEncryptionTypeMapper { -AWS_QLDB_API S3ObjectEncryptionType GetS3ObjectEncryptionTypeForName(const Aws::String& name); - -AWS_QLDB_API Aws::String GetNameForS3ObjectEncryptionType(S3ObjectEncryptionType value); -} // namespace S3ObjectEncryptionTypeMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/StreamJournalToKinesisRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/StreamJournalToKinesisRequest.h deleted file mode 100644 index 229f45132e5..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/StreamJournalToKinesisRequest.h +++ /dev/null @@ -1,212 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class StreamJournalToKinesisRequest : public QLDBRequest { - public: - AWS_QLDB_API StreamJournalToKinesisRequest() = default; - - // 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 "StreamJournalToKinesis"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetLedgerName() const { return m_ledgerName; } - inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; } - template - void SetLedgerName(LedgerNameT&& value) { - m_ledgerNameHasBeenSet = true; - m_ledgerName = std::forward(value); - } - template - StreamJournalToKinesisRequest& WithLedgerName(LedgerNameT&& value) { - SetLedgerName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions - * for a journal stream to write data records to a Kinesis Data Streams - * resource.

To pass a role to QLDB when requesting a journal stream, you - * must have permissions to perform the iam:PassRole action on the IAM - * role resource. This is required for all journal stream requests.

- */ - inline const Aws::String& GetRoleArn() const { return m_roleArn; } - inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } - template - void SetRoleArn(RoleArnT&& value) { - m_roleArnHasBeenSet = true; - m_roleArn = std::forward(value); - } - template - StreamJournalToKinesisRequest& WithRoleArn(RoleArnT&& value) { - SetRoleArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The key-value pairs to add as tags to the stream that you want to create. Tag - * keys are case sensitive. Tag values are case sensitive and can be null.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - StreamJournalToKinesisRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - StreamJournalToKinesisRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The inclusive start date and time from which to start streaming journal data. - * This parameter must be in ISO 8601 date and time format and in - * Universal Coordinated Time (UTC). For example: - * 2019-06-13T21:36:34Z.

The InclusiveStartTime - * cannot be in the future and must be before ExclusiveEndTime.

- *

If you provide an InclusiveStartTime that is before the ledger's - * CreationDateTime, QLDB effectively defaults it to the ledger's - * CreationDateTime.

- */ - inline const Aws::Utils::DateTime& GetInclusiveStartTime() const { return m_inclusiveStartTime; } - inline bool InclusiveStartTimeHasBeenSet() const { return m_inclusiveStartTimeHasBeenSet; } - template - void SetInclusiveStartTime(InclusiveStartTimeT&& value) { - m_inclusiveStartTimeHasBeenSet = true; - m_inclusiveStartTime = std::forward(value); - } - template - StreamJournalToKinesisRequest& WithInclusiveStartTime(InclusiveStartTimeT&& value) { - SetInclusiveStartTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The exclusive date and time that specifies when the stream ends. If you don't - * define this parameter, the stream runs indefinitely until you cancel it.

- *

The ExclusiveEndTime must be in ISO 8601 date and - * time format and in Universal Coordinated Time (UTC). For example: - * 2019-06-13T21:36:34Z.

- */ - inline const Aws::Utils::DateTime& GetExclusiveEndTime() const { return m_exclusiveEndTime; } - inline bool ExclusiveEndTimeHasBeenSet() const { return m_exclusiveEndTimeHasBeenSet; } - template - void SetExclusiveEndTime(ExclusiveEndTimeT&& value) { - m_exclusiveEndTimeHasBeenSet = true; - m_exclusiveEndTime = std::forward(value); - } - template - StreamJournalToKinesisRequest& WithExclusiveEndTime(ExclusiveEndTimeT&& value) { - SetExclusiveEndTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The configuration settings of the Kinesis Data Streams destination for your - * stream request.

- */ - inline const KinesisConfiguration& GetKinesisConfiguration() const { return m_kinesisConfiguration; } - inline bool KinesisConfigurationHasBeenSet() const { return m_kinesisConfigurationHasBeenSet; } - template - void SetKinesisConfiguration(KinesisConfigurationT&& value) { - m_kinesisConfigurationHasBeenSet = true; - m_kinesisConfiguration = std::forward(value); - } - template - StreamJournalToKinesisRequest& WithKinesisConfiguration(KinesisConfigurationT&& value) { - SetKinesisConfiguration(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name that you want to assign to the QLDB journal stream. User-defined - * names can help identify and indicate the purpose of a stream.

Your stream - * name must be unique among other active streams for a given ledger. Stream - * names have the same naming constraints as ledger names, as defined in Quotas - * in Amazon QLDB in the Amazon QLDB Developer Guide.

- */ - inline const Aws::String& GetStreamName() const { return m_streamName; } - inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; } - template - void SetStreamName(StreamNameT&& value) { - m_streamNameHasBeenSet = true; - m_streamName = std::forward(value); - } - template - StreamJournalToKinesisRequest& WithStreamName(StreamNameT&& value) { - SetStreamName(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_ledgerName; - bool m_ledgerNameHasBeenSet = false; - - Aws::String m_roleArn; - bool m_roleArnHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::Utils::DateTime m_inclusiveStartTime{}; - bool m_inclusiveStartTimeHasBeenSet = false; - - Aws::Utils::DateTime m_exclusiveEndTime{}; - bool m_exclusiveEndTimeHasBeenSet = false; - - KinesisConfiguration m_kinesisConfiguration; - bool m_kinesisConfigurationHasBeenSet = false; - - Aws::String m_streamName; - bool m_streamNameHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/StreamJournalToKinesisResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/StreamJournalToKinesisResult.h deleted file mode 100644 index 8a2d4e4b9a0..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/StreamJournalToKinesisResult.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class StreamJournalToKinesisResult { - public: - AWS_QLDB_API StreamJournalToKinesisResult() = default; - AWS_QLDB_API StreamJournalToKinesisResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API StreamJournalToKinesisResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The UUID (represented in Base62-encoded text) that QLDB assigns to each QLDB - * journal stream.

- */ - inline const Aws::String& GetStreamId() const { return m_streamId; } - template - void SetStreamId(StreamIdT&& value) { - m_streamIdHasBeenSet = true; - m_streamId = std::forward(value); - } - template - StreamJournalToKinesisResult& WithStreamId(StreamIdT&& value) { - SetStreamId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - StreamJournalToKinesisResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_streamId; - bool m_streamIdHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/StreamStatus.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/StreamStatus.h deleted file mode 100644 index 5f60027dd19..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/StreamStatus.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace QLDB { -namespace Model { -enum class StreamStatus { NOT_SET, ACTIVE, COMPLETED, CANCELED, FAILED, IMPAIRED }; - -namespace StreamStatusMapper { -AWS_QLDB_API StreamStatus GetStreamStatusForName(const Aws::String& name); - -AWS_QLDB_API Aws::String GetNameForStreamStatus(StreamStatus value); -} // namespace StreamStatusMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/TagResourceRequest.h deleted file mode 100644 index ed4b140dc81..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/TagResourceRequest.h +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class TagResourceRequest : public QLDBRequest { - public: - AWS_QLDB_API TagResourceRequest() = default; - - // 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_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) to which you want to add the tags. For - * example:

- * arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - TagResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The key-value pairs to add as tags to the specified QLDB resource. Tag keys - * are case sensitive. If you specify a key that already exists for the resource, - * your request fails and returns an error. Tag values are case sensitive and can - * be null.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - TagResourceRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - TagResourceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/TagResourceResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/TagResourceResult.h deleted file mode 100644 index 80c8dd4f53e..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/TagResourceResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class TagResourceResult { - public: - AWS_QLDB_API TagResourceResult() = default; - AWS_QLDB_API TagResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API TagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - TagResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UntagResourceRequest.h deleted file mode 100644 index b9a617b6092..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UntagResourceRequest.h +++ /dev/null @@ -1,90 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class UntagResourceRequest : public QLDBRequest { - public: - AWS_QLDB_API UntagResourceRequest() = default; - - // 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_QLDB_API Aws::String SerializePayload() const override; - - AWS_QLDB_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) from which to remove the tags. For - * example:

- * arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - UntagResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The list of tag keys to remove.

- */ - inline const Aws::Vector& GetTagKeys() const { return m_tagKeys; } - inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } - template > - void SetTagKeys(TagKeysT&& value) { - m_tagKeysHasBeenSet = true; - m_tagKeys = std::forward(value); - } - template > - UntagResourceRequest& WithTagKeys(TagKeysT&& value) { - SetTagKeys(std::forward(value)); - return *this; - } - template - UntagResourceRequest& AddTagKeys(TagKeysT&& value) { - m_tagKeysHasBeenSet = true; - m_tagKeys.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; - - Aws::Vector m_tagKeys; - bool m_tagKeysHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UntagResourceResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UntagResourceResult.h deleted file mode 100644 index 146726d8711..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UntagResourceResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class UntagResourceResult { - public: - AWS_QLDB_API UntagResourceResult() = default; - AWS_QLDB_API UntagResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API UntagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UntagResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerPermissionsModeRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerPermissionsModeRequest.h deleted file mode 100644 index 064b51fd8d0..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerPermissionsModeRequest.h +++ /dev/null @@ -1,93 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class UpdateLedgerPermissionsModeRequest : public QLDBRequest { - public: - AWS_QLDB_API UpdateLedgerPermissionsModeRequest() = default; - - // 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 "UpdateLedgerPermissionsMode"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - UpdateLedgerPermissionsModeRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The permissions mode to assign to the ledger. This parameter can have one of - * the following values:

  • ALLOW_ALL: A legacy - * permissions mode that enables access control with API-level granularity for - * ledgers.

    This mode allows users who have the SendCommand API - * permission for this ledger to run all PartiQL commands (hence, - * ALLOW_ALL) on any tables in the specified ledger. This mode - * disregards any table-level or command-level IAM permissions policies that you - * create for the ledger.

  • STANDARD: - * (Recommended) A permissions mode that enables access control with finer - * granularity for ledgers, tables, and PartiQL commands.

    By default, this - * mode denies all user requests to run any PartiQL commands on any tables in this - * ledger. To allow PartiQL commands to run, you must create IAM permissions - * policies for specific table resources and PartiQL actions, in addition to the - * SendCommand API permission for the ledger. For information, see Getting - * started with the standard permissions mode in the Amazon QLDB Developer - * Guide.

We strongly recommend using the - * STANDARD permissions mode to maximize the security of your ledger - * data.

- */ - inline PermissionsMode GetPermissionsMode() const { return m_permissionsMode; } - inline bool PermissionsModeHasBeenSet() const { return m_permissionsModeHasBeenSet; } - inline void SetPermissionsMode(PermissionsMode value) { - m_permissionsModeHasBeenSet = true; - m_permissionsMode = value; - } - inline UpdateLedgerPermissionsModeRequest& WithPermissionsMode(PermissionsMode value) { - SetPermissionsMode(value); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - PermissionsMode m_permissionsMode{PermissionsMode::NOT_SET}; - bool m_permissionsModeHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerPermissionsModeResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerPermissionsModeResult.h deleted file mode 100644 index 2c909fe286b..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerPermissionsModeResult.h +++ /dev/null @@ -1,109 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class UpdateLedgerPermissionsModeResult { - public: - AWS_QLDB_API UpdateLedgerPermissionsModeResult() = default; - AWS_QLDB_API UpdateLedgerPermissionsModeResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API UpdateLedgerPermissionsModeResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - UpdateLedgerPermissionsModeResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) for the ledger.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - UpdateLedgerPermissionsModeResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The current permissions mode of the ledger.

- */ - inline PermissionsMode GetPermissionsMode() const { return m_permissionsMode; } - inline void SetPermissionsMode(PermissionsMode value) { - m_permissionsModeHasBeenSet = true; - m_permissionsMode = value; - } - inline UpdateLedgerPermissionsModeResult& WithPermissionsMode(PermissionsMode value) { - SetPermissionsMode(value); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UpdateLedgerPermissionsModeResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - PermissionsMode m_permissionsMode{PermissionsMode::NOT_SET}; - bool m_permissionsModeHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerRequest.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerRequest.h deleted file mode 100644 index 7deec22f50f..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerRequest.h +++ /dev/null @@ -1,125 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - */ -class UpdateLedgerRequest : public QLDBRequest { - public: - AWS_QLDB_API UpdateLedgerRequest() = default; - - // 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 "UpdateLedger"; } - - AWS_QLDB_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - UpdateLedgerRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Specifies whether the ledger is protected from being deleted by any user. If - * not defined during ledger creation, this feature is enabled (true) - * by default.

If deletion protection is enabled, you must first disable it - * before you can delete the ledger. You can disable it by calling the - * UpdateLedger operation to set this parameter to - * false.

- */ - inline bool GetDeletionProtection() const { return m_deletionProtection; } - inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; } - inline void SetDeletionProtection(bool value) { - m_deletionProtectionHasBeenSet = true; - m_deletionProtection = value; - } - inline UpdateLedgerRequest& WithDeletionProtection(bool value) { - SetDeletionProtection(value); - return *this; - } - ///@} - - ///@{ - /** - *

The key in Key Management Service (KMS) to use for encryption of data at rest - * in the ledger. For more information, see Encryption - * at rest in the Amazon QLDB Developer Guide.

Use one of the - * following options to specify this parameter:

  • - * AWS_OWNED_KMS_KEY: Use an KMS key that is owned and managed by - * Amazon Web Services on your behalf.

  • Undefined: Make no - * changes to the KMS key of the ledger.

  • A valid symmetric - * customer managed KMS key: Use the specified symmetric encryption KMS key in - * your account that you create, own, and manage.

    Amazon QLDB does not - * support asymmetric keys. For more information, see Using - * symmetric and asymmetric keys in the Key Management Service Developer - * Guide.

To specify a customer managed KMS key, you can use - * its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an - * alias name, prefix it with "alias/". To specify a key in a - * different Amazon Web Services account, you must use the key ARN or alias - * ARN.

For example:

  • Key ID: - * 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: - * arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - *

  • Alias name: alias/ExampleAlias

  • - *

    Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias - *

For more information, see Key - * identifiers (KeyId) in the Key Management Service Developer - * Guide.

- */ - inline const Aws::String& GetKmsKey() const { return m_kmsKey; } - inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; } - template - void SetKmsKey(KmsKeyT&& value) { - m_kmsKeyHasBeenSet = true; - m_kmsKey = std::forward(value); - } - template - UpdateLedgerRequest& WithKmsKey(KmsKeyT&& value) { - SetKmsKey(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - bool m_deletionProtection{false}; - bool m_deletionProtectionHasBeenSet = false; - - Aws::String m_kmsKey; - bool m_kmsKeyHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerResult.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerResult.h deleted file mode 100644 index 1b32ce7ee5e..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/UpdateLedgerResult.h +++ /dev/null @@ -1,178 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -class UpdateLedgerResult { - public: - AWS_QLDB_API UpdateLedgerResult() = default; - AWS_QLDB_API UpdateLedgerResult(const Aws::AmazonWebServiceResult& result); - AWS_QLDB_API UpdateLedgerResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The name of the ledger.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - UpdateLedgerResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) for the ledger.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - UpdateLedgerResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The current status of the ledger.

- */ - inline LedgerState GetState() const { return m_state; } - inline void SetState(LedgerState value) { - m_stateHasBeenSet = true; - m_state = value; - } - inline UpdateLedgerResult& WithState(LedgerState value) { - SetState(value); - return *this; - } - ///@} - - ///@{ - /** - *

The date and time, in epoch time format, when the ledger was created. (Epoch - * time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 - * UTC.)

- */ - inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; } - template - void SetCreationDateTime(CreationDateTimeT&& value) { - m_creationDateTimeHasBeenSet = true; - m_creationDateTime = std::forward(value); - } - template - UpdateLedgerResult& WithCreationDateTime(CreationDateTimeT&& value) { - SetCreationDateTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Specifies whether the ledger is protected from being deleted by any user. If - * not defined during ledger creation, this feature is enabled (true) - * by default.

If deletion protection is enabled, you must first disable it - * before you can delete the ledger. You can disable it by calling the - * UpdateLedger operation to set this parameter to - * false.

- */ - inline bool GetDeletionProtection() const { return m_deletionProtection; } - inline void SetDeletionProtection(bool value) { - m_deletionProtectionHasBeenSet = true; - m_deletionProtection = value; - } - inline UpdateLedgerResult& WithDeletionProtection(bool value) { - SetDeletionProtection(value); - return *this; - } - ///@} - - ///@{ - /** - *

Information about the encryption of data at rest in the ledger. This includes - * the current status, the KMS key, and when the key became inaccessible (in the - * case of an error).

- */ - inline const LedgerEncryptionDescription& GetEncryptionDescription() const { return m_encryptionDescription; } - template - void SetEncryptionDescription(EncryptionDescriptionT&& value) { - m_encryptionDescriptionHasBeenSet = true; - m_encryptionDescription = std::forward(value); - } - template - UpdateLedgerResult& WithEncryptionDescription(EncryptionDescriptionT&& value) { - SetEncryptionDescription(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UpdateLedgerResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - LedgerState m_state{LedgerState::NOT_SET}; - bool m_stateHasBeenSet = false; - - Aws::Utils::DateTime m_creationDateTime{}; - bool m_creationDateTimeHasBeenSet = false; - - bool m_deletionProtection{false}; - bool m_deletionProtectionHasBeenSet = false; - - LedgerEncryptionDescription m_encryptionDescription; - bool m_encryptionDescriptionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ValueHolder.h b/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ValueHolder.h deleted file mode 100644 index ede94654df5..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/include/aws/qldb/model/ValueHolder.h +++ /dev/null @@ -1,60 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -/** - *

A structure that can contain a value in multiple encoding - * formats.

See Also:

AWS - * API Reference

- */ -class ValueHolder { - public: - AWS_QLDB_API ValueHolder() = default; - AWS_QLDB_API ValueHolder(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API ValueHolder& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

An Amazon Ion plaintext value contained in a ValueHolder - * structure.

- */ - inline const Aws::String& GetIonText() const { return m_ionText; } - inline bool IonTextHasBeenSet() const { return m_ionTextHasBeenSet; } - template - void SetIonText(IonTextT&& value) { - m_ionTextHasBeenSet = true; - m_ionText = std::forward(value); - } - template - ValueHolder& WithIonText(IonTextT&& value) { - SetIonText(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_ionText; - bool m_ionTextHasBeenSet = false; -}; - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/QLDBClient.cpp b/generated/src/aws-cpp-sdk-qldb/source/QLDBClient.cpp deleted file mode 100644 index 9c8c59ea16d..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/QLDBClient.cpp +++ /dev/null @@ -1,892 +0,0 @@ -/** - * 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 -#include -#include -#include -#include -#include -#include -#include -#include - -using namespace Aws; -using namespace Aws::Auth; -using namespace Aws::Client; -using namespace Aws::QLDB; -using namespace Aws::QLDB::Model; -using namespace Aws::Http; -using namespace Aws::Utils::Json; -using namespace smithy::components::tracing; -using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; - -namespace Aws { -namespace QLDB { -const char SERVICE_NAME[] = "qldb"; -const char ALLOCATION_TAG[] = "QLDBClient"; -} // namespace QLDB -} // namespace Aws -const char* QLDBClient::GetServiceName() { return SERVICE_NAME; } -const char* QLDBClient::GetAllocationTag() { return ALLOCATION_TAG; } - -QLDBClient::QLDBClient(const QLDB::QLDBClientConfiguration& clientConfiguration, std::shared_ptr endpointProvider) - : BASECLASS(clientConfiguration, - Aws::MakeShared( - ALLOCATION_TAG, - Aws::MakeShared(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig), - 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); -} - -QLDBClient::QLDBClient(const AWSCredentials& credentials, std::shared_ptr endpointProvider, - const QLDB::QLDBClientConfiguration& 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); -} - -QLDBClient::QLDBClient(const std::shared_ptr& credentialsProvider, - std::shared_ptr endpointProvider, const QLDB::QLDBClientConfiguration& 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 */ -QLDBClient::QLDBClient(const Client::ClientConfiguration& clientConfiguration) - : BASECLASS(clientConfiguration, - Aws::MakeShared( - ALLOCATION_TAG, - Aws::MakeShared(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig), - SERVICE_NAME, Aws::Region::ComputeSignerRegion(clientConfiguration.region)), - Aws::MakeShared(ALLOCATION_TAG)), - m_clientConfiguration(clientConfiguration), - m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG)) { - init(m_clientConfiguration); -} - -QLDBClient::QLDBClient(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); -} - -QLDBClient::QLDBClient(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 */ -QLDBClient::~QLDBClient() { ShutdownSdkClient(this, -1); } - -std::shared_ptr& QLDBClient::accessEndpointProvider() { return m_endpointProvider; } - -void QLDBClient::init(const QLDB::QLDBClientConfiguration& config) { - AWSClient::SetServiceClientName("QLDB"); - 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 QLDBClient::OverrideEndpoint(const Aws::String& endpoint) { - AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider); - m_clientConfiguration.endpointOverride = endpoint; - m_endpointProvider->OverrideEndpoint(endpoint); -} - -CancelJournalKinesisStreamOutcome QLDBClient::CancelJournalKinesisStream(const CancelJournalKinesisStreamRequest& request) const { - AWS_OPERATION_GUARD(CancelJournalKinesisStream); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CancelJournalKinesisStream, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.LedgerNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("CancelJournalKinesisStream", "Required field: LedgerName, is not set"); - return CancelJournalKinesisStreamOutcome(Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [LedgerName]", false)); - } - if (!request.StreamIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("CancelJournalKinesisStream", "Required field: StreamId, is not set"); - return CancelJournalKinesisStreamOutcome( - Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [StreamId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CancelJournalKinesisStream, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CancelJournalKinesisStream, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CancelJournalKinesisStream", - {{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( - [&]() -> CancelJournalKinesisStreamOutcome { - 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, CancelJournalKinesisStream, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetLedgerName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/journal-kinesis-streams/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStreamId()); - return CancelJournalKinesisStreamOutcome( - 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()}}); -} - -CreateLedgerOutcome QLDBClient::CreateLedger(const CreateLedgerRequest& request) const { - AWS_OPERATION_GUARD(CreateLedger); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateLedger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateLedger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateLedger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateLedger", - {{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( - [&]() -> CreateLedgerOutcome { - 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, CreateLedger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers"); - return CreateLedgerOutcome( - 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()}}); -} - -DeleteLedgerOutcome QLDBClient::DeleteLedger(const DeleteLedgerRequest& request) const { - AWS_OPERATION_GUARD(DeleteLedger); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteLedger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.NameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DeleteLedger", "Required field: Name, is not set"); - return DeleteLedgerOutcome( - Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteLedger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteLedger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteLedger", - {{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( - [&]() -> DeleteLedgerOutcome { - 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, DeleteLedger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); - return DeleteLedgerOutcome( - 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()}}); -} - -DescribeJournalKinesisStreamOutcome QLDBClient::DescribeJournalKinesisStream(const DescribeJournalKinesisStreamRequest& request) const { - AWS_OPERATION_GUARD(DescribeJournalKinesisStream); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeJournalKinesisStream, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.LedgerNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DescribeJournalKinesisStream", "Required field: LedgerName, is not set"); - return DescribeJournalKinesisStreamOutcome(Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [LedgerName]", false)); - } - if (!request.StreamIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DescribeJournalKinesisStream", "Required field: StreamId, is not set"); - return DescribeJournalKinesisStreamOutcome( - Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [StreamId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeJournalKinesisStream, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeJournalKinesisStream, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeJournalKinesisStream", - {{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( - [&]() -> DescribeJournalKinesisStreamOutcome { - 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, DescribeJournalKinesisStream, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetLedgerName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/journal-kinesis-streams/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetStreamId()); - return DescribeJournalKinesisStreamOutcome( - 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()}}); -} - -DescribeJournalS3ExportOutcome QLDBClient::DescribeJournalS3Export(const DescribeJournalS3ExportRequest& request) const { - AWS_OPERATION_GUARD(DescribeJournalS3Export); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeJournalS3Export, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.NameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DescribeJournalS3Export", "Required field: Name, is not set"); - return DescribeJournalS3ExportOutcome( - Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); - } - if (!request.ExportIdHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DescribeJournalS3Export", "Required field: ExportId, is not set"); - return DescribeJournalS3ExportOutcome( - Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ExportId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeJournalS3Export, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeJournalS3Export, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeJournalS3Export", - {{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( - [&]() -> DescribeJournalS3ExportOutcome { - 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, DescribeJournalS3Export, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/journal-s3-exports/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetExportId()); - return DescribeJournalS3ExportOutcome( - 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()}}); -} - -DescribeLedgerOutcome QLDBClient::DescribeLedger(const DescribeLedgerRequest& request) const { - AWS_OPERATION_GUARD(DescribeLedger); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeLedger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.NameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("DescribeLedger", "Required field: Name, is not set"); - return DescribeLedgerOutcome( - Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeLedger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeLedger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeLedger", - {{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( - [&]() -> DescribeLedgerOutcome { - 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, DescribeLedger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); - return DescribeLedgerOutcome( - 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()}}); -} - -ExportJournalToS3Outcome QLDBClient::ExportJournalToS3(const ExportJournalToS3Request& request) const { - AWS_OPERATION_GUARD(ExportJournalToS3); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ExportJournalToS3, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.NameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("ExportJournalToS3", "Required field: Name, is not set"); - return ExportJournalToS3Outcome( - Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ExportJournalToS3, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ExportJournalToS3, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ExportJournalToS3", - {{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( - [&]() -> ExportJournalToS3Outcome { - 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, ExportJournalToS3, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/journal-s3-exports"); - return ExportJournalToS3Outcome( - 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()}}); -} - -GetBlockOutcome QLDBClient::GetBlock(const GetBlockRequest& request) const { - AWS_OPERATION_GUARD(GetBlock); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetBlock, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.NameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("GetBlock", "Required field: Name, is not set"); - return GetBlockOutcome( - Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetBlock, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetBlock, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetBlock", - {{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( - [&]() -> GetBlockOutcome { - 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, GetBlock, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/block"); - return GetBlockOutcome( - 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()}}); -} - -GetDigestOutcome QLDBClient::GetDigest(const GetDigestRequest& request) const { - AWS_OPERATION_GUARD(GetDigest); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDigest, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.NameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("GetDigest", "Required field: Name, is not set"); - return GetDigestOutcome( - Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDigest, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetDigest, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetDigest", - {{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( - [&]() -> GetDigestOutcome { - 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, GetDigest, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/digest"); - return GetDigestOutcome( - 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()}}); -} - -GetRevisionOutcome QLDBClient::GetRevision(const GetRevisionRequest& request) const { - AWS_OPERATION_GUARD(GetRevision); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetRevision, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.NameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("GetRevision", "Required field: Name, is not set"); - return GetRevisionOutcome( - Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetRevision, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetRevision, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetRevision", - {{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( - [&]() -> GetRevisionOutcome { - 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, GetRevision, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/revision"); - return GetRevisionOutcome( - 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()}}); -} - -ListJournalKinesisStreamsForLedgerOutcome QLDBClient::ListJournalKinesisStreamsForLedger( - const ListJournalKinesisStreamsForLedgerRequest& request) const { - AWS_OPERATION_GUARD(ListJournalKinesisStreamsForLedger); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListJournalKinesisStreamsForLedger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.LedgerNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("ListJournalKinesisStreamsForLedger", "Required field: LedgerName, is not set"); - return ListJournalKinesisStreamsForLedgerOutcome(Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [LedgerName]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListJournalKinesisStreamsForLedger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListJournalKinesisStreamsForLedger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListJournalKinesisStreamsForLedger", - {{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( - [&]() -> ListJournalKinesisStreamsForLedgerOutcome { - 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, ListJournalKinesisStreamsForLedger, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetLedgerName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/journal-kinesis-streams"); - return ListJournalKinesisStreamsForLedgerOutcome( - 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()}}); -} - -ListJournalS3ExportsOutcome QLDBClient::ListJournalS3Exports(const ListJournalS3ExportsRequest& request) const { - AWS_OPERATION_GUARD(ListJournalS3Exports); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListJournalS3Exports, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListJournalS3Exports, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListJournalS3Exports, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListJournalS3Exports", - {{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( - [&]() -> ListJournalS3ExportsOutcome { - 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, ListJournalS3Exports, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/journal-s3-exports"); - return ListJournalS3ExportsOutcome( - 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()}}); -} - -ListJournalS3ExportsForLedgerOutcome QLDBClient::ListJournalS3ExportsForLedger(const ListJournalS3ExportsForLedgerRequest& request) const { - AWS_OPERATION_GUARD(ListJournalS3ExportsForLedger); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListJournalS3ExportsForLedger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.NameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("ListJournalS3ExportsForLedger", "Required field: Name, is not set"); - return ListJournalS3ExportsForLedgerOutcome( - Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListJournalS3ExportsForLedger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListJournalS3ExportsForLedger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListJournalS3ExportsForLedger", - {{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( - [&]() -> ListJournalS3ExportsForLedgerOutcome { - 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, ListJournalS3ExportsForLedger, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/journal-s3-exports"); - return ListJournalS3ExportsForLedgerOutcome( - 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()}}); -} - -ListLedgersOutcome QLDBClient::ListLedgers(const ListLedgersRequest& request) const { - AWS_OPERATION_GUARD(ListLedgers); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListLedgers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListLedgers, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListLedgers, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListLedgers", - {{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( - [&]() -> ListLedgersOutcome { - 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, ListLedgers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers"); - return ListLedgersOutcome( - 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 QLDBClient::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(QLDBErrors::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()}}); -} - -StreamJournalToKinesisOutcome QLDBClient::StreamJournalToKinesis(const StreamJournalToKinesisRequest& request) const { - AWS_OPERATION_GUARD(StreamJournalToKinesis); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StreamJournalToKinesis, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.LedgerNameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("StreamJournalToKinesis", "Required field: LedgerName, is not set"); - return StreamJournalToKinesisOutcome(Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", - "Missing required field [LedgerName]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StreamJournalToKinesis, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StreamJournalToKinesis, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StreamJournalToKinesis", - {{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( - [&]() -> StreamJournalToKinesisOutcome { - 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, StreamJournalToKinesis, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetLedgerName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/journal-kinesis-streams"); - return StreamJournalToKinesisOutcome( - 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()}}); -} - -TagResourceOutcome QLDBClient::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(QLDBErrors::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 QLDBClient::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(QLDBErrors::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(QLDBErrors::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()}}); -} - -UpdateLedgerOutcome QLDBClient::UpdateLedger(const UpdateLedgerRequest& request) const { - AWS_OPERATION_GUARD(UpdateLedger); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateLedger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.NameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("UpdateLedger", "Required field: Name, is not set"); - return UpdateLedgerOutcome( - Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateLedger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateLedger, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateLedger", - {{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( - [&]() -> UpdateLedgerOutcome { - 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, UpdateLedger, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); - return UpdateLedgerOutcome( - MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, - {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - -UpdateLedgerPermissionsModeOutcome QLDBClient::UpdateLedgerPermissionsMode(const UpdateLedgerPermissionsModeRequest& request) const { - AWS_OPERATION_GUARD(UpdateLedgerPermissionsMode); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateLedgerPermissionsMode, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.NameHasBeenSet()) { - AWS_LOGSTREAM_ERROR("UpdateLedgerPermissionsMode", "Required field: Name, is not set"); - return UpdateLedgerPermissionsModeOutcome( - Aws::Client::AWSError(QLDBErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Name]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateLedgerPermissionsMode, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateLedgerPermissionsMode, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateLedgerPermissionsMode", - {{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( - [&]() -> UpdateLedgerPermissionsModeOutcome { - 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, UpdateLedgerPermissionsMode, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/ledgers/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetName()); - endpointResolutionOutcome.GetResult().AddPathSegments("/permissions-mode"); - return UpdateLedgerPermissionsModeOutcome( - MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, 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-qldb/source/QLDBEndpointProvider.cpp b/generated/src/aws-cpp-sdk-qldb/source/QLDBEndpointProvider.cpp deleted file mode 100644 index 8a6d46b798c..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/QLDBEndpointProvider.cpp +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include - -namespace Aws { -namespace QLDB { -namespace Endpoint {} // namespace Endpoint -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/QLDBEndpointRules.cpp b/generated/src/aws-cpp-sdk-qldb/source/QLDBEndpointRules.cpp deleted file mode 100644 index cef9576f7cf..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/QLDBEndpointRules.cpp +++ /dev/null @@ -1,149 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -namespace Aws { -namespace QLDB { -const size_t QLDBEndpointRules::RulesBlobStrLen = 3464; -const size_t QLDBEndpointRules::RulesBlobSize = 3465; - -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', '"', ',', '"', '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', '"', ':', '[', '{', '"', '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', '"', ':', '"', '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', ':', '/', '/', 'q', 'l', 'd', 'b', '-', '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', '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', '"', '}', ']', ',', '"', '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', ':', '/', '/', 'q', 'l', 'd', 'b', '-', - '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', ':', '/', - '/', 'q', 'l', 'd', 'b', '.', '{', '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', ':', '/', '/', 'q', 'l', 'd', 'b', '.', '{', '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'}}; - -const char* QLDBEndpointRules::GetRulesBlob() { return RulesBlob.data(); } - -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/QLDBErrorMarshaller.cpp b/generated/src/aws-cpp-sdk-qldb/source/QLDBErrorMarshaller.cpp deleted file mode 100644 index 4ddad70f2b0..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/QLDBErrorMarshaller.cpp +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 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::QLDB; - -AWSError QLDBErrorMarshaller::FindErrorByName(const char* errorName) const { - AWSError error = QLDBErrorMapper::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-qldb/source/QLDBErrors.cpp b/generated/src/aws-cpp-sdk-qldb/source/QLDBErrors.cpp deleted file mode 100644 index 1858a311392..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/QLDBErrors.cpp +++ /dev/null @@ -1,86 +0,0 @@ -/** - * 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 - -using namespace Aws::Client; -using namespace Aws::Utils; -using namespace Aws::QLDB; -using namespace Aws::QLDB::Model; - -namespace Aws { -namespace QLDB { -template <> -AWS_QLDB_API ResourceNotFoundException QLDBError::GetModeledError() { - assert(this->GetErrorType() == QLDBErrors::RESOURCE_NOT_FOUND); - return ResourceNotFoundException(this->GetJsonPayload().View()); -} - -template <> -AWS_QLDB_API InvalidParameterException QLDBError::GetModeledError() { - assert(this->GetErrorType() == QLDBErrors::INVALID_PARAMETER); - return InvalidParameterException(this->GetJsonPayload().View()); -} - -template <> -AWS_QLDB_API ResourceAlreadyExistsException QLDBError::GetModeledError() { - assert(this->GetErrorType() == QLDBErrors::RESOURCE_ALREADY_EXISTS); - return ResourceAlreadyExistsException(this->GetJsonPayload().View()); -} - -template <> -AWS_QLDB_API LimitExceededException QLDBError::GetModeledError() { - assert(this->GetErrorType() == QLDBErrors::LIMIT_EXCEEDED); - return LimitExceededException(this->GetJsonPayload().View()); -} - -template <> -AWS_QLDB_API ResourcePreconditionNotMetException QLDBError::GetModeledError() { - assert(this->GetErrorType() == QLDBErrors::RESOURCE_PRECONDITION_NOT_MET); - return ResourcePreconditionNotMetException(this->GetJsonPayload().View()); -} - -template <> -AWS_QLDB_API ResourceInUseException QLDBError::GetModeledError() { - assert(this->GetErrorType() == QLDBErrors::RESOURCE_IN_USE); - return ResourceInUseException(this->GetJsonPayload().View()); -} - -namespace QLDBErrorMapper { - -static const int INVALID_PARAMETER_HASH = HashingUtils::HashString("InvalidParameterException"); -static const int RESOURCE_ALREADY_EXISTS_HASH = HashingUtils::HashString("ResourceAlreadyExistsException"); -static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException"); -static const int RESOURCE_PRECONDITION_NOT_MET_HASH = HashingUtils::HashString("ResourcePreconditionNotMetException"); -static const int RESOURCE_IN_USE_HASH = HashingUtils::HashString("ResourceInUseException"); - -AWSError GetErrorForName(const char* errorName) { - int hashCode = HashingUtils::HashString(errorName); - - if (hashCode == INVALID_PARAMETER_HASH) { - return AWSError(static_cast(QLDBErrors::INVALID_PARAMETER), RetryableType::NOT_RETRYABLE); - } else if (hashCode == RESOURCE_ALREADY_EXISTS_HASH) { - return AWSError(static_cast(QLDBErrors::RESOURCE_ALREADY_EXISTS), RetryableType::NOT_RETRYABLE); - } else if (hashCode == LIMIT_EXCEEDED_HASH) { - return AWSError(static_cast(QLDBErrors::LIMIT_EXCEEDED), RetryableType::RETRYABLE); - } else if (hashCode == RESOURCE_PRECONDITION_NOT_MET_HASH) { - return AWSError(static_cast(QLDBErrors::RESOURCE_PRECONDITION_NOT_MET), RetryableType::NOT_RETRYABLE); - } else if (hashCode == RESOURCE_IN_USE_HASH) { - return AWSError(static_cast(QLDBErrors::RESOURCE_IN_USE), RetryableType::NOT_RETRYABLE); - } - return AWSError(CoreErrors::UNKNOWN, false); -} - -} // namespace QLDBErrorMapper -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/QLDBRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/QLDBRequest.cpp deleted file mode 100644 index 7f72d3096c1..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/QLDBRequest.cpp +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include - -namespace Aws { -namespace QLDB {} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/CancelJournalKinesisStreamRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/CancelJournalKinesisStreamRequest.cpp deleted file mode 100644 index 6f7129f1eb0..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/CancelJournalKinesisStreamRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CancelJournalKinesisStreamRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/CancelJournalKinesisStreamResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/CancelJournalKinesisStreamResult.cpp deleted file mode 100644 index 05f3477b446..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/CancelJournalKinesisStreamResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CancelJournalKinesisStreamResult::CancelJournalKinesisStreamResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CancelJournalKinesisStreamResult& CancelJournalKinesisStreamResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("StreamId")) { - m_streamId = jsonValue.GetString("StreamId"); - m_streamIdHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/CreateLedgerRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/CreateLedgerRequest.cpp deleted file mode 100644 index 673a6abe13d..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/CreateLedgerRequest.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateLedgerRequest::SerializePayload() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("Name", m_name); - } - - if (m_tagsHasBeenSet) { - JsonValue tagsJsonMap; - for (auto& tagsItem : m_tags) { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("Tags", std::move(tagsJsonMap)); - } - - if (m_permissionsModeHasBeenSet) { - payload.WithString("PermissionsMode", PermissionsModeMapper::GetNameForPermissionsMode(m_permissionsMode)); - } - - if (m_deletionProtectionHasBeenSet) { - payload.WithBool("DeletionProtection", m_deletionProtection); - } - - if (m_kmsKeyHasBeenSet) { - payload.WithString("KmsKey", m_kmsKey); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/CreateLedgerResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/CreateLedgerResult.cpp deleted file mode 100644 index 6595b39e3a7..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/CreateLedgerResult.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateLedgerResult::CreateLedgerResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateLedgerResult& CreateLedgerResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Name")) { - m_name = jsonValue.GetString("Name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("Arn")) { - m_arn = jsonValue.GetString("Arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("State")) { - m_state = LedgerStateMapper::GetLedgerStateForName(jsonValue.GetString("State")); - m_stateHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationDateTime")) { - m_creationDateTime = jsonValue.GetDouble("CreationDateTime"); - m_creationDateTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("PermissionsMode")) { - m_permissionsMode = PermissionsModeMapper::GetPermissionsModeForName(jsonValue.GetString("PermissionsMode")); - m_permissionsModeHasBeenSet = true; - } - if (jsonValue.ValueExists("DeletionProtection")) { - m_deletionProtection = jsonValue.GetBool("DeletionProtection"); - m_deletionProtectionHasBeenSet = true; - } - if (jsonValue.ValueExists("KmsKeyArn")) { - m_kmsKeyArn = jsonValue.GetString("KmsKeyArn"); - m_kmsKeyArnHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/DeleteLedgerRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/DeleteLedgerRequest.cpp deleted file mode 100644 index f0af751dd80..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/DeleteLedgerRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DeleteLedgerRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalKinesisStreamRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalKinesisStreamRequest.cpp deleted file mode 100644 index 523834c7212..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalKinesisStreamRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeJournalKinesisStreamRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalKinesisStreamResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalKinesisStreamResult.cpp deleted file mode 100644 index 9ed6b53607b..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalKinesisStreamResult.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeJournalKinesisStreamResult::DescribeJournalKinesisStreamResult(const Aws::AmazonWebServiceResult& result) { - *this = result; -} - -DescribeJournalKinesisStreamResult& DescribeJournalKinesisStreamResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Stream")) { - m_stream = jsonValue.GetObject("Stream"); - m_streamHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalS3ExportRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalS3ExportRequest.cpp deleted file mode 100644 index 1e1d59bb8a2..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalS3ExportRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeJournalS3ExportRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalS3ExportResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalS3ExportResult.cpp deleted file mode 100644 index c0550dc6975..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/DescribeJournalS3ExportResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeJournalS3ExportResult::DescribeJournalS3ExportResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeJournalS3ExportResult& DescribeJournalS3ExportResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("ExportDescription")) { - m_exportDescription = jsonValue.GetObject("ExportDescription"); - m_exportDescriptionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/DescribeLedgerRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/DescribeLedgerRequest.cpp deleted file mode 100644 index 52b3227b389..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/DescribeLedgerRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeLedgerRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/DescribeLedgerResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/DescribeLedgerResult.cpp deleted file mode 100644 index fa8ce55d198..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/DescribeLedgerResult.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeLedgerResult::DescribeLedgerResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeLedgerResult& DescribeLedgerResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Name")) { - m_name = jsonValue.GetString("Name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("Arn")) { - m_arn = jsonValue.GetString("Arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("State")) { - m_state = LedgerStateMapper::GetLedgerStateForName(jsonValue.GetString("State")); - m_stateHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationDateTime")) { - m_creationDateTime = jsonValue.GetDouble("CreationDateTime"); - m_creationDateTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("PermissionsMode")) { - m_permissionsMode = PermissionsModeMapper::GetPermissionsModeForName(jsonValue.GetString("PermissionsMode")); - m_permissionsModeHasBeenSet = true; - } - if (jsonValue.ValueExists("DeletionProtection")) { - m_deletionProtection = jsonValue.GetBool("DeletionProtection"); - m_deletionProtectionHasBeenSet = true; - } - if (jsonValue.ValueExists("EncryptionDescription")) { - m_encryptionDescription = jsonValue.GetObject("EncryptionDescription"); - m_encryptionDescriptionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/EncryptionStatus.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/EncryptionStatus.cpp deleted file mode 100644 index dd265d9a248..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/EncryptionStatus.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -namespace EncryptionStatusMapper { - -static const int ENABLED_HASH = HashingUtils::HashString("ENABLED"); -static const int UPDATING_HASH = HashingUtils::HashString("UPDATING"); -static const int KMS_KEY_INACCESSIBLE_HASH = HashingUtils::HashString("KMS_KEY_INACCESSIBLE"); - -EncryptionStatus GetEncryptionStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == ENABLED_HASH) { - return EncryptionStatus::ENABLED; - } else if (hashCode == UPDATING_HASH) { - return EncryptionStatus::UPDATING; - } else if (hashCode == KMS_KEY_INACCESSIBLE_HASH) { - return EncryptionStatus::KMS_KEY_INACCESSIBLE; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return EncryptionStatus::NOT_SET; -} - -Aws::String GetNameForEncryptionStatus(EncryptionStatus enumValue) { - switch (enumValue) { - case EncryptionStatus::NOT_SET: - return {}; - case EncryptionStatus::ENABLED: - return "ENABLED"; - case EncryptionStatus::UPDATING: - return "UPDATING"; - case EncryptionStatus::KMS_KEY_INACCESSIBLE: - return "KMS_KEY_INACCESSIBLE"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace EncryptionStatusMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ErrorCause.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ErrorCause.cpp deleted file mode 100644 index caaedc740a7..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ErrorCause.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -namespace ErrorCauseMapper { - -static const int KINESIS_STREAM_NOT_FOUND_HASH = HashingUtils::HashString("KINESIS_STREAM_NOT_FOUND"); -static const int IAM_PERMISSION_REVOKED_HASH = HashingUtils::HashString("IAM_PERMISSION_REVOKED"); - -ErrorCause GetErrorCauseForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == KINESIS_STREAM_NOT_FOUND_HASH) { - return ErrorCause::KINESIS_STREAM_NOT_FOUND; - } else if (hashCode == IAM_PERMISSION_REVOKED_HASH) { - return ErrorCause::IAM_PERMISSION_REVOKED; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return ErrorCause::NOT_SET; -} - -Aws::String GetNameForErrorCause(ErrorCause enumValue) { - switch (enumValue) { - case ErrorCause::NOT_SET: - return {}; - case ErrorCause::KINESIS_STREAM_NOT_FOUND: - return "KINESIS_STREAM_NOT_FOUND"; - case ErrorCause::IAM_PERMISSION_REVOKED: - return "IAM_PERMISSION_REVOKED"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ErrorCauseMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ExportJournalToS3Request.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ExportJournalToS3Request.cpp deleted file mode 100644 index 1c5bf1ca715..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ExportJournalToS3Request.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ExportJournalToS3Request::SerializePayload() const { - JsonValue payload; - - if (m_inclusiveStartTimeHasBeenSet) { - payload.WithDouble("InclusiveStartTime", m_inclusiveStartTime.SecondsWithMSPrecision()); - } - - if (m_exclusiveEndTimeHasBeenSet) { - payload.WithDouble("ExclusiveEndTime", m_exclusiveEndTime.SecondsWithMSPrecision()); - } - - if (m_s3ExportConfigurationHasBeenSet) { - payload.WithObject("S3ExportConfiguration", m_s3ExportConfiguration.Jsonize()); - } - - if (m_roleArnHasBeenSet) { - payload.WithString("RoleArn", m_roleArn); - } - - if (m_outputFormatHasBeenSet) { - payload.WithString("OutputFormat", OutputFormatMapper::GetNameForOutputFormat(m_outputFormat)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ExportJournalToS3Result.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ExportJournalToS3Result.cpp deleted file mode 100644 index 3df56acf440..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ExportJournalToS3Result.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ExportJournalToS3Result::ExportJournalToS3Result(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ExportJournalToS3Result& ExportJournalToS3Result::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("ExportId")) { - m_exportId = jsonValue.GetString("ExportId"); - m_exportIdHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ExportStatus.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ExportStatus.cpp deleted file mode 100644 index 7143e41c8a2..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ExportStatus.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -namespace ExportStatusMapper { - -static const int IN_PROGRESS_HASH = HashingUtils::HashString("IN_PROGRESS"); -static const int COMPLETED_HASH = HashingUtils::HashString("COMPLETED"); -static const int CANCELLED_HASH = HashingUtils::HashString("CANCELLED"); - -ExportStatus GetExportStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == IN_PROGRESS_HASH) { - return ExportStatus::IN_PROGRESS; - } else if (hashCode == COMPLETED_HASH) { - return ExportStatus::COMPLETED; - } else if (hashCode == CANCELLED_HASH) { - return ExportStatus::CANCELLED; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return ExportStatus::NOT_SET; -} - -Aws::String GetNameForExportStatus(ExportStatus enumValue) { - switch (enumValue) { - case ExportStatus::NOT_SET: - return {}; - case ExportStatus::IN_PROGRESS: - return "IN_PROGRESS"; - case ExportStatus::COMPLETED: - return "COMPLETED"; - case ExportStatus::CANCELLED: - return "CANCELLED"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ExportStatusMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/GetBlockRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/GetBlockRequest.cpp deleted file mode 100644 index c23526a23b9..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/GetBlockRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String GetBlockRequest::SerializePayload() const { - JsonValue payload; - - if (m_blockAddressHasBeenSet) { - payload.WithObject("BlockAddress", m_blockAddress.Jsonize()); - } - - if (m_digestTipAddressHasBeenSet) { - payload.WithObject("DigestTipAddress", m_digestTipAddress.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/GetBlockResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/GetBlockResult.cpp deleted file mode 100644 index c5cf960e4d4..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/GetBlockResult.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -GetBlockResult::GetBlockResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -GetBlockResult& GetBlockResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Block")) { - m_block = jsonValue.GetObject("Block"); - m_blockHasBeenSet = true; - } - if (jsonValue.ValueExists("Proof")) { - m_proof = jsonValue.GetObject("Proof"); - m_proofHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/GetDigestRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/GetDigestRequest.cpp deleted file mode 100644 index e236587b753..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/GetDigestRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String GetDigestRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/GetDigestResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/GetDigestResult.cpp deleted file mode 100644 index 36e9c71703a..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/GetDigestResult.cpp +++ /dev/null @@ -1,42 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -GetDigestResult::GetDigestResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -GetDigestResult& GetDigestResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Digest")) { - m_digest = HashingUtils::Base64Decode(jsonValue.GetString("Digest")); - m_digestHasBeenSet = true; - } - if (jsonValue.ValueExists("DigestTipAddress")) { - m_digestTipAddress = jsonValue.GetObject("DigestTipAddress"); - m_digestTipAddressHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/GetRevisionRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/GetRevisionRequest.cpp deleted file mode 100644 index 6fe29404004..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/GetRevisionRequest.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String GetRevisionRequest::SerializePayload() const { - JsonValue payload; - - if (m_blockAddressHasBeenSet) { - payload.WithObject("BlockAddress", m_blockAddress.Jsonize()); - } - - if (m_documentIdHasBeenSet) { - payload.WithString("DocumentId", m_documentId); - } - - if (m_digestTipAddressHasBeenSet) { - payload.WithObject("DigestTipAddress", m_digestTipAddress.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/GetRevisionResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/GetRevisionResult.cpp deleted file mode 100644 index 3ac0cc2cee0..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/GetRevisionResult.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -GetRevisionResult::GetRevisionResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -GetRevisionResult& GetRevisionResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Proof")) { - m_proof = jsonValue.GetObject("Proof"); - m_proofHasBeenSet = true; - } - if (jsonValue.ValueExists("Revision")) { - m_revision = jsonValue.GetObject("Revision"); - m_revisionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/InvalidParameterException.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/InvalidParameterException.cpp deleted file mode 100644 index 5e0180990a5..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/InvalidParameterException.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -InvalidParameterException::InvalidParameterException(JsonView jsonValue) { *this = jsonValue; } - -InvalidParameterException& InvalidParameterException::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Message")) { - m_message = jsonValue.GetString("Message"); - m_messageHasBeenSet = true; - } - if (jsonValue.ValueExists("ParameterName")) { - m_parameterName = jsonValue.GetString("ParameterName"); - m_parameterNameHasBeenSet = true; - } - return *this; -} - -JsonValue InvalidParameterException::Jsonize() const { - JsonValue payload; - - if (m_messageHasBeenSet) { - payload.WithString("Message", m_message); - } - - if (m_parameterNameHasBeenSet) { - payload.WithString("ParameterName", m_parameterName); - } - - return payload; -} - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/JournalKinesisStreamDescription.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/JournalKinesisStreamDescription.cpp deleted file mode 100644 index 70559ce0e3e..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/JournalKinesisStreamDescription.cpp +++ /dev/null @@ -1,120 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -JournalKinesisStreamDescription::JournalKinesisStreamDescription(JsonView jsonValue) { *this = jsonValue; } - -JournalKinesisStreamDescription& JournalKinesisStreamDescription::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("LedgerName")) { - m_ledgerName = jsonValue.GetString("LedgerName"); - m_ledgerNameHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationTime")) { - m_creationTime = jsonValue.GetDouble("CreationTime"); - m_creationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("InclusiveStartTime")) { - m_inclusiveStartTime = jsonValue.GetDouble("InclusiveStartTime"); - m_inclusiveStartTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("ExclusiveEndTime")) { - m_exclusiveEndTime = jsonValue.GetDouble("ExclusiveEndTime"); - m_exclusiveEndTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("RoleArn")) { - m_roleArn = jsonValue.GetString("RoleArn"); - m_roleArnHasBeenSet = true; - } - if (jsonValue.ValueExists("StreamId")) { - m_streamId = jsonValue.GetString("StreamId"); - m_streamIdHasBeenSet = true; - } - if (jsonValue.ValueExists("Arn")) { - m_arn = jsonValue.GetString("Arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("Status")) { - m_status = StreamStatusMapper::GetStreamStatusForName(jsonValue.GetString("Status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("KinesisConfiguration")) { - m_kinesisConfiguration = jsonValue.GetObject("KinesisConfiguration"); - m_kinesisConfigurationHasBeenSet = true; - } - if (jsonValue.ValueExists("ErrorCause")) { - m_errorCause = ErrorCauseMapper::GetErrorCauseForName(jsonValue.GetString("ErrorCause")); - m_errorCauseHasBeenSet = true; - } - if (jsonValue.ValueExists("StreamName")) { - m_streamName = jsonValue.GetString("StreamName"); - m_streamNameHasBeenSet = true; - } - return *this; -} - -JsonValue JournalKinesisStreamDescription::Jsonize() const { - JsonValue payload; - - if (m_ledgerNameHasBeenSet) { - payload.WithString("LedgerName", m_ledgerName); - } - - if (m_creationTimeHasBeenSet) { - payload.WithDouble("CreationTime", m_creationTime.SecondsWithMSPrecision()); - } - - if (m_inclusiveStartTimeHasBeenSet) { - payload.WithDouble("InclusiveStartTime", m_inclusiveStartTime.SecondsWithMSPrecision()); - } - - if (m_exclusiveEndTimeHasBeenSet) { - payload.WithDouble("ExclusiveEndTime", m_exclusiveEndTime.SecondsWithMSPrecision()); - } - - if (m_roleArnHasBeenSet) { - payload.WithString("RoleArn", m_roleArn); - } - - if (m_streamIdHasBeenSet) { - payload.WithString("StreamId", m_streamId); - } - - if (m_arnHasBeenSet) { - payload.WithString("Arn", m_arn); - } - - if (m_statusHasBeenSet) { - payload.WithString("Status", StreamStatusMapper::GetNameForStreamStatus(m_status)); - } - - if (m_kinesisConfigurationHasBeenSet) { - payload.WithObject("KinesisConfiguration", m_kinesisConfiguration.Jsonize()); - } - - if (m_errorCauseHasBeenSet) { - payload.WithString("ErrorCause", ErrorCauseMapper::GetNameForErrorCause(m_errorCause)); - } - - if (m_streamNameHasBeenSet) { - payload.WithString("StreamName", m_streamName); - } - - return payload; -} - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/JournalS3ExportDescription.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/JournalS3ExportDescription.cpp deleted file mode 100644 index da58e25357a..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/JournalS3ExportDescription.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -JournalS3ExportDescription::JournalS3ExportDescription(JsonView jsonValue) { *this = jsonValue; } - -JournalS3ExportDescription& JournalS3ExportDescription::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("LedgerName")) { - m_ledgerName = jsonValue.GetString("LedgerName"); - m_ledgerNameHasBeenSet = true; - } - if (jsonValue.ValueExists("ExportId")) { - m_exportId = jsonValue.GetString("ExportId"); - m_exportIdHasBeenSet = true; - } - if (jsonValue.ValueExists("ExportCreationTime")) { - m_exportCreationTime = jsonValue.GetDouble("ExportCreationTime"); - m_exportCreationTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("Status")) { - m_status = ExportStatusMapper::GetExportStatusForName(jsonValue.GetString("Status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("InclusiveStartTime")) { - m_inclusiveStartTime = jsonValue.GetDouble("InclusiveStartTime"); - m_inclusiveStartTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("ExclusiveEndTime")) { - m_exclusiveEndTime = jsonValue.GetDouble("ExclusiveEndTime"); - m_exclusiveEndTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("S3ExportConfiguration")) { - m_s3ExportConfiguration = jsonValue.GetObject("S3ExportConfiguration"); - m_s3ExportConfigurationHasBeenSet = true; - } - if (jsonValue.ValueExists("RoleArn")) { - m_roleArn = jsonValue.GetString("RoleArn"); - m_roleArnHasBeenSet = true; - } - if (jsonValue.ValueExists("OutputFormat")) { - m_outputFormat = OutputFormatMapper::GetOutputFormatForName(jsonValue.GetString("OutputFormat")); - m_outputFormatHasBeenSet = true; - } - return *this; -} - -JsonValue JournalS3ExportDescription::Jsonize() const { - JsonValue payload; - - if (m_ledgerNameHasBeenSet) { - payload.WithString("LedgerName", m_ledgerName); - } - - if (m_exportIdHasBeenSet) { - payload.WithString("ExportId", m_exportId); - } - - if (m_exportCreationTimeHasBeenSet) { - payload.WithDouble("ExportCreationTime", m_exportCreationTime.SecondsWithMSPrecision()); - } - - if (m_statusHasBeenSet) { - payload.WithString("Status", ExportStatusMapper::GetNameForExportStatus(m_status)); - } - - if (m_inclusiveStartTimeHasBeenSet) { - payload.WithDouble("InclusiveStartTime", m_inclusiveStartTime.SecondsWithMSPrecision()); - } - - if (m_exclusiveEndTimeHasBeenSet) { - payload.WithDouble("ExclusiveEndTime", m_exclusiveEndTime.SecondsWithMSPrecision()); - } - - if (m_s3ExportConfigurationHasBeenSet) { - payload.WithObject("S3ExportConfiguration", m_s3ExportConfiguration.Jsonize()); - } - - if (m_roleArnHasBeenSet) { - payload.WithString("RoleArn", m_roleArn); - } - - if (m_outputFormatHasBeenSet) { - payload.WithString("OutputFormat", OutputFormatMapper::GetNameForOutputFormat(m_outputFormat)); - } - - return payload; -} - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/KinesisConfiguration.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/KinesisConfiguration.cpp deleted file mode 100644 index f2ab7d91700..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/KinesisConfiguration.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -KinesisConfiguration::KinesisConfiguration(JsonView jsonValue) { *this = jsonValue; } - -KinesisConfiguration& KinesisConfiguration::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("StreamArn")) { - m_streamArn = jsonValue.GetString("StreamArn"); - m_streamArnHasBeenSet = true; - } - if (jsonValue.ValueExists("AggregationEnabled")) { - m_aggregationEnabled = jsonValue.GetBool("AggregationEnabled"); - m_aggregationEnabledHasBeenSet = true; - } - return *this; -} - -JsonValue KinesisConfiguration::Jsonize() const { - JsonValue payload; - - if (m_streamArnHasBeenSet) { - payload.WithString("StreamArn", m_streamArn); - } - - if (m_aggregationEnabledHasBeenSet) { - payload.WithBool("AggregationEnabled", m_aggregationEnabled); - } - - return payload; -} - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/LedgerEncryptionDescription.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/LedgerEncryptionDescription.cpp deleted file mode 100644 index 8ae2b013dc9..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/LedgerEncryptionDescription.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -LedgerEncryptionDescription::LedgerEncryptionDescription(JsonView jsonValue) { *this = jsonValue; } - -LedgerEncryptionDescription& LedgerEncryptionDescription::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("KmsKeyArn")) { - m_kmsKeyArn = jsonValue.GetString("KmsKeyArn"); - m_kmsKeyArnHasBeenSet = true; - } - if (jsonValue.ValueExists("EncryptionStatus")) { - m_encryptionStatus = EncryptionStatusMapper::GetEncryptionStatusForName(jsonValue.GetString("EncryptionStatus")); - m_encryptionStatusHasBeenSet = true; - } - if (jsonValue.ValueExists("InaccessibleKmsKeyDateTime")) { - m_inaccessibleKmsKeyDateTime = jsonValue.GetDouble("InaccessibleKmsKeyDateTime"); - m_inaccessibleKmsKeyDateTimeHasBeenSet = true; - } - return *this; -} - -JsonValue LedgerEncryptionDescription::Jsonize() const { - JsonValue payload; - - if (m_kmsKeyArnHasBeenSet) { - payload.WithString("KmsKeyArn", m_kmsKeyArn); - } - - if (m_encryptionStatusHasBeenSet) { - payload.WithString("EncryptionStatus", EncryptionStatusMapper::GetNameForEncryptionStatus(m_encryptionStatus)); - } - - if (m_inaccessibleKmsKeyDateTimeHasBeenSet) { - payload.WithDouble("InaccessibleKmsKeyDateTime", m_inaccessibleKmsKeyDateTime.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/LedgerState.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/LedgerState.cpp deleted file mode 100644 index 22893fb80e8..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/LedgerState.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -namespace LedgerStateMapper { - -static const int CREATING_HASH = HashingUtils::HashString("CREATING"); -static const int ACTIVE_HASH = HashingUtils::HashString("ACTIVE"); -static const int DELETING_HASH = HashingUtils::HashString("DELETING"); -static const int DELETED_HASH = HashingUtils::HashString("DELETED"); - -LedgerState GetLedgerStateForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == CREATING_HASH) { - return LedgerState::CREATING; - } else if (hashCode == ACTIVE_HASH) { - return LedgerState::ACTIVE; - } else if (hashCode == DELETING_HASH) { - return LedgerState::DELETING; - } else if (hashCode == DELETED_HASH) { - return LedgerState::DELETED; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return LedgerState::NOT_SET; -} - -Aws::String GetNameForLedgerState(LedgerState enumValue) { - switch (enumValue) { - case LedgerState::NOT_SET: - return {}; - case LedgerState::CREATING: - return "CREATING"; - case LedgerState::ACTIVE: - return "ACTIVE"; - case LedgerState::DELETING: - return "DELETING"; - case LedgerState::DELETED: - return "DELETED"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace LedgerStateMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/LedgerSummary.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/LedgerSummary.cpp deleted file mode 100644 index 75309a1795a..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/LedgerSummary.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -LedgerSummary::LedgerSummary(JsonView jsonValue) { *this = jsonValue; } - -LedgerSummary& LedgerSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Name")) { - m_name = jsonValue.GetString("Name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("State")) { - m_state = LedgerStateMapper::GetLedgerStateForName(jsonValue.GetString("State")); - m_stateHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationDateTime")) { - m_creationDateTime = jsonValue.GetDouble("CreationDateTime"); - m_creationDateTimeHasBeenSet = true; - } - return *this; -} - -JsonValue LedgerSummary::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("Name", m_name); - } - - if (m_stateHasBeenSet) { - payload.WithString("State", LedgerStateMapper::GetNameForLedgerState(m_state)); - } - - if (m_creationDateTimeHasBeenSet) { - payload.WithDouble("CreationDateTime", m_creationDateTime.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/LimitExceededException.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/LimitExceededException.cpp deleted file mode 100644 index 994877f4548..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/LimitExceededException.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -LimitExceededException::LimitExceededException(JsonView jsonValue) { *this = jsonValue; } - -LimitExceededException& LimitExceededException::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Message")) { - m_message = jsonValue.GetString("Message"); - m_messageHasBeenSet = true; - } - if (jsonValue.ValueExists("ResourceType")) { - m_resourceType = jsonValue.GetString("ResourceType"); - m_resourceTypeHasBeenSet = true; - } - return *this; -} - -JsonValue LimitExceededException::Jsonize() const { - JsonValue payload; - - if (m_messageHasBeenSet) { - payload.WithString("Message", m_message); - } - - if (m_resourceTypeHasBeenSet) { - payload.WithString("ResourceType", m_resourceType); - } - - return payload; -} - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalKinesisStreamsForLedgerRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalKinesisStreamsForLedgerRequest.cpp deleted file mode 100644 index ee39e58a9dd..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalKinesisStreamsForLedgerRequest.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListJournalKinesisStreamsForLedgerRequest::SerializePayload() const { return {}; } - -void ListJournalKinesisStreamsForLedgerRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_maxResultsHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("max_results", ss.str()); - ss.str(""); - } - - if (m_nextTokenHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("next_token", ss.str()); - ss.str(""); - } -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalKinesisStreamsForLedgerResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalKinesisStreamsForLedgerResult.cpp deleted file mode 100644 index d50620fe6b7..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalKinesisStreamsForLedgerResult.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListJournalKinesisStreamsForLedgerResult::ListJournalKinesisStreamsForLedgerResult(const Aws::AmazonWebServiceResult& result) { - *this = result; -} - -ListJournalKinesisStreamsForLedgerResult& ListJournalKinesisStreamsForLedgerResult::operator=( - const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Streams")) { - Aws::Utils::Array streamsJsonList = jsonValue.GetArray("Streams"); - for (unsigned streamsIndex = 0; streamsIndex < streamsJsonList.GetLength(); ++streamsIndex) { - m_streams.push_back(streamsJsonList[streamsIndex].AsObject()); - } - m_streamsHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsForLedgerRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsForLedgerRequest.cpp deleted file mode 100644 index 65dffdc02bf..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsForLedgerRequest.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListJournalS3ExportsForLedgerRequest::SerializePayload() const { return {}; } - -void ListJournalS3ExportsForLedgerRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_maxResultsHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("max_results", ss.str()); - ss.str(""); - } - - if (m_nextTokenHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("next_token", ss.str()); - ss.str(""); - } -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsForLedgerResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsForLedgerResult.cpp deleted file mode 100644 index a83cc626df5..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsForLedgerResult.cpp +++ /dev/null @@ -1,46 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListJournalS3ExportsForLedgerResult::ListJournalS3ExportsForLedgerResult(const Aws::AmazonWebServiceResult& result) { - *this = result; -} - -ListJournalS3ExportsForLedgerResult& ListJournalS3ExportsForLedgerResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("JournalS3Exports")) { - Aws::Utils::Array journalS3ExportsJsonList = jsonValue.GetArray("JournalS3Exports"); - for (unsigned journalS3ExportsIndex = 0; journalS3ExportsIndex < journalS3ExportsJsonList.GetLength(); ++journalS3ExportsIndex) { - m_journalS3Exports.push_back(journalS3ExportsJsonList[journalS3ExportsIndex].AsObject()); - } - m_journalS3ExportsHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsRequest.cpp deleted file mode 100644 index 7f3f1870b97..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsRequest.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListJournalS3ExportsRequest::SerializePayload() const { return {}; } - -void ListJournalS3ExportsRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_maxResultsHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("max_results", ss.str()); - ss.str(""); - } - - if (m_nextTokenHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("next_token", ss.str()); - ss.str(""); - } -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsResult.cpp deleted file mode 100644 index 0a98c4a21f5..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ListJournalS3ExportsResult.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListJournalS3ExportsResult::ListJournalS3ExportsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListJournalS3ExportsResult& ListJournalS3ExportsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("JournalS3Exports")) { - Aws::Utils::Array journalS3ExportsJsonList = jsonValue.GetArray("JournalS3Exports"); - for (unsigned journalS3ExportsIndex = 0; journalS3ExportsIndex < journalS3ExportsJsonList.GetLength(); ++journalS3ExportsIndex) { - m_journalS3Exports.push_back(journalS3ExportsJsonList[journalS3ExportsIndex].AsObject()); - } - m_journalS3ExportsHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ListLedgersRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ListLedgersRequest.cpp deleted file mode 100644 index f87db6fb5d4..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ListLedgersRequest.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -Aws::String ListLedgersRequest::SerializePayload() const { return {}; } - -void ListLedgersRequest::AddQueryStringParameters(URI& uri) const { - Aws::StringStream ss; - if (m_maxResultsHasBeenSet) { - ss << m_maxResults; - uri.AddQueryStringParameter("max_results", ss.str()); - ss.str(""); - } - - if (m_nextTokenHasBeenSet) { - ss << m_nextToken; - uri.AddQueryStringParameter("next_token", ss.str()); - ss.str(""); - } -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ListLedgersResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ListLedgersResult.cpp deleted file mode 100644 index e3d18513aba..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ListLedgersResult.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListLedgersResult::ListLedgersResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListLedgersResult& ListLedgersResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Ledgers")) { - Aws::Utils::Array ledgersJsonList = jsonValue.GetArray("Ledgers"); - for (unsigned ledgersIndex = 0; ledgersIndex < ledgersJsonList.GetLength(); ++ledgersIndex) { - m_ledgers.push_back(ledgersJsonList[ledgersIndex].AsObject()); - } - m_ledgersHasBeenSet = true; - } - if (jsonValue.ValueExists("NextToken")) { - m_nextToken = jsonValue.GetString("NextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ListTagsForResourceRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ListTagsForResourceRequest.cpp deleted file mode 100644 index 3de76724690..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ListTagsForResourceRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListTagsForResourceRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ListTagsForResourceResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ListTagsForResourceResult.cpp deleted file mode 100644 index 18ee0a5754d..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ListTagsForResourceResult.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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(); - } - m_tagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/OutputFormat.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/OutputFormat.cpp deleted file mode 100644 index d7fd1c55dce..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/OutputFormat.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -namespace OutputFormatMapper { - -static const int ION_BINARY_HASH = HashingUtils::HashString("ION_BINARY"); -static const int ION_TEXT_HASH = HashingUtils::HashString("ION_TEXT"); -static const int JSON_HASH = HashingUtils::HashString("JSON"); - -OutputFormat GetOutputFormatForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == ION_BINARY_HASH) { - return OutputFormat::ION_BINARY; - } else if (hashCode == ION_TEXT_HASH) { - return OutputFormat::ION_TEXT; - } else if (hashCode == JSON_HASH) { - return OutputFormat::JSON; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return OutputFormat::NOT_SET; -} - -Aws::String GetNameForOutputFormat(OutputFormat enumValue) { - switch (enumValue) { - case OutputFormat::NOT_SET: - return {}; - case OutputFormat::ION_BINARY: - return "ION_BINARY"; - case OutputFormat::ION_TEXT: - return "ION_TEXT"; - case OutputFormat::JSON: - return "JSON"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace OutputFormatMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/PermissionsMode.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/PermissionsMode.cpp deleted file mode 100644 index b119e3b5758..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/PermissionsMode.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -namespace PermissionsModeMapper { - -static const int ALLOW_ALL_HASH = HashingUtils::HashString("ALLOW_ALL"); -static const int STANDARD_HASH = HashingUtils::HashString("STANDARD"); - -PermissionsMode GetPermissionsModeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == ALLOW_ALL_HASH) { - return PermissionsMode::ALLOW_ALL; - } else if (hashCode == STANDARD_HASH) { - return PermissionsMode::STANDARD; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return PermissionsMode::NOT_SET; -} - -Aws::String GetNameForPermissionsMode(PermissionsMode enumValue) { - switch (enumValue) { - case PermissionsMode::NOT_SET: - return {}; - case PermissionsMode::ALLOW_ALL: - return "ALLOW_ALL"; - case PermissionsMode::STANDARD: - return "STANDARD"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace PermissionsModeMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ResourceAlreadyExistsException.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ResourceAlreadyExistsException.cpp deleted file mode 100644 index 4e2cd73fdc3..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ResourceAlreadyExistsException.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -ResourceAlreadyExistsException::ResourceAlreadyExistsException(JsonView jsonValue) { *this = jsonValue; } - -ResourceAlreadyExistsException& ResourceAlreadyExistsException::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Message")) { - m_message = jsonValue.GetString("Message"); - m_messageHasBeenSet = true; - } - if (jsonValue.ValueExists("ResourceType")) { - m_resourceType = jsonValue.GetString("ResourceType"); - m_resourceTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("ResourceName")) { - m_resourceName = jsonValue.GetString("ResourceName"); - m_resourceNameHasBeenSet = true; - } - return *this; -} - -JsonValue ResourceAlreadyExistsException::Jsonize() const { - JsonValue payload; - - if (m_messageHasBeenSet) { - payload.WithString("Message", m_message); - } - - if (m_resourceTypeHasBeenSet) { - payload.WithString("ResourceType", m_resourceType); - } - - if (m_resourceNameHasBeenSet) { - payload.WithString("ResourceName", m_resourceName); - } - - return payload; -} - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ResourceInUseException.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ResourceInUseException.cpp deleted file mode 100644 index 2e181ce698c..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ResourceInUseException.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -ResourceInUseException::ResourceInUseException(JsonView jsonValue) { *this = jsonValue; } - -ResourceInUseException& ResourceInUseException::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Message")) { - m_message = jsonValue.GetString("Message"); - m_messageHasBeenSet = true; - } - if (jsonValue.ValueExists("ResourceType")) { - m_resourceType = jsonValue.GetString("ResourceType"); - m_resourceTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("ResourceName")) { - m_resourceName = jsonValue.GetString("ResourceName"); - m_resourceNameHasBeenSet = true; - } - return *this; -} - -JsonValue ResourceInUseException::Jsonize() const { - JsonValue payload; - - if (m_messageHasBeenSet) { - payload.WithString("Message", m_message); - } - - if (m_resourceTypeHasBeenSet) { - payload.WithString("ResourceType", m_resourceType); - } - - if (m_resourceNameHasBeenSet) { - payload.WithString("ResourceName", m_resourceName); - } - - return payload; -} - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ResourceNotFoundException.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ResourceNotFoundException.cpp deleted file mode 100644 index 47cf2e50ad0..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ResourceNotFoundException.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -ResourceNotFoundException::ResourceNotFoundException(JsonView jsonValue) { *this = jsonValue; } - -ResourceNotFoundException& ResourceNotFoundException::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Message")) { - m_message = jsonValue.GetString("Message"); - m_messageHasBeenSet = true; - } - if (jsonValue.ValueExists("ResourceType")) { - m_resourceType = jsonValue.GetString("ResourceType"); - m_resourceTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("ResourceName")) { - m_resourceName = jsonValue.GetString("ResourceName"); - m_resourceNameHasBeenSet = true; - } - return *this; -} - -JsonValue ResourceNotFoundException::Jsonize() const { - JsonValue payload; - - if (m_messageHasBeenSet) { - payload.WithString("Message", m_message); - } - - if (m_resourceTypeHasBeenSet) { - payload.WithString("ResourceType", m_resourceType); - } - - if (m_resourceNameHasBeenSet) { - payload.WithString("ResourceName", m_resourceName); - } - - return payload; -} - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ResourcePreconditionNotMetException.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ResourcePreconditionNotMetException.cpp deleted file mode 100644 index 3d4d1ffa9cc..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ResourcePreconditionNotMetException.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -ResourcePreconditionNotMetException::ResourcePreconditionNotMetException(JsonView jsonValue) { *this = jsonValue; } - -ResourcePreconditionNotMetException& ResourcePreconditionNotMetException::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Message")) { - m_message = jsonValue.GetString("Message"); - m_messageHasBeenSet = true; - } - if (jsonValue.ValueExists("ResourceType")) { - m_resourceType = jsonValue.GetString("ResourceType"); - m_resourceTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("ResourceName")) { - m_resourceName = jsonValue.GetString("ResourceName"); - m_resourceNameHasBeenSet = true; - } - return *this; -} - -JsonValue ResourcePreconditionNotMetException::Jsonize() const { - JsonValue payload; - - if (m_messageHasBeenSet) { - payload.WithString("Message", m_message); - } - - if (m_resourceTypeHasBeenSet) { - payload.WithString("ResourceType", m_resourceType); - } - - if (m_resourceNameHasBeenSet) { - payload.WithString("ResourceName", m_resourceName); - } - - return payload; -} - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/S3EncryptionConfiguration.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/S3EncryptionConfiguration.cpp deleted file mode 100644 index d187490b9ed..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/S3EncryptionConfiguration.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -S3EncryptionConfiguration::S3EncryptionConfiguration(JsonView jsonValue) { *this = jsonValue; } - -S3EncryptionConfiguration& S3EncryptionConfiguration::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("ObjectEncryptionType")) { - m_objectEncryptionType = S3ObjectEncryptionTypeMapper::GetS3ObjectEncryptionTypeForName(jsonValue.GetString("ObjectEncryptionType")); - m_objectEncryptionTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("KmsKeyArn")) { - m_kmsKeyArn = jsonValue.GetString("KmsKeyArn"); - m_kmsKeyArnHasBeenSet = true; - } - return *this; -} - -JsonValue S3EncryptionConfiguration::Jsonize() const { - JsonValue payload; - - if (m_objectEncryptionTypeHasBeenSet) { - payload.WithString("ObjectEncryptionType", S3ObjectEncryptionTypeMapper::GetNameForS3ObjectEncryptionType(m_objectEncryptionType)); - } - - if (m_kmsKeyArnHasBeenSet) { - payload.WithString("KmsKeyArn", m_kmsKeyArn); - } - - return payload; -} - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/S3ExportConfiguration.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/S3ExportConfiguration.cpp deleted file mode 100644 index d84f33769d4..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/S3ExportConfiguration.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -S3ExportConfiguration::S3ExportConfiguration(JsonView jsonValue) { *this = jsonValue; } - -S3ExportConfiguration& S3ExportConfiguration::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("Bucket")) { - m_bucket = jsonValue.GetString("Bucket"); - m_bucketHasBeenSet = true; - } - if (jsonValue.ValueExists("Prefix")) { - m_prefix = jsonValue.GetString("Prefix"); - m_prefixHasBeenSet = true; - } - if (jsonValue.ValueExists("EncryptionConfiguration")) { - m_encryptionConfiguration = jsonValue.GetObject("EncryptionConfiguration"); - m_encryptionConfigurationHasBeenSet = true; - } - return *this; -} - -JsonValue S3ExportConfiguration::Jsonize() const { - JsonValue payload; - - if (m_bucketHasBeenSet) { - payload.WithString("Bucket", m_bucket); - } - - if (m_prefixHasBeenSet) { - payload.WithString("Prefix", m_prefix); - } - - if (m_encryptionConfigurationHasBeenSet) { - payload.WithObject("EncryptionConfiguration", m_encryptionConfiguration.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/S3ObjectEncryptionType.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/S3ObjectEncryptionType.cpp deleted file mode 100644 index d55756e3c44..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/S3ObjectEncryptionType.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -namespace S3ObjectEncryptionTypeMapper { - -static const int SSE_KMS_HASH = HashingUtils::HashString("SSE_KMS"); -static const int SSE_S3_HASH = HashingUtils::HashString("SSE_S3"); -static const int NO_ENCRYPTION_HASH = HashingUtils::HashString("NO_ENCRYPTION"); - -S3ObjectEncryptionType GetS3ObjectEncryptionTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == SSE_KMS_HASH) { - return S3ObjectEncryptionType::SSE_KMS; - } else if (hashCode == SSE_S3_HASH) { - return S3ObjectEncryptionType::SSE_S3; - } else if (hashCode == NO_ENCRYPTION_HASH) { - return S3ObjectEncryptionType::NO_ENCRYPTION; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return S3ObjectEncryptionType::NOT_SET; -} - -Aws::String GetNameForS3ObjectEncryptionType(S3ObjectEncryptionType enumValue) { - switch (enumValue) { - case S3ObjectEncryptionType::NOT_SET: - return {}; - case S3ObjectEncryptionType::SSE_KMS: - return "SSE_KMS"; - case S3ObjectEncryptionType::SSE_S3: - return "SSE_S3"; - case S3ObjectEncryptionType::NO_ENCRYPTION: - return "NO_ENCRYPTION"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace S3ObjectEncryptionTypeMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/StreamJournalToKinesisRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/StreamJournalToKinesisRequest.cpp deleted file mode 100644 index 924c4d59300..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/StreamJournalToKinesisRequest.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String StreamJournalToKinesisRequest::SerializePayload() const { - JsonValue payload; - - if (m_roleArnHasBeenSet) { - payload.WithString("RoleArn", m_roleArn); - } - - if (m_tagsHasBeenSet) { - JsonValue tagsJsonMap; - for (auto& tagsItem : m_tags) { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("Tags", std::move(tagsJsonMap)); - } - - if (m_inclusiveStartTimeHasBeenSet) { - payload.WithDouble("InclusiveStartTime", m_inclusiveStartTime.SecondsWithMSPrecision()); - } - - if (m_exclusiveEndTimeHasBeenSet) { - payload.WithDouble("ExclusiveEndTime", m_exclusiveEndTime.SecondsWithMSPrecision()); - } - - if (m_kinesisConfigurationHasBeenSet) { - payload.WithObject("KinesisConfiguration", m_kinesisConfiguration.Jsonize()); - } - - if (m_streamNameHasBeenSet) { - payload.WithString("StreamName", m_streamName); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/StreamJournalToKinesisResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/StreamJournalToKinesisResult.cpp deleted file mode 100644 index 719934875ba..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/StreamJournalToKinesisResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -StreamJournalToKinesisResult::StreamJournalToKinesisResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -StreamJournalToKinesisResult& StreamJournalToKinesisResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("StreamId")) { - m_streamId = jsonValue.GetString("StreamId"); - m_streamIdHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/StreamStatus.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/StreamStatus.cpp deleted file mode 100644 index 5fd9ebbbd2c..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/StreamStatus.cpp +++ /dev/null @@ -1,73 +0,0 @@ -/** - * 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 QLDB { -namespace Model { -namespace StreamStatusMapper { - -static const int ACTIVE_HASH = HashingUtils::HashString("ACTIVE"); -static const int COMPLETED_HASH = HashingUtils::HashString("COMPLETED"); -static const int CANCELED_HASH = HashingUtils::HashString("CANCELED"); -static const int FAILED_HASH = HashingUtils::HashString("FAILED"); -static const int IMPAIRED_HASH = HashingUtils::HashString("IMPAIRED"); - -StreamStatus GetStreamStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == ACTIVE_HASH) { - return StreamStatus::ACTIVE; - } else if (hashCode == COMPLETED_HASH) { - return StreamStatus::COMPLETED; - } else if (hashCode == CANCELED_HASH) { - return StreamStatus::CANCELED; - } else if (hashCode == FAILED_HASH) { - return StreamStatus::FAILED; - } else if (hashCode == IMPAIRED_HASH) { - return StreamStatus::IMPAIRED; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return StreamStatus::NOT_SET; -} - -Aws::String GetNameForStreamStatus(StreamStatus enumValue) { - switch (enumValue) { - case StreamStatus::NOT_SET: - return {}; - case StreamStatus::ACTIVE: - return "ACTIVE"; - case StreamStatus::COMPLETED: - return "COMPLETED"; - case StreamStatus::CANCELED: - return "CANCELED"; - case StreamStatus::FAILED: - return "FAILED"; - case StreamStatus::IMPAIRED: - return "IMPAIRED"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace StreamStatusMapper -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/TagResourceRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/TagResourceRequest.cpp deleted file mode 100644 index 98fb1fb0f15..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/TagResourceRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -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-qldb/source/model/TagResourceResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/TagResourceResult.cpp deleted file mode 100644 index b289edfccd6..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/TagResourceResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/UntagResourceRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/UntagResourceRequest.cpp deleted file mode 100644 index ca8c46ec868..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/UntagResourceRequest.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -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-qldb/source/model/UntagResourceResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/UntagResourceResult.cpp deleted file mode 100644 index 333c1b127e2..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/UntagResourceResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerPermissionsModeRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerPermissionsModeRequest.cpp deleted file mode 100644 index 1d38b6f9fb7..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerPermissionsModeRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String UpdateLedgerPermissionsModeRequest::SerializePayload() const { - JsonValue payload; - - if (m_permissionsModeHasBeenSet) { - payload.WithString("PermissionsMode", PermissionsModeMapper::GetNameForPermissionsMode(m_permissionsMode)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerPermissionsModeResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerPermissionsModeResult.cpp deleted file mode 100644 index da87442f998..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerPermissionsModeResult.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -UpdateLedgerPermissionsModeResult::UpdateLedgerPermissionsModeResult(const Aws::AmazonWebServiceResult& result) { - *this = result; -} - -UpdateLedgerPermissionsModeResult& UpdateLedgerPermissionsModeResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Name")) { - m_name = jsonValue.GetString("Name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("Arn")) { - m_arn = jsonValue.GetString("Arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("PermissionsMode")) { - m_permissionsMode = PermissionsModeMapper::GetPermissionsModeForName(jsonValue.GetString("PermissionsMode")); - m_permissionsModeHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerRequest.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerRequest.cpp deleted file mode 100644 index 3ebdbb3019c..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String UpdateLedgerRequest::SerializePayload() const { - JsonValue payload; - - if (m_deletionProtectionHasBeenSet) { - payload.WithBool("DeletionProtection", m_deletionProtection); - } - - if (m_kmsKeyHasBeenSet) { - payload.WithString("KmsKey", m_kmsKey); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerResult.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerResult.cpp deleted file mode 100644 index 9fd52885251..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/UpdateLedgerResult.cpp +++ /dev/null @@ -1,57 +0,0 @@ -/** - * 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::QLDB::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -UpdateLedgerResult::UpdateLedgerResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -UpdateLedgerResult& UpdateLedgerResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("Name")) { - m_name = jsonValue.GetString("Name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("Arn")) { - m_arn = jsonValue.GetString("Arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("State")) { - m_state = LedgerStateMapper::GetLedgerStateForName(jsonValue.GetString("State")); - m_stateHasBeenSet = true; - } - if (jsonValue.ValueExists("CreationDateTime")) { - m_creationDateTime = jsonValue.GetDouble("CreationDateTime"); - m_creationDateTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("DeletionProtection")) { - m_deletionProtection = jsonValue.GetBool("DeletionProtection"); - m_deletionProtectionHasBeenSet = true; - } - if (jsonValue.ValueExists("EncryptionDescription")) { - m_encryptionDescription = jsonValue.GetObject("EncryptionDescription"); - m_encryptionDescriptionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-qldb/source/model/ValueHolder.cpp b/generated/src/aws-cpp-sdk-qldb/source/model/ValueHolder.cpp deleted file mode 100644 index 9aa6ff2b289..00000000000 --- a/generated/src/aws-cpp-sdk-qldb/source/model/ValueHolder.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 QLDB { -namespace Model { - -ValueHolder::ValueHolder(JsonView jsonValue) { *this = jsonValue; } - -ValueHolder& ValueHolder::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("IonText")) { - m_ionText = jsonValue.GetString("IonText"); - m_ionTextHasBeenSet = true; - } - return *this; -} - -JsonValue ValueHolder::Jsonize() const { - JsonValue payload; - - if (m_ionTextHasBeenSet) { - payload.WithString("IonText", m_ionText); - } - - return payload; -} - -} // namespace Model -} // namespace QLDB -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/CMakeLists.txt b/generated/src/aws-cpp-sdk-robomaker/CMakeLists.txt deleted file mode 100644 index e7e403adc7a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/CMakeLists.txt +++ /dev/null @@ -1,76 +0,0 @@ -add_project(aws-cpp-sdk-robomaker "C++ SDK for the AWS robomaker service" aws-cpp-sdk-core) - -file(GLOB AWS_ROBOMAKER_HEADERS - "include/aws/robomaker/*.h" -) - -file(GLOB AWS_ROBOMAKER_MODEL_HEADERS - "include/aws/robomaker/model/*.h" -) - -file(GLOB AWS_ROBOMAKER_SOURCE - "source/*.cpp" -) - -file(GLOB AWS_ROBOMAKER_MODEL_SOURCE - "source/model/*.cpp" -) - -file(GLOB ROBOMAKER_UNIFIED_HEADERS - ${AWS_ROBOMAKER_HEADERS} - ${AWS_ROBOMAKER_MODEL_HEADERS} -) - -file(GLOB ROBOMAKER_UNITY_SRC - ${AWS_ROBOMAKER_SOURCE} - ${AWS_ROBOMAKER_MODEL_SOURCE} -) - -if(ENABLE_UNITY_BUILD) - enable_unity_build("ROBOMAKER" ROBOMAKER_UNITY_SRC) -endif() - -file(GLOB ROBOMAKER_SRC - ${ROBOMAKER_UNIFIED_HEADERS} - ${ROBOMAKER_UNITY_SRC} -) - -if(WIN32) - #if we are compiling for visual studio, create a sane directory tree. - if(MSVC) - source_group("Header Files\\aws\\robomaker" FILES ${AWS_ROBOMAKER_HEADERS}) - source_group("Header Files\\aws\\robomaker\\model" FILES ${AWS_ROBOMAKER_MODEL_HEADERS}) - source_group("Source Files" FILES ${AWS_ROBOMAKER_SOURCE}) - source_group("Source Files\\model" FILES ${AWS_ROBOMAKER_MODEL_SOURCE}) - endif(MSVC) -endif() - -set(ROBOMAKER_INCLUDES - "${CMAKE_CURRENT_SOURCE_DIR}/include/" -) - -add_library(${PROJECT_NAME} ${ROBOMAKER_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_ROBOMAKER_EXPORTS") -endif() - -target_include_directories(${PROJECT_NAME} PUBLIC - $ - $) - -target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS}) - - -setup_install() - -install (FILES ${AWS_ROBOMAKER_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/robomaker) -install (FILES ${AWS_ROBOMAKER_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/robomaker/model) - -do_packaging() - - diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerClient.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerClient.h deleted file mode 100644 index fad9a8acf4a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerClient.h +++ /dev/null @@ -1,1516 +0,0 @@ -/** - * 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 RoboMaker { -/** - *

This section provides documentation for the AWS RoboMaker API operations.

- */ -class AWS_ROBOMAKER_API RoboMakerClient : public Aws::Client::AWSJsonClient, - public Aws::Client::ClientWithAsyncTemplateMethods { - public: - typedef Aws::Client::AWSJsonClient BASECLASS; - static const char* GetServiceName(); - static const char* GetAllocationTag(); - - typedef RoboMakerClientConfiguration ClientConfigurationType; - typedef RoboMakerEndpointProvider 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. - */ - RoboMakerClient(const Aws::RoboMaker::RoboMakerClientConfiguration& clientConfiguration = Aws::RoboMaker::RoboMakerClientConfiguration(), - 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. - */ - RoboMakerClient(const Aws::Auth::AWSCredentials& credentials, std::shared_ptr endpointProvider = nullptr, - const Aws::RoboMaker::RoboMakerClientConfiguration& clientConfiguration = Aws::RoboMaker::RoboMakerClientConfiguration()); - - /** - * 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 - */ - RoboMakerClient(const std::shared_ptr& credentialsProvider, - std::shared_ptr endpointProvider = nullptr, - const Aws::RoboMaker::RoboMakerClientConfiguration& clientConfiguration = Aws::RoboMaker::RoboMakerClientConfiguration()); - - /* 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. - */ - RoboMakerClient(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. - */ - RoboMakerClient(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 - */ - RoboMakerClient(const std::shared_ptr& credentialsProvider, - const Aws::Client::ClientConfiguration& clientConfiguration); - - /* End of legacy constructors due deprecation */ - virtual ~RoboMakerClient(); - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Deletes one or more worlds in a batch - * operation.

See Also:

AWS - * API Reference

- */ - virtual Model::BatchDeleteWorldsOutcome BatchDeleteWorlds(const Model::BatchDeleteWorldsRequest& request) const; - - /** - * A Callable wrapper for BatchDeleteWorlds that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::BatchDeleteWorldsOutcomeCallable BatchDeleteWorldsCallable(const BatchDeleteWorldsRequestT& request) const { - return SubmitCallable(&RoboMakerClient::BatchDeleteWorlds, request); - } - - /** - * An Async wrapper for BatchDeleteWorlds that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void BatchDeleteWorldsAsync(const BatchDeleteWorldsRequestT& request, const BatchDeleteWorldsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::BatchDeleteWorlds, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Describes one or more simulation jobs.

See - * Also:

AWS - * API Reference

- */ - virtual Model::BatchDescribeSimulationJobOutcome BatchDescribeSimulationJob( - const Model::BatchDescribeSimulationJobRequest& request) const; - - /** - * A Callable wrapper for BatchDescribeSimulationJob that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::BatchDescribeSimulationJobOutcomeCallable BatchDescribeSimulationJobCallable( - const BatchDescribeSimulationJobRequestT& request) const { - return SubmitCallable(&RoboMakerClient::BatchDescribeSimulationJob, request); - } - - /** - * An Async wrapper for BatchDescribeSimulationJob that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void BatchDescribeSimulationJobAsync(const BatchDescribeSimulationJobRequestT& request, - const BatchDescribeSimulationJobResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::BatchDescribeSimulationJob, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Cancels the specified simulation job.

See - * Also:

AWS - * API Reference

- */ - virtual Model::CancelSimulationJobOutcome CancelSimulationJob(const Model::CancelSimulationJobRequest& request) const; - - /** - * A Callable wrapper for CancelSimulationJob that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::CancelSimulationJobOutcomeCallable CancelSimulationJobCallable(const CancelSimulationJobRequestT& request) const { - return SubmitCallable(&RoboMakerClient::CancelSimulationJob, request); - } - - /** - * An Async wrapper for CancelSimulationJob that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void CancelSimulationJobAsync(const CancelSimulationJobRequestT& request, const CancelSimulationJobResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::CancelSimulationJob, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Cancels a simulation job batch. When you cancel a - * simulation job batch, you are also cancelling all of the active simulation jobs - * created as part of the batch.

See Also:

AWS - * API Reference

- */ - virtual Model::CancelSimulationJobBatchOutcome CancelSimulationJobBatch(const Model::CancelSimulationJobBatchRequest& request) const; - - /** - * A Callable wrapper for CancelSimulationJobBatch that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::CancelSimulationJobBatchOutcomeCallable CancelSimulationJobBatchCallable(const CancelSimulationJobBatchRequestT& request) const { - return SubmitCallable(&RoboMakerClient::CancelSimulationJobBatch, request); - } - - /** - * An Async wrapper for CancelSimulationJobBatch that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void CancelSimulationJobBatchAsync(const CancelSimulationJobBatchRequestT& request, - const CancelSimulationJobBatchResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::CancelSimulationJobBatch, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Cancels the specified export job.

See Also:

- * AWS - * API Reference

- */ - virtual Model::CancelWorldExportJobOutcome CancelWorldExportJob(const Model::CancelWorldExportJobRequest& request) const; - - /** - * A Callable wrapper for CancelWorldExportJob that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::CancelWorldExportJobOutcomeCallable CancelWorldExportJobCallable(const CancelWorldExportJobRequestT& request) const { - return SubmitCallable(&RoboMakerClient::CancelWorldExportJob, request); - } - - /** - * An Async wrapper for CancelWorldExportJob that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void CancelWorldExportJobAsync(const CancelWorldExportJobRequestT& request, const CancelWorldExportJobResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::CancelWorldExportJob, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Cancels the specified world generator job.

See - * Also:

AWS - * API Reference

- */ - virtual Model::CancelWorldGenerationJobOutcome CancelWorldGenerationJob(const Model::CancelWorldGenerationJobRequest& request) const; - - /** - * A Callable wrapper for CancelWorldGenerationJob that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::CancelWorldGenerationJobOutcomeCallable CancelWorldGenerationJobCallable(const CancelWorldGenerationJobRequestT& request) const { - return SubmitCallable(&RoboMakerClient::CancelWorldGenerationJob, request); - } - - /** - * An Async wrapper for CancelWorldGenerationJob that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void CancelWorldGenerationJobAsync(const CancelWorldGenerationJobRequestT& request, - const CancelWorldGenerationJobResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::CancelWorldGenerationJob, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Creates a robot application.

See Also:

AWS - * API Reference

- */ - virtual Model::CreateRobotApplicationOutcome CreateRobotApplication(const Model::CreateRobotApplicationRequest& request) const; - - /** - * A Callable wrapper for CreateRobotApplication that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::CreateRobotApplicationOutcomeCallable CreateRobotApplicationCallable(const CreateRobotApplicationRequestT& request) const { - return SubmitCallable(&RoboMakerClient::CreateRobotApplication, request); - } - - /** - * An Async wrapper for CreateRobotApplication that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void CreateRobotApplicationAsync(const CreateRobotApplicationRequestT& request, - const CreateRobotApplicationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::CreateRobotApplication, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Creates a version of a robot application.

See - * Also:

AWS - * API Reference

- */ - virtual Model::CreateRobotApplicationVersionOutcome CreateRobotApplicationVersion( - const Model::CreateRobotApplicationVersionRequest& request) const; - - /** - * A Callable wrapper for CreateRobotApplicationVersion that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::CreateRobotApplicationVersionOutcomeCallable CreateRobotApplicationVersionCallable( - const CreateRobotApplicationVersionRequestT& request) const { - return SubmitCallable(&RoboMakerClient::CreateRobotApplicationVersion, request); - } - - /** - * An Async wrapper for CreateRobotApplicationVersion that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void CreateRobotApplicationVersionAsync(const CreateRobotApplicationVersionRequestT& request, - const CreateRobotApplicationVersionResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::CreateRobotApplicationVersion, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Creates a simulation application.

See Also:

- * AWS - * API Reference

- */ - virtual Model::CreateSimulationApplicationOutcome CreateSimulationApplication( - const Model::CreateSimulationApplicationRequest& request) const; - - /** - * A Callable wrapper for CreateSimulationApplication that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::CreateSimulationApplicationOutcomeCallable CreateSimulationApplicationCallable( - const CreateSimulationApplicationRequestT& request) const { - return SubmitCallable(&RoboMakerClient::CreateSimulationApplication, request); - } - - /** - * An Async wrapper for CreateSimulationApplication that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void CreateSimulationApplicationAsync(const CreateSimulationApplicationRequestT& request, - const CreateSimulationApplicationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::CreateSimulationApplication, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Creates a simulation application with a specific revision - * id.

See Also:

AWS - * API Reference

- */ - virtual Model::CreateSimulationApplicationVersionOutcome CreateSimulationApplicationVersion( - const Model::CreateSimulationApplicationVersionRequest& request) const; - - /** - * A Callable wrapper for CreateSimulationApplicationVersion that returns a future to the operation so that it can be executed in parallel - * to other requests. - */ - template - Model::CreateSimulationApplicationVersionOutcomeCallable CreateSimulationApplicationVersionCallable( - const CreateSimulationApplicationVersionRequestT& request) const { - return SubmitCallable(&RoboMakerClient::CreateSimulationApplicationVersion, request); - } - - /** - * An Async wrapper for CreateSimulationApplicationVersion that queues the request into a thread executor and triggers associated callback - * when operation has finished. - */ - template - void CreateSimulationApplicationVersionAsync(const CreateSimulationApplicationVersionRequestT& request, - const CreateSimulationApplicationVersionResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::CreateSimulationApplicationVersion, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Creates a simulation job.

After 90 days, - * simulation jobs expire and will be deleted. They will no longer be accessible. - *

See Also:

AWS - * API Reference

- */ - virtual Model::CreateSimulationJobOutcome CreateSimulationJob(const Model::CreateSimulationJobRequest& request) const; - - /** - * A Callable wrapper for CreateSimulationJob that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::CreateSimulationJobOutcomeCallable CreateSimulationJobCallable(const CreateSimulationJobRequestT& request) const { - return SubmitCallable(&RoboMakerClient::CreateSimulationJob, request); - } - - /** - * An Async wrapper for CreateSimulationJob that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void CreateSimulationJobAsync(const CreateSimulationJobRequestT& request, const CreateSimulationJobResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::CreateSimulationJob, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Creates a world export job.

See Also:

AWS - * API Reference

- */ - virtual Model::CreateWorldExportJobOutcome CreateWorldExportJob(const Model::CreateWorldExportJobRequest& request) const; - - /** - * A Callable wrapper for CreateWorldExportJob that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::CreateWorldExportJobOutcomeCallable CreateWorldExportJobCallable(const CreateWorldExportJobRequestT& request) const { - return SubmitCallable(&RoboMakerClient::CreateWorldExportJob, request); - } - - /** - * An Async wrapper for CreateWorldExportJob that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void CreateWorldExportJobAsync(const CreateWorldExportJobRequestT& request, const CreateWorldExportJobResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::CreateWorldExportJob, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Creates worlds using the specified template.

See - * Also:

AWS - * API Reference

- */ - virtual Model::CreateWorldGenerationJobOutcome CreateWorldGenerationJob(const Model::CreateWorldGenerationJobRequest& request) const; - - /** - * A Callable wrapper for CreateWorldGenerationJob that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::CreateWorldGenerationJobOutcomeCallable CreateWorldGenerationJobCallable(const CreateWorldGenerationJobRequestT& request) const { - return SubmitCallable(&RoboMakerClient::CreateWorldGenerationJob, request); - } - - /** - * An Async wrapper for CreateWorldGenerationJob that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void CreateWorldGenerationJobAsync(const CreateWorldGenerationJobRequestT& request, - const CreateWorldGenerationJobResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::CreateWorldGenerationJob, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Creates a world template.

See Also:

AWS - * API Reference

- */ - virtual Model::CreateWorldTemplateOutcome CreateWorldTemplate(const Model::CreateWorldTemplateRequest& request = {}) const; - - /** - * A Callable wrapper for CreateWorldTemplate that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::CreateWorldTemplateOutcomeCallable CreateWorldTemplateCallable(const CreateWorldTemplateRequestT& request = {}) const { - return SubmitCallable(&RoboMakerClient::CreateWorldTemplate, request); - } - - /** - * An Async wrapper for CreateWorldTemplate that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void CreateWorldTemplateAsync(const CreateWorldTemplateResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const CreateWorldTemplateRequestT& request = {}) const { - return SubmitAsync(&RoboMakerClient::CreateWorldTemplate, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Deletes a robot application.

See Also:

AWS - * API Reference

- */ - virtual Model::DeleteRobotApplicationOutcome DeleteRobotApplication(const Model::DeleteRobotApplicationRequest& request) const; - - /** - * A Callable wrapper for DeleteRobotApplication that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DeleteRobotApplicationOutcomeCallable DeleteRobotApplicationCallable(const DeleteRobotApplicationRequestT& request) const { - return SubmitCallable(&RoboMakerClient::DeleteRobotApplication, request); - } - - /** - * An Async wrapper for DeleteRobotApplication that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DeleteRobotApplicationAsync(const DeleteRobotApplicationRequestT& request, - const DeleteRobotApplicationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::DeleteRobotApplication, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Deletes a simulation application.

See Also:

- * AWS - * API Reference

- */ - virtual Model::DeleteSimulationApplicationOutcome DeleteSimulationApplication( - const Model::DeleteSimulationApplicationRequest& request) const; - - /** - * A Callable wrapper for DeleteSimulationApplication that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::DeleteSimulationApplicationOutcomeCallable DeleteSimulationApplicationCallable( - const DeleteSimulationApplicationRequestT& request) const { - return SubmitCallable(&RoboMakerClient::DeleteSimulationApplication, request); - } - - /** - * An Async wrapper for DeleteSimulationApplication that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DeleteSimulationApplicationAsync(const DeleteSimulationApplicationRequestT& request, - const DeleteSimulationApplicationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::DeleteSimulationApplication, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Deletes a world template.

See Also:

AWS - * API Reference

- */ - virtual Model::DeleteWorldTemplateOutcome DeleteWorldTemplate(const Model::DeleteWorldTemplateRequest& request) const; - - /** - * A Callable wrapper for DeleteWorldTemplate that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DeleteWorldTemplateOutcomeCallable DeleteWorldTemplateCallable(const DeleteWorldTemplateRequestT& request) const { - return SubmitCallable(&RoboMakerClient::DeleteWorldTemplate, request); - } - - /** - * An Async wrapper for DeleteWorldTemplate that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void DeleteWorldTemplateAsync(const DeleteWorldTemplateRequestT& request, const DeleteWorldTemplateResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::DeleteWorldTemplate, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Describes a robot application.

See Also:

- * AWS - * API Reference

- */ - virtual Model::DescribeRobotApplicationOutcome DescribeRobotApplication(const Model::DescribeRobotApplicationRequest& request) const; - - /** - * A Callable wrapper for DescribeRobotApplication that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DescribeRobotApplicationOutcomeCallable DescribeRobotApplicationCallable(const DescribeRobotApplicationRequestT& request) const { - return SubmitCallable(&RoboMakerClient::DescribeRobotApplication, request); - } - - /** - * An Async wrapper for DescribeRobotApplication that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DescribeRobotApplicationAsync(const DescribeRobotApplicationRequestT& request, - const DescribeRobotApplicationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::DescribeRobotApplication, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Describes a simulation application.

See - * Also:

AWS - * API Reference

- */ - virtual Model::DescribeSimulationApplicationOutcome DescribeSimulationApplication( - const Model::DescribeSimulationApplicationRequest& request) const; - - /** - * A Callable wrapper for DescribeSimulationApplication that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::DescribeSimulationApplicationOutcomeCallable DescribeSimulationApplicationCallable( - const DescribeSimulationApplicationRequestT& request) const { - return SubmitCallable(&RoboMakerClient::DescribeSimulationApplication, request); - } - - /** - * An Async wrapper for DescribeSimulationApplication that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DescribeSimulationApplicationAsync(const DescribeSimulationApplicationRequestT& request, - const DescribeSimulationApplicationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::DescribeSimulationApplication, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Describes a simulation job.

See Also:

AWS - * API Reference

- */ - virtual Model::DescribeSimulationJobOutcome DescribeSimulationJob(const Model::DescribeSimulationJobRequest& request) const; - - /** - * A Callable wrapper for DescribeSimulationJob that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DescribeSimulationJobOutcomeCallable DescribeSimulationJobCallable(const DescribeSimulationJobRequestT& request) const { - return SubmitCallable(&RoboMakerClient::DescribeSimulationJob, request); - } - - /** - * An Async wrapper for DescribeSimulationJob that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DescribeSimulationJobAsync(const DescribeSimulationJobRequestT& request, const DescribeSimulationJobResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::DescribeSimulationJob, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Describes a simulation job batch.

See Also:

- * AWS - * API Reference

- */ - virtual Model::DescribeSimulationJobBatchOutcome DescribeSimulationJobBatch( - const Model::DescribeSimulationJobBatchRequest& request) const; - - /** - * A Callable wrapper for DescribeSimulationJobBatch that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::DescribeSimulationJobBatchOutcomeCallable DescribeSimulationJobBatchCallable( - const DescribeSimulationJobBatchRequestT& request) const { - return SubmitCallable(&RoboMakerClient::DescribeSimulationJobBatch, request); - } - - /** - * An Async wrapper for DescribeSimulationJobBatch that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DescribeSimulationJobBatchAsync(const DescribeSimulationJobBatchRequestT& request, - const DescribeSimulationJobBatchResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::DescribeSimulationJobBatch, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Describes a world.

See Also:

AWS - * API Reference

- */ - virtual Model::DescribeWorldOutcome DescribeWorld(const Model::DescribeWorldRequest& request) const; - - /** - * A Callable wrapper for DescribeWorld that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::DescribeWorldOutcomeCallable DescribeWorldCallable(const DescribeWorldRequestT& request) const { - return SubmitCallable(&RoboMakerClient::DescribeWorld, request); - } - - /** - * An Async wrapper for DescribeWorld that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void DescribeWorldAsync(const DescribeWorldRequestT& request, const DescribeWorldResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::DescribeWorld, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Describes a world export job.

See Also:

AWS - * API Reference

- */ - virtual Model::DescribeWorldExportJobOutcome DescribeWorldExportJob(const Model::DescribeWorldExportJobRequest& request) const; - - /** - * A Callable wrapper for DescribeWorldExportJob that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DescribeWorldExportJobOutcomeCallable DescribeWorldExportJobCallable(const DescribeWorldExportJobRequestT& request) const { - return SubmitCallable(&RoboMakerClient::DescribeWorldExportJob, request); - } - - /** - * An Async wrapper for DescribeWorldExportJob that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DescribeWorldExportJobAsync(const DescribeWorldExportJobRequestT& request, - const DescribeWorldExportJobResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::DescribeWorldExportJob, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Describes a world generation job.

See Also:

- * AWS - * API Reference

- */ - virtual Model::DescribeWorldGenerationJobOutcome DescribeWorldGenerationJob( - const Model::DescribeWorldGenerationJobRequest& request) const; - - /** - * A Callable wrapper for DescribeWorldGenerationJob that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::DescribeWorldGenerationJobOutcomeCallable DescribeWorldGenerationJobCallable( - const DescribeWorldGenerationJobRequestT& request) const { - return SubmitCallable(&RoboMakerClient::DescribeWorldGenerationJob, request); - } - - /** - * An Async wrapper for DescribeWorldGenerationJob that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DescribeWorldGenerationJobAsync(const DescribeWorldGenerationJobRequestT& request, - const DescribeWorldGenerationJobResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::DescribeWorldGenerationJob, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Describes a world template.

See Also:

AWS - * API Reference

- */ - virtual Model::DescribeWorldTemplateOutcome DescribeWorldTemplate(const Model::DescribeWorldTemplateRequest& request) const; - - /** - * A Callable wrapper for DescribeWorldTemplate that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::DescribeWorldTemplateOutcomeCallable DescribeWorldTemplateCallable(const DescribeWorldTemplateRequestT& request) const { - return SubmitCallable(&RoboMakerClient::DescribeWorldTemplate, request); - } - - /** - * An Async wrapper for DescribeWorldTemplate that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void DescribeWorldTemplateAsync(const DescribeWorldTemplateRequestT& request, const DescribeWorldTemplateResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::DescribeWorldTemplate, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Gets the world template body.

See Also:

AWS - * API Reference

- */ - virtual Model::GetWorldTemplateBodyOutcome GetWorldTemplateBody(const Model::GetWorldTemplateBodyRequest& request = {}) const; - - /** - * A Callable wrapper for GetWorldTemplateBody that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::GetWorldTemplateBodyOutcomeCallable GetWorldTemplateBodyCallable(const GetWorldTemplateBodyRequestT& request = {}) const { - return SubmitCallable(&RoboMakerClient::GetWorldTemplateBody, request); - } - - /** - * An Async wrapper for GetWorldTemplateBody that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void GetWorldTemplateBodyAsync(const GetWorldTemplateBodyResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const GetWorldTemplateBodyRequestT& request = {}) const { - return SubmitAsync(&RoboMakerClient::GetWorldTemplateBody, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Returns a list of robot application. You can optionally - * provide filters to retrieve specific robot applications.

See - * Also:

AWS - * API Reference

- */ - virtual Model::ListRobotApplicationsOutcome ListRobotApplications(const Model::ListRobotApplicationsRequest& request = {}) const; - - /** - * A Callable wrapper for ListRobotApplications that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListRobotApplicationsOutcomeCallable ListRobotApplicationsCallable(const ListRobotApplicationsRequestT& request = {}) const { - return SubmitCallable(&RoboMakerClient::ListRobotApplications, request); - } - - /** - * An Async wrapper for ListRobotApplications that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void ListRobotApplicationsAsync(const ListRobotApplicationsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListRobotApplicationsRequestT& request = {}) const { - return SubmitAsync(&RoboMakerClient::ListRobotApplications, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Returns a list of simulation applications. You can - * optionally provide filters to retrieve specific simulation applications. - *

See Also:

AWS - * API Reference

- */ - virtual Model::ListSimulationApplicationsOutcome ListSimulationApplications( - const Model::ListSimulationApplicationsRequest& request = {}) const; - - /** - * A Callable wrapper for ListSimulationApplications that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::ListSimulationApplicationsOutcomeCallable ListSimulationApplicationsCallable( - const ListSimulationApplicationsRequestT& request = {}) const { - return SubmitCallable(&RoboMakerClient::ListSimulationApplications, request); - } - - /** - * An Async wrapper for ListSimulationApplications that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void ListSimulationApplicationsAsync(const ListSimulationApplicationsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListSimulationApplicationsRequestT& request = {}) const { - return SubmitAsync(&RoboMakerClient::ListSimulationApplications, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Returns a list simulation job batches. You can optionally - * provide filters to retrieve specific simulation batch jobs.

See - * Also:

AWS - * API Reference

- */ - virtual Model::ListSimulationJobBatchesOutcome ListSimulationJobBatches(const Model::ListSimulationJobBatchesRequest& request = {}) const; - - /** - * A Callable wrapper for ListSimulationJobBatches that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListSimulationJobBatchesOutcomeCallable ListSimulationJobBatchesCallable( - const ListSimulationJobBatchesRequestT& request = {}) const { - return SubmitCallable(&RoboMakerClient::ListSimulationJobBatches, request); - } - - /** - * An Async wrapper for ListSimulationJobBatches that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void ListSimulationJobBatchesAsync(const ListSimulationJobBatchesResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListSimulationJobBatchesRequestT& request = {}) const { - return SubmitAsync(&RoboMakerClient::ListSimulationJobBatches, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Returns a list of simulation jobs. You can optionally - * provide filters to retrieve specific simulation jobs.

See Also:

- * AWS - * API Reference

- */ - virtual Model::ListSimulationJobsOutcome ListSimulationJobs(const Model::ListSimulationJobsRequest& request = {}) const; - - /** - * A Callable wrapper for ListSimulationJobs that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListSimulationJobsOutcomeCallable ListSimulationJobsCallable(const ListSimulationJobsRequestT& request = {}) const { - return SubmitCallable(&RoboMakerClient::ListSimulationJobs, request); - } - - /** - * An Async wrapper for ListSimulationJobs that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void ListSimulationJobsAsync(const ListSimulationJobsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListSimulationJobsRequestT& request = {}) const { - return SubmitAsync(&RoboMakerClient::ListSimulationJobs, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Lists all tags on a AWS RoboMaker resource.

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(&RoboMakerClient::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(&RoboMakerClient::ListTagsForResource, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Lists world export jobs.

See Also:

AWS - * API Reference

- */ - virtual Model::ListWorldExportJobsOutcome ListWorldExportJobs(const Model::ListWorldExportJobsRequest& request = {}) const; - - /** - * A Callable wrapper for ListWorldExportJobs that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListWorldExportJobsOutcomeCallable ListWorldExportJobsCallable(const ListWorldExportJobsRequestT& request = {}) const { - return SubmitCallable(&RoboMakerClient::ListWorldExportJobs, request); - } - - /** - * An Async wrapper for ListWorldExportJobs that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void ListWorldExportJobsAsync(const ListWorldExportJobsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListWorldExportJobsRequestT& request = {}) const { - return SubmitAsync(&RoboMakerClient::ListWorldExportJobs, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Lists world generator jobs.

See Also:

AWS - * API Reference

- */ - virtual Model::ListWorldGenerationJobsOutcome ListWorldGenerationJobs(const Model::ListWorldGenerationJobsRequest& request = {}) const; - - /** - * A Callable wrapper for ListWorldGenerationJobs that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListWorldGenerationJobsOutcomeCallable ListWorldGenerationJobsCallable(const ListWorldGenerationJobsRequestT& request = {}) const { - return SubmitCallable(&RoboMakerClient::ListWorldGenerationJobs, request); - } - - /** - * An Async wrapper for ListWorldGenerationJobs that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void ListWorldGenerationJobsAsync(const ListWorldGenerationJobsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListWorldGenerationJobsRequestT& request = {}) const { - return SubmitAsync(&RoboMakerClient::ListWorldGenerationJobs, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Lists world templates.

See Also:

AWS - * API Reference

- */ - virtual Model::ListWorldTemplatesOutcome ListWorldTemplates(const Model::ListWorldTemplatesRequest& request = {}) const; - - /** - * A Callable wrapper for ListWorldTemplates that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::ListWorldTemplatesOutcomeCallable ListWorldTemplatesCallable(const ListWorldTemplatesRequestT& request = {}) const { - return SubmitCallable(&RoboMakerClient::ListWorldTemplates, request); - } - - /** - * An Async wrapper for ListWorldTemplates that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void ListWorldTemplatesAsync(const ListWorldTemplatesResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListWorldTemplatesRequestT& request = {}) const { - return SubmitAsync(&RoboMakerClient::ListWorldTemplates, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Lists worlds.

See Also:

AWS - * API Reference

- */ - virtual Model::ListWorldsOutcome ListWorlds(const Model::ListWorldsRequest& request = {}) const; - - /** - * A Callable wrapper for ListWorlds that returns a future to the operation so that it can be executed in parallel to other requests. - */ - template - Model::ListWorldsOutcomeCallable ListWorldsCallable(const ListWorldsRequestT& request = {}) const { - return SubmitCallable(&RoboMakerClient::ListWorlds, request); - } - - /** - * An Async wrapper for ListWorlds that queues the request into a thread executor and triggers associated callback when operation has - * finished. - */ - template - void ListWorldsAsync(const ListWorldsResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr, - const ListWorldsRequestT& request = {}) const { - return SubmitAsync(&RoboMakerClient::ListWorlds, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Restarts a running simulation job.

See Also:

- * AWS - * API Reference

- */ - virtual Model::RestartSimulationJobOutcome RestartSimulationJob(const Model::RestartSimulationJobRequest& request) const; - - /** - * A Callable wrapper for RestartSimulationJob that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::RestartSimulationJobOutcomeCallable RestartSimulationJobCallable(const RestartSimulationJobRequestT& request) const { - return SubmitCallable(&RoboMakerClient::RestartSimulationJob, request); - } - - /** - * An Async wrapper for RestartSimulationJob that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void RestartSimulationJobAsync(const RestartSimulationJobRequestT& request, const RestartSimulationJobResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::RestartSimulationJob, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Starts a new simulation job batch. The batch is defined - * using one or more SimulationJobRequest objects.

See - * Also:

AWS - * API Reference

- */ - virtual Model::StartSimulationJobBatchOutcome StartSimulationJobBatch(const Model::StartSimulationJobBatchRequest& request) const; - - /** - * A Callable wrapper for StartSimulationJobBatch that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::StartSimulationJobBatchOutcomeCallable StartSimulationJobBatchCallable(const StartSimulationJobBatchRequestT& request) const { - return SubmitCallable(&RoboMakerClient::StartSimulationJobBatch, request); - } - - /** - * An Async wrapper for StartSimulationJobBatch that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void StartSimulationJobBatchAsync(const StartSimulationJobBatchRequestT& request, - const StartSimulationJobBatchResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::StartSimulationJobBatch, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Adds or edits tags for a AWS RoboMaker resource.

- *

Each tag consists of a tag key and a tag value. Tag keys and tag values are - * both required, but tag values can be empty strings.

For information - * about the rules that apply to tag keys and tag values, see User-Defined - * Tag Restrictions in the AWS Billing and Cost Management User Guide. - *

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(&RoboMakerClient::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(&RoboMakerClient::TagResource, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Removes the specified tags from the specified AWS RoboMaker - * resource.

To remove a tag, specify the tag key. To change the tag value - * of an existing tag key, use - * TagResource .

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(&RoboMakerClient::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(&RoboMakerClient::UntagResource, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Updates a robot application.

See Also:

AWS - * API Reference

- */ - virtual Model::UpdateRobotApplicationOutcome UpdateRobotApplication(const Model::UpdateRobotApplicationRequest& request) const; - - /** - * A Callable wrapper for UpdateRobotApplication that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::UpdateRobotApplicationOutcomeCallable UpdateRobotApplicationCallable(const UpdateRobotApplicationRequestT& request) const { - return SubmitCallable(&RoboMakerClient::UpdateRobotApplication, request); - } - - /** - * An Async wrapper for UpdateRobotApplication that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void UpdateRobotApplicationAsync(const UpdateRobotApplicationRequestT& request, - const UpdateRobotApplicationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::UpdateRobotApplication, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Updates a simulation application.

See Also:

- * AWS - * API Reference

- */ - virtual Model::UpdateSimulationApplicationOutcome UpdateSimulationApplication( - const Model::UpdateSimulationApplicationRequest& request) const; - - /** - * A Callable wrapper for UpdateSimulationApplication that returns a future to the operation so that it can be executed in parallel to - * other requests. - */ - template - Model::UpdateSimulationApplicationOutcomeCallable UpdateSimulationApplicationCallable( - const UpdateSimulationApplicationRequestT& request) const { - return SubmitCallable(&RoboMakerClient::UpdateSimulationApplication, request); - } - - /** - * An Async wrapper for UpdateSimulationApplication that queues the request into a thread executor and triggers associated callback when - * operation has finished. - */ - template - void UpdateSimulationApplicationAsync(const UpdateSimulationApplicationRequestT& request, - const UpdateSimulationApplicationResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::UpdateSimulationApplication, request, handler, context); - } - - /** - *

End of support notice: On September 10, 2025, Amazon Web Services - * will discontinue support for Amazon Web Services RoboMaker. After September 10, - * 2025, you will no longer be able to access the Amazon Web Services RoboMaker - * console or Amazon Web Services RoboMaker resources. For more information on - * transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/. - *

Updates a world template.

See Also:

AWS - * API Reference

- */ - virtual Model::UpdateWorldTemplateOutcome UpdateWorldTemplate(const Model::UpdateWorldTemplateRequest& request) const; - - /** - * A Callable wrapper for UpdateWorldTemplate that returns a future to the operation so that it can be executed in parallel to other - * requests. - */ - template - Model::UpdateWorldTemplateOutcomeCallable UpdateWorldTemplateCallable(const UpdateWorldTemplateRequestT& request) const { - return SubmitCallable(&RoboMakerClient::UpdateWorldTemplate, request); - } - - /** - * An Async wrapper for UpdateWorldTemplate that queues the request into a thread executor and triggers associated callback when operation - * has finished. - */ - template - void UpdateWorldTemplateAsync(const UpdateWorldTemplateRequestT& request, const UpdateWorldTemplateResponseReceivedHandler& handler, - const std::shared_ptr& context = nullptr) const { - return SubmitAsync(&RoboMakerClient::UpdateWorldTemplate, request, handler, context); - } - - void OverrideEndpoint(const Aws::String& endpoint); - std::shared_ptr& accessEndpointProvider(); - - private: - friend class Aws::Client::ClientWithAsyncTemplateMethods; - void init(const RoboMakerClientConfiguration& clientConfiguration); - - RoboMakerClientConfiguration m_clientConfiguration; - std::shared_ptr m_endpointProvider; -}; - -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerEndpointProvider.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerEndpointProvider.h deleted file mode 100644 index a1d24d11eab..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerEndpointProvider.h +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 RoboMaker { -namespace Endpoint { -using EndpointParameters = Aws::Endpoint::EndpointParameters; -using Aws::Endpoint::DefaultEndpointProvider; -using Aws::Endpoint::EndpointProviderBase; - -using RoboMakerClientContextParameters = Aws::Endpoint::ClientContextParameters; - -using RoboMakerClientConfiguration = Aws::Client::GenericClientConfiguration; -using RoboMakerBuiltInParameters = Aws::Endpoint::BuiltInParameters; - -/** - * The type for the RoboMaker 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 RoboMakerEndpointProviderBase = - EndpointProviderBase; - -using RoboMakerDefaultEpProviderBase = - DefaultEndpointProvider; - -/** - * Default endpoint provider used for this service - */ -class AWS_ROBOMAKER_API RoboMakerEndpointProvider : public RoboMakerDefaultEpProviderBase { - public: - using RoboMakerResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; - - RoboMakerEndpointProvider() - : RoboMakerDefaultEpProviderBase(Aws::RoboMaker::RoboMakerEndpointRules::GetRulesBlob(), - Aws::RoboMaker::RoboMakerEndpointRules::RulesBlobSize) {} - - ~RoboMakerEndpointProvider() {} -}; -} // namespace Endpoint -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerEndpointRules.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerEndpointRules.h deleted file mode 100644 index 2a229e24eab..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerEndpointRules.h +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include - -#include - -namespace Aws { -namespace RoboMaker { -class RoboMakerEndpointRules { - public: - static const size_t RulesBlobStrLen; - static const size_t RulesBlobSize; - - static const char* GetRulesBlob(); -}; -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerErrorMarshaller.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerErrorMarshaller.h deleted file mode 100644 index ad339883562..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerErrorMarshaller.h +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 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_ROBOMAKER_API RoboMakerErrorMarshaller : 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-robomaker/include/aws/robomaker/RoboMakerErrors.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerErrors.h deleted file mode 100644 index 6134a104e34..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerErrors.h +++ /dev/null @@ -1,71 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once - -#include -#include -#include - -namespace Aws { -namespace RoboMaker { -enum class RoboMakerErrors { - // 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, - /////////////////////////////////////////////////////////////////////////////////////////// - - IDEMPOTENT_PARAMETER_MISMATCH = static_cast(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1, - INTERNAL_SERVER, - INVALID_PARAMETER, - LIMIT_EXCEEDED, - RESOURCE_ALREADY_EXISTS -}; - -class AWS_ROBOMAKER_API RoboMakerError : public Aws::Client::AWSError { - public: - RoboMakerError() {} - RoboMakerError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} - RoboMakerError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} - RoboMakerError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} - RoboMakerError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} - - template - T GetModeledError(); -}; - -namespace RoboMakerErrorMapper { -AWS_ROBOMAKER_API Aws::Client::AWSError GetErrorForName(const char* errorName); -} - -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerRequest.h deleted file mode 100644 index c1d342ca37d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerRequest.h +++ /dev/null @@ -1,39 +0,0 @@ -/** - * 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 RoboMaker { -class AWS_ROBOMAKER_API RoboMakerRequest : public Aws::AmazonSerializableWebServiceRequest { - public: - using EndpointParameter = Aws::Endpoint::EndpointParameter; - using EndpointParameters = Aws::Endpoint::EndpointParameters; - - virtual ~RoboMakerRequest() {} - - 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-06-29")); - return headers; - } - - protected: - virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); } -}; - -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerServiceClientModel.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerServiceClientModel.h deleted file mode 100644 index cc3ad50da27..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMakerServiceClientModel.h +++ /dev/null @@ -1,376 +0,0 @@ -/** - * 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 RoboMakerClient header */ -#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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -/* End of service model headers required in RoboMakerClient header */ - -namespace Aws { -namespace Http { -class HttpClient; -class HttpClientFactory; -} // namespace Http - -namespace Utils { -template -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 RoboMaker { -using RoboMakerClientConfiguration = Aws::Client::GenericClientConfiguration; -using RoboMakerEndpointProviderBase = Aws::RoboMaker::Endpoint::RoboMakerEndpointProviderBase; -using RoboMakerEndpointProvider = Aws::RoboMaker::Endpoint::RoboMakerEndpointProvider; - -namespace Model { -/* Service model forward declarations required in RoboMakerClient header */ -class BatchDeleteWorldsRequest; -class BatchDescribeSimulationJobRequest; -class CancelSimulationJobRequest; -class CancelSimulationJobBatchRequest; -class CancelWorldExportJobRequest; -class CancelWorldGenerationJobRequest; -class CreateRobotApplicationRequest; -class CreateRobotApplicationVersionRequest; -class CreateSimulationApplicationRequest; -class CreateSimulationApplicationVersionRequest; -class CreateSimulationJobRequest; -class CreateWorldExportJobRequest; -class CreateWorldGenerationJobRequest; -class CreateWorldTemplateRequest; -class DeleteRobotApplicationRequest; -class DeleteSimulationApplicationRequest; -class DeleteWorldTemplateRequest; -class DescribeRobotApplicationRequest; -class DescribeSimulationApplicationRequest; -class DescribeSimulationJobRequest; -class DescribeSimulationJobBatchRequest; -class DescribeWorldRequest; -class DescribeWorldExportJobRequest; -class DescribeWorldGenerationJobRequest; -class DescribeWorldTemplateRequest; -class GetWorldTemplateBodyRequest; -class ListRobotApplicationsRequest; -class ListSimulationApplicationsRequest; -class ListSimulationJobBatchesRequest; -class ListSimulationJobsRequest; -class ListTagsForResourceRequest; -class ListWorldExportJobsRequest; -class ListWorldGenerationJobsRequest; -class ListWorldTemplatesRequest; -class ListWorldsRequest; -class RestartSimulationJobRequest; -class StartSimulationJobBatchRequest; -class TagResourceRequest; -class UntagResourceRequest; -class UpdateRobotApplicationRequest; -class UpdateSimulationApplicationRequest; -class UpdateWorldTemplateRequest; -/* End of service model forward declarations required in RoboMakerClient header */ - -/* Service model Outcome class definitions */ -typedef Aws::Utils::Outcome BatchDeleteWorldsOutcome; -typedef Aws::Utils::Outcome BatchDescribeSimulationJobOutcome; -typedef Aws::Utils::Outcome CancelSimulationJobOutcome; -typedef Aws::Utils::Outcome CancelSimulationJobBatchOutcome; -typedef Aws::Utils::Outcome CancelWorldExportJobOutcome; -typedef Aws::Utils::Outcome CancelWorldGenerationJobOutcome; -typedef Aws::Utils::Outcome CreateRobotApplicationOutcome; -typedef Aws::Utils::Outcome CreateRobotApplicationVersionOutcome; -typedef Aws::Utils::Outcome CreateSimulationApplicationOutcome; -typedef Aws::Utils::Outcome CreateSimulationApplicationVersionOutcome; -typedef Aws::Utils::Outcome CreateSimulationJobOutcome; -typedef Aws::Utils::Outcome CreateWorldExportJobOutcome; -typedef Aws::Utils::Outcome CreateWorldGenerationJobOutcome; -typedef Aws::Utils::Outcome CreateWorldTemplateOutcome; -typedef Aws::Utils::Outcome DeleteRobotApplicationOutcome; -typedef Aws::Utils::Outcome DeleteSimulationApplicationOutcome; -typedef Aws::Utils::Outcome DeleteWorldTemplateOutcome; -typedef Aws::Utils::Outcome DescribeRobotApplicationOutcome; -typedef Aws::Utils::Outcome DescribeSimulationApplicationOutcome; -typedef Aws::Utils::Outcome DescribeSimulationJobOutcome; -typedef Aws::Utils::Outcome DescribeSimulationJobBatchOutcome; -typedef Aws::Utils::Outcome DescribeWorldOutcome; -typedef Aws::Utils::Outcome DescribeWorldExportJobOutcome; -typedef Aws::Utils::Outcome DescribeWorldGenerationJobOutcome; -typedef Aws::Utils::Outcome DescribeWorldTemplateOutcome; -typedef Aws::Utils::Outcome GetWorldTemplateBodyOutcome; -typedef Aws::Utils::Outcome ListRobotApplicationsOutcome; -typedef Aws::Utils::Outcome ListSimulationApplicationsOutcome; -typedef Aws::Utils::Outcome ListSimulationJobBatchesOutcome; -typedef Aws::Utils::Outcome ListSimulationJobsOutcome; -typedef Aws::Utils::Outcome ListTagsForResourceOutcome; -typedef Aws::Utils::Outcome ListWorldExportJobsOutcome; -typedef Aws::Utils::Outcome ListWorldGenerationJobsOutcome; -typedef Aws::Utils::Outcome ListWorldTemplatesOutcome; -typedef Aws::Utils::Outcome ListWorldsOutcome; -typedef Aws::Utils::Outcome RestartSimulationJobOutcome; -typedef Aws::Utils::Outcome StartSimulationJobBatchOutcome; -typedef Aws::Utils::Outcome TagResourceOutcome; -typedef Aws::Utils::Outcome UntagResourceOutcome; -typedef Aws::Utils::Outcome UpdateRobotApplicationOutcome; -typedef Aws::Utils::Outcome UpdateSimulationApplicationOutcome; -typedef Aws::Utils::Outcome UpdateWorldTemplateOutcome; -/* End of service model Outcome class definitions */ - -/* Service model Outcome callable definitions */ -typedef std::future BatchDeleteWorldsOutcomeCallable; -typedef std::future BatchDescribeSimulationJobOutcomeCallable; -typedef std::future CancelSimulationJobOutcomeCallable; -typedef std::future CancelSimulationJobBatchOutcomeCallable; -typedef std::future CancelWorldExportJobOutcomeCallable; -typedef std::future CancelWorldGenerationJobOutcomeCallable; -typedef std::future CreateRobotApplicationOutcomeCallable; -typedef std::future CreateRobotApplicationVersionOutcomeCallable; -typedef std::future CreateSimulationApplicationOutcomeCallable; -typedef std::future CreateSimulationApplicationVersionOutcomeCallable; -typedef std::future CreateSimulationJobOutcomeCallable; -typedef std::future CreateWorldExportJobOutcomeCallable; -typedef std::future CreateWorldGenerationJobOutcomeCallable; -typedef std::future CreateWorldTemplateOutcomeCallable; -typedef std::future DeleteRobotApplicationOutcomeCallable; -typedef std::future DeleteSimulationApplicationOutcomeCallable; -typedef std::future DeleteWorldTemplateOutcomeCallable; -typedef std::future DescribeRobotApplicationOutcomeCallable; -typedef std::future DescribeSimulationApplicationOutcomeCallable; -typedef std::future DescribeSimulationJobOutcomeCallable; -typedef std::future DescribeSimulationJobBatchOutcomeCallable; -typedef std::future DescribeWorldOutcomeCallable; -typedef std::future DescribeWorldExportJobOutcomeCallable; -typedef std::future DescribeWorldGenerationJobOutcomeCallable; -typedef std::future DescribeWorldTemplateOutcomeCallable; -typedef std::future GetWorldTemplateBodyOutcomeCallable; -typedef std::future ListRobotApplicationsOutcomeCallable; -typedef std::future ListSimulationApplicationsOutcomeCallable; -typedef std::future ListSimulationJobBatchesOutcomeCallable; -typedef std::future ListSimulationJobsOutcomeCallable; -typedef std::future ListTagsForResourceOutcomeCallable; -typedef std::future ListWorldExportJobsOutcomeCallable; -typedef std::future ListWorldGenerationJobsOutcomeCallable; -typedef std::future ListWorldTemplatesOutcomeCallable; -typedef std::future ListWorldsOutcomeCallable; -typedef std::future RestartSimulationJobOutcomeCallable; -typedef std::future StartSimulationJobBatchOutcomeCallable; -typedef std::future TagResourceOutcomeCallable; -typedef std::future UntagResourceOutcomeCallable; -typedef std::future UpdateRobotApplicationOutcomeCallable; -typedef std::future UpdateSimulationApplicationOutcomeCallable; -typedef std::future UpdateWorldTemplateOutcomeCallable; -/* End of service model Outcome callable definitions */ -} // namespace Model - -class RoboMakerClient; - -/* Service model async handlers definitions */ -typedef std::function&)> - BatchDeleteWorldsResponseReceivedHandler; -typedef std::function&)> - BatchDescribeSimulationJobResponseReceivedHandler; -typedef std::function&)> - CancelSimulationJobResponseReceivedHandler; -typedef std::function&)> - CancelSimulationJobBatchResponseReceivedHandler; -typedef std::function&)> - CancelWorldExportJobResponseReceivedHandler; -typedef std::function&)> - CancelWorldGenerationJobResponseReceivedHandler; -typedef std::function&)> - CreateRobotApplicationResponseReceivedHandler; -typedef std::function&)> - CreateRobotApplicationVersionResponseReceivedHandler; -typedef std::function&)> - CreateSimulationApplicationResponseReceivedHandler; -typedef std::function&)> - CreateSimulationApplicationVersionResponseReceivedHandler; -typedef std::function&)> - CreateSimulationJobResponseReceivedHandler; -typedef std::function&)> - CreateWorldExportJobResponseReceivedHandler; -typedef std::function&)> - CreateWorldGenerationJobResponseReceivedHandler; -typedef std::function&)> - CreateWorldTemplateResponseReceivedHandler; -typedef std::function&)> - DeleteRobotApplicationResponseReceivedHandler; -typedef std::function&)> - DeleteSimulationApplicationResponseReceivedHandler; -typedef std::function&)> - DeleteWorldTemplateResponseReceivedHandler; -typedef std::function&)> - DescribeRobotApplicationResponseReceivedHandler; -typedef std::function&)> - DescribeSimulationApplicationResponseReceivedHandler; -typedef std::function&)> - DescribeSimulationJobResponseReceivedHandler; -typedef std::function&)> - DescribeSimulationJobBatchResponseReceivedHandler; -typedef std::function&)> - DescribeWorldResponseReceivedHandler; -typedef std::function&)> - DescribeWorldExportJobResponseReceivedHandler; -typedef std::function&)> - DescribeWorldGenerationJobResponseReceivedHandler; -typedef std::function&)> - DescribeWorldTemplateResponseReceivedHandler; -typedef std::function&)> - GetWorldTemplateBodyResponseReceivedHandler; -typedef std::function&)> - ListRobotApplicationsResponseReceivedHandler; -typedef std::function&)> - ListSimulationApplicationsResponseReceivedHandler; -typedef std::function&)> - ListSimulationJobBatchesResponseReceivedHandler; -typedef std::function&)> - ListSimulationJobsResponseReceivedHandler; -typedef std::function&)> - ListTagsForResourceResponseReceivedHandler; -typedef std::function&)> - ListWorldExportJobsResponseReceivedHandler; -typedef std::function&)> - ListWorldGenerationJobsResponseReceivedHandler; -typedef std::function&)> - ListWorldTemplatesResponseReceivedHandler; -typedef std::function&)> - ListWorldsResponseReceivedHandler; -typedef std::function&)> - RestartSimulationJobResponseReceivedHandler; -typedef std::function&)> - StartSimulationJobBatchResponseReceivedHandler; -typedef std::function&)> - TagResourceResponseReceivedHandler; -typedef std::function&)> - UntagResourceResponseReceivedHandler; -typedef std::function&)> - UpdateRobotApplicationResponseReceivedHandler; -typedef std::function&)> - UpdateSimulationApplicationResponseReceivedHandler; -typedef std::function&)> - UpdateWorldTemplateResponseReceivedHandler; -/* End of service model async handlers definitions */ -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMaker_EXPORTS.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMaker_EXPORTS.h deleted file mode 100644 index 689d41c4cd1..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/RoboMaker_EXPORTS.h +++ /dev/null @@ -1,32 +0,0 @@ -/** - * 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_ROBOMAKER_EXPORTS -#define AWS_ROBOMAKER_API __declspec(dllexport) -#else -#define AWS_ROBOMAKER_API __declspec(dllimport) -#endif /* AWS_ROBOMAKER_EXPORTS */ -#define AWS_ROBOMAKER_EXTERN -#else -#define AWS_ROBOMAKER_API -#define AWS_ROBOMAKER_EXTERN extern -#endif // USE_IMPORT_EXPORT -#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) -#define AWS_ROBOMAKER_API -#define AWS_ROBOMAKER_EXTERN extern -#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Architecture.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Architecture.h deleted file mode 100644 index c74d4e78567..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Architecture.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class Architecture { NOT_SET, X86_64, ARM64, ARMHF }; - -namespace ArchitectureMapper { -AWS_ROBOMAKER_API Architecture GetArchitectureForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForArchitecture(Architecture value); -} // namespace ArchitectureMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDeleteWorldsRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDeleteWorldsRequest.h deleted file mode 100644 index 82a164e5d13..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDeleteWorldsRequest.h +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class BatchDeleteWorldsRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API BatchDeleteWorldsRequest() = default; - - // 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 "BatchDeleteWorlds"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

A list of Amazon Resource Names (arns) that correspond to worlds to - * delete.

- */ - inline const Aws::Vector& GetWorlds() const { return m_worlds; } - inline bool WorldsHasBeenSet() const { return m_worldsHasBeenSet; } - template > - void SetWorlds(WorldsT&& value) { - m_worldsHasBeenSet = true; - m_worlds = std::forward(value); - } - template > - BatchDeleteWorldsRequest& WithWorlds(WorldsT&& value) { - SetWorlds(std::forward(value)); - return *this; - } - template - BatchDeleteWorldsRequest& AddWorlds(WorldsT&& value) { - m_worldsHasBeenSet = true; - m_worlds.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_worlds; - bool m_worldsHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDeleteWorldsResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDeleteWorldsResult.h deleted file mode 100644 index 135d51dcb8c..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDeleteWorldsResult.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class BatchDeleteWorldsResult { - public: - AWS_ROBOMAKER_API BatchDeleteWorldsResult() = default; - AWS_ROBOMAKER_API BatchDeleteWorldsResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API BatchDeleteWorldsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of unprocessed worlds associated with the call. These worlds were not - * deleted.

- */ - inline const Aws::Vector& GetUnprocessedWorlds() const { return m_unprocessedWorlds; } - template > - void SetUnprocessedWorlds(UnprocessedWorldsT&& value) { - m_unprocessedWorldsHasBeenSet = true; - m_unprocessedWorlds = std::forward(value); - } - template > - BatchDeleteWorldsResult& WithUnprocessedWorlds(UnprocessedWorldsT&& value) { - SetUnprocessedWorlds(std::forward(value)); - return *this; - } - template - BatchDeleteWorldsResult& AddUnprocessedWorlds(UnprocessedWorldsT&& value) { - m_unprocessedWorldsHasBeenSet = true; - m_unprocessedWorlds.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - BatchDeleteWorldsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_unprocessedWorlds; - bool m_unprocessedWorldsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDescribeSimulationJobRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDescribeSimulationJobRequest.h deleted file mode 100644 index 0f1f64b3c1e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDescribeSimulationJobRequest.h +++ /dev/null @@ -1,62 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class BatchDescribeSimulationJobRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API BatchDescribeSimulationJobRequest() = default; - - // 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 "BatchDescribeSimulationJob"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

A list of Amazon Resource Names (ARNs) of simulation jobs to describe.

- */ - inline const Aws::Vector& GetJobs() const { return m_jobs; } - inline bool JobsHasBeenSet() const { return m_jobsHasBeenSet; } - template > - void SetJobs(JobsT&& value) { - m_jobsHasBeenSet = true; - m_jobs = std::forward(value); - } - template > - BatchDescribeSimulationJobRequest& WithJobs(JobsT&& value) { - SetJobs(std::forward(value)); - return *this; - } - template - BatchDescribeSimulationJobRequest& AddJobs(JobsT&& value) { - m_jobsHasBeenSet = true; - m_jobs.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_jobs; - bool m_jobsHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDescribeSimulationJobResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDescribeSimulationJobResult.h deleted file mode 100644 index e82435b2864..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDescribeSimulationJobResult.h +++ /dev/null @@ -1,104 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class BatchDescribeSimulationJobResult { - public: - AWS_ROBOMAKER_API BatchDescribeSimulationJobResult() = default; - AWS_ROBOMAKER_API BatchDescribeSimulationJobResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API BatchDescribeSimulationJobResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of simulation jobs.

- */ - inline const Aws::Vector& GetJobs() const { return m_jobs; } - template > - void SetJobs(JobsT&& value) { - m_jobsHasBeenSet = true; - m_jobs = std::forward(value); - } - template > - BatchDescribeSimulationJobResult& WithJobs(JobsT&& value) { - SetJobs(std::forward(value)); - return *this; - } - template - BatchDescribeSimulationJobResult& AddJobs(JobsT&& value) { - m_jobsHasBeenSet = true; - m_jobs.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of unprocessed simulation job Amazon Resource Names (ARNs).

- */ - inline const Aws::Vector& GetUnprocessedJobs() const { return m_unprocessedJobs; } - template > - void SetUnprocessedJobs(UnprocessedJobsT&& value) { - m_unprocessedJobsHasBeenSet = true; - m_unprocessedJobs = std::forward(value); - } - template > - BatchDescribeSimulationJobResult& WithUnprocessedJobs(UnprocessedJobsT&& value) { - SetUnprocessedJobs(std::forward(value)); - return *this; - } - template - BatchDescribeSimulationJobResult& AddUnprocessedJobs(UnprocessedJobsT&& value) { - m_unprocessedJobsHasBeenSet = true; - m_unprocessedJobs.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - BatchDescribeSimulationJobResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_jobs; - bool m_jobsHasBeenSet = false; - - Aws::Vector m_unprocessedJobs; - bool m_unprocessedJobsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchPolicy.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchPolicy.h deleted file mode 100644 index b40e3fb427d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchPolicy.h +++ /dev/null @@ -1,82 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about the batch policy.

See Also:

AWS - * API Reference

- */ -class BatchPolicy { - public: - AWS_ROBOMAKER_API BatchPolicy() = default; - AWS_ROBOMAKER_API BatchPolicy(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API BatchPolicy& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The amount of time, in seconds, to wait for the batch to complete.

If - * a batch times out, and there are pending requests that were failing due to an - * internal failure (like InternalServiceError), they will be moved to - * the failed list and the batch status will be Failed. If the pending - * requests were failing for any other reason, the failed pending requests will be - * moved to the failed list and the batch status will be TimedOut. - *

- */ - inline long long GetTimeoutInSeconds() const { return m_timeoutInSeconds; } - inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; } - inline void SetTimeoutInSeconds(long long value) { - m_timeoutInSecondsHasBeenSet = true; - m_timeoutInSeconds = value; - } - inline BatchPolicy& WithTimeoutInSeconds(long long value) { - SetTimeoutInSeconds(value); - return *this; - } - ///@} - - ///@{ - /** - *

The number of active simulation jobs create as part of the batch that can be - * in an active state at the same time.

Active states include: - * Pending,Preparing, Running, - * Restarting, RunningFailed and - * Terminating. All other states are terminal states.

- */ - inline int GetMaxConcurrency() const { return m_maxConcurrency; } - inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; } - inline void SetMaxConcurrency(int value) { - m_maxConcurrencyHasBeenSet = true; - m_maxConcurrency = value; - } - inline BatchPolicy& WithMaxConcurrency(int value) { - SetMaxConcurrency(value); - return *this; - } - ///@} - private: - long long m_timeoutInSeconds{0}; - bool m_timeoutInSecondsHasBeenSet = false; - - int m_maxConcurrency{0}; - bool m_maxConcurrencyHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobBatchRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobBatchRequest.h deleted file mode 100644 index 817e9f439bb..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobBatchRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class CancelSimulationJobBatchRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API CancelSimulationJobBatchRequest() = default; - - // 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 "CancelSimulationJobBatch"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The id of the batch to cancel.

- */ - inline const Aws::String& GetBatch() const { return m_batch; } - inline bool BatchHasBeenSet() const { return m_batchHasBeenSet; } - template - void SetBatch(BatchT&& value) { - m_batchHasBeenSet = true; - m_batch = std::forward(value); - } - template - CancelSimulationJobBatchRequest& WithBatch(BatchT&& value) { - SetBatch(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_batch; - bool m_batchHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobBatchResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobBatchResult.h deleted file mode 100644 index e9af870d37f..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobBatchResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class CancelSimulationJobBatchResult { - public: - AWS_ROBOMAKER_API CancelSimulationJobBatchResult() = default; - AWS_ROBOMAKER_API CancelSimulationJobBatchResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API CancelSimulationJobBatchResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CancelSimulationJobBatchResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobRequest.h deleted file mode 100644 index 0b09ddc30fb..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class CancelSimulationJobRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API CancelSimulationJobRequest() = default; - - // 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 "CancelSimulationJob"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The simulation job ARN to cancel.

- */ - inline const Aws::String& GetJob() const { return m_job; } - inline bool JobHasBeenSet() const { return m_jobHasBeenSet; } - template - void SetJob(JobT&& value) { - m_jobHasBeenSet = true; - m_job = std::forward(value); - } - template - CancelSimulationJobRequest& WithJob(JobT&& value) { - SetJob(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_job; - bool m_jobHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobResult.h deleted file mode 100644 index 40dd9733002..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelSimulationJobResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class CancelSimulationJobResult { - public: - AWS_ROBOMAKER_API CancelSimulationJobResult() = default; - AWS_ROBOMAKER_API CancelSimulationJobResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API CancelSimulationJobResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CancelSimulationJobResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldExportJobRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldExportJobRequest.h deleted file mode 100644 index 04deefec1e4..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldExportJobRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class CancelWorldExportJobRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API CancelWorldExportJobRequest() = default; - - // 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 "CancelWorldExportJob"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world export job to cancel.

- */ - inline const Aws::String& GetJob() const { return m_job; } - inline bool JobHasBeenSet() const { return m_jobHasBeenSet; } - template - void SetJob(JobT&& value) { - m_jobHasBeenSet = true; - m_job = std::forward(value); - } - template - CancelWorldExportJobRequest& WithJob(JobT&& value) { - SetJob(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_job; - bool m_jobHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldExportJobResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldExportJobResult.h deleted file mode 100644 index 5dd72ae0ff4..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldExportJobResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class CancelWorldExportJobResult { - public: - AWS_ROBOMAKER_API CancelWorldExportJobResult() = default; - AWS_ROBOMAKER_API CancelWorldExportJobResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API CancelWorldExportJobResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CancelWorldExportJobResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldGenerationJobRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldGenerationJobRequest.h deleted file mode 100644 index f8b6b51f98e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldGenerationJobRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class CancelWorldGenerationJobRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API CancelWorldGenerationJobRequest() = default; - - // 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 "CancelWorldGenerationJob"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world generator job to cancel.

- */ - inline const Aws::String& GetJob() const { return m_job; } - inline bool JobHasBeenSet() const { return m_jobHasBeenSet; } - template - void SetJob(JobT&& value) { - m_jobHasBeenSet = true; - m_job = std::forward(value); - } - template - CancelWorldGenerationJobRequest& WithJob(JobT&& value) { - SetJob(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_job; - bool m_jobHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldGenerationJobResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldGenerationJobResult.h deleted file mode 100644 index 6ac1c598f9a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CancelWorldGenerationJobResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class CancelWorldGenerationJobResult { - public: - AWS_ROBOMAKER_API CancelWorldGenerationJobResult() = default; - AWS_ROBOMAKER_API CancelWorldGenerationJobResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API CancelWorldGenerationJobResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CancelWorldGenerationJobResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Compute.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Compute.h deleted file mode 100644 index 826b260d131..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Compute.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Compute information for the simulation job.

See Also:

AWS - * API Reference

- */ -class Compute { - public: - AWS_ROBOMAKER_API Compute() = default; - AWS_ROBOMAKER_API Compute(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Compute& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The simulation unit limit. Your simulation is allocated CPU and memory - * proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu - * and 2GB of memory. You are only billed for the SU utilization you consume up to - * the maximum value provided. The default is 15.

- */ - inline int GetSimulationUnitLimit() const { return m_simulationUnitLimit; } - inline bool SimulationUnitLimitHasBeenSet() const { return m_simulationUnitLimitHasBeenSet; } - inline void SetSimulationUnitLimit(int value) { - m_simulationUnitLimitHasBeenSet = true; - m_simulationUnitLimit = value; - } - inline Compute& WithSimulationUnitLimit(int value) { - SetSimulationUnitLimit(value); - return *this; - } - ///@} - - ///@{ - /** - *

Compute type information for the simulation job.

- */ - inline ComputeType GetComputeType() const { return m_computeType; } - inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; } - inline void SetComputeType(ComputeType value) { - m_computeTypeHasBeenSet = true; - m_computeType = value; - } - inline Compute& WithComputeType(ComputeType value) { - SetComputeType(value); - return *this; - } - ///@} - - ///@{ - /** - *

Compute GPU unit limit for the simulation job. It is the same as the number - * of GPUs allocated to the SimulationJob.

- */ - inline int GetGpuUnitLimit() const { return m_gpuUnitLimit; } - inline bool GpuUnitLimitHasBeenSet() const { return m_gpuUnitLimitHasBeenSet; } - inline void SetGpuUnitLimit(int value) { - m_gpuUnitLimitHasBeenSet = true; - m_gpuUnitLimit = value; - } - inline Compute& WithGpuUnitLimit(int value) { - SetGpuUnitLimit(value); - return *this; - } - ///@} - private: - int m_simulationUnitLimit{0}; - bool m_simulationUnitLimitHasBeenSet = false; - - ComputeType m_computeType{ComputeType::NOT_SET}; - bool m_computeTypeHasBeenSet = false; - - int m_gpuUnitLimit{0}; - bool m_gpuUnitLimitHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ComputeResponse.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ComputeResponse.h deleted file mode 100644 index 7e2061ccd26..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ComputeResponse.h +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Compute information for the simulation job

See Also:

AWS - * API Reference

- */ -class ComputeResponse { - public: - AWS_ROBOMAKER_API ComputeResponse() = default; - AWS_ROBOMAKER_API ComputeResponse(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API ComputeResponse& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The simulation unit limit. Your simulation is allocated CPU and memory - * proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu - * and 2GB of memory. You are only billed for the SU utilization you consume up to - * the maximum value provided. The default is 15.

- */ - inline int GetSimulationUnitLimit() const { return m_simulationUnitLimit; } - inline bool SimulationUnitLimitHasBeenSet() const { return m_simulationUnitLimitHasBeenSet; } - inline void SetSimulationUnitLimit(int value) { - m_simulationUnitLimitHasBeenSet = true; - m_simulationUnitLimit = value; - } - inline ComputeResponse& WithSimulationUnitLimit(int value) { - SetSimulationUnitLimit(value); - return *this; - } - ///@} - - ///@{ - /** - *

Compute type response information for the simulation job.

- */ - inline ComputeType GetComputeType() const { return m_computeType; } - inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; } - inline void SetComputeType(ComputeType value) { - m_computeTypeHasBeenSet = true; - m_computeType = value; - } - inline ComputeResponse& WithComputeType(ComputeType value) { - SetComputeType(value); - return *this; - } - ///@} - - ///@{ - /** - *

Compute GPU unit limit for the simulation job. It is the same as the number - * of GPUs allocated to the SimulationJob.

- */ - inline int GetGpuUnitLimit() const { return m_gpuUnitLimit; } - inline bool GpuUnitLimitHasBeenSet() const { return m_gpuUnitLimitHasBeenSet; } - inline void SetGpuUnitLimit(int value) { - m_gpuUnitLimitHasBeenSet = true; - m_gpuUnitLimit = value; - } - inline ComputeResponse& WithGpuUnitLimit(int value) { - SetGpuUnitLimit(value); - return *this; - } - ///@} - private: - int m_simulationUnitLimit{0}; - bool m_simulationUnitLimitHasBeenSet = false; - - ComputeType m_computeType{ComputeType::NOT_SET}; - bool m_computeTypeHasBeenSet = false; - - int m_gpuUnitLimit{0}; - bool m_gpuUnitLimitHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ComputeType.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ComputeType.h deleted file mode 100644 index e23044a2f01..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ComputeType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class ComputeType { NOT_SET, CPU, GPU_AND_CPU }; - -namespace ComputeTypeMapper { -AWS_ROBOMAKER_API ComputeType GetComputeTypeForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForComputeType(ComputeType value); -} // namespace ComputeTypeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationRequest.h deleted file mode 100644 index 686e52c2204..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationRequest.h +++ /dev/null @@ -1,158 +0,0 @@ -/** - * 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 { -namespace RoboMaker { -namespace Model { - -/** - */ -class CreateRobotApplicationRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API CreateRobotApplicationRequest() = default; - - // 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 "CreateRobotApplication"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the robot application.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - CreateRobotApplicationRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The sources of the robot application.

- */ - inline const Aws::Vector& GetSources() const { return m_sources; } - inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; } - template > - void SetSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources = std::forward(value); - } - template > - CreateRobotApplicationRequest& WithSources(SourcesT&& value) { - SetSources(std::forward(value)); - return *this; - } - template - CreateRobotApplicationRequest& AddSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The robot software suite used by the robot application.

- */ - inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; } - inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; } - template - void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - m_robotSoftwareSuiteHasBeenSet = true; - m_robotSoftwareSuite = std::forward(value); - } - template - CreateRobotApplicationRequest& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - SetRobotSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the robot - * application.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateRobotApplicationRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateRobotApplicationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The object that contains that URI of the Docker image that you use for your - * robot application.

- */ - inline const Environment& GetEnvironment() const { return m_environment; } - inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } - template - void SetEnvironment(EnvironmentT&& value) { - m_environmentHasBeenSet = true; - m_environment = std::forward(value); - } - template - CreateRobotApplicationRequest& WithEnvironment(EnvironmentT&& value) { - SetEnvironment(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::Vector m_sources; - bool m_sourcesHasBeenSet = false; - - RobotSoftwareSuite m_robotSoftwareSuite; - bool m_robotSoftwareSuiteHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Environment m_environment; - bool m_environmentHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationResult.h deleted file mode 100644 index 2d26db0d8a0..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationResult.h +++ /dev/null @@ -1,250 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class CreateRobotApplicationResult { - public: - AWS_ROBOMAKER_API CreateRobotApplicationResult() = default; - AWS_ROBOMAKER_API CreateRobotApplicationResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API CreateRobotApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the robot application.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - CreateRobotApplicationResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the robot application.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - CreateRobotApplicationResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the robot application.

- */ - inline const Aws::String& GetVersion() const { return m_version; } - template - void SetVersion(VersionT&& value) { - m_versionHasBeenSet = true; - m_version = std::forward(value); - } - template - CreateRobotApplicationResult& WithVersion(VersionT&& value) { - SetVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The sources of the robot application.

- */ - inline const Aws::Vector& GetSources() const { return m_sources; } - template > - void SetSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources = std::forward(value); - } - template > - CreateRobotApplicationResult& WithSources(SourcesT&& value) { - SetSources(std::forward(value)); - return *this; - } - template - CreateRobotApplicationResult& AddSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The robot software suite used by the robot application.

- */ - inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; } - template - void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - m_robotSoftwareSuiteHasBeenSet = true; - m_robotSoftwareSuite = std::forward(value); - } - template - CreateRobotApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - SetRobotSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the robot application was - * last updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - CreateRobotApplicationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The revision id of the robot application.

- */ - inline const Aws::String& GetRevisionId() const { return m_revisionId; } - template - void SetRevisionId(RevisionIdT&& value) { - m_revisionIdHasBeenSet = true; - m_revisionId = std::forward(value); - } - template - CreateRobotApplicationResult& WithRevisionId(RevisionIdT&& value) { - SetRevisionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The list of all tags added to the robot application.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateRobotApplicationResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateRobotApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An object that contains the Docker image URI used to a create your robot - * application.

- */ - inline const Environment& GetEnvironment() const { return m_environment; } - template - void SetEnvironment(EnvironmentT&& value) { - m_environmentHasBeenSet = true; - m_environment = std::forward(value); - } - template - CreateRobotApplicationResult& WithEnvironment(EnvironmentT&& value) { - SetEnvironment(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateRobotApplicationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_version; - bool m_versionHasBeenSet = false; - - Aws::Vector m_sources; - bool m_sourcesHasBeenSet = false; - - RobotSoftwareSuite m_robotSoftwareSuite; - bool m_robotSoftwareSuiteHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - Aws::String m_revisionId; - bool m_revisionIdHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Environment m_environment; - bool m_environmentHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationVersionRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationVersionRequest.h deleted file mode 100644 index 5478160d019..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationVersionRequest.h +++ /dev/null @@ -1,128 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class CreateRobotApplicationVersionRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API CreateRobotApplicationVersionRequest() = default; - - // 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 "CreateRobotApplicationVersion"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The application information for the robot application.

- */ - inline const Aws::String& GetApplication() const { return m_application; } - inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; } - template - void SetApplication(ApplicationT&& value) { - m_applicationHasBeenSet = true; - m_application = std::forward(value); - } - template - CreateRobotApplicationVersionRequest& WithApplication(ApplicationT&& value) { - SetApplication(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The current revision id for the robot application. If you provide a value and - * it matches the latest revision ID, a new version will be created.

- */ - inline const Aws::String& GetCurrentRevisionId() const { return m_currentRevisionId; } - inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; } - template - void SetCurrentRevisionId(CurrentRevisionIdT&& value) { - m_currentRevisionIdHasBeenSet = true; - m_currentRevisionId = std::forward(value); - } - template - CreateRobotApplicationVersionRequest& WithCurrentRevisionId(CurrentRevisionIdT&& value) { - SetCurrentRevisionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon S3 identifier for the zip file bundle that you use for your robot - * application.

- */ - inline const Aws::Vector& GetS3Etags() const { return m_s3Etags; } - inline bool S3EtagsHasBeenSet() const { return m_s3EtagsHasBeenSet; } - template > - void SetS3Etags(S3EtagsT&& value) { - m_s3EtagsHasBeenSet = true; - m_s3Etags = std::forward(value); - } - template > - CreateRobotApplicationVersionRequest& WithS3Etags(S3EtagsT&& value) { - SetS3Etags(std::forward(value)); - return *this; - } - template - CreateRobotApplicationVersionRequest& AddS3Etags(S3EtagsT&& value) { - m_s3EtagsHasBeenSet = true; - m_s3Etags.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A SHA256 identifier for the Docker image that you use for your robot - * application.

- */ - inline const Aws::String& GetImageDigest() const { return m_imageDigest; } - inline bool ImageDigestHasBeenSet() const { return m_imageDigestHasBeenSet; } - template - void SetImageDigest(ImageDigestT&& value) { - m_imageDigestHasBeenSet = true; - m_imageDigest = std::forward(value); - } - template - CreateRobotApplicationVersionRequest& WithImageDigest(ImageDigestT&& value) { - SetImageDigest(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_application; - bool m_applicationHasBeenSet = false; - - Aws::String m_currentRevisionId; - bool m_currentRevisionIdHasBeenSet = false; - - Aws::Vector m_s3Etags; - bool m_s3EtagsHasBeenSet = false; - - Aws::String m_imageDigest; - bool m_imageDigestHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationVersionResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationVersionResult.h deleted file mode 100644 index 9515eec127e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateRobotApplicationVersionResult.h +++ /dev/null @@ -1,223 +0,0 @@ -/** - * 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 - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { -class CreateRobotApplicationVersionResult { - public: - AWS_ROBOMAKER_API CreateRobotApplicationVersionResult() = default; - AWS_ROBOMAKER_API CreateRobotApplicationVersionResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API CreateRobotApplicationVersionResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the robot application.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - CreateRobotApplicationVersionResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the robot application.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - CreateRobotApplicationVersionResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the robot application.

- */ - inline const Aws::String& GetVersion() const { return m_version; } - template - void SetVersion(VersionT&& value) { - m_versionHasBeenSet = true; - m_version = std::forward(value); - } - template - CreateRobotApplicationVersionResult& WithVersion(VersionT&& value) { - SetVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The sources of the robot application.

- */ - inline const Aws::Vector& GetSources() const { return m_sources; } - template > - void SetSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources = std::forward(value); - } - template > - CreateRobotApplicationVersionResult& WithSources(SourcesT&& value) { - SetSources(std::forward(value)); - return *this; - } - template - CreateRobotApplicationVersionResult& AddSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The robot software suite used by the robot application.

- */ - inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; } - template - void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - m_robotSoftwareSuiteHasBeenSet = true; - m_robotSoftwareSuite = std::forward(value); - } - template - CreateRobotApplicationVersionResult& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - SetRobotSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the robot application was - * last updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - CreateRobotApplicationVersionResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The revision id of the robot application.

- */ - inline const Aws::String& GetRevisionId() const { return m_revisionId; } - template - void SetRevisionId(RevisionIdT&& value) { - m_revisionIdHasBeenSet = true; - m_revisionId = std::forward(value); - } - template - CreateRobotApplicationVersionResult& WithRevisionId(RevisionIdT&& value) { - SetRevisionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The object that contains the Docker image URI used to create your robot - * application.

- */ - inline const Environment& GetEnvironment() const { return m_environment; } - template - void SetEnvironment(EnvironmentT&& value) { - m_environmentHasBeenSet = true; - m_environment = std::forward(value); - } - template - CreateRobotApplicationVersionResult& WithEnvironment(EnvironmentT&& value) { - SetEnvironment(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateRobotApplicationVersionResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_version; - bool m_versionHasBeenSet = false; - - Aws::Vector m_sources; - bool m_sourcesHasBeenSet = false; - - RobotSoftwareSuite m_robotSoftwareSuite; - bool m_robotSoftwareSuiteHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - Aws::String m_revisionId; - bool m_revisionIdHasBeenSet = false; - - Environment m_environment; - bool m_environmentHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationRequest.h deleted file mode 100644 index 14a58eb0107..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationRequest.h +++ /dev/null @@ -1,202 +0,0 @@ -/** - * 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 -#include - -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { - -/** - */ -class CreateSimulationApplicationRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API CreateSimulationApplicationRequest() = default; - - // 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 "CreateSimulationApplication"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The name of the simulation application.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - CreateSimulationApplicationRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The sources of the simulation application.

- */ - inline const Aws::Vector& GetSources() const { return m_sources; } - inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; } - template > - void SetSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources = std::forward(value); - } - template > - CreateSimulationApplicationRequest& WithSources(SourcesT&& value) { - SetSources(std::forward(value)); - return *this; - } - template - CreateSimulationApplicationRequest& AddSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The simulation software suite used by the simulation application.

- */ - inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const { return m_simulationSoftwareSuite; } - inline bool SimulationSoftwareSuiteHasBeenSet() const { return m_simulationSoftwareSuiteHasBeenSet; } - template - void SetSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { - m_simulationSoftwareSuiteHasBeenSet = true; - m_simulationSoftwareSuite = std::forward(value); - } - template - CreateSimulationApplicationRequest& WithSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { - SetSimulationSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The robot software suite used by the simulation application.

- */ - inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; } - inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; } - template - void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - m_robotSoftwareSuiteHasBeenSet = true; - m_robotSoftwareSuite = std::forward(value); - } - template - CreateSimulationApplicationRequest& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - SetRobotSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The rendering engine for the simulation application.

- */ - inline const RenderingEngine& GetRenderingEngine() const { return m_renderingEngine; } - inline bool RenderingEngineHasBeenSet() const { return m_renderingEngineHasBeenSet; } - template - void SetRenderingEngine(RenderingEngineT&& value) { - m_renderingEngineHasBeenSet = true; - m_renderingEngine = std::forward(value); - } - template - CreateSimulationApplicationRequest& WithRenderingEngine(RenderingEngineT&& value) { - SetRenderingEngine(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the - * simulation application.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateSimulationApplicationRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateSimulationApplicationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The object that contains the Docker image URI used to create your simulation - * application.

- */ - inline const Environment& GetEnvironment() const { return m_environment; } - inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } - template - void SetEnvironment(EnvironmentT&& value) { - m_environmentHasBeenSet = true; - m_environment = std::forward(value); - } - template - CreateSimulationApplicationRequest& WithEnvironment(EnvironmentT&& value) { - SetEnvironment(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::Vector m_sources; - bool m_sourcesHasBeenSet = false; - - SimulationSoftwareSuite m_simulationSoftwareSuite; - bool m_simulationSoftwareSuiteHasBeenSet = false; - - RobotSoftwareSuite m_robotSoftwareSuite; - bool m_robotSoftwareSuiteHasBeenSet = false; - - RenderingEngine m_renderingEngine; - bool m_renderingEngineHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Environment m_environment; - bool m_environmentHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationResult.h deleted file mode 100644 index e1fc76f8984..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationResult.h +++ /dev/null @@ -1,292 +0,0 @@ -/** - * 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 -#include - -#include - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { -class CreateSimulationApplicationResult { - public: - AWS_ROBOMAKER_API CreateSimulationApplicationResult() = default; - AWS_ROBOMAKER_API CreateSimulationApplicationResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API CreateSimulationApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the simulation application.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - CreateSimulationApplicationResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the simulation application.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - CreateSimulationApplicationResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the simulation application.

- */ - inline const Aws::String& GetVersion() const { return m_version; } - template - void SetVersion(VersionT&& value) { - m_versionHasBeenSet = true; - m_version = std::forward(value); - } - template - CreateSimulationApplicationResult& WithVersion(VersionT&& value) { - SetVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The sources of the simulation application.

- */ - inline const Aws::Vector& GetSources() const { return m_sources; } - template > - void SetSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources = std::forward(value); - } - template > - CreateSimulationApplicationResult& WithSources(SourcesT&& value) { - SetSources(std::forward(value)); - return *this; - } - template - CreateSimulationApplicationResult& AddSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The simulation software suite used by the simulation application.

- */ - inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const { return m_simulationSoftwareSuite; } - template - void SetSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { - m_simulationSoftwareSuiteHasBeenSet = true; - m_simulationSoftwareSuite = std::forward(value); - } - template - CreateSimulationApplicationResult& WithSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { - SetSimulationSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about the robot software suite.

- */ - inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; } - template - void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - m_robotSoftwareSuiteHasBeenSet = true; - m_robotSoftwareSuite = std::forward(value); - } - template - CreateSimulationApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - SetRobotSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The rendering engine for the simulation application.

- */ - inline const RenderingEngine& GetRenderingEngine() const { return m_renderingEngine; } - template - void SetRenderingEngine(RenderingEngineT&& value) { - m_renderingEngineHasBeenSet = true; - m_renderingEngine = std::forward(value); - } - template - CreateSimulationApplicationResult& WithRenderingEngine(RenderingEngineT&& value) { - SetRenderingEngine(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation application - * was last updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - CreateSimulationApplicationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The revision id of the simulation application.

- */ - inline const Aws::String& GetRevisionId() const { return m_revisionId; } - template - void SetRevisionId(RevisionIdT&& value) { - m_revisionIdHasBeenSet = true; - m_revisionId = std::forward(value); - } - template - CreateSimulationApplicationResult& WithRevisionId(RevisionIdT&& value) { - SetRevisionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The list of all tags added to the simulation application.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateSimulationApplicationResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateSimulationApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The object that contains the Docker image URI that you used to create your - * simulation application.

- */ - inline const Environment& GetEnvironment() const { return m_environment; } - template - void SetEnvironment(EnvironmentT&& value) { - m_environmentHasBeenSet = true; - m_environment = std::forward(value); - } - template - CreateSimulationApplicationResult& WithEnvironment(EnvironmentT&& value) { - SetEnvironment(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateSimulationApplicationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_version; - bool m_versionHasBeenSet = false; - - Aws::Vector m_sources; - bool m_sourcesHasBeenSet = false; - - SimulationSoftwareSuite m_simulationSoftwareSuite; - bool m_simulationSoftwareSuiteHasBeenSet = false; - - RobotSoftwareSuite m_robotSoftwareSuite; - bool m_robotSoftwareSuiteHasBeenSet = false; - - RenderingEngine m_renderingEngine; - bool m_renderingEngineHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - Aws::String m_revisionId; - bool m_revisionIdHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Environment m_environment; - bool m_environmentHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationVersionRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationVersionRequest.h deleted file mode 100644 index 676e30889ac..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationVersionRequest.h +++ /dev/null @@ -1,128 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class CreateSimulationApplicationVersionRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API CreateSimulationApplicationVersionRequest() = default; - - // 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 "CreateSimulationApplicationVersion"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The application information for the simulation application.

- */ - inline const Aws::String& GetApplication() const { return m_application; } - inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; } - template - void SetApplication(ApplicationT&& value) { - m_applicationHasBeenSet = true; - m_application = std::forward(value); - } - template - CreateSimulationApplicationVersionRequest& WithApplication(ApplicationT&& value) { - SetApplication(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The current revision id for the simulation application. If you provide a - * value and it matches the latest revision ID, a new version will be created.

- */ - inline const Aws::String& GetCurrentRevisionId() const { return m_currentRevisionId; } - inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; } - template - void SetCurrentRevisionId(CurrentRevisionIdT&& value) { - m_currentRevisionIdHasBeenSet = true; - m_currentRevisionId = std::forward(value); - } - template - CreateSimulationApplicationVersionRequest& WithCurrentRevisionId(CurrentRevisionIdT&& value) { - SetCurrentRevisionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon S3 eTag identifier for the zip file bundle that you use to create - * the simulation application.

- */ - inline const Aws::Vector& GetS3Etags() const { return m_s3Etags; } - inline bool S3EtagsHasBeenSet() const { return m_s3EtagsHasBeenSet; } - template > - void SetS3Etags(S3EtagsT&& value) { - m_s3EtagsHasBeenSet = true; - m_s3Etags = std::forward(value); - } - template > - CreateSimulationApplicationVersionRequest& WithS3Etags(S3EtagsT&& value) { - SetS3Etags(std::forward(value)); - return *this; - } - template - CreateSimulationApplicationVersionRequest& AddS3Etags(S3EtagsT&& value) { - m_s3EtagsHasBeenSet = true; - m_s3Etags.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The SHA256 digest used to identify the Docker image URI used to created the - * simulation application.

- */ - inline const Aws::String& GetImageDigest() const { return m_imageDigest; } - inline bool ImageDigestHasBeenSet() const { return m_imageDigestHasBeenSet; } - template - void SetImageDigest(ImageDigestT&& value) { - m_imageDigestHasBeenSet = true; - m_imageDigest = std::forward(value); - } - template - CreateSimulationApplicationVersionRequest& WithImageDigest(ImageDigestT&& value) { - SetImageDigest(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_application; - bool m_applicationHasBeenSet = false; - - Aws::String m_currentRevisionId; - bool m_currentRevisionIdHasBeenSet = false; - - Aws::Vector m_s3Etags; - bool m_s3EtagsHasBeenSet = false; - - Aws::String m_imageDigest; - bool m_imageDigestHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationVersionResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationVersionResult.h deleted file mode 100644 index b312d490fae..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationApplicationVersionResult.h +++ /dev/null @@ -1,266 +0,0 @@ -/** - * 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 - -#include - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { -class CreateSimulationApplicationVersionResult { - public: - AWS_ROBOMAKER_API CreateSimulationApplicationVersionResult() = default; - AWS_ROBOMAKER_API CreateSimulationApplicationVersionResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API CreateSimulationApplicationVersionResult& operator=( - const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the simulation application.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - CreateSimulationApplicationVersionResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the simulation application.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - CreateSimulationApplicationVersionResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the simulation application.

- */ - inline const Aws::String& GetVersion() const { return m_version; } - template - void SetVersion(VersionT&& value) { - m_versionHasBeenSet = true; - m_version = std::forward(value); - } - template - CreateSimulationApplicationVersionResult& WithVersion(VersionT&& value) { - SetVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The sources of the simulation application.

- */ - inline const Aws::Vector& GetSources() const { return m_sources; } - template > - void SetSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources = std::forward(value); - } - template > - CreateSimulationApplicationVersionResult& WithSources(SourcesT&& value) { - SetSources(std::forward(value)); - return *this; - } - template - CreateSimulationApplicationVersionResult& AddSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The simulation software suite used by the simulation application.

- */ - inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const { return m_simulationSoftwareSuite; } - template - void SetSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { - m_simulationSoftwareSuiteHasBeenSet = true; - m_simulationSoftwareSuite = std::forward(value); - } - template - CreateSimulationApplicationVersionResult& WithSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { - SetSimulationSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about the robot software suite.

- */ - inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; } - template - void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - m_robotSoftwareSuiteHasBeenSet = true; - m_robotSoftwareSuite = std::forward(value); - } - template - CreateSimulationApplicationVersionResult& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - SetRobotSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The rendering engine for the simulation application.

- */ - inline const RenderingEngine& GetRenderingEngine() const { return m_renderingEngine; } - template - void SetRenderingEngine(RenderingEngineT&& value) { - m_renderingEngineHasBeenSet = true; - m_renderingEngine = std::forward(value); - } - template - CreateSimulationApplicationVersionResult& WithRenderingEngine(RenderingEngineT&& value) { - SetRenderingEngine(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation application - * was last updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - CreateSimulationApplicationVersionResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The revision ID of the simulation application.

- */ - inline const Aws::String& GetRevisionId() const { return m_revisionId; } - template - void SetRevisionId(RevisionIdT&& value) { - m_revisionIdHasBeenSet = true; - m_revisionId = std::forward(value); - } - template - CreateSimulationApplicationVersionResult& WithRevisionId(RevisionIdT&& value) { - SetRevisionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The object that contains the Docker image URI used to create the simulation - * application.

- */ - inline const Environment& GetEnvironment() const { return m_environment; } - template - void SetEnvironment(EnvironmentT&& value) { - m_environmentHasBeenSet = true; - m_environment = std::forward(value); - } - template - CreateSimulationApplicationVersionResult& WithEnvironment(EnvironmentT&& value) { - SetEnvironment(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateSimulationApplicationVersionResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_version; - bool m_versionHasBeenSet = false; - - Aws::Vector m_sources; - bool m_sourcesHasBeenSet = false; - - SimulationSoftwareSuite m_simulationSoftwareSuite; - bool m_simulationSoftwareSuiteHasBeenSet = false; - - RobotSoftwareSuite m_robotSoftwareSuite; - bool m_robotSoftwareSuiteHasBeenSet = false; - - RenderingEngine m_renderingEngine; - bool m_renderingEngineHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - Aws::String m_revisionId; - bool m_revisionIdHasBeenSet = false; - - Environment m_environment; - bool m_environmentHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationJobRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationJobRequest.h deleted file mode 100644 index 4a6a870c78a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationJobRequest.h +++ /dev/null @@ -1,333 +0,0 @@ -/** - * 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 -#include -#include -#include -#include -#include - -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { - -/** - */ -class CreateSimulationJobRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API CreateSimulationJobRequest() = default; - - // 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 "CreateSimulationJob"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - CreateSimulationJobRequest& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Location for output files generated by the simulation job.

- */ - inline const OutputLocation& GetOutputLocation() const { return m_outputLocation; } - inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; } - template - void SetOutputLocation(OutputLocationT&& value) { - m_outputLocationHasBeenSet = true; - m_outputLocation = std::forward(value); - } - template - CreateSimulationJobRequest& WithOutputLocation(OutputLocationT&& value) { - SetOutputLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The logging configuration.

- */ - inline const LoggingConfig& GetLoggingConfig() const { return m_loggingConfig; } - inline bool LoggingConfigHasBeenSet() const { return m_loggingConfigHasBeenSet; } - template - void SetLoggingConfig(LoggingConfigT&& value) { - m_loggingConfigHasBeenSet = true; - m_loggingConfig = std::forward(value); - } - template - CreateSimulationJobRequest& WithLoggingConfig(LoggingConfigT&& value) { - SetLoggingConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum simulation job duration in seconds (up to 14 days or 1,209,600 - * seconds. When maxJobDurationInSeconds is reached, the simulation - * job will status will transition to Completed.

- */ - inline long long GetMaxJobDurationInSeconds() const { return m_maxJobDurationInSeconds; } - inline bool MaxJobDurationInSecondsHasBeenSet() const { return m_maxJobDurationInSecondsHasBeenSet; } - inline void SetMaxJobDurationInSeconds(long long value) { - m_maxJobDurationInSecondsHasBeenSet = true; - m_maxJobDurationInSeconds = value; - } - inline CreateSimulationJobRequest& WithMaxJobDurationInSeconds(long long value) { - SetMaxJobDurationInSeconds(value); - return *this; - } - ///@} - - ///@{ - /** - *

The IAM role name that allows the simulation instance to call the AWS APIs - * that are specified in its associated policies on your behalf. This is how - * credentials are passed in to your simulation job.

- */ - inline const Aws::String& GetIamRole() const { return m_iamRole; } - inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; } - template - void SetIamRole(IamRoleT&& value) { - m_iamRoleHasBeenSet = true; - m_iamRole = std::forward(value); - } - template - CreateSimulationJobRequest& WithIamRole(IamRoleT&& value) { - SetIamRole(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The failure behavior the simulation job.

Continue
- *

Leaves the instance running for its maximum timeout duration after a - * 4XX error code.

Fail

Stop the simulation - * job and terminate the instance.

- */ - inline FailureBehavior GetFailureBehavior() const { return m_failureBehavior; } - inline bool FailureBehaviorHasBeenSet() const { return m_failureBehaviorHasBeenSet; } - inline void SetFailureBehavior(FailureBehavior value) { - m_failureBehaviorHasBeenSet = true; - m_failureBehavior = value; - } - inline CreateSimulationJobRequest& WithFailureBehavior(FailureBehavior value) { - SetFailureBehavior(value); - return *this; - } - ///@} - - ///@{ - /** - *

The robot application to use in the simulation job.

- */ - inline const Aws::Vector& GetRobotApplications() const { return m_robotApplications; } - inline bool RobotApplicationsHasBeenSet() const { return m_robotApplicationsHasBeenSet; } - template > - void SetRobotApplications(RobotApplicationsT&& value) { - m_robotApplicationsHasBeenSet = true; - m_robotApplications = std::forward(value); - } - template > - CreateSimulationJobRequest& WithRobotApplications(RobotApplicationsT&& value) { - SetRobotApplications(std::forward(value)); - return *this; - } - template - CreateSimulationJobRequest& AddRobotApplications(RobotApplicationsT&& value) { - m_robotApplicationsHasBeenSet = true; - m_robotApplications.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The simulation application to use in the simulation job.

- */ - inline const Aws::Vector& GetSimulationApplications() const { return m_simulationApplications; } - inline bool SimulationApplicationsHasBeenSet() const { return m_simulationApplicationsHasBeenSet; } - template > - void SetSimulationApplications(SimulationApplicationsT&& value) { - m_simulationApplicationsHasBeenSet = true; - m_simulationApplications = std::forward(value); - } - template > - CreateSimulationJobRequest& WithSimulationApplications(SimulationApplicationsT&& value) { - SetSimulationApplications(std::forward(value)); - return *this; - } - template - CreateSimulationJobRequest& AddSimulationApplications(SimulationApplicationsT&& value) { - m_simulationApplicationsHasBeenSet = true; - m_simulationApplications.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Specify data sources to mount read-only files from S3 into your simulation. - * These files are available under - * /opt/robomaker/datasources/data_source_name.

There - * is a limit of 100 files and a combined size of 25GB for all - * DataSourceConfig objects.

- */ - inline const Aws::Vector& GetDataSources() const { return m_dataSources; } - inline bool DataSourcesHasBeenSet() const { return m_dataSourcesHasBeenSet; } - template > - void SetDataSources(DataSourcesT&& value) { - m_dataSourcesHasBeenSet = true; - m_dataSources = std::forward(value); - } - template > - CreateSimulationJobRequest& WithDataSources(DataSourcesT&& value) { - SetDataSources(std::forward(value)); - return *this; - } - template - CreateSimulationJobRequest& AddDataSources(DataSourcesT&& value) { - m_dataSourcesHasBeenSet = true; - m_dataSources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the - * simulation job.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateSimulationJobRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateSimulationJobRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If your simulation job accesses resources in a VPC, you provide this - * parameter identifying the list of security group IDs and subnet IDs. These must - * belong to the same VPC. You must provide at least one security group and one - * subnet ID.

- */ - inline const VPCConfig& GetVpcConfig() const { return m_vpcConfig; } - inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; } - template - void SetVpcConfig(VpcConfigT&& value) { - m_vpcConfigHasBeenSet = true; - m_vpcConfig = std::forward(value); - } - template - CreateSimulationJobRequest& WithVpcConfig(VpcConfigT&& value) { - SetVpcConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Compute information for the simulation job.

- */ - inline const Compute& GetCompute() const { return m_compute; } - inline bool ComputeHasBeenSet() const { return m_computeHasBeenSet; } - template - void SetCompute(ComputeT&& value) { - m_computeHasBeenSet = true; - m_compute = std::forward(value); - } - template - CreateSimulationJobRequest& WithCompute(ComputeT&& value) { - SetCompute(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientRequestTokenHasBeenSet = true; - - OutputLocation m_outputLocation; - bool m_outputLocationHasBeenSet = false; - - LoggingConfig m_loggingConfig; - bool m_loggingConfigHasBeenSet = false; - - long long m_maxJobDurationInSeconds{0}; - bool m_maxJobDurationInSecondsHasBeenSet = false; - - Aws::String m_iamRole; - bool m_iamRoleHasBeenSet = false; - - FailureBehavior m_failureBehavior{FailureBehavior::NOT_SET}; - bool m_failureBehaviorHasBeenSet = false; - - Aws::Vector m_robotApplications; - bool m_robotApplicationsHasBeenSet = false; - - Aws::Vector m_simulationApplications; - bool m_simulationApplicationsHasBeenSet = false; - - Aws::Vector m_dataSources; - bool m_dataSourcesHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - VPCConfig m_vpcConfig; - bool m_vpcConfigHasBeenSet = false; - - Compute m_compute; - bool m_computeHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationJobResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationJobResult.h deleted file mode 100644 index 99377275a57..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateSimulationJobResult.h +++ /dev/null @@ -1,463 +0,0 @@ -/** - * 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 -#include -#include -#include -#include -#include -#include - -#include - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { -class CreateSimulationJobResult { - public: - AWS_ROBOMAKER_API CreateSimulationJobResult() = default; - AWS_ROBOMAKER_API CreateSimulationJobResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API CreateSimulationJobResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the simulation job.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - CreateSimulationJobResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the simulation job.

- */ - inline SimulationJobStatus GetStatus() const { return m_status; } - inline void SetStatus(SimulationJobStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline CreateSimulationJobResult& WithStatus(SimulationJobStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation job was last - * started.

- */ - inline const Aws::Utils::DateTime& GetLastStartedAt() const { return m_lastStartedAt; } - template - void SetLastStartedAt(LastStartedAtT&& value) { - m_lastStartedAtHasBeenSet = true; - m_lastStartedAt = std::forward(value); - } - template - CreateSimulationJobResult& WithLastStartedAt(LastStartedAtT&& value) { - SetLastStartedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation job was last - * updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - CreateSimulationJobResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

the failure behavior for the simulation job.

- */ - inline FailureBehavior GetFailureBehavior() const { return m_failureBehavior; } - inline void SetFailureBehavior(FailureBehavior value) { - m_failureBehaviorHasBeenSet = true; - m_failureBehavior = value; - } - inline CreateSimulationJobResult& WithFailureBehavior(FailureBehavior value) { - SetFailureBehavior(value); - return *this; - } - ///@} - - ///@{ - /** - *

The failure code of the simulation job if it failed:

- *
InternalServiceError

Internal service error.

- *
RobotApplicationCrash

Robot application exited abnormally.

- *
SimulationApplicationCrash

Simulation application exited - * abnormally.

BadPermissionsRobotApplication

Robot - * application bundle could not be downloaded.

- *
BadPermissionsSimulationApplication

Simulation application - * bundle could not be downloaded.

BadPermissionsS3Output
- *

Unable to publish outputs to customer-provided S3 bucket.

- *
BadPermissionsCloudwatchLogs

Unable to publish logs to - * customer-provided CloudWatch Logs resource.

- *
SubnetIpLimitExceeded

Subnet IP limit exceeded.

- *
ENILimitExceeded

ENI limit exceeded.

- *
BadPermissionsUserCredentials

Unable to use the Role - * provided.

InvalidBundleRobotApplication

Robot bundle - * cannot be extracted (invalid format, bundling error, or other issue).

- *
InvalidBundleSimulationApplication

Simulation bundle cannot be - * extracted (invalid format, bundling error, or other issue).

- *
RobotApplicationVersionMismatchedEtag

Etag for RobotApplication - * does not match value during version creation.

- *
SimulationApplicationVersionMismatchedEtag

Etag for - * SimulationApplication does not match value during version creation.

- *
- */ - inline SimulationJobErrorCode GetFailureCode() const { return m_failureCode; } - inline void SetFailureCode(SimulationJobErrorCode value) { - m_failureCodeHasBeenSet = true; - m_failureCode = value; - } - inline CreateSimulationJobResult& WithFailureCode(SimulationJobErrorCode value) { - SetFailureCode(value); - return *this; - } - ///@} - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - CreateSimulationJobResult& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Simulation job output files location.

- */ - inline const OutputLocation& GetOutputLocation() const { return m_outputLocation; } - template - void SetOutputLocation(OutputLocationT&& value) { - m_outputLocationHasBeenSet = true; - m_outputLocation = std::forward(value); - } - template - CreateSimulationJobResult& WithOutputLocation(OutputLocationT&& value) { - SetOutputLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The logging configuration.

- */ - inline const LoggingConfig& GetLoggingConfig() const { return m_loggingConfig; } - template - void SetLoggingConfig(LoggingConfigT&& value) { - m_loggingConfigHasBeenSet = true; - m_loggingConfig = std::forward(value); - } - template - CreateSimulationJobResult& WithLoggingConfig(LoggingConfigT&& value) { - SetLoggingConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum simulation job duration in seconds.

- */ - inline long long GetMaxJobDurationInSeconds() const { return m_maxJobDurationInSeconds; } - inline void SetMaxJobDurationInSeconds(long long value) { - m_maxJobDurationInSecondsHasBeenSet = true; - m_maxJobDurationInSeconds = value; - } - inline CreateSimulationJobResult& WithMaxJobDurationInSeconds(long long value) { - SetMaxJobDurationInSeconds(value); - return *this; - } - ///@} - - ///@{ - /** - *

The simulation job execution duration in milliseconds.

- */ - inline long long GetSimulationTimeMillis() const { return m_simulationTimeMillis; } - inline void SetSimulationTimeMillis(long long value) { - m_simulationTimeMillisHasBeenSet = true; - m_simulationTimeMillis = value; - } - inline CreateSimulationJobResult& WithSimulationTimeMillis(long long value) { - SetSimulationTimeMillis(value); - return *this; - } - ///@} - - ///@{ - /** - *

The IAM role that allows the simulation job to call the AWS APIs that are - * specified in its associated policies on your behalf.

- */ - inline const Aws::String& GetIamRole() const { return m_iamRole; } - template - void SetIamRole(IamRoleT&& value) { - m_iamRoleHasBeenSet = true; - m_iamRole = std::forward(value); - } - template - CreateSimulationJobResult& WithIamRole(IamRoleT&& value) { - SetIamRole(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The robot application used by the simulation job.

- */ - inline const Aws::Vector& GetRobotApplications() const { return m_robotApplications; } - template > - void SetRobotApplications(RobotApplicationsT&& value) { - m_robotApplicationsHasBeenSet = true; - m_robotApplications = std::forward(value); - } - template > - CreateSimulationJobResult& WithRobotApplications(RobotApplicationsT&& value) { - SetRobotApplications(std::forward(value)); - return *this; - } - template - CreateSimulationJobResult& AddRobotApplications(RobotApplicationsT&& value) { - m_robotApplicationsHasBeenSet = true; - m_robotApplications.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The simulation application used by the simulation job.

- */ - inline const Aws::Vector& GetSimulationApplications() const { return m_simulationApplications; } - template > - void SetSimulationApplications(SimulationApplicationsT&& value) { - m_simulationApplicationsHasBeenSet = true; - m_simulationApplications = std::forward(value); - } - template > - CreateSimulationJobResult& WithSimulationApplications(SimulationApplicationsT&& value) { - SetSimulationApplications(std::forward(value)); - return *this; - } - template - CreateSimulationJobResult& AddSimulationApplications(SimulationApplicationsT&& value) { - m_simulationApplicationsHasBeenSet = true; - m_simulationApplications.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The data sources for the simulation job.

- */ - inline const Aws::Vector& GetDataSources() const { return m_dataSources; } - template > - void SetDataSources(DataSourcesT&& value) { - m_dataSourcesHasBeenSet = true; - m_dataSources = std::forward(value); - } - template > - CreateSimulationJobResult& WithDataSources(DataSourcesT&& value) { - SetDataSources(std::forward(value)); - return *this; - } - template - CreateSimulationJobResult& AddDataSources(DataSourcesT&& value) { - m_dataSourcesHasBeenSet = true; - m_dataSources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The list of all tags added to the simulation job.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateSimulationJobResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateSimulationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about the vpc configuration.

- */ - inline const VPCConfigResponse& GetVpcConfig() const { return m_vpcConfig; } - template - void SetVpcConfig(VpcConfigT&& value) { - m_vpcConfigHasBeenSet = true; - m_vpcConfig = std::forward(value); - } - template - CreateSimulationJobResult& WithVpcConfig(VpcConfigT&& value) { - SetVpcConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Compute information for the simulation job.

- */ - inline const ComputeResponse& GetCompute() const { return m_compute; } - template - void SetCompute(ComputeT&& value) { - m_computeHasBeenSet = true; - m_compute = std::forward(value); - } - template - CreateSimulationJobResult& WithCompute(ComputeT&& value) { - SetCompute(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateSimulationJobResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - SimulationJobStatus m_status{SimulationJobStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Utils::DateTime m_lastStartedAt{}; - bool m_lastStartedAtHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - FailureBehavior m_failureBehavior{FailureBehavior::NOT_SET}; - bool m_failureBehaviorHasBeenSet = false; - - SimulationJobErrorCode m_failureCode{SimulationJobErrorCode::NOT_SET}; - bool m_failureCodeHasBeenSet = false; - - Aws::String m_clientRequestToken; - bool m_clientRequestTokenHasBeenSet = false; - - OutputLocation m_outputLocation; - bool m_outputLocationHasBeenSet = false; - - LoggingConfig m_loggingConfig; - bool m_loggingConfigHasBeenSet = false; - - long long m_maxJobDurationInSeconds{0}; - bool m_maxJobDurationInSecondsHasBeenSet = false; - - long long m_simulationTimeMillis{0}; - bool m_simulationTimeMillisHasBeenSet = false; - - Aws::String m_iamRole; - bool m_iamRoleHasBeenSet = false; - - Aws::Vector m_robotApplications; - bool m_robotApplicationsHasBeenSet = false; - - Aws::Vector m_simulationApplications; - bool m_simulationApplicationsHasBeenSet = false; - - Aws::Vector m_dataSources; - bool m_dataSourcesHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - VPCConfigResponse m_vpcConfig; - bool m_vpcConfigHasBeenSet = false; - - ComputeResponse m_compute; - bool m_computeHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldExportJobRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldExportJobRequest.h deleted file mode 100644 index 5620a4bc43a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldExportJobRequest.h +++ /dev/null @@ -1,157 +0,0 @@ -/** - * 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 - -namespace Aws { -namespace RoboMaker { -namespace Model { - -/** - */ -class CreateWorldExportJobRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API CreateWorldExportJobRequest() = default; - - // 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 "CreateWorldExportJob"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - CreateWorldExportJobRequest& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of Amazon Resource Names (arns) that correspond to worlds to - * export.

- */ - inline const Aws::Vector& GetWorlds() const { return m_worlds; } - inline bool WorldsHasBeenSet() const { return m_worldsHasBeenSet; } - template > - void SetWorlds(WorldsT&& value) { - m_worldsHasBeenSet = true; - m_worlds = std::forward(value); - } - template > - CreateWorldExportJobRequest& WithWorlds(WorldsT&& value) { - SetWorlds(std::forward(value)); - return *this; - } - template - CreateWorldExportJobRequest& AddWorlds(WorldsT&& value) { - m_worldsHasBeenSet = true; - m_worlds.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const OutputLocation& GetOutputLocation() const { return m_outputLocation; } - inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; } - template - void SetOutputLocation(OutputLocationT&& value) { - m_outputLocationHasBeenSet = true; - m_outputLocation = std::forward(value); - } - template - CreateWorldExportJobRequest& WithOutputLocation(OutputLocationT&& value) { - SetOutputLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The IAM role that the world export process uses to access the Amazon S3 - * bucket and put the export.

- */ - inline const Aws::String& GetIamRole() const { return m_iamRole; } - inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; } - template - void SetIamRole(IamRoleT&& value) { - m_iamRoleHasBeenSet = true; - m_iamRole = std::forward(value); - } - template - CreateWorldExportJobRequest& WithIamRole(IamRoleT&& value) { - SetIamRole(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the world - * export job.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateWorldExportJobRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateWorldExportJobRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientRequestTokenHasBeenSet = true; - - Aws::Vector m_worlds; - bool m_worldsHasBeenSet = false; - - OutputLocation m_outputLocation; - bool m_outputLocationHasBeenSet = false; - - Aws::String m_iamRole; - bool m_iamRoleHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldExportJobResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldExportJobResult.h deleted file mode 100644 index 9d92d98cdf5..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldExportJobResult.h +++ /dev/null @@ -1,238 +0,0 @@ -/** - * 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 - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { -class CreateWorldExportJobResult { - public: - AWS_ROBOMAKER_API CreateWorldExportJobResult() = default; - AWS_ROBOMAKER_API CreateWorldExportJobResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API CreateWorldExportJobResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the world export job.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - CreateWorldExportJobResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the world export job.

Pending

The - * world export job request is pending.

Running

The - * world export job is running.

Completed

The world - * export job completed.

Failed

The world export job - * failed. See failureCode for more information.

- *
Canceled

The world export job was cancelled.

- *
Canceling

The world export job is being cancelled.

- *
- */ - inline WorldExportJobStatus GetStatus() const { return m_status; } - inline void SetStatus(WorldExportJobStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline CreateWorldExportJobResult& WithStatus(WorldExportJobStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the world export job was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - CreateWorldExportJobResult& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The failure code of the world export job if it failed:

- *
InternalServiceError

Internal service error.

- *
LimitExceeded

The requested resource exceeds the maximum number - * allowed, or the number of concurrent stream requests exceeds the maximum number - * allowed.

ResourceNotFound

The specified resource - * could not be found.

RequestThrottled

The request was - * throttled.

InvalidInput

An input parameter in the - * request is not valid.

AllWorldGenerationFailed

All of - * the worlds in the world generation job failed. This can happen if your - * worldCount is greater than 50 or less than 1.

- *

For more information about troubleshooting WorldForge, see Troubleshooting - * Simulation WorldForge.

- */ - inline WorldExportJobErrorCode GetFailureCode() const { return m_failureCode; } - inline void SetFailureCode(WorldExportJobErrorCode value) { - m_failureCodeHasBeenSet = true; - m_failureCode = value; - } - inline CreateWorldExportJobResult& WithFailureCode(WorldExportJobErrorCode value) { - SetFailureCode(value); - return *this; - } - ///@} - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - CreateWorldExportJobResult& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const OutputLocation& GetOutputLocation() const { return m_outputLocation; } - template - void SetOutputLocation(OutputLocationT&& value) { - m_outputLocationHasBeenSet = true; - m_outputLocation = std::forward(value); - } - template - CreateWorldExportJobResult& WithOutputLocation(OutputLocationT&& value) { - SetOutputLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The IAM role that the world export process uses to access the Amazon S3 - * bucket and put the export.

- */ - inline const Aws::String& GetIamRole() const { return m_iamRole; } - template - void SetIamRole(IamRoleT&& value) { - m_iamRoleHasBeenSet = true; - m_iamRole = std::forward(value); - } - template - CreateWorldExportJobResult& WithIamRole(IamRoleT&& value) { - SetIamRole(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the world - * export job.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateWorldExportJobResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateWorldExportJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateWorldExportJobResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - WorldExportJobStatus m_status{WorldExportJobStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - WorldExportJobErrorCode m_failureCode{WorldExportJobErrorCode::NOT_SET}; - bool m_failureCodeHasBeenSet = false; - - Aws::String m_clientRequestToken; - bool m_clientRequestTokenHasBeenSet = false; - - OutputLocation m_outputLocation; - bool m_outputLocationHasBeenSet = false; - - Aws::String m_iamRole; - bool m_iamRoleHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldGenerationJobRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldGenerationJobRequest.h deleted file mode 100644 index 3644b156873..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldGenerationJobRequest.h +++ /dev/null @@ -1,158 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class CreateWorldGenerationJobRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API CreateWorldGenerationJobRequest() = default; - - // 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 "CreateWorldGenerationJob"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - CreateWorldGenerationJobRequest& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world template describing the worlds - * you want to create.

- */ - inline const Aws::String& GetTemplate() const { return m_template; } - inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } - template - void SetTemplate(TemplateT&& value) { - m_templateHasBeenSet = true; - m_template = std::forward(value); - } - template - CreateWorldGenerationJobRequest& WithTemplate(TemplateT&& value) { - SetTemplate(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about the world count.

- */ - inline const WorldCount& GetWorldCount() const { return m_worldCount; } - inline bool WorldCountHasBeenSet() const { return m_worldCountHasBeenSet; } - template - void SetWorldCount(WorldCountT&& value) { - m_worldCountHasBeenSet = true; - m_worldCount = std::forward(value); - } - template - CreateWorldGenerationJobRequest& WithWorldCount(WorldCountT&& value) { - SetWorldCount(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the world - * generator job.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateWorldGenerationJobRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateWorldGenerationJobRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the - * generated worlds.

- */ - inline const Aws::Map& GetWorldTags() const { return m_worldTags; } - inline bool WorldTagsHasBeenSet() const { return m_worldTagsHasBeenSet; } - template > - void SetWorldTags(WorldTagsT&& value) { - m_worldTagsHasBeenSet = true; - m_worldTags = std::forward(value); - } - template > - CreateWorldGenerationJobRequest& WithWorldTags(WorldTagsT&& value) { - SetWorldTags(std::forward(value)); - return *this; - } - template - CreateWorldGenerationJobRequest& AddWorldTags(WorldTagsKeyT&& key, WorldTagsValueT&& value) { - m_worldTagsHasBeenSet = true; - m_worldTags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientRequestTokenHasBeenSet = true; - - Aws::String m_template; - bool m_templateHasBeenSet = false; - - WorldCount m_worldCount; - bool m_worldCountHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::Map m_worldTags; - bool m_worldTagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldGenerationJobResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldGenerationJobResult.h deleted file mode 100644 index 91ba8c19e58..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldGenerationJobResult.h +++ /dev/null @@ -1,262 +0,0 @@ -/** - * 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 - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { -class CreateWorldGenerationJobResult { - public: - AWS_ROBOMAKER_API CreateWorldGenerationJobResult() = default; - AWS_ROBOMAKER_API CreateWorldGenerationJobResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API CreateWorldGenerationJobResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the world generator job.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - CreateWorldGenerationJobResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the world generator job.

Pending

The - * world generator job request is pending.

Running

The - * world generator job is running.

Completed

The world - * generator job completed.

Failed

The world generator - * job failed. See failureCode for more information.

- *
PartialFailed

Some worlds did not generate.

- *
Canceled

The world generator job was cancelled.

- *
Canceling

The world generator job is being cancelled.

- *
- */ - inline WorldGenerationJobStatus GetStatus() const { return m_status; } - inline void SetStatus(WorldGenerationJobStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline CreateWorldGenerationJobResult& WithStatus(WorldGenerationJobStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the world generator job was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - CreateWorldGenerationJobResult& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The failure code of the world generator job if it failed:

- *
InternalServiceError

Internal service error.

- *
LimitExceeded

The requested resource exceeds the maximum number - * allowed, or the number of concurrent stream requests exceeds the maximum number - * allowed.

ResourceNotFound

The specified resource - * could not be found.

RequestThrottled

The request was - * throttled.

InvalidInput

An input parameter in the - * request is not valid.

- */ - inline WorldGenerationJobErrorCode GetFailureCode() const { return m_failureCode; } - inline void SetFailureCode(WorldGenerationJobErrorCode value) { - m_failureCodeHasBeenSet = true; - m_failureCode = value; - } - inline CreateWorldGenerationJobResult& WithFailureCode(WorldGenerationJobErrorCode value) { - SetFailureCode(value); - return *this; - } - ///@} - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - CreateWorldGenerationJobResult& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world template.

- */ - inline const Aws::String& GetTemplate() const { return m_template; } - template - void SetTemplate(TemplateT&& value) { - m_templateHasBeenSet = true; - m_template = std::forward(value); - } - template - CreateWorldGenerationJobResult& WithTemplate(TemplateT&& value) { - SetTemplate(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about the world count.

- */ - inline const WorldCount& GetWorldCount() const { return m_worldCount; } - template - void SetWorldCount(WorldCountT&& value) { - m_worldCountHasBeenSet = true; - m_worldCount = std::forward(value); - } - template - CreateWorldGenerationJobResult& WithWorldCount(WorldCountT&& value) { - SetWorldCount(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the world - * generator job.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateWorldGenerationJobResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateWorldGenerationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the - * generated worlds.

- */ - inline const Aws::Map& GetWorldTags() const { return m_worldTags; } - template > - void SetWorldTags(WorldTagsT&& value) { - m_worldTagsHasBeenSet = true; - m_worldTags = std::forward(value); - } - template > - CreateWorldGenerationJobResult& WithWorldTags(WorldTagsT&& value) { - SetWorldTags(std::forward(value)); - return *this; - } - template - CreateWorldGenerationJobResult& AddWorldTags(WorldTagsKeyT&& key, WorldTagsValueT&& value) { - m_worldTagsHasBeenSet = true; - m_worldTags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateWorldGenerationJobResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - WorldGenerationJobStatus m_status{WorldGenerationJobStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - WorldGenerationJobErrorCode m_failureCode{WorldGenerationJobErrorCode::NOT_SET}; - bool m_failureCodeHasBeenSet = false; - - Aws::String m_clientRequestToken; - bool m_clientRequestTokenHasBeenSet = false; - - Aws::String m_template; - bool m_templateHasBeenSet = false; - - WorldCount m_worldCount; - bool m_worldCountHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::Map m_worldTags; - bool m_worldTagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldTemplateRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldTemplateRequest.h deleted file mode 100644 index 849a7479560..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldTemplateRequest.h +++ /dev/null @@ -1,149 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class CreateWorldTemplateRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API CreateWorldTemplateRequest() = default; - - // 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 "CreateWorldTemplate"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - CreateWorldTemplateRequest& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the world template.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - CreateWorldTemplateRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The world template body.

- */ - inline const Aws::String& GetTemplateBody() const { return m_templateBody; } - inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; } - template - void SetTemplateBody(TemplateBodyT&& value) { - m_templateBodyHasBeenSet = true; - m_templateBody = std::forward(value); - } - template - CreateWorldTemplateRequest& WithTemplateBody(TemplateBodyT&& value) { - SetTemplateBody(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The location of the world template.

- */ - inline const TemplateLocation& GetTemplateLocation() const { return m_templateLocation; } - inline bool TemplateLocationHasBeenSet() const { return m_templateLocationHasBeenSet; } - template - void SetTemplateLocation(TemplateLocationT&& value) { - m_templateLocationHasBeenSet = true; - m_templateLocation = std::forward(value); - } - template - CreateWorldTemplateRequest& WithTemplateLocation(TemplateLocationT&& value) { - SetTemplateLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the world - * template.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateWorldTemplateRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateWorldTemplateRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_clientRequestToken; - bool m_clientRequestTokenHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_templateBody; - bool m_templateBodyHasBeenSet = false; - - TemplateLocation m_templateLocation; - bool m_templateLocationHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldTemplateResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldTemplateResult.h deleted file mode 100644 index 80cd11748d3..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/CreateWorldTemplateResult.h +++ /dev/null @@ -1,161 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class CreateWorldTemplateResult { - public: - AWS_ROBOMAKER_API CreateWorldTemplateResult() = default; - AWS_ROBOMAKER_API CreateWorldTemplateResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API CreateWorldTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the world template.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - CreateWorldTemplateResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - CreateWorldTemplateResult& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the world template was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - CreateWorldTemplateResult& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the world template.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - CreateWorldTemplateResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the world - * template.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - CreateWorldTemplateResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - CreateWorldTemplateResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - CreateWorldTemplateResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_clientRequestToken; - bool m_clientRequestTokenHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DataSource.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DataSource.h deleted file mode 100644 index 52a49d408d9..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DataSource.h +++ /dev/null @@ -1,160 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a data source.

See Also:

AWS - * API Reference

- */ -class DataSource { - public: - AWS_ROBOMAKER_API DataSource() = default; - AWS_ROBOMAKER_API DataSource(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API DataSource& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the data source.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - DataSource& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The S3 bucket where the data files are located.

- */ - inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; } - inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; } - template - void SetS3Bucket(S3BucketT&& value) { - m_s3BucketHasBeenSet = true; - m_s3Bucket = std::forward(value); - } - template - DataSource& WithS3Bucket(S3BucketT&& value) { - SetS3Bucket(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The list of S3 keys identifying the data source files.

- */ - inline const Aws::Vector& GetS3Keys() const { return m_s3Keys; } - inline bool S3KeysHasBeenSet() const { return m_s3KeysHasBeenSet; } - template > - void SetS3Keys(S3KeysT&& value) { - m_s3KeysHasBeenSet = true; - m_s3Keys = std::forward(value); - } - template > - DataSource& WithS3Keys(S3KeysT&& value) { - SetS3Keys(std::forward(value)); - return *this; - } - template - DataSource& AddS3Keys(S3KeysT&& value) { - m_s3KeysHasBeenSet = true; - m_s3Keys.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The data type for the data source that you're using for your container image - * or simulation job. You can use this field to specify whether your data source is - * an Archive, an Amazon S3 prefix, or a file.

If you don't specify a field, - * the default value is File.

- */ - inline DataSourceType GetType() const { return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - inline void SetType(DataSourceType value) { - m_typeHasBeenSet = true; - m_type = value; - } - inline DataSource& WithType(DataSourceType value) { - SetType(value); - return *this; - } - ///@} - - ///@{ - /** - *

The location where your files are mounted in the container image.

If - * you've specified the type of the data source as an - * Archive, you must provide an Amazon S3 object key to your archive. - * The object key must point to either a .zip or .tar.gz - * file.

If you've specified the type of the data source as a - * Prefix, you provide the Amazon S3 prefix that points to the files - * that you are using for your data source.

If you've specified the - * type of the data source as a File, you provide the - * Amazon S3 path to the file that you're using as your data source.

- */ - inline const Aws::String& GetDestination() const { return m_destination; } - inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } - template - void SetDestination(DestinationT&& value) { - m_destinationHasBeenSet = true; - m_destination = std::forward(value); - } - template - DataSource& WithDestination(DestinationT&& value) { - SetDestination(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_s3Bucket; - bool m_s3BucketHasBeenSet = false; - - Aws::Vector m_s3Keys; - bool m_s3KeysHasBeenSet = false; - - DataSourceType m_type{DataSourceType::NOT_SET}; - bool m_typeHasBeenSet = false; - - Aws::String m_destination; - bool m_destinationHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DataSourceConfig.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DataSourceConfig.h deleted file mode 100644 index 950d5b3dc21..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DataSourceConfig.h +++ /dev/null @@ -1,159 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a data source.

See Also:

AWS - * API Reference

- */ -class DataSourceConfig { - public: - AWS_ROBOMAKER_API DataSourceConfig() = default; - AWS_ROBOMAKER_API DataSourceConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API DataSourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the data source.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - DataSourceConfig& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The S3 bucket where the data files are located.

- */ - inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; } - inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; } - template - void SetS3Bucket(S3BucketT&& value) { - m_s3BucketHasBeenSet = true; - m_s3Bucket = std::forward(value); - } - template - DataSourceConfig& WithS3Bucket(S3BucketT&& value) { - SetS3Bucket(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The list of S3 keys identifying the data source files.

- */ - inline const Aws::Vector& GetS3Keys() const { return m_s3Keys; } - inline bool S3KeysHasBeenSet() const { return m_s3KeysHasBeenSet; } - template > - void SetS3Keys(S3KeysT&& value) { - m_s3KeysHasBeenSet = true; - m_s3Keys = std::forward(value); - } - template > - DataSourceConfig& WithS3Keys(S3KeysT&& value) { - SetS3Keys(std::forward(value)); - return *this; - } - template - DataSourceConfig& AddS3Keys(S3KeysT&& value) { - m_s3KeysHasBeenSet = true; - m_s3Keys.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The data type for the data source that you're using for your container image - * or simulation job. You can use this field to specify whether your data source is - * an Archive, an Amazon S3 prefix, or a file.

If you don't specify a field, - * the default value is File.

- */ - inline DataSourceType GetType() const { return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - inline void SetType(DataSourceType value) { - m_typeHasBeenSet = true; - m_type = value; - } - inline DataSourceConfig& WithType(DataSourceType value) { - SetType(value); - return *this; - } - ///@} - - ///@{ - /** - *

The location where your files are mounted in the container image.

If - * you've specified the type of the data source as an - * Archive, you must provide an Amazon S3 object key to your archive. - * The object key must point to either a .zip or .tar.gz - * file.

If you've specified the type of the data source as a - * Prefix, you provide the Amazon S3 prefix that points to the files - * that you are using for your data source.

If you've specified the - * type of the data source as a File, you provide the - * Amazon S3 path to the file that you're using as your data source.

- */ - inline const Aws::String& GetDestination() const { return m_destination; } - inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } - template - void SetDestination(DestinationT&& value) { - m_destinationHasBeenSet = true; - m_destination = std::forward(value); - } - template - DataSourceConfig& WithDestination(DestinationT&& value) { - SetDestination(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_s3Bucket; - bool m_s3BucketHasBeenSet = false; - - Aws::Vector m_s3Keys; - bool m_s3KeysHasBeenSet = false; - - DataSourceType m_type{DataSourceType::NOT_SET}; - bool m_typeHasBeenSet = false; - - Aws::String m_destination; - bool m_destinationHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DataSourceType.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DataSourceType.h deleted file mode 100644 index dbe6bc5046c..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DataSourceType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class DataSourceType { NOT_SET, Prefix, Archive, File }; - -namespace DataSourceTypeMapper { -AWS_ROBOMAKER_API DataSourceType GetDataSourceTypeForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForDataSourceType(DataSourceType value); -} // namespace DataSourceTypeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteRobotApplicationRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteRobotApplicationRequest.h deleted file mode 100644 index 674676e6dcf..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteRobotApplicationRequest.h +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class DeleteRobotApplicationRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API DeleteRobotApplicationRequest() = default; - - // 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 "DeleteRobotApplication"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the the robot application.

- */ - inline const Aws::String& GetApplication() const { return m_application; } - inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; } - template - void SetApplication(ApplicationT&& value) { - m_applicationHasBeenSet = true; - m_application = std::forward(value); - } - template - DeleteRobotApplicationRequest& WithApplication(ApplicationT&& value) { - SetApplication(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the robot application to delete.

- */ - inline const Aws::String& GetApplicationVersion() const { return m_applicationVersion; } - inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; } - template - void SetApplicationVersion(ApplicationVersionT&& value) { - m_applicationVersionHasBeenSet = true; - m_applicationVersion = std::forward(value); - } - template - DeleteRobotApplicationRequest& WithApplicationVersion(ApplicationVersionT&& value) { - SetApplicationVersion(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_application; - bool m_applicationHasBeenSet = false; - - Aws::String m_applicationVersion; - bool m_applicationVersionHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteRobotApplicationResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteRobotApplicationResult.h deleted file mode 100644 index dc1fe95ed02..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteRobotApplicationResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class DeleteRobotApplicationResult { - public: - AWS_ROBOMAKER_API DeleteRobotApplicationResult() = default; - AWS_ROBOMAKER_API DeleteRobotApplicationResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API DeleteRobotApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DeleteRobotApplicationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteSimulationApplicationRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteSimulationApplicationRequest.h deleted file mode 100644 index 45c33325591..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteSimulationApplicationRequest.h +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class DeleteSimulationApplicationRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API DeleteSimulationApplicationRequest() = default; - - // 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 "DeleteSimulationApplication"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The application information for the simulation application to delete.

- */ - inline const Aws::String& GetApplication() const { return m_application; } - inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; } - template - void SetApplication(ApplicationT&& value) { - m_applicationHasBeenSet = true; - m_application = std::forward(value); - } - template - DeleteSimulationApplicationRequest& WithApplication(ApplicationT&& value) { - SetApplication(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the simulation application to delete.

- */ - inline const Aws::String& GetApplicationVersion() const { return m_applicationVersion; } - inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; } - template - void SetApplicationVersion(ApplicationVersionT&& value) { - m_applicationVersionHasBeenSet = true; - m_applicationVersion = std::forward(value); - } - template - DeleteSimulationApplicationRequest& WithApplicationVersion(ApplicationVersionT&& value) { - SetApplicationVersion(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_application; - bool m_applicationHasBeenSet = false; - - Aws::String m_applicationVersion; - bool m_applicationVersionHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteSimulationApplicationResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteSimulationApplicationResult.h deleted file mode 100644 index 78b0c2c2ad6..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteSimulationApplicationResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class DeleteSimulationApplicationResult { - public: - AWS_ROBOMAKER_API DeleteSimulationApplicationResult() = default; - AWS_ROBOMAKER_API DeleteSimulationApplicationResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API DeleteSimulationApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DeleteSimulationApplicationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteWorldTemplateRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteWorldTemplateRequest.h deleted file mode 100644 index 768704fe700..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteWorldTemplateRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class DeleteWorldTemplateRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API DeleteWorldTemplateRequest() = default; - - // 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 "DeleteWorldTemplate"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world template you want to delete.

- */ - inline const Aws::String& GetTemplate() const { return m_template; } - inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } - template - void SetTemplate(TemplateT&& value) { - m_templateHasBeenSet = true; - m_template = std::forward(value); - } - template - DeleteWorldTemplateRequest& WithTemplate(TemplateT&& value) { - SetTemplate(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_template; - bool m_templateHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteWorldTemplateResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteWorldTemplateResult.h deleted file mode 100644 index 029bc141e16..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeleteWorldTemplateResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class DeleteWorldTemplateResult { - public: - AWS_ROBOMAKER_API DeleteWorldTemplateResult() = default; - AWS_ROBOMAKER_API DeleteWorldTemplateResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API DeleteWorldTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DeleteWorldTemplateResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentApplicationConfig.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentApplicationConfig.h deleted file mode 100644 index d44801049db..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentApplicationConfig.h +++ /dev/null @@ -1,102 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a deployment application configuration.

See - * Also:

AWS - * API Reference

- */ -class DeploymentApplicationConfig { - public: - AWS_ROBOMAKER_API DeploymentApplicationConfig() = default; - AWS_ROBOMAKER_API DeploymentApplicationConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API DeploymentApplicationConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the robot application.

- */ - inline const Aws::String& GetApplication() const { return m_application; } - inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; } - template - void SetApplication(ApplicationT&& value) { - m_applicationHasBeenSet = true; - m_application = std::forward(value); - } - template - DeploymentApplicationConfig& WithApplication(ApplicationT&& value) { - SetApplication(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the application.

- */ - inline const Aws::String& GetApplicationVersion() const { return m_applicationVersion; } - inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; } - template - void SetApplicationVersion(ApplicationVersionT&& value) { - m_applicationVersionHasBeenSet = true; - m_applicationVersion = std::forward(value); - } - template - DeploymentApplicationConfig& WithApplicationVersion(ApplicationVersionT&& value) { - SetApplicationVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The launch configuration.

- */ - inline const DeploymentLaunchConfig& GetLaunchConfig() const { return m_launchConfig; } - inline bool LaunchConfigHasBeenSet() const { return m_launchConfigHasBeenSet; } - template - void SetLaunchConfig(LaunchConfigT&& value) { - m_launchConfigHasBeenSet = true; - m_launchConfig = std::forward(value); - } - template - DeploymentApplicationConfig& WithLaunchConfig(LaunchConfigT&& value) { - SetLaunchConfig(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_application; - bool m_applicationHasBeenSet = false; - - Aws::String m_applicationVersion; - bool m_applicationVersionHasBeenSet = false; - - DeploymentLaunchConfig m_launchConfig; - bool m_launchConfigHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentConfig.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentConfig.h deleted file mode 100644 index ab6f1c06da8..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentConfig.h +++ /dev/null @@ -1,117 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a deployment configuration.

See Also:

AWS - * API Reference

- */ -class DeploymentConfig { - public: - AWS_ROBOMAKER_API DeploymentConfig() = default; - AWS_ROBOMAKER_API DeploymentConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API DeploymentConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The percentage of robots receiving the deployment at the same time.

- */ - inline int GetConcurrentDeploymentPercentage() const { return m_concurrentDeploymentPercentage; } - inline bool ConcurrentDeploymentPercentageHasBeenSet() const { return m_concurrentDeploymentPercentageHasBeenSet; } - inline void SetConcurrentDeploymentPercentage(int value) { - m_concurrentDeploymentPercentageHasBeenSet = true; - m_concurrentDeploymentPercentage = value; - } - inline DeploymentConfig& WithConcurrentDeploymentPercentage(int value) { - SetConcurrentDeploymentPercentage(value); - return *this; - } - ///@} - - ///@{ - /** - *

The percentage of deployments that need to fail before stopping - * deployment.

- */ - inline int GetFailureThresholdPercentage() const { return m_failureThresholdPercentage; } - inline bool FailureThresholdPercentageHasBeenSet() const { return m_failureThresholdPercentageHasBeenSet; } - inline void SetFailureThresholdPercentage(int value) { - m_failureThresholdPercentageHasBeenSet = true; - m_failureThresholdPercentage = value; - } - inline DeploymentConfig& WithFailureThresholdPercentage(int value) { - SetFailureThresholdPercentage(value); - return *this; - } - ///@} - - ///@{ - /** - *

The amount of time, in seconds, to wait for deployment to a single robot to - * complete. Choose a time between 1 minute and 7 days. The default is 5 hours.

- */ - inline long long GetRobotDeploymentTimeoutInSeconds() const { return m_robotDeploymentTimeoutInSeconds; } - inline bool RobotDeploymentTimeoutInSecondsHasBeenSet() const { return m_robotDeploymentTimeoutInSecondsHasBeenSet; } - inline void SetRobotDeploymentTimeoutInSeconds(long long value) { - m_robotDeploymentTimeoutInSecondsHasBeenSet = true; - m_robotDeploymentTimeoutInSeconds = value; - } - inline DeploymentConfig& WithRobotDeploymentTimeoutInSeconds(long long value) { - SetRobotDeploymentTimeoutInSeconds(value); - return *this; - } - ///@} - - ///@{ - /** - *

The download condition file.

- */ - inline const S3Object& GetDownloadConditionFile() const { return m_downloadConditionFile; } - inline bool DownloadConditionFileHasBeenSet() const { return m_downloadConditionFileHasBeenSet; } - template - void SetDownloadConditionFile(DownloadConditionFileT&& value) { - m_downloadConditionFileHasBeenSet = true; - m_downloadConditionFile = std::forward(value); - } - template - DeploymentConfig& WithDownloadConditionFile(DownloadConditionFileT&& value) { - SetDownloadConditionFile(std::forward(value)); - return *this; - } - ///@} - private: - int m_concurrentDeploymentPercentage{0}; - bool m_concurrentDeploymentPercentageHasBeenSet = false; - - int m_failureThresholdPercentage{0}; - bool m_failureThresholdPercentageHasBeenSet = false; - - long long m_robotDeploymentTimeoutInSeconds{0}; - bool m_robotDeploymentTimeoutInSecondsHasBeenSet = false; - - S3Object m_downloadConditionFile; - bool m_downloadConditionFileHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentJob.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentJob.h deleted file mode 100644 index 2240a4398f7..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentJob.h +++ /dev/null @@ -1,214 +0,0 @@ -/** - * 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 { -namespace Utils { -namespace Json { -class JsonValue; -class JsonView; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { - -/** - *

Information about a deployment job.

See Also:

AWS - * API Reference

- */ -class DeploymentJob { - public: - AWS_ROBOMAKER_API DeploymentJob() = default; - AWS_ROBOMAKER_API DeploymentJob(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API DeploymentJob& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the deployment job.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - DeploymentJob& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the fleet.

- */ - inline const Aws::String& GetFleet() const { return m_fleet; } - inline bool FleetHasBeenSet() const { return m_fleetHasBeenSet; } - template - void SetFleet(FleetT&& value) { - m_fleetHasBeenSet = true; - m_fleet = std::forward(value); - } - template - DeploymentJob& WithFleet(FleetT&& value) { - SetFleet(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the deployment job.

- */ - inline DeploymentStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(DeploymentStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline DeploymentJob& WithStatus(DeploymentStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The deployment application configuration.

- */ - inline const Aws::Vector& GetDeploymentApplicationConfigs() const { return m_deploymentApplicationConfigs; } - inline bool DeploymentApplicationConfigsHasBeenSet() const { return m_deploymentApplicationConfigsHasBeenSet; } - template > - void SetDeploymentApplicationConfigs(DeploymentApplicationConfigsT&& value) { - m_deploymentApplicationConfigsHasBeenSet = true; - m_deploymentApplicationConfigs = std::forward(value); - } - template > - DeploymentJob& WithDeploymentApplicationConfigs(DeploymentApplicationConfigsT&& value) { - SetDeploymentApplicationConfigs(std::forward(value)); - return *this; - } - template - DeploymentJob& AddDeploymentApplicationConfigs(DeploymentApplicationConfigsT&& value) { - m_deploymentApplicationConfigsHasBeenSet = true; - m_deploymentApplicationConfigs.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The deployment configuration.

- */ - inline const DeploymentConfig& GetDeploymentConfig() const { return m_deploymentConfig; } - inline bool DeploymentConfigHasBeenSet() const { return m_deploymentConfigHasBeenSet; } - template - void SetDeploymentConfig(DeploymentConfigT&& value) { - m_deploymentConfigHasBeenSet = true; - m_deploymentConfig = std::forward(value); - } - template - DeploymentJob& WithDeploymentConfig(DeploymentConfigT&& value) { - SetDeploymentConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A short description of the reason why the deployment job failed.

- */ - inline const Aws::String& GetFailureReason() const { return m_failureReason; } - inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } - template - void SetFailureReason(FailureReasonT&& value) { - m_failureReasonHasBeenSet = true; - m_failureReason = std::forward(value); - } - template - DeploymentJob& WithFailureReason(FailureReasonT&& value) { - SetFailureReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The deployment job failure code.

- */ - inline DeploymentJobErrorCode GetFailureCode() const { return m_failureCode; } - inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; } - inline void SetFailureCode(DeploymentJobErrorCode value) { - m_failureCodeHasBeenSet = true; - m_failureCode = value; - } - inline DeploymentJob& WithFailureCode(DeploymentJobErrorCode value) { - SetFailureCode(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the deployment job was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - DeploymentJob& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_fleet; - bool m_fleetHasBeenSet = false; - - DeploymentStatus m_status{DeploymentStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Vector m_deploymentApplicationConfigs; - bool m_deploymentApplicationConfigsHasBeenSet = false; - - DeploymentConfig m_deploymentConfig; - bool m_deploymentConfigHasBeenSet = false; - - Aws::String m_failureReason; - bool m_failureReasonHasBeenSet = false; - - DeploymentJobErrorCode m_failureCode{DeploymentJobErrorCode::NOT_SET}; - bool m_failureCodeHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentJobErrorCode.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentJobErrorCode.h deleted file mode 100644 index c94cf4a8047..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentJobErrorCode.h +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class DeploymentJobErrorCode { - NOT_SET, - ResourceNotFound, - EnvironmentSetupError, - EtagMismatch, - FailureThresholdBreached, - RobotDeploymentAborted, - RobotDeploymentNoResponse, - RobotAgentConnectionTimeout, - GreengrassDeploymentFailed, - InvalidGreengrassGroup, - MissingRobotArchitecture, - MissingRobotApplicationArchitecture, - MissingRobotDeploymentResource, - GreengrassGroupVersionDoesNotExist, - LambdaDeleted, - ExtractingBundleFailure, - PreLaunchFileFailure, - PostLaunchFileFailure, - BadPermissionError, - DownloadConditionFailed, - BadLambdaAssociated, - InternalServerError, - RobotApplicationDoesNotExist, - DeploymentFleetDoesNotExist, - FleetDeploymentTimeout -}; - -namespace DeploymentJobErrorCodeMapper { -AWS_ROBOMAKER_API DeploymentJobErrorCode GetDeploymentJobErrorCodeForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForDeploymentJobErrorCode(DeploymentJobErrorCode value); -} // namespace DeploymentJobErrorCodeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentLaunchConfig.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentLaunchConfig.h deleted file mode 100644 index c9cf69651b0..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentLaunchConfig.h +++ /dev/null @@ -1,153 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Configuration information for a deployment launch.

See Also:

- * AWS - * API Reference

- */ -class DeploymentLaunchConfig { - public: - AWS_ROBOMAKER_API DeploymentLaunchConfig() = default; - AWS_ROBOMAKER_API DeploymentLaunchConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API DeploymentLaunchConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The package name.

- */ - inline const Aws::String& GetPackageName() const { return m_packageName; } - inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; } - template - void SetPackageName(PackageNameT&& value) { - m_packageNameHasBeenSet = true; - m_packageName = std::forward(value); - } - template - DeploymentLaunchConfig& WithPackageName(PackageNameT&& value) { - SetPackageName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The deployment pre-launch file. This file will be executed prior to the - * launch file.

- */ - inline const Aws::String& GetPreLaunchFile() const { return m_preLaunchFile; } - inline bool PreLaunchFileHasBeenSet() const { return m_preLaunchFileHasBeenSet; } - template - void SetPreLaunchFile(PreLaunchFileT&& value) { - m_preLaunchFileHasBeenSet = true; - m_preLaunchFile = std::forward(value); - } - template - DeploymentLaunchConfig& WithPreLaunchFile(PreLaunchFileT&& value) { - SetPreLaunchFile(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The launch file name.

- */ - inline const Aws::String& GetLaunchFile() const { return m_launchFile; } - inline bool LaunchFileHasBeenSet() const { return m_launchFileHasBeenSet; } - template - void SetLaunchFile(LaunchFileT&& value) { - m_launchFileHasBeenSet = true; - m_launchFile = std::forward(value); - } - template - DeploymentLaunchConfig& WithLaunchFile(LaunchFileT&& value) { - SetLaunchFile(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The deployment post-launch file. This file will be executed after the launch - * file.

- */ - inline const Aws::String& GetPostLaunchFile() const { return m_postLaunchFile; } - inline bool PostLaunchFileHasBeenSet() const { return m_postLaunchFileHasBeenSet; } - template - void SetPostLaunchFile(PostLaunchFileT&& value) { - m_postLaunchFileHasBeenSet = true; - m_postLaunchFile = std::forward(value); - } - template - DeploymentLaunchConfig& WithPostLaunchFile(PostLaunchFileT&& value) { - SetPostLaunchFile(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

An array of key/value pairs specifying environment variables for the robot - * application

- */ - inline const Aws::Map& GetEnvironmentVariables() const { return m_environmentVariables; } - inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; } - template > - void SetEnvironmentVariables(EnvironmentVariablesT&& value) { - m_environmentVariablesHasBeenSet = true; - m_environmentVariables = std::forward(value); - } - template > - DeploymentLaunchConfig& WithEnvironmentVariables(EnvironmentVariablesT&& value) { - SetEnvironmentVariables(std::forward(value)); - return *this; - } - template - DeploymentLaunchConfig& AddEnvironmentVariables(EnvironmentVariablesKeyT&& key, EnvironmentVariablesValueT&& value) { - m_environmentVariablesHasBeenSet = true; - m_environmentVariables.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_packageName; - bool m_packageNameHasBeenSet = false; - - Aws::String m_preLaunchFile; - bool m_preLaunchFileHasBeenSet = false; - - Aws::String m_launchFile; - bool m_launchFileHasBeenSet = false; - - Aws::String m_postLaunchFile; - bool m_postLaunchFileHasBeenSet = false; - - Aws::Map m_environmentVariables; - bool m_environmentVariablesHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentStatus.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentStatus.h deleted file mode 100644 index 8146e5ff75a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DeploymentStatus.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class DeploymentStatus { NOT_SET, Pending, Preparing, InProgress, Failed, Succeeded, Canceled }; - -namespace DeploymentStatusMapper { -AWS_ROBOMAKER_API DeploymentStatus GetDeploymentStatusForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForDeploymentStatus(DeploymentStatus value); -} // namespace DeploymentStatusMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeRobotApplicationRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeRobotApplicationRequest.h deleted file mode 100644 index 89d0aa307b9..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeRobotApplicationRequest.h +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class DescribeRobotApplicationRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API DescribeRobotApplicationRequest() = default; - - // 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 "DescribeRobotApplication"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the robot application.

- */ - inline const Aws::String& GetApplication() const { return m_application; } - inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; } - template - void SetApplication(ApplicationT&& value) { - m_applicationHasBeenSet = true; - m_application = std::forward(value); - } - template - DescribeRobotApplicationRequest& WithApplication(ApplicationT&& value) { - SetApplication(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the robot application to describe.

- */ - inline const Aws::String& GetApplicationVersion() const { return m_applicationVersion; } - inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; } - template - void SetApplicationVersion(ApplicationVersionT&& value) { - m_applicationVersionHasBeenSet = true; - m_applicationVersion = std::forward(value); - } - template - DescribeRobotApplicationRequest& WithApplicationVersion(ApplicationVersionT&& value) { - SetApplicationVersion(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_application; - bool m_applicationHasBeenSet = false; - - Aws::String m_applicationVersion; - bool m_applicationVersionHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeRobotApplicationResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeRobotApplicationResult.h deleted file mode 100644 index 827ab8f3034..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeRobotApplicationResult.h +++ /dev/null @@ -1,271 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class DescribeRobotApplicationResult { - public: - AWS_ROBOMAKER_API DescribeRobotApplicationResult() = default; - AWS_ROBOMAKER_API DescribeRobotApplicationResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API DescribeRobotApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the robot application.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - DescribeRobotApplicationResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the robot application.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - DescribeRobotApplicationResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the robot application.

- */ - inline const Aws::String& GetVersion() const { return m_version; } - template - void SetVersion(VersionT&& value) { - m_versionHasBeenSet = true; - m_version = std::forward(value); - } - template - DescribeRobotApplicationResult& WithVersion(VersionT&& value) { - SetVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The sources of the robot application.

- */ - inline const Aws::Vector& GetSources() const { return m_sources; } - template > - void SetSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources = std::forward(value); - } - template > - DescribeRobotApplicationResult& WithSources(SourcesT&& value) { - SetSources(std::forward(value)); - return *this; - } - template - DescribeRobotApplicationResult& AddSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The robot software suite used by the robot application.

- */ - inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; } - template - void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - m_robotSoftwareSuiteHasBeenSet = true; - m_robotSoftwareSuite = std::forward(value); - } - template - DescribeRobotApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - SetRobotSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The revision id of the robot application.

- */ - inline const Aws::String& GetRevisionId() const { return m_revisionId; } - template - void SetRevisionId(RevisionIdT&& value) { - m_revisionIdHasBeenSet = true; - m_revisionId = std::forward(value); - } - template - DescribeRobotApplicationResult& WithRevisionId(RevisionIdT&& value) { - SetRevisionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the robot application was - * last updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - DescribeRobotApplicationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The list of all tags added to the specified robot application.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - DescribeRobotApplicationResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - DescribeRobotApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The object that contains the Docker image URI used to create the robot - * application.

- */ - inline const Environment& GetEnvironment() const { return m_environment; } - template - void SetEnvironment(EnvironmentT&& value) { - m_environmentHasBeenSet = true; - m_environment = std::forward(value); - } - template - DescribeRobotApplicationResult& WithEnvironment(EnvironmentT&& value) { - SetEnvironment(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A SHA256 identifier for the Docker image that you use for your robot - * application.

- */ - inline const Aws::String& GetImageDigest() const { return m_imageDigest; } - template - void SetImageDigest(ImageDigestT&& value) { - m_imageDigestHasBeenSet = true; - m_imageDigest = std::forward(value); - } - template - DescribeRobotApplicationResult& WithImageDigest(ImageDigestT&& value) { - SetImageDigest(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeRobotApplicationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_version; - bool m_versionHasBeenSet = false; - - Aws::Vector m_sources; - bool m_sourcesHasBeenSet = false; - - RobotSoftwareSuite m_robotSoftwareSuite; - bool m_robotSoftwareSuiteHasBeenSet = false; - - Aws::String m_revisionId; - bool m_revisionIdHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Environment m_environment; - bool m_environmentHasBeenSet = false; - - Aws::String m_imageDigest; - bool m_imageDigestHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationApplicationRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationApplicationRequest.h deleted file mode 100644 index 7162fc3aade..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationApplicationRequest.h +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class DescribeSimulationApplicationRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API DescribeSimulationApplicationRequest() = default; - - // 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 "DescribeSimulationApplication"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The application information for the simulation application.

- */ - inline const Aws::String& GetApplication() const { return m_application; } - inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; } - template - void SetApplication(ApplicationT&& value) { - m_applicationHasBeenSet = true; - m_application = std::forward(value); - } - template - DescribeSimulationApplicationRequest& WithApplication(ApplicationT&& value) { - SetApplication(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the simulation application to describe.

- */ - inline const Aws::String& GetApplicationVersion() const { return m_applicationVersion; } - inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; } - template - void SetApplicationVersion(ApplicationVersionT&& value) { - m_applicationVersionHasBeenSet = true; - m_applicationVersion = std::forward(value); - } - template - DescribeSimulationApplicationRequest& WithApplicationVersion(ApplicationVersionT&& value) { - SetApplicationVersion(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_application; - bool m_applicationHasBeenSet = false; - - Aws::String m_applicationVersion; - bool m_applicationVersionHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationApplicationResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationApplicationResult.h deleted file mode 100644 index 740dd4d01c2..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationApplicationResult.h +++ /dev/null @@ -1,313 +0,0 @@ -/** - * 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 -#include - -#include - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { -class DescribeSimulationApplicationResult { - public: - AWS_ROBOMAKER_API DescribeSimulationApplicationResult() = default; - AWS_ROBOMAKER_API DescribeSimulationApplicationResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API DescribeSimulationApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the robot simulation application.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - DescribeSimulationApplicationResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the simulation application.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - DescribeSimulationApplicationResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the simulation application.

- */ - inline const Aws::String& GetVersion() const { return m_version; } - template - void SetVersion(VersionT&& value) { - m_versionHasBeenSet = true; - m_version = std::forward(value); - } - template - DescribeSimulationApplicationResult& WithVersion(VersionT&& value) { - SetVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The sources of the simulation application.

- */ - inline const Aws::Vector& GetSources() const { return m_sources; } - template > - void SetSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources = std::forward(value); - } - template > - DescribeSimulationApplicationResult& WithSources(SourcesT&& value) { - SetSources(std::forward(value)); - return *this; - } - template - DescribeSimulationApplicationResult& AddSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The simulation software suite used by the simulation application.

- */ - inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const { return m_simulationSoftwareSuite; } - template - void SetSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { - m_simulationSoftwareSuiteHasBeenSet = true; - m_simulationSoftwareSuite = std::forward(value); - } - template - DescribeSimulationApplicationResult& WithSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { - SetSimulationSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about the robot software suite.

- */ - inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; } - template - void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - m_robotSoftwareSuiteHasBeenSet = true; - m_robotSoftwareSuite = std::forward(value); - } - template - DescribeSimulationApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - SetRobotSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The rendering engine for the simulation application.

- */ - inline const RenderingEngine& GetRenderingEngine() const { return m_renderingEngine; } - template - void SetRenderingEngine(RenderingEngineT&& value) { - m_renderingEngineHasBeenSet = true; - m_renderingEngine = std::forward(value); - } - template - DescribeSimulationApplicationResult& WithRenderingEngine(RenderingEngineT&& value) { - SetRenderingEngine(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The revision id of the simulation application.

- */ - inline const Aws::String& GetRevisionId() const { return m_revisionId; } - template - void SetRevisionId(RevisionIdT&& value) { - m_revisionIdHasBeenSet = true; - m_revisionId = std::forward(value); - } - template - DescribeSimulationApplicationResult& WithRevisionId(RevisionIdT&& value) { - SetRevisionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation application - * was last updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - DescribeSimulationApplicationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The list of all tags added to the specified simulation application.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - DescribeSimulationApplicationResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - DescribeSimulationApplicationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The object that contains the Docker image URI used to create the simulation - * application.

- */ - inline const Environment& GetEnvironment() const { return m_environment; } - template - void SetEnvironment(EnvironmentT&& value) { - m_environmentHasBeenSet = true; - m_environment = std::forward(value); - } - template - DescribeSimulationApplicationResult& WithEnvironment(EnvironmentT&& value) { - SetEnvironment(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A SHA256 identifier for the Docker image that you use for your simulation - * application.

- */ - inline const Aws::String& GetImageDigest() const { return m_imageDigest; } - template - void SetImageDigest(ImageDigestT&& value) { - m_imageDigestHasBeenSet = true; - m_imageDigest = std::forward(value); - } - template - DescribeSimulationApplicationResult& WithImageDigest(ImageDigestT&& value) { - SetImageDigest(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeSimulationApplicationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_version; - bool m_versionHasBeenSet = false; - - Aws::Vector m_sources; - bool m_sourcesHasBeenSet = false; - - SimulationSoftwareSuite m_simulationSoftwareSuite; - bool m_simulationSoftwareSuiteHasBeenSet = false; - - RobotSoftwareSuite m_robotSoftwareSuite; - bool m_robotSoftwareSuiteHasBeenSet = false; - - RenderingEngine m_renderingEngine; - bool m_renderingEngineHasBeenSet = false; - - Aws::String m_revisionId; - bool m_revisionIdHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Environment m_environment; - bool m_environmentHasBeenSet = false; - - Aws::String m_imageDigest; - bool m_imageDigestHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobBatchRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobBatchRequest.h deleted file mode 100644 index ebe22281471..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobBatchRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class DescribeSimulationJobBatchRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API DescribeSimulationJobBatchRequest() = default; - - // 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 "DescribeSimulationJobBatch"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The id of the batch to describe.

- */ - inline const Aws::String& GetBatch() const { return m_batch; } - inline bool BatchHasBeenSet() const { return m_batchHasBeenSet; } - template - void SetBatch(BatchT&& value) { - m_batchHasBeenSet = true; - m_batch = std::forward(value); - } - template - DescribeSimulationJobBatchRequest& WithBatch(BatchT&& value) { - SetBatch(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_batch; - bool m_batchHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobBatchResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobBatchResult.h deleted file mode 100644 index 479c1bdcfba..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobBatchResult.h +++ /dev/null @@ -1,346 +0,0 @@ -/** - * 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 -#include -#include - -#include - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { -class DescribeSimulationJobBatchResult { - public: - AWS_ROBOMAKER_API DescribeSimulationJobBatchResult() = default; - AWS_ROBOMAKER_API DescribeSimulationJobBatchResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API DescribeSimulationJobBatchResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the batch.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - DescribeSimulationJobBatchResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the batch.

Pending

The simulation job - * batch request is pending.

InProgress

The simulation - * job batch is in progress.

Failed

The simulation job - * batch failed. One or more simulation job requests could not be completed due to - * an internal failure (like InternalServiceError). See - * failureCode and failureReason for more - * information.

Completed

The simulation batch job - * completed. A batch is complete when (1) there are no pending simulation job - * requests in the batch and none of the failed simulation job requests are due to - * InternalServiceError and (2) when all created simulation jobs have - * reached a terminal state (for example, Completed or - * Failed).

Canceled

The simulation batch - * job was cancelled.

Canceling

The simulation batch job - * is being cancelled.

Completing

The simulation batch - * job is completing.

TimingOut

The simulation job batch - * is timing out.

If a batch timing out, and there are pending requests that - * were failing due to an internal failure (like - * InternalServiceError), the batch status will be - * Failed. If there are no such failing request, the batch status will - * be TimedOut.

TimedOut

The simulation - * batch job timed out.

- */ - inline SimulationJobBatchStatus GetStatus() const { return m_status; } - inline void SetStatus(SimulationJobBatchStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline DescribeSimulationJobBatchResult& WithStatus(SimulationJobBatchStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation job batch was - * last updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - DescribeSimulationJobBatchResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation job batch was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - DescribeSimulationJobBatchResult& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - DescribeSimulationJobBatchResult& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The batch policy.

- */ - inline const BatchPolicy& GetBatchPolicy() const { return m_batchPolicy; } - template - void SetBatchPolicy(BatchPolicyT&& value) { - m_batchPolicyHasBeenSet = true; - m_batchPolicy = std::forward(value); - } - template - DescribeSimulationJobBatchResult& WithBatchPolicy(BatchPolicyT&& value) { - SetBatchPolicy(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The failure code of the simulation job batch.

- */ - inline SimulationJobBatchErrorCode GetFailureCode() const { return m_failureCode; } - inline void SetFailureCode(SimulationJobBatchErrorCode value) { - m_failureCodeHasBeenSet = true; - m_failureCode = value; - } - inline DescribeSimulationJobBatchResult& WithFailureCode(SimulationJobBatchErrorCode value) { - SetFailureCode(value); - return *this; - } - ///@} - - ///@{ - /** - *

The reason the simulation job batch failed.

- */ - inline const Aws::String& GetFailureReason() const { return m_failureReason; } - template - void SetFailureReason(FailureReasonT&& value) { - m_failureReasonHasBeenSet = true; - m_failureReason = std::forward(value); - } - template - DescribeSimulationJobBatchResult& WithFailureReason(FailureReasonT&& value) { - SetFailureReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of failed create simulation job requests. The request failed to be - * created into a simulation job. Failed requests do not have a simulation job ID. - *

- */ - inline const Aws::Vector& GetFailedRequests() const { return m_failedRequests; } - template > - void SetFailedRequests(FailedRequestsT&& value) { - m_failedRequestsHasBeenSet = true; - m_failedRequests = std::forward(value); - } - template > - DescribeSimulationJobBatchResult& WithFailedRequests(FailedRequestsT&& value) { - SetFailedRequests(std::forward(value)); - return *this; - } - template - DescribeSimulationJobBatchResult& AddFailedRequests(FailedRequestsT&& value) { - m_failedRequestsHasBeenSet = true; - m_failedRequests.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of pending simulation job requests. These requests have not yet been - * created into simulation jobs.

- */ - inline const Aws::Vector& GetPendingRequests() const { return m_pendingRequests; } - template > - void SetPendingRequests(PendingRequestsT&& value) { - m_pendingRequestsHasBeenSet = true; - m_pendingRequests = std::forward(value); - } - template > - DescribeSimulationJobBatchResult& WithPendingRequests(PendingRequestsT&& value) { - SetPendingRequests(std::forward(value)); - return *this; - } - template - DescribeSimulationJobBatchResult& AddPendingRequests(PendingRequestsT&& value) { - m_pendingRequestsHasBeenSet = true; - m_pendingRequests.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of created simulation job summaries.

- */ - inline const Aws::Vector& GetCreatedRequests() const { return m_createdRequests; } - template > - void SetCreatedRequests(CreatedRequestsT&& value) { - m_createdRequestsHasBeenSet = true; - m_createdRequests = std::forward(value); - } - template > - DescribeSimulationJobBatchResult& WithCreatedRequests(CreatedRequestsT&& value) { - SetCreatedRequests(std::forward(value)); - return *this; - } - template - DescribeSimulationJobBatchResult& AddCreatedRequests(CreatedRequestsT&& value) { - m_createdRequestsHasBeenSet = true; - m_createdRequests.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the - * simulation job batch.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - DescribeSimulationJobBatchResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - DescribeSimulationJobBatchResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeSimulationJobBatchResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - SimulationJobBatchStatus m_status{SimulationJobBatchStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - Aws::String m_clientRequestToken; - bool m_clientRequestTokenHasBeenSet = false; - - BatchPolicy m_batchPolicy; - bool m_batchPolicyHasBeenSet = false; - - SimulationJobBatchErrorCode m_failureCode{SimulationJobBatchErrorCode::NOT_SET}; - bool m_failureCodeHasBeenSet = false; - - Aws::String m_failureReason; - bool m_failureReasonHasBeenSet = false; - - Aws::Vector m_failedRequests; - bool m_failedRequestsHasBeenSet = false; - - Aws::Vector m_pendingRequests; - bool m_pendingRequestsHasBeenSet = false; - - Aws::Vector m_createdRequests; - bool m_createdRequestsHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobRequest.h deleted file mode 100644 index 8c8b2b8a69d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class DescribeSimulationJobRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API DescribeSimulationJobRequest() = default; - - // 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 "DescribeSimulationJob"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the simulation job to be described.

- */ - inline const Aws::String& GetJob() const { return m_job; } - inline bool JobHasBeenSet() const { return m_jobHasBeenSet; } - template - void SetJob(JobT&& value) { - m_jobHasBeenSet = true; - m_job = std::forward(value); - } - template - DescribeSimulationJobRequest& WithJob(JobT&& value) { - SetJob(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_job; - bool m_jobHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobResult.h deleted file mode 100644 index f3e63ba4072..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeSimulationJobResult.h +++ /dev/null @@ -1,527 +0,0 @@ -/** - * 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 -#include -#include -#include -#include -#include -#include -#include - -#include - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { -class DescribeSimulationJobResult { - public: - AWS_ROBOMAKER_API DescribeSimulationJobResult() = default; - AWS_ROBOMAKER_API DescribeSimulationJobResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API DescribeSimulationJobResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the simulation job.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - DescribeSimulationJobResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the simulation job.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - DescribeSimulationJobResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the simulation job.

- */ - inline SimulationJobStatus GetStatus() const { return m_status; } - inline void SetStatus(SimulationJobStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline DescribeSimulationJobResult& WithStatus(SimulationJobStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation job was last - * started.

- */ - inline const Aws::Utils::DateTime& GetLastStartedAt() const { return m_lastStartedAt; } - template - void SetLastStartedAt(LastStartedAtT&& value) { - m_lastStartedAtHasBeenSet = true; - m_lastStartedAt = std::forward(value); - } - template - DescribeSimulationJobResult& WithLastStartedAt(LastStartedAtT&& value) { - SetLastStartedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation job was last - * updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - DescribeSimulationJobResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The failure behavior for the simulation job.

- */ - inline FailureBehavior GetFailureBehavior() const { return m_failureBehavior; } - inline void SetFailureBehavior(FailureBehavior value) { - m_failureBehaviorHasBeenSet = true; - m_failureBehavior = value; - } - inline DescribeSimulationJobResult& WithFailureBehavior(FailureBehavior value) { - SetFailureBehavior(value); - return *this; - } - ///@} - - ///@{ - /** - *

The failure code of the simulation job if it failed:

- *
InternalServiceError

Internal service error.

- *
RobotApplicationCrash

Robot application exited abnormally.

- *
SimulationApplicationCrash

Simulation application exited - * abnormally.

BadPermissionsRobotApplication

Robot - * application bundle could not be downloaded.

- *
BadPermissionsSimulationApplication

Simulation application - * bundle could not be downloaded.

BadPermissionsS3Output
- *

Unable to publish outputs to customer-provided S3 bucket.

- *
BadPermissionsCloudwatchLogs

Unable to publish logs to - * customer-provided CloudWatch Logs resource.

- *
SubnetIpLimitExceeded

Subnet IP limit exceeded.

- *
ENILimitExceeded

ENI limit exceeded.

- *
BadPermissionsUserCredentials

Unable to use the Role - * provided.

InvalidBundleRobotApplication

Robot bundle - * cannot be extracted (invalid format, bundling error, or other issue).

- *
InvalidBundleSimulationApplication

Simulation bundle cannot be - * extracted (invalid format, bundling error, or other issue).

- *
RobotApplicationVersionMismatchedEtag

Etag for RobotApplication - * does not match value during version creation.

- *
SimulationApplicationVersionMismatchedEtag

Etag for - * SimulationApplication does not match value during version creation.

- *
- */ - inline SimulationJobErrorCode GetFailureCode() const { return m_failureCode; } - inline void SetFailureCode(SimulationJobErrorCode value) { - m_failureCodeHasBeenSet = true; - m_failureCode = value; - } - inline DescribeSimulationJobResult& WithFailureCode(SimulationJobErrorCode value) { - SetFailureCode(value); - return *this; - } - ///@} - - ///@{ - /** - *

Details about why the simulation job failed. For more information about - * troubleshooting, see Troubleshooting.

- */ - inline const Aws::String& GetFailureReason() const { return m_failureReason; } - template - void SetFailureReason(FailureReasonT&& value) { - m_failureReasonHasBeenSet = true; - m_failureReason = std::forward(value); - } - template - DescribeSimulationJobResult& WithFailureReason(FailureReasonT&& value) { - SetFailureReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - DescribeSimulationJobResult& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Location for output files generated by the simulation job.

- */ - inline const OutputLocation& GetOutputLocation() const { return m_outputLocation; } - template - void SetOutputLocation(OutputLocationT&& value) { - m_outputLocationHasBeenSet = true; - m_outputLocation = std::forward(value); - } - template - DescribeSimulationJobResult& WithOutputLocation(OutputLocationT&& value) { - SetOutputLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The logging configuration.

- */ - inline const LoggingConfig& GetLoggingConfig() const { return m_loggingConfig; } - template - void SetLoggingConfig(LoggingConfigT&& value) { - m_loggingConfigHasBeenSet = true; - m_loggingConfig = std::forward(value); - } - template - DescribeSimulationJobResult& WithLoggingConfig(LoggingConfigT&& value) { - SetLoggingConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum job duration in seconds. The value must be 8 days (691,200 - * seconds) or less.

- */ - inline long long GetMaxJobDurationInSeconds() const { return m_maxJobDurationInSeconds; } - inline void SetMaxJobDurationInSeconds(long long value) { - m_maxJobDurationInSecondsHasBeenSet = true; - m_maxJobDurationInSeconds = value; - } - inline DescribeSimulationJobResult& WithMaxJobDurationInSeconds(long long value) { - SetMaxJobDurationInSeconds(value); - return *this; - } - ///@} - - ///@{ - /** - *

The simulation job execution duration in milliseconds.

- */ - inline long long GetSimulationTimeMillis() const { return m_simulationTimeMillis; } - inline void SetSimulationTimeMillis(long long value) { - m_simulationTimeMillisHasBeenSet = true; - m_simulationTimeMillis = value; - } - inline DescribeSimulationJobResult& WithSimulationTimeMillis(long long value) { - SetSimulationTimeMillis(value); - return *this; - } - ///@} - - ///@{ - /** - *

The IAM role that allows the simulation instance to call the AWS APIs that - * are specified in its associated policies on your behalf.

- */ - inline const Aws::String& GetIamRole() const { return m_iamRole; } - template - void SetIamRole(IamRoleT&& value) { - m_iamRoleHasBeenSet = true; - m_iamRole = std::forward(value); - } - template - DescribeSimulationJobResult& WithIamRole(IamRoleT&& value) { - SetIamRole(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of robot applications.

- */ - inline const Aws::Vector& GetRobotApplications() const { return m_robotApplications; } - template > - void SetRobotApplications(RobotApplicationsT&& value) { - m_robotApplicationsHasBeenSet = true; - m_robotApplications = std::forward(value); - } - template > - DescribeSimulationJobResult& WithRobotApplications(RobotApplicationsT&& value) { - SetRobotApplications(std::forward(value)); - return *this; - } - template - DescribeSimulationJobResult& AddRobotApplications(RobotApplicationsT&& value) { - m_robotApplicationsHasBeenSet = true; - m_robotApplications.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of simulation applications.

- */ - inline const Aws::Vector& GetSimulationApplications() const { return m_simulationApplications; } - template > - void SetSimulationApplications(SimulationApplicationsT&& value) { - m_simulationApplicationsHasBeenSet = true; - m_simulationApplications = std::forward(value); - } - template > - DescribeSimulationJobResult& WithSimulationApplications(SimulationApplicationsT&& value) { - SetSimulationApplications(std::forward(value)); - return *this; - } - template - DescribeSimulationJobResult& AddSimulationApplications(SimulationApplicationsT&& value) { - m_simulationApplicationsHasBeenSet = true; - m_simulationApplications.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The data sources for the simulation job.

- */ - inline const Aws::Vector& GetDataSources() const { return m_dataSources; } - template > - void SetDataSources(DataSourcesT&& value) { - m_dataSourcesHasBeenSet = true; - m_dataSources = std::forward(value); - } - template > - DescribeSimulationJobResult& WithDataSources(DataSourcesT&& value) { - SetDataSources(std::forward(value)); - return *this; - } - template - DescribeSimulationJobResult& AddDataSources(DataSourcesT&& value) { - m_dataSourcesHasBeenSet = true; - m_dataSources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The list of all tags added to the specified simulation job.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - DescribeSimulationJobResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - DescribeSimulationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The VPC configuration.

- */ - inline const VPCConfigResponse& GetVpcConfig() const { return m_vpcConfig; } - template - void SetVpcConfig(VpcConfigT&& value) { - m_vpcConfigHasBeenSet = true; - m_vpcConfig = std::forward(value); - } - template - DescribeSimulationJobResult& WithVpcConfig(VpcConfigT&& value) { - SetVpcConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The network interface information for the simulation job.

- */ - inline const NetworkInterface& GetNetworkInterface() const { return m_networkInterface; } - template - void SetNetworkInterface(NetworkInterfaceT&& value) { - m_networkInterfaceHasBeenSet = true; - m_networkInterface = std::forward(value); - } - template - DescribeSimulationJobResult& WithNetworkInterface(NetworkInterfaceT&& value) { - SetNetworkInterface(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Compute information for the simulation job.

- */ - inline const ComputeResponse& GetCompute() const { return m_compute; } - template - void SetCompute(ComputeT&& value) { - m_computeHasBeenSet = true; - m_compute = std::forward(value); - } - template - DescribeSimulationJobResult& WithCompute(ComputeT&& value) { - SetCompute(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeSimulationJobResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - SimulationJobStatus m_status{SimulationJobStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Utils::DateTime m_lastStartedAt{}; - bool m_lastStartedAtHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - FailureBehavior m_failureBehavior{FailureBehavior::NOT_SET}; - bool m_failureBehaviorHasBeenSet = false; - - SimulationJobErrorCode m_failureCode{SimulationJobErrorCode::NOT_SET}; - bool m_failureCodeHasBeenSet = false; - - Aws::String m_failureReason; - bool m_failureReasonHasBeenSet = false; - - Aws::String m_clientRequestToken; - bool m_clientRequestTokenHasBeenSet = false; - - OutputLocation m_outputLocation; - bool m_outputLocationHasBeenSet = false; - - LoggingConfig m_loggingConfig; - bool m_loggingConfigHasBeenSet = false; - - long long m_maxJobDurationInSeconds{0}; - bool m_maxJobDurationInSecondsHasBeenSet = false; - - long long m_simulationTimeMillis{0}; - bool m_simulationTimeMillisHasBeenSet = false; - - Aws::String m_iamRole; - bool m_iamRoleHasBeenSet = false; - - Aws::Vector m_robotApplications; - bool m_robotApplicationsHasBeenSet = false; - - Aws::Vector m_simulationApplications; - bool m_simulationApplicationsHasBeenSet = false; - - Aws::Vector m_dataSources; - bool m_dataSourcesHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - VPCConfigResponse m_vpcConfig; - bool m_vpcConfigHasBeenSet = false; - - NetworkInterface m_networkInterface; - bool m_networkInterfaceHasBeenSet = false; - - ComputeResponse m_compute; - bool m_computeHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldExportJobRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldExportJobRequest.h deleted file mode 100644 index b92aa94503e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldExportJobRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class DescribeWorldExportJobRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API DescribeWorldExportJobRequest() = default; - - // 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 "DescribeWorldExportJob"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world export job to describe.

- */ - inline const Aws::String& GetJob() const { return m_job; } - inline bool JobHasBeenSet() const { return m_jobHasBeenSet; } - template - void SetJob(JobT&& value) { - m_jobHasBeenSet = true; - m_job = std::forward(value); - } - template - DescribeWorldExportJobRequest& WithJob(JobT&& value) { - SetJob(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_job; - bool m_jobHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldExportJobResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldExportJobResult.h deleted file mode 100644 index c9efe0983c0..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldExportJobResult.h +++ /dev/null @@ -1,281 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class DescribeWorldExportJobResult { - public: - AWS_ROBOMAKER_API DescribeWorldExportJobResult() = default; - AWS_ROBOMAKER_API DescribeWorldExportJobResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API DescribeWorldExportJobResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the world export job.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - DescribeWorldExportJobResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the world export job.

Pending

The - * world export job request is pending.

Running

The - * world export job is running.

Completed

The world - * export job completed.

Failed

The world export job - * failed. See failureCode and failureReason for more - * information.

Canceled

The world export job was - * cancelled.

Canceling

The world export job is being - * cancelled.

- */ - inline WorldExportJobStatus GetStatus() const { return m_status; } - inline void SetStatus(WorldExportJobStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline DescribeWorldExportJobResult& WithStatus(WorldExportJobStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the world export job was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - DescribeWorldExportJobResult& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The failure code of the world export job if it failed:

- *
InternalServiceError

Internal service error.

- *
LimitExceeded

The requested resource exceeds the maximum number - * allowed, or the number of concurrent stream requests exceeds the maximum number - * allowed.

ResourceNotFound

The specified resource - * could not be found.

RequestThrottled

The request was - * throttled.

InvalidInput

An input parameter in the - * request is not valid.

- */ - inline WorldExportJobErrorCode GetFailureCode() const { return m_failureCode; } - inline void SetFailureCode(WorldExportJobErrorCode value) { - m_failureCodeHasBeenSet = true; - m_failureCode = value; - } - inline DescribeWorldExportJobResult& WithFailureCode(WorldExportJobErrorCode value) { - SetFailureCode(value); - return *this; - } - ///@} - - ///@{ - /** - *

The reason why the world export job failed.

- */ - inline const Aws::String& GetFailureReason() const { return m_failureReason; } - template - void SetFailureReason(FailureReasonT&& value) { - m_failureReasonHasBeenSet = true; - m_failureReason = std::forward(value); - } - template - DescribeWorldExportJobResult& WithFailureReason(FailureReasonT&& value) { - SetFailureReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - DescribeWorldExportJobResult& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of Amazon Resource Names (arns) that correspond to worlds to be - * exported.

- */ - inline const Aws::Vector& GetWorlds() const { return m_worlds; } - template > - void SetWorlds(WorldsT&& value) { - m_worldsHasBeenSet = true; - m_worlds = std::forward(value); - } - template > - DescribeWorldExportJobResult& WithWorlds(WorldsT&& value) { - SetWorlds(std::forward(value)); - return *this; - } - template - DescribeWorldExportJobResult& AddWorlds(WorldsT&& value) { - m_worldsHasBeenSet = true; - m_worlds.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const OutputLocation& GetOutputLocation() const { return m_outputLocation; } - template - void SetOutputLocation(OutputLocationT&& value) { - m_outputLocationHasBeenSet = true; - m_outputLocation = std::forward(value); - } - template - DescribeWorldExportJobResult& WithOutputLocation(OutputLocationT&& value) { - SetOutputLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The IAM role that the world export process uses to access the Amazon S3 - * bucket and put the export.

- */ - inline const Aws::String& GetIamRole() const { return m_iamRole; } - template - void SetIamRole(IamRoleT&& value) { - m_iamRoleHasBeenSet = true; - m_iamRole = std::forward(value); - } - template - DescribeWorldExportJobResult& WithIamRole(IamRoleT&& value) { - SetIamRole(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the world - * export job.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - DescribeWorldExportJobResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - DescribeWorldExportJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeWorldExportJobResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - WorldExportJobStatus m_status{WorldExportJobStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - WorldExportJobErrorCode m_failureCode{WorldExportJobErrorCode::NOT_SET}; - bool m_failureCodeHasBeenSet = false; - - Aws::String m_failureReason; - bool m_failureReasonHasBeenSet = false; - - Aws::String m_clientRequestToken; - bool m_clientRequestTokenHasBeenSet = false; - - Aws::Vector m_worlds; - bool m_worldsHasBeenSet = false; - - OutputLocation m_outputLocation; - bool m_outputLocationHasBeenSet = false; - - Aws::String m_iamRole; - bool m_iamRoleHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldGenerationJobRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldGenerationJobRequest.h deleted file mode 100644 index 05603a54428..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldGenerationJobRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class DescribeWorldGenerationJobRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API DescribeWorldGenerationJobRequest() = default; - - // 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 "DescribeWorldGenerationJob"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world generation job to describe.

- */ - inline const Aws::String& GetJob() const { return m_job; } - inline bool JobHasBeenSet() const { return m_jobHasBeenSet; } - template - void SetJob(JobT&& value) { - m_jobHasBeenSet = true; - m_job = std::forward(value); - } - template - DescribeWorldGenerationJobRequest& WithJob(JobT&& value) { - SetJob(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_job; - bool m_jobHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldGenerationJobResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldGenerationJobResult.h deleted file mode 100644 index 726339cbd84..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldGenerationJobResult.h +++ /dev/null @@ -1,303 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class DescribeWorldGenerationJobResult { - public: - AWS_ROBOMAKER_API DescribeWorldGenerationJobResult() = default; - AWS_ROBOMAKER_API DescribeWorldGenerationJobResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API DescribeWorldGenerationJobResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the world generation job.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - DescribeWorldGenerationJobResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the world generation job:

Pending

The - * world generation job request is pending.

Running

The - * world generation job is running.

Completed

The world - * generation job completed.

Failed

The world - * generation job failed. See failureCode for more information.

- *
PartialFailed

Some worlds did not generate.

- *
Canceled

The world generation job was cancelled.

- *
Canceling

The world generation job is being cancelled.

- *
- */ - inline WorldGenerationJobStatus GetStatus() const { return m_status; } - inline void SetStatus(WorldGenerationJobStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline DescribeWorldGenerationJobResult& WithStatus(WorldGenerationJobStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the world generation job was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - DescribeWorldGenerationJobResult& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The failure code of the world generation job if it failed:

- *
InternalServiceError

Internal service error.

- *
LimitExceeded

The requested resource exceeds the maximum number - * allowed, or the number of concurrent stream requests exceeds the maximum number - * allowed.

ResourceNotFound

The specified resource - * could not be found.

RequestThrottled

The request was - * throttled.

InvalidInput

An input parameter in the - * request is not valid.

- */ - inline WorldGenerationJobErrorCode GetFailureCode() const { return m_failureCode; } - inline void SetFailureCode(WorldGenerationJobErrorCode value) { - m_failureCodeHasBeenSet = true; - m_failureCode = value; - } - inline DescribeWorldGenerationJobResult& WithFailureCode(WorldGenerationJobErrorCode value) { - SetFailureCode(value); - return *this; - } - ///@} - - ///@{ - /** - *

The reason why the world generation job failed.

- */ - inline const Aws::String& GetFailureReason() const { return m_failureReason; } - template - void SetFailureReason(FailureReasonT&& value) { - m_failureReasonHasBeenSet = true; - m_failureReason = std::forward(value); - } - template - DescribeWorldGenerationJobResult& WithFailureReason(FailureReasonT&& value) { - SetFailureReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - DescribeWorldGenerationJobResult& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world template.

- */ - inline const Aws::String& GetTemplate() const { return m_template; } - template - void SetTemplate(TemplateT&& value) { - m_templateHasBeenSet = true; - m_template = std::forward(value); - } - template - DescribeWorldGenerationJobResult& WithTemplate(TemplateT&& value) { - SetTemplate(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about the world count.

- */ - inline const WorldCount& GetWorldCount() const { return m_worldCount; } - template - void SetWorldCount(WorldCountT&& value) { - m_worldCountHasBeenSet = true; - m_worldCount = std::forward(value); - } - template - DescribeWorldGenerationJobResult& WithWorldCount(WorldCountT&& value) { - SetWorldCount(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Summary information about finished worlds.

- */ - inline const FinishedWorldsSummary& GetFinishedWorldsSummary() const { return m_finishedWorldsSummary; } - template - void SetFinishedWorldsSummary(FinishedWorldsSummaryT&& value) { - m_finishedWorldsSummaryHasBeenSet = true; - m_finishedWorldsSummary = std::forward(value); - } - template - DescribeWorldGenerationJobResult& WithFinishedWorldsSummary(FinishedWorldsSummaryT&& value) { - SetFinishedWorldsSummary(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the world - * generation job.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - DescribeWorldGenerationJobResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - DescribeWorldGenerationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the - * generated worlds.

- */ - inline const Aws::Map& GetWorldTags() const { return m_worldTags; } - template > - void SetWorldTags(WorldTagsT&& value) { - m_worldTagsHasBeenSet = true; - m_worldTags = std::forward(value); - } - template > - DescribeWorldGenerationJobResult& WithWorldTags(WorldTagsT&& value) { - SetWorldTags(std::forward(value)); - return *this; - } - template - DescribeWorldGenerationJobResult& AddWorldTags(WorldTagsKeyT&& key, WorldTagsValueT&& value) { - m_worldTagsHasBeenSet = true; - m_worldTags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeWorldGenerationJobResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - WorldGenerationJobStatus m_status{WorldGenerationJobStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - WorldGenerationJobErrorCode m_failureCode{WorldGenerationJobErrorCode::NOT_SET}; - bool m_failureCodeHasBeenSet = false; - - Aws::String m_failureReason; - bool m_failureReasonHasBeenSet = false; - - Aws::String m_clientRequestToken; - bool m_clientRequestTokenHasBeenSet = false; - - Aws::String m_template; - bool m_templateHasBeenSet = false; - - WorldCount m_worldCount; - bool m_worldCountHasBeenSet = false; - - FinishedWorldsSummary m_finishedWorldsSummary; - bool m_finishedWorldsSummaryHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::Map m_worldTags; - bool m_worldTagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldRequest.h deleted file mode 100644 index c079bfce638..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class DescribeWorldRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API DescribeWorldRequest() = default; - - // 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 "DescribeWorld"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world you want to describe.

- */ - inline const Aws::String& GetWorld() const { return m_world; } - inline bool WorldHasBeenSet() const { return m_worldHasBeenSet; } - template - void SetWorld(WorldT&& value) { - m_worldHasBeenSet = true; - m_world = std::forward(value); - } - template - DescribeWorldRequest& WithWorld(WorldT&& value) { - SetWorld(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_world; - bool m_worldHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldResult.h deleted file mode 100644 index 4a02888ac23..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldResult.h +++ /dev/null @@ -1,181 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class DescribeWorldResult { - public: - AWS_ROBOMAKER_API DescribeWorldResult() = default; - AWS_ROBOMAKER_API DescribeWorldResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API DescribeWorldResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - DescribeWorldResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world generation job that generated the - * world.

- */ - inline const Aws::String& GetGenerationJob() const { return m_generationJob; } - template - void SetGenerationJob(GenerationJobT&& value) { - m_generationJobHasBeenSet = true; - m_generationJob = std::forward(value); - } - template - DescribeWorldResult& WithGenerationJob(GenerationJobT&& value) { - SetGenerationJob(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The world template.

- */ - inline const Aws::String& GetTemplate() const { return m_template; } - template - void SetTemplate(TemplateT&& value) { - m_templateHasBeenSet = true; - m_template = std::forward(value); - } - template - DescribeWorldResult& WithTemplate(TemplateT&& value) { - SetTemplate(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the world was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - DescribeWorldResult& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the - * world.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - DescribeWorldResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - DescribeWorldResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Returns the JSON formatted string that describes the contents of your - * world.

- */ - inline const Aws::String& GetWorldDescriptionBody() const { return m_worldDescriptionBody; } - template - void SetWorldDescriptionBody(WorldDescriptionBodyT&& value) { - m_worldDescriptionBodyHasBeenSet = true; - m_worldDescriptionBody = std::forward(value); - } - template - DescribeWorldResult& WithWorldDescriptionBody(WorldDescriptionBodyT&& value) { - SetWorldDescriptionBody(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeWorldResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_generationJob; - bool m_generationJobHasBeenSet = false; - - Aws::String m_template; - bool m_templateHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_worldDescriptionBody; - bool m_worldDescriptionBodyHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldTemplateRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldTemplateRequest.h deleted file mode 100644 index 424f3f162fa..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldTemplateRequest.h +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class DescribeWorldTemplateRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API DescribeWorldTemplateRequest() = default; - - // 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 "DescribeWorldTemplate"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world template you want to - * describe.

- */ - inline const Aws::String& GetTemplate() const { return m_template; } - inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } - template - void SetTemplate(TemplateT&& value) { - m_templateHasBeenSet = true; - m_template = std::forward(value); - } - template - DescribeWorldTemplateRequest& WithTemplate(TemplateT&& value) { - SetTemplate(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_template; - bool m_templateHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldTemplateResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldTemplateResult.h deleted file mode 100644 index b241cbcff3d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/DescribeWorldTemplateResult.h +++ /dev/null @@ -1,202 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class DescribeWorldTemplateResult { - public: - AWS_ROBOMAKER_API DescribeWorldTemplateResult() = default; - AWS_ROBOMAKER_API DescribeWorldTemplateResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API DescribeWorldTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the world template.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - DescribeWorldTemplateResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - DescribeWorldTemplateResult& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the world template.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - DescribeWorldTemplateResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the world template was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - DescribeWorldTemplateResult& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the world template was last - * updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - DescribeWorldTemplateResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the world - * template.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - DescribeWorldTemplateResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - DescribeWorldTemplateResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the world template that you're using.

- */ - inline const Aws::String& GetVersion() const { return m_version; } - template - void SetVersion(VersionT&& value) { - m_versionHasBeenSet = true; - m_version = std::forward(value); - } - template - DescribeWorldTemplateResult& WithVersion(VersionT&& value) { - SetVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - DescribeWorldTemplateResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_clientRequestToken; - bool m_clientRequestTokenHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_version; - bool m_versionHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Environment.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Environment.h deleted file mode 100644 index cd97fe68648..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Environment.h +++ /dev/null @@ -1,59 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

The object that contains the Docker image URI for either your robot or - * simulation applications.

See Also:

AWS - * API Reference

- */ -class Environment { - public: - AWS_ROBOMAKER_API Environment() = default; - AWS_ROBOMAKER_API Environment(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Environment& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Docker image URI for either your robot or simulation applications.

- */ - inline const Aws::String& GetUri() const { return m_uri; } - inline bool UriHasBeenSet() const { return m_uriHasBeenSet; } - template - void SetUri(UriT&& value) { - m_uriHasBeenSet = true; - m_uri = std::forward(value); - } - template - Environment& WithUri(UriT&& value) { - SetUri(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_uri; - bool m_uriHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ExitBehavior.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ExitBehavior.h deleted file mode 100644 index b6e1de56f53..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ExitBehavior.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class ExitBehavior { NOT_SET, FAIL, RESTART }; - -namespace ExitBehaviorMapper { -AWS_ROBOMAKER_API ExitBehavior GetExitBehaviorForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForExitBehavior(ExitBehavior value); -} // namespace ExitBehaviorMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FailedCreateSimulationJobRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FailedCreateSimulationJobRequest.h deleted file mode 100644 index f8ad81ed910..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FailedCreateSimulationJobRequest.h +++ /dev/null @@ -1,124 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a failed create simulation job request.

See - * Also:

AWS - * API Reference

- */ -class FailedCreateSimulationJobRequest { - public: - AWS_ROBOMAKER_API FailedCreateSimulationJobRequest() = default; - AWS_ROBOMAKER_API FailedCreateSimulationJobRequest(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API FailedCreateSimulationJobRequest& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The simulation job request.

- */ - inline const SimulationJobRequest& GetRequest() const { return m_request; } - inline bool RequestHasBeenSet() const { return m_requestHasBeenSet; } - template - void SetRequest(RequestT&& value) { - m_requestHasBeenSet = true; - m_request = std::forward(value); - } - template - FailedCreateSimulationJobRequest& WithRequest(RequestT&& value) { - SetRequest(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The failure reason of the simulation job request.

- */ - inline const Aws::String& GetFailureReason() const { return m_failureReason; } - inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } - template - void SetFailureReason(FailureReasonT&& value) { - m_failureReasonHasBeenSet = true; - m_failureReason = std::forward(value); - } - template - FailedCreateSimulationJobRequest& WithFailureReason(FailureReasonT&& value) { - SetFailureReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The failure code.

- */ - inline SimulationJobErrorCode GetFailureCode() const { return m_failureCode; } - inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; } - inline void SetFailureCode(SimulationJobErrorCode value) { - m_failureCodeHasBeenSet = true; - m_failureCode = value; - } - inline FailedCreateSimulationJobRequest& WithFailureCode(SimulationJobErrorCode value) { - SetFailureCode(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation job batch - * failed.

- */ - inline const Aws::Utils::DateTime& GetFailedAt() const { return m_failedAt; } - inline bool FailedAtHasBeenSet() const { return m_failedAtHasBeenSet; } - template - void SetFailedAt(FailedAtT&& value) { - m_failedAtHasBeenSet = true; - m_failedAt = std::forward(value); - } - template - FailedCreateSimulationJobRequest& WithFailedAt(FailedAtT&& value) { - SetFailedAt(std::forward(value)); - return *this; - } - ///@} - private: - SimulationJobRequest m_request; - bool m_requestHasBeenSet = false; - - Aws::String m_failureReason; - bool m_failureReasonHasBeenSet = false; - - SimulationJobErrorCode m_failureCode{SimulationJobErrorCode::NOT_SET}; - bool m_failureCodeHasBeenSet = false; - - Aws::Utils::DateTime m_failedAt{}; - bool m_failedAtHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FailureBehavior.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FailureBehavior.h deleted file mode 100644 index 08d21082d3a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FailureBehavior.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class FailureBehavior { NOT_SET, Fail, Continue }; - -namespace FailureBehaviorMapper { -AWS_ROBOMAKER_API FailureBehavior GetFailureBehaviorForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForFailureBehavior(FailureBehavior value); -} // namespace FailureBehaviorMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FailureSummary.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FailureSummary.h deleted file mode 100644 index c4570b6be84..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FailureSummary.h +++ /dev/null @@ -1,84 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about worlds that failed.

See Also:

AWS - * API Reference

- */ -class FailureSummary { - public: - AWS_ROBOMAKER_API FailureSummary() = default; - AWS_ROBOMAKER_API FailureSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API FailureSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The total number of failures.

- */ - inline int GetTotalFailureCount() const { return m_totalFailureCount; } - inline bool TotalFailureCountHasBeenSet() const { return m_totalFailureCountHasBeenSet; } - inline void SetTotalFailureCount(int value) { - m_totalFailureCountHasBeenSet = true; - m_totalFailureCount = value; - } - inline FailureSummary& WithTotalFailureCount(int value) { - SetTotalFailureCount(value); - return *this; - } - ///@} - - ///@{ - /** - *

The worlds that failed.

- */ - inline const Aws::Vector& GetFailures() const { return m_failures; } - inline bool FailuresHasBeenSet() const { return m_failuresHasBeenSet; } - template > - void SetFailures(FailuresT&& value) { - m_failuresHasBeenSet = true; - m_failures = std::forward(value); - } - template > - FailureSummary& WithFailures(FailuresT&& value) { - SetFailures(std::forward(value)); - return *this; - } - template - FailureSummary& AddFailures(FailuresT&& value) { - m_failuresHasBeenSet = true; - m_failures.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - int m_totalFailureCount{0}; - bool m_totalFailureCountHasBeenSet = false; - - Aws::Vector m_failures; - bool m_failuresHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Filter.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Filter.h deleted file mode 100644 index 4a0e2f40081..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Filter.h +++ /dev/null @@ -1,86 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a filter.

See Also:

AWS - * API Reference

- */ -class Filter { - public: - AWS_ROBOMAKER_API Filter() = default; - AWS_ROBOMAKER_API Filter(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Filter& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the filter.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - Filter& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of values.

- */ - inline const Aws::Vector& GetValues() const { return m_values; } - inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } - template > - void SetValues(ValuesT&& value) { - m_valuesHasBeenSet = true; - m_values = std::forward(value); - } - template > - Filter& WithValues(ValuesT&& value) { - SetValues(std::forward(value)); - return *this; - } - template - Filter& AddValues(ValuesT&& value) { - m_valuesHasBeenSet = true; - m_values.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::Vector m_values; - bool m_valuesHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FinishedWorldsSummary.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FinishedWorldsSummary.h deleted file mode 100644 index 128a14f7135..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/FinishedWorldsSummary.h +++ /dev/null @@ -1,106 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about worlds that finished.

See Also:

AWS - * API Reference

- */ -class FinishedWorldsSummary { - public: - AWS_ROBOMAKER_API FinishedWorldsSummary() = default; - AWS_ROBOMAKER_API FinishedWorldsSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API FinishedWorldsSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The total number of finished worlds.

- */ - inline int GetFinishedCount() const { return m_finishedCount; } - inline bool FinishedCountHasBeenSet() const { return m_finishedCountHasBeenSet; } - inline void SetFinishedCount(int value) { - m_finishedCountHasBeenSet = true; - m_finishedCount = value; - } - inline FinishedWorldsSummary& WithFinishedCount(int value) { - SetFinishedCount(value); - return *this; - } - ///@} - - ///@{ - /** - *

A list of worlds that succeeded.

- */ - inline const Aws::Vector& GetSucceededWorlds() const { return m_succeededWorlds; } - inline bool SucceededWorldsHasBeenSet() const { return m_succeededWorldsHasBeenSet; } - template > - void SetSucceededWorlds(SucceededWorldsT&& value) { - m_succeededWorldsHasBeenSet = true; - m_succeededWorlds = std::forward(value); - } - template > - FinishedWorldsSummary& WithSucceededWorlds(SucceededWorldsT&& value) { - SetSucceededWorlds(std::forward(value)); - return *this; - } - template - FinishedWorldsSummary& AddSucceededWorlds(SucceededWorldsT&& value) { - m_succeededWorldsHasBeenSet = true; - m_succeededWorlds.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about worlds that failed.

- */ - inline const FailureSummary& GetFailureSummary() const { return m_failureSummary; } - inline bool FailureSummaryHasBeenSet() const { return m_failureSummaryHasBeenSet; } - template - void SetFailureSummary(FailureSummaryT&& value) { - m_failureSummaryHasBeenSet = true; - m_failureSummary = std::forward(value); - } - template - FinishedWorldsSummary& WithFailureSummary(FailureSummaryT&& value) { - SetFailureSummary(std::forward(value)); - return *this; - } - ///@} - private: - int m_finishedCount{0}; - bool m_finishedCountHasBeenSet = false; - - Aws::Vector m_succeededWorlds; - bool m_succeededWorldsHasBeenSet = false; - - FailureSummary m_failureSummary; - bool m_failureSummaryHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Fleet.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Fleet.h deleted file mode 100644 index ee273cd0aab..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Fleet.h +++ /dev/null @@ -1,163 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a fleet.

See Also:

AWS API - * Reference

- */ -class Fleet { - public: - AWS_ROBOMAKER_API Fleet() = default; - AWS_ROBOMAKER_API Fleet(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Fleet& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the fleet.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - Fleet& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the fleet.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - Fleet& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the fleet was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - Fleet& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the last fleet deployment.

- */ - inline DeploymentStatus GetLastDeploymentStatus() const { return m_lastDeploymentStatus; } - inline bool LastDeploymentStatusHasBeenSet() const { return m_lastDeploymentStatusHasBeenSet; } - inline void SetLastDeploymentStatus(DeploymentStatus value) { - m_lastDeploymentStatusHasBeenSet = true; - m_lastDeploymentStatus = value; - } - inline Fleet& WithLastDeploymentStatus(DeploymentStatus value) { - SetLastDeploymentStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the last deployment job.

- */ - inline const Aws::String& GetLastDeploymentJob() const { return m_lastDeploymentJob; } - inline bool LastDeploymentJobHasBeenSet() const { return m_lastDeploymentJobHasBeenSet; } - template - void SetLastDeploymentJob(LastDeploymentJobT&& value) { - m_lastDeploymentJobHasBeenSet = true; - m_lastDeploymentJob = std::forward(value); - } - template - Fleet& WithLastDeploymentJob(LastDeploymentJobT&& value) { - SetLastDeploymentJob(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time of the last deployment.

- */ - inline const Aws::Utils::DateTime& GetLastDeploymentTime() const { return m_lastDeploymentTime; } - inline bool LastDeploymentTimeHasBeenSet() const { return m_lastDeploymentTimeHasBeenSet; } - template - void SetLastDeploymentTime(LastDeploymentTimeT&& value) { - m_lastDeploymentTimeHasBeenSet = true; - m_lastDeploymentTime = std::forward(value); - } - template - Fleet& WithLastDeploymentTime(LastDeploymentTimeT&& value) { - SetLastDeploymentTime(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - DeploymentStatus m_lastDeploymentStatus{DeploymentStatus::NOT_SET}; - bool m_lastDeploymentStatusHasBeenSet = false; - - Aws::String m_lastDeploymentJob; - bool m_lastDeploymentJobHasBeenSet = false; - - Aws::Utils::DateTime m_lastDeploymentTime{}; - bool m_lastDeploymentTimeHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/GetWorldTemplateBodyRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/GetWorldTemplateBodyRequest.h deleted file mode 100644 index 3b455f6a16d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/GetWorldTemplateBodyRequest.h +++ /dev/null @@ -1,76 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class GetWorldTemplateBodyRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API GetWorldTemplateBodyRequest() = default; - - // 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 "GetWorldTemplateBody"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world template.

- */ - inline const Aws::String& GetTemplate() const { return m_template; } - inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } - template - void SetTemplate(TemplateT&& value) { - m_templateHasBeenSet = true; - m_template = std::forward(value); - } - template - GetWorldTemplateBodyRequest& WithTemplate(TemplateT&& value) { - SetTemplate(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world generator job.

- */ - inline const Aws::String& GetGenerationJob() const { return m_generationJob; } - inline bool GenerationJobHasBeenSet() const { return m_generationJobHasBeenSet; } - template - void SetGenerationJob(GenerationJobT&& value) { - m_generationJobHasBeenSet = true; - m_generationJob = std::forward(value); - } - template - GetWorldTemplateBodyRequest& WithGenerationJob(GenerationJobT&& value) { - SetGenerationJob(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_template; - bool m_templateHasBeenSet = false; - - Aws::String m_generationJob; - bool m_generationJobHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/GetWorldTemplateBodyResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/GetWorldTemplateBodyResult.h deleted file mode 100644 index 967a32cfb2a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/GetWorldTemplateBodyResult.h +++ /dev/null @@ -1,70 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class GetWorldTemplateBodyResult { - public: - AWS_ROBOMAKER_API GetWorldTemplateBodyResult() = default; - AWS_ROBOMAKER_API GetWorldTemplateBodyResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API GetWorldTemplateBodyResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The world template body.

- */ - inline const Aws::String& GetTemplateBody() const { return m_templateBody; } - template - void SetTemplateBody(TemplateBodyT&& value) { - m_templateBodyHasBeenSet = true; - m_templateBody = std::forward(value); - } - template - GetWorldTemplateBodyResult& WithTemplateBody(TemplateBodyT&& value) { - SetTemplateBody(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - GetWorldTemplateBodyResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_templateBody; - bool m_templateBodyHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/LaunchConfig.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/LaunchConfig.h deleted file mode 100644 index 9557eb2ef90..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/LaunchConfig.h +++ /dev/null @@ -1,185 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a launch configuration.

See Also:

AWS - * API Reference

- */ -class LaunchConfig { - public: - AWS_ROBOMAKER_API LaunchConfig() = default; - AWS_ROBOMAKER_API LaunchConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API LaunchConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The package name.

- */ - inline const Aws::String& GetPackageName() const { return m_packageName; } - inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; } - template - void SetPackageName(PackageNameT&& value) { - m_packageNameHasBeenSet = true; - m_packageName = std::forward(value); - } - template - LaunchConfig& WithPackageName(PackageNameT&& value) { - SetPackageName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The launch file name.

- */ - inline const Aws::String& GetLaunchFile() const { return m_launchFile; } - inline bool LaunchFileHasBeenSet() const { return m_launchFileHasBeenSet; } - template - void SetLaunchFile(LaunchFileT&& value) { - m_launchFileHasBeenSet = true; - m_launchFile = std::forward(value); - } - template - LaunchConfig& WithLaunchFile(LaunchFileT&& value) { - SetLaunchFile(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The environment variables for the application launch.

- */ - inline const Aws::Map& GetEnvironmentVariables() const { return m_environmentVariables; } - inline bool EnvironmentVariablesHasBeenSet() const { return m_environmentVariablesHasBeenSet; } - template > - void SetEnvironmentVariables(EnvironmentVariablesT&& value) { - m_environmentVariablesHasBeenSet = true; - m_environmentVariables = std::forward(value); - } - template > - LaunchConfig& WithEnvironmentVariables(EnvironmentVariablesT&& value) { - SetEnvironmentVariables(std::forward(value)); - return *this; - } - template - LaunchConfig& AddEnvironmentVariables(EnvironmentVariablesKeyT&& key, EnvironmentVariablesValueT&& value) { - m_environmentVariablesHasBeenSet = true; - m_environmentVariables.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The port forwarding configuration.

- */ - inline const PortForwardingConfig& GetPortForwardingConfig() const { return m_portForwardingConfig; } - inline bool PortForwardingConfigHasBeenSet() const { return m_portForwardingConfigHasBeenSet; } - template - void SetPortForwardingConfig(PortForwardingConfigT&& value) { - m_portForwardingConfigHasBeenSet = true; - m_portForwardingConfig = std::forward(value); - } - template - LaunchConfig& WithPortForwardingConfig(PortForwardingConfigT&& value) { - SetPortForwardingConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Boolean indicating whether a streaming session will be configured for the - * application. If True, AWS RoboMaker will configure a connection so - * you can interact with your application as it is running in the simulation. You - * must configure and launch the component. It must have a graphical user - * interface.

- */ - inline bool GetStreamUI() const { return m_streamUI; } - inline bool StreamUIHasBeenSet() const { return m_streamUIHasBeenSet; } - inline void SetStreamUI(bool value) { - m_streamUIHasBeenSet = true; - m_streamUI = value; - } - inline LaunchConfig& WithStreamUI(bool value) { - SetStreamUI(value); - return *this; - } - ///@} - - ///@{ - /** - *

If you've specified General as the value for your - * RobotSoftwareSuite, you can use this field to specify a list of - * commands for your container image.

If you've specified - * SimulationRuntime as the value for your - * SimulationSoftwareSuite, you can use this field to specify a list - * of commands for your container image.

- */ - inline const Aws::Vector& GetCommand() const { return m_command; } - inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; } - template > - void SetCommand(CommandT&& value) { - m_commandHasBeenSet = true; - m_command = std::forward(value); - } - template > - LaunchConfig& WithCommand(CommandT&& value) { - SetCommand(std::forward(value)); - return *this; - } - template - LaunchConfig& AddCommand(CommandT&& value) { - m_commandHasBeenSet = true; - m_command.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_packageName; - bool m_packageNameHasBeenSet = false; - - Aws::String m_launchFile; - bool m_launchFileHasBeenSet = false; - - Aws::Map m_environmentVariables; - bool m_environmentVariablesHasBeenSet = false; - - PortForwardingConfig m_portForwardingConfig; - bool m_portForwardingConfigHasBeenSet = false; - - bool m_streamUI{false}; - bool m_streamUIHasBeenSet = false; - - Aws::Vector m_command; - bool m_commandHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListRobotApplicationsRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListRobotApplicationsRequest.h deleted file mode 100644 index eafbbcaa607..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListRobotApplicationsRequest.h +++ /dev/null @@ -1,138 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class ListRobotApplicationsRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API ListRobotApplicationsRequest() = default; - - // 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 "ListRobotApplications"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The version qualifier of the robot application.

- */ - inline const Aws::String& GetVersionQualifier() const { return m_versionQualifier; } - inline bool VersionQualifierHasBeenSet() const { return m_versionQualifierHasBeenSet; } - template - void SetVersionQualifier(VersionQualifierT&& value) { - m_versionQualifierHasBeenSet = true; - m_versionQualifier = std::forward(value); - } - template - ListRobotApplicationsRequest& WithVersionQualifier(VersionQualifierT&& value) { - SetVersionQualifier(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call - * ListRobotApplications again and assign that token to the request - * object's nextToken parameter. If there are no remaining results, - * the previous response object's NextToken parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListRobotApplicationsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

When this parameter is used, ListRobotApplications only returns - * maxResults results in a single page along with a - * nextToken response element. The remaining results of the initial - * request can be seen by sending another ListRobotApplications - * request with the returned nextToken value. This value can be - * between 1 and 100. If this parameter is not used, then - * ListRobotApplications returns up to 100 results and a - * nextToken value if applicable.

- */ - 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 ListRobotApplicationsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

Optional filters to limit results.

The filter name name - * is supported. When filtering, you must use the complete value of the filtered - * item. You can use up to three filters.

- */ - inline const Aws::Vector& GetFilters() const { return m_filters; } - inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } - template > - void SetFilters(FiltersT&& value) { - m_filtersHasBeenSet = true; - m_filters = std::forward(value); - } - template > - ListRobotApplicationsRequest& WithFilters(FiltersT&& value) { - SetFilters(std::forward(value)); - return *this; - } - template - ListRobotApplicationsRequest& AddFilters(FiltersT&& value) { - m_filtersHasBeenSet = true; - m_filters.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_versionQualifier; - bool m_versionQualifierHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::Vector m_filters; - bool m_filtersHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListRobotApplicationsResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListRobotApplicationsResult.h deleted file mode 100644 index 5820752fbe9..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListRobotApplicationsResult.h +++ /dev/null @@ -1,104 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class ListRobotApplicationsResult { - public: - AWS_ROBOMAKER_API ListRobotApplicationsResult() = default; - AWS_ROBOMAKER_API ListRobotApplicationsResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API ListRobotApplicationsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of robot application summaries that meet the criteria of the - * request.

- */ - inline const Aws::Vector& GetRobotApplicationSummaries() const { return m_robotApplicationSummaries; } - template > - void SetRobotApplicationSummaries(RobotApplicationSummariesT&& value) { - m_robotApplicationSummariesHasBeenSet = true; - m_robotApplicationSummaries = std::forward(value); - } - template > - ListRobotApplicationsResult& WithRobotApplicationSummaries(RobotApplicationSummariesT&& value) { - SetRobotApplicationSummaries(std::forward(value)); - return *this; - } - template - ListRobotApplicationsResult& AddRobotApplicationSummaries(RobotApplicationSummariesT&& value) { - m_robotApplicationSummariesHasBeenSet = true; - m_robotApplicationSummaries.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call - * ListRobotApplications again and assign that token to the request - * object's nextToken parameter. If there are no remaining results, - * the previous response object's NextToken parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListRobotApplicationsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListRobotApplicationsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_robotApplicationSummaries; - bool m_robotApplicationSummariesHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationApplicationsRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationApplicationsRequest.h deleted file mode 100644 index cf96a779dd0..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationApplicationsRequest.h +++ /dev/null @@ -1,138 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class ListSimulationApplicationsRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API ListSimulationApplicationsRequest() = default; - - // 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 "ListSimulationApplications"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The version qualifier of the simulation application.

- */ - inline const Aws::String& GetVersionQualifier() const { return m_versionQualifier; } - inline bool VersionQualifierHasBeenSet() const { return m_versionQualifierHasBeenSet; } - template - void SetVersionQualifier(VersionQualifierT&& value) { - m_versionQualifierHasBeenSet = true; - m_versionQualifier = std::forward(value); - } - template - ListSimulationApplicationsRequest& WithVersionQualifier(VersionQualifierT&& value) { - SetVersionQualifier(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call - * ListSimulationApplications again and assign that token to the - * request object's nextToken parameter. If there are no remaining - * results, the previous response object's NextToken parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListSimulationApplicationsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

When this parameter is used, ListSimulationApplications only - * returns maxResults results in a single page along with a - * nextToken response element. The remaining results of the initial - * request can be seen by sending another ListSimulationApplications - * request with the returned nextToken value. This value can be - * between 1 and 100. If this parameter is not used, then - * ListSimulationApplications returns up to 100 results and a - * nextToken value if applicable.

- */ - 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 ListSimulationApplicationsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

Optional list of filters to limit results.

The filter name - * name is supported. When filtering, you must use the complete value - * of the filtered item. You can use up to three filters.

- */ - inline const Aws::Vector& GetFilters() const { return m_filters; } - inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } - template > - void SetFilters(FiltersT&& value) { - m_filtersHasBeenSet = true; - m_filters = std::forward(value); - } - template > - ListSimulationApplicationsRequest& WithFilters(FiltersT&& value) { - SetFilters(std::forward(value)); - return *this; - } - template - ListSimulationApplicationsRequest& AddFilters(FiltersT&& value) { - m_filtersHasBeenSet = true; - m_filters.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_versionQualifier; - bool m_versionQualifierHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::Vector m_filters; - bool m_filtersHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationApplicationsResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationApplicationsResult.h deleted file mode 100644 index bba32b3e608..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationApplicationsResult.h +++ /dev/null @@ -1,106 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class ListSimulationApplicationsResult { - public: - AWS_ROBOMAKER_API ListSimulationApplicationsResult() = default; - AWS_ROBOMAKER_API ListSimulationApplicationsResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API ListSimulationApplicationsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of simulation application summaries that meet the criteria of the - * request.

- */ - inline const Aws::Vector& GetSimulationApplicationSummaries() const { - return m_simulationApplicationSummaries; - } - template > - void SetSimulationApplicationSummaries(SimulationApplicationSummariesT&& value) { - m_simulationApplicationSummariesHasBeenSet = true; - m_simulationApplicationSummaries = std::forward(value); - } - template > - ListSimulationApplicationsResult& WithSimulationApplicationSummaries(SimulationApplicationSummariesT&& value) { - SetSimulationApplicationSummaries(std::forward(value)); - return *this; - } - template - ListSimulationApplicationsResult& AddSimulationApplicationSummaries(SimulationApplicationSummariesT&& value) { - m_simulationApplicationSummariesHasBeenSet = true; - m_simulationApplicationSummaries.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call - * ListSimulationApplications again and assign that token to the - * request object's nextToken parameter. If there are no remaining - * results, the previous response object's NextToken parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListSimulationApplicationsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListSimulationApplicationsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_simulationApplicationSummaries; - bool m_simulationApplicationSummariesHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobBatchesRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobBatchesRequest.h deleted file mode 100644 index 505f74aa2c2..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobBatchesRequest.h +++ /dev/null @@ -1,112 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class ListSimulationJobBatchesRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API ListSimulationJobBatchesRequest() = default; - - // 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 "ListSimulationJobBatches"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call - * ListSimulationJobBatches again and assign that token to the request - * object's nextToken parameter. If there are no remaining results, - * the previous response object's NextToken parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListSimulationJobBatchesRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

When this parameter is used, ListSimulationJobBatches only - * returns maxResults results in a single page along with a - * nextToken response element. The remaining results of the initial - * request can be seen by sending another ListSimulationJobBatches - * request with the returned nextToken value.

- */ - 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 ListSimulationJobBatchesRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

Optional filters to limit results.

- */ - inline const Aws::Vector& GetFilters() const { return m_filters; } - inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } - template > - void SetFilters(FiltersT&& value) { - m_filtersHasBeenSet = true; - m_filters = std::forward(value); - } - template > - ListSimulationJobBatchesRequest& WithFilters(FiltersT&& value) { - SetFilters(std::forward(value)); - return *this; - } - template - ListSimulationJobBatchesRequest& AddFilters(FiltersT&& value) { - m_filtersHasBeenSet = true; - m_filters.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::Vector m_filters; - bool m_filtersHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobBatchesResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobBatchesResult.h deleted file mode 100644 index 8afdd4b17ab..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobBatchesResult.h +++ /dev/null @@ -1,103 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class ListSimulationJobBatchesResult { - public: - AWS_ROBOMAKER_API ListSimulationJobBatchesResult() = default; - AWS_ROBOMAKER_API ListSimulationJobBatchesResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API ListSimulationJobBatchesResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of simulation job batch summaries.

- */ - inline const Aws::Vector& GetSimulationJobBatchSummaries() const { return m_simulationJobBatchSummaries; } - template > - void SetSimulationJobBatchSummaries(SimulationJobBatchSummariesT&& value) { - m_simulationJobBatchSummariesHasBeenSet = true; - m_simulationJobBatchSummaries = std::forward(value); - } - template > - ListSimulationJobBatchesResult& WithSimulationJobBatchSummaries(SimulationJobBatchSummariesT&& value) { - SetSimulationJobBatchSummaries(std::forward(value)); - return *this; - } - template - ListSimulationJobBatchesResult& AddSimulationJobBatchSummaries(SimulationJobBatchSummariesT&& value) { - m_simulationJobBatchSummariesHasBeenSet = true; - m_simulationJobBatchSummaries.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call - * ListSimulationJobBatches again and assign that token to the request - * object's nextToken parameter. If there are no remaining results, - * the previous response object's NextToken parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListSimulationJobBatchesResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListSimulationJobBatchesResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_simulationJobBatchSummaries; - bool m_simulationJobBatchSummariesHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobsRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobsRequest.h deleted file mode 100644 index 1e1c6653820..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobsRequest.h +++ /dev/null @@ -1,120 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class ListSimulationJobsRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API ListSimulationJobsRequest() = default; - - // 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 "ListSimulationJobs"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call - * ListSimulationJobs again and assign that token to the request - * object's nextToken parameter. If there are no remaining results, - * the previous response object's NextToken parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListSimulationJobsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

When this parameter is used, ListSimulationJobs only returns - * maxResults results in a single page along with a - * nextToken response element. The remaining results of the initial - * request can be seen by sending another ListSimulationJobs request - * with the returned nextToken value. This value can be between 1 and - * 1000. If this parameter is not used, then ListSimulationJobs - * returns up to 1000 results and a nextToken value if applicable. - *

- */ - 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 ListSimulationJobsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

Optional filters to limit results.

The filter names - * status and simulationApplicationName and - * robotApplicationName are supported. When filtering, you must use - * the complete value of the filtered item. You can use up to three filters, but - * they must be for the same named item. For example, if you are looking for items - * with the status Preparing or the status Running.

- */ - inline const Aws::Vector& GetFilters() const { return m_filters; } - inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } - template > - void SetFilters(FiltersT&& value) { - m_filtersHasBeenSet = true; - m_filters = std::forward(value); - } - template > - ListSimulationJobsRequest& WithFilters(FiltersT&& value) { - SetFilters(std::forward(value)); - return *this; - } - template - ListSimulationJobsRequest& AddFilters(FiltersT&& value) { - m_filtersHasBeenSet = true; - m_filters.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::Vector m_filters; - bool m_filtersHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobsResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobsResult.h deleted file mode 100644 index 92f19ad95d6..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListSimulationJobsResult.h +++ /dev/null @@ -1,103 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class ListSimulationJobsResult { - public: - AWS_ROBOMAKER_API ListSimulationJobsResult() = default; - AWS_ROBOMAKER_API ListSimulationJobsResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API ListSimulationJobsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

A list of simulation job summaries that meet the criteria of the request.

- */ - inline const Aws::Vector& GetSimulationJobSummaries() const { return m_simulationJobSummaries; } - template > - void SetSimulationJobSummaries(SimulationJobSummariesT&& value) { - m_simulationJobSummariesHasBeenSet = true; - m_simulationJobSummaries = std::forward(value); - } - template > - ListSimulationJobsResult& WithSimulationJobSummaries(SimulationJobSummariesT&& value) { - SetSimulationJobSummaries(std::forward(value)); - return *this; - } - template - ListSimulationJobsResult& AddSimulationJobSummaries(SimulationJobSummariesT&& value) { - m_simulationJobSummariesHasBeenSet = true; - m_simulationJobSummaries.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call - * ListSimulationJobs again and assign that token to the request - * object's nextToken parameter. If there are no remaining results, - * the previous response object's NextToken parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListSimulationJobsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListSimulationJobsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_simulationJobSummaries; - bool m_simulationJobSummariesHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListTagsForResourceRequest.h deleted file mode 100644 index 8304e46eee4..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListTagsForResourceRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class ListTagsForResourceRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API ListTagsForResourceRequest() = default; - - // 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_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The AWS RoboMaker Amazon Resource Name (ARN) with tags to be listed.

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - ListTagsForResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListTagsForResourceResult.h deleted file mode 100644 index 18ff5c4552d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListTagsForResourceResult.h +++ /dev/null @@ -1,77 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class ListTagsForResourceResult { - public: - AWS_ROBOMAKER_API ListTagsForResourceResult() = default; - AWS_ROBOMAKER_API ListTagsForResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The list of all tags added to the specified resource.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - ListTagsForResourceResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - ListTagsForResourceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListTagsForResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldExportJobsRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldExportJobsRequest.h deleted file mode 100644 index 104f2733bd5..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldExportJobsRequest.h +++ /dev/null @@ -1,115 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class ListWorldExportJobsRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API ListWorldExportJobsRequest() = default; - - // 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 "ListWorldExportJobs"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call - * ListWorldExportJobs again and assign that token to the request - * object's nextToken parameter. If there are no remaining results, - * the previous response object's NextToken parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListWorldExportJobsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

When this parameter is used, ListWorldExportJobs only returns - * maxResults results in a single page along with a - * nextToken response element. The remaining results of the initial - * request can be seen by sending another ListWorldExportJobs request - * with the returned nextToken value. This value can be between 1 and - * 100. If this parameter is not used, then ListWorldExportJobs - * returns up to 100 results and a nextToken value if applicable.

- */ - 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 ListWorldExportJobsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

Optional filters to limit results. You can use generationJobId - * and templateId.

- */ - inline const Aws::Vector& GetFilters() const { return m_filters; } - inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } - template > - void SetFilters(FiltersT&& value) { - m_filtersHasBeenSet = true; - m_filters = std::forward(value); - } - template > - ListWorldExportJobsRequest& WithFilters(FiltersT&& value) { - SetFilters(std::forward(value)); - return *this; - } - template - ListWorldExportJobsRequest& AddFilters(FiltersT&& value) { - m_filtersHasBeenSet = true; - m_filters.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::Vector m_filters; - bool m_filtersHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldExportJobsResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldExportJobsResult.h deleted file mode 100644 index 5a352284762..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldExportJobsResult.h +++ /dev/null @@ -1,103 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class ListWorldExportJobsResult { - public: - AWS_ROBOMAKER_API ListWorldExportJobsResult() = default; - AWS_ROBOMAKER_API ListWorldExportJobsResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API ListWorldExportJobsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Summary information for world export jobs.

- */ - inline const Aws::Vector& GetWorldExportJobSummaries() const { return m_worldExportJobSummaries; } - template > - void SetWorldExportJobSummaries(WorldExportJobSummariesT&& value) { - m_worldExportJobSummariesHasBeenSet = true; - m_worldExportJobSummaries = std::forward(value); - } - template > - ListWorldExportJobsResult& WithWorldExportJobSummaries(WorldExportJobSummariesT&& value) { - SetWorldExportJobSummaries(std::forward(value)); - return *this; - } - template - ListWorldExportJobsResult& AddWorldExportJobSummaries(WorldExportJobSummariesT&& value) { - m_worldExportJobSummariesHasBeenSet = true; - m_worldExportJobSummaries.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call - * ListWorldExportJobsRequest again and assign that token to the - * request object's nextToken parameter. If there are no remaining - * results, the previous response object's NextToken parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListWorldExportJobsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListWorldExportJobsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_worldExportJobSummaries; - bool m_worldExportJobSummariesHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldGenerationJobsRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldGenerationJobsRequest.h deleted file mode 100644 index adfa5574734..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldGenerationJobsRequest.h +++ /dev/null @@ -1,116 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class ListWorldGenerationJobsRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API ListWorldGenerationJobsRequest() = default; - - // 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 "ListWorldGenerationJobs"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call - * ListWorldGenerationJobsRequest again and assign that token to the - * request object's nextToken parameter. If there are no remaining - * results, the previous response object's NextToken parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListWorldGenerationJobsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

When this parameter is used, ListWorldGeneratorJobs only returns - * maxResults results in a single page along with a - * nextToken response element. The remaining results of the initial - * request can be seen by sending another ListWorldGeneratorJobs - * request with the returned nextToken value. This value can be - * between 1 and 100. If this parameter is not used, then - * ListWorldGeneratorJobs returns up to 100 results and a - * nextToken value if applicable.

- */ - 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 ListWorldGenerationJobsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

Optional filters to limit results. You can use status and - * templateId.

- */ - inline const Aws::Vector& GetFilters() const { return m_filters; } - inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } - template > - void SetFilters(FiltersT&& value) { - m_filtersHasBeenSet = true; - m_filters = std::forward(value); - } - template > - ListWorldGenerationJobsRequest& WithFilters(FiltersT&& value) { - SetFilters(std::forward(value)); - return *this; - } - template - ListWorldGenerationJobsRequest& AddFilters(FiltersT&& value) { - m_filtersHasBeenSet = true; - m_filters.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::Vector m_filters; - bool m_filtersHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldGenerationJobsResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldGenerationJobsResult.h deleted file mode 100644 index 41fce9b8d7d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldGenerationJobsResult.h +++ /dev/null @@ -1,103 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class ListWorldGenerationJobsResult { - public: - AWS_ROBOMAKER_API ListWorldGenerationJobsResult() = default; - AWS_ROBOMAKER_API ListWorldGenerationJobsResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API ListWorldGenerationJobsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Summary information for world generator jobs.

- */ - inline const Aws::Vector& GetWorldGenerationJobSummaries() const { return m_worldGenerationJobSummaries; } - template > - void SetWorldGenerationJobSummaries(WorldGenerationJobSummariesT&& value) { - m_worldGenerationJobSummariesHasBeenSet = true; - m_worldGenerationJobSummaries = std::forward(value); - } - template > - ListWorldGenerationJobsResult& WithWorldGenerationJobSummaries(WorldGenerationJobSummariesT&& value) { - SetWorldGenerationJobSummaries(std::forward(value)); - return *this; - } - template - ListWorldGenerationJobsResult& AddWorldGenerationJobSummaries(WorldGenerationJobSummariesT&& value) { - m_worldGenerationJobSummariesHasBeenSet = true; - m_worldGenerationJobSummaries.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call - * ListWorldGeneratorJobsRequest again and assign that token to the - * request object's nextToken parameter. If there are no remaining - * results, the previous response object's NextToken parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListWorldGenerationJobsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListWorldGenerationJobsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_worldGenerationJobSummaries; - bool m_worldGenerationJobSummariesHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldTemplatesRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldTemplatesRequest.h deleted file mode 100644 index e6f984b907c..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldTemplatesRequest.h +++ /dev/null @@ -1,85 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class ListWorldTemplatesRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API ListWorldTemplatesRequest() = default; - - // 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 "ListWorldTemplates"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call - * ListWorldTemplates again and assign that token to the request - * object's nextToken parameter. If there are no remaining results, - * the previous response object's NextToken parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListWorldTemplatesRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

When this parameter is used, ListWorldTemplates only returns - * maxResults results in a single page along with a - * nextToken response element. The remaining results of the initial - * request can be seen by sending another ListWorldTemplates request - * with the returned nextToken value. This value can be between 1 and - * 100. If this parameter is not used, then ListWorldTemplates returns - * up to 100 results and a nextToken value if applicable.

- */ - 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 ListWorldTemplatesRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - private: - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldTemplatesResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldTemplatesResult.h deleted file mode 100644 index 45274aabbde..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldTemplatesResult.h +++ /dev/null @@ -1,103 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class ListWorldTemplatesResult { - public: - AWS_ROBOMAKER_API ListWorldTemplatesResult() = default; - AWS_ROBOMAKER_API ListWorldTemplatesResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API ListWorldTemplatesResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Summary information for templates.

- */ - inline const Aws::Vector& GetTemplateSummaries() const { return m_templateSummaries; } - template > - void SetTemplateSummaries(TemplateSummariesT&& value) { - m_templateSummariesHasBeenSet = true; - m_templateSummaries = std::forward(value); - } - template > - ListWorldTemplatesResult& WithTemplateSummaries(TemplateSummariesT&& value) { - SetTemplateSummaries(std::forward(value)); - return *this; - } - template - ListWorldTemplatesResult& AddTemplateSummaries(TemplateSummariesT&& value) { - m_templateSummariesHasBeenSet = true; - m_templateSummaries.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call - * ListWorldTemplates again and assign that token to the request - * object's nextToken parameter. If there are no remaining results, - * the previous response object's NextToken parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListWorldTemplatesResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListWorldTemplatesResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_templateSummaries; - bool m_templateSummariesHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldsRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldsRequest.h deleted file mode 100644 index 017e3902a89..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldsRequest.h +++ /dev/null @@ -1,114 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class ListWorldsRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API ListWorldsRequest() = default; - - // 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 "ListWorlds"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call ListWorlds again - * and assign that token to the request object's nextToken parameter. - * If there are no remaining results, the previous response object's NextToken - * parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListWorldsRequest& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

When this parameter is used, ListWorlds only returns - * maxResults results in a single page along with a - * nextToken response element. The remaining results of the initial - * request can be seen by sending another ListWorlds request with the - * returned nextToken value. This value can be between 1 and 100. If - * this parameter is not used, then ListWorlds returns up to 100 - * results and a nextToken value if applicable.

- */ - 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 ListWorldsRequest& WithMaxResults(int value) { - SetMaxResults(value); - return *this; - } - ///@} - - ///@{ - /** - *

Optional filters to limit results. You can use status.

- */ - inline const Aws::Vector& GetFilters() const { return m_filters; } - inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } - template > - void SetFilters(FiltersT&& value) { - m_filtersHasBeenSet = true; - m_filters = std::forward(value); - } - template > - ListWorldsRequest& WithFilters(FiltersT&& value) { - SetFilters(std::forward(value)); - return *this; - } - template - ListWorldsRequest& AddFilters(FiltersT&& value) { - m_filtersHasBeenSet = true; - m_filters.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - int m_maxResults{0}; - bool m_maxResultsHasBeenSet = false; - - Aws::Vector m_filters; - bool m_filtersHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldsResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldsResult.h deleted file mode 100644 index e3731dda7b0..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ListWorldsResult.h +++ /dev/null @@ -1,103 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class ListWorldsResult { - public: - AWS_ROBOMAKER_API ListWorldsResult() = default; - AWS_ROBOMAKER_API ListWorldsResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API ListWorldsResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

Summary information for worlds.

- */ - inline const Aws::Vector& GetWorldSummaries() const { return m_worldSummaries; } - template > - void SetWorldSummaries(WorldSummariesT&& value) { - m_worldSummariesHasBeenSet = true; - m_worldSummaries = std::forward(value); - } - template > - ListWorldsResult& WithWorldSummaries(WorldSummariesT&& value) { - SetWorldSummaries(std::forward(value)); - return *this; - } - template - ListWorldsResult& AddWorldSummaries(WorldSummariesT&& value) { - m_worldSummariesHasBeenSet = true; - m_worldSummaries.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

If the previous paginated request did not return all of the remaining - * results, the response object's nextToken parameter value is set to - * a token. To retrieve the next set of results, call ListWorlds again - * and assign that token to the request object's nextToken parameter. - * If there are no remaining results, the previous response object's NextToken - * parameter is set to null.

- */ - inline const Aws::String& GetNextToken() const { return m_nextToken; } - template - void SetNextToken(NextTokenT&& value) { - m_nextTokenHasBeenSet = true; - m_nextToken = std::forward(value); - } - template - ListWorldsResult& WithNextToken(NextTokenT&& value) { - SetNextToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - ListWorldsResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_worldSummaries; - bool m_worldSummariesHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/LoggingConfig.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/LoggingConfig.h deleted file mode 100644 index e38c44a827a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/LoggingConfig.h +++ /dev/null @@ -1,34 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

The logging configuration.

See Also:

AWS - * API Reference

- */ -class LoggingConfig { - public: - AWS_ROBOMAKER_API LoggingConfig() = default; - AWS_ROBOMAKER_API LoggingConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API LoggingConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/NetworkInterface.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/NetworkInterface.h deleted file mode 100644 index a54f12cafe0..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/NetworkInterface.h +++ /dev/null @@ -1,100 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Describes a network interface.

See Also:

AWS - * API Reference

- */ -class NetworkInterface { - public: - AWS_ROBOMAKER_API NetworkInterface() = default; - AWS_ROBOMAKER_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API NetworkInterface& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The ID of the network interface.

- */ - inline const Aws::String& GetNetworkInterfaceId() const { return m_networkInterfaceId; } - inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; } - template - void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { - m_networkInterfaceIdHasBeenSet = true; - m_networkInterfaceId = std::forward(value); - } - template - NetworkInterface& WithNetworkInterfaceId(NetworkInterfaceIdT&& value) { - SetNetworkInterfaceId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The IPv4 address of the network interface within the subnet.

- */ - inline const Aws::String& GetPrivateIpAddress() const { return m_privateIpAddress; } - inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; } - template - void SetPrivateIpAddress(PrivateIpAddressT&& value) { - m_privateIpAddressHasBeenSet = true; - m_privateIpAddress = std::forward(value); - } - template - NetworkInterface& WithPrivateIpAddress(PrivateIpAddressT&& value) { - SetPrivateIpAddress(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The IPv4 public address of the network interface.

- */ - inline const Aws::String& GetPublicIpAddress() const { return m_publicIpAddress; } - inline bool PublicIpAddressHasBeenSet() const { return m_publicIpAddressHasBeenSet; } - template - void SetPublicIpAddress(PublicIpAddressT&& value) { - m_publicIpAddressHasBeenSet = true; - m_publicIpAddress = std::forward(value); - } - template - NetworkInterface& WithPublicIpAddress(PublicIpAddressT&& value) { - SetPublicIpAddress(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_networkInterfaceId; - bool m_networkInterfaceIdHasBeenSet = false; - - Aws::String m_privateIpAddress; - bool m_privateIpAddressHasBeenSet = false; - - Aws::String m_publicIpAddress; - bool m_publicIpAddressHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/OutputLocation.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/OutputLocation.h deleted file mode 100644 index 9a14e089f26..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/OutputLocation.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

The output location.

See Also:

AWS - * API Reference

- */ -class OutputLocation { - public: - AWS_ROBOMAKER_API OutputLocation() = default; - AWS_ROBOMAKER_API OutputLocation(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API OutputLocation& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The S3 bucket for output.

- */ - inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; } - inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; } - template - void SetS3Bucket(S3BucketT&& value) { - m_s3BucketHasBeenSet = true; - m_s3Bucket = std::forward(value); - } - template - OutputLocation& WithS3Bucket(S3BucketT&& value) { - SetS3Bucket(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The S3 folder in the s3Bucket where output files will be - * placed.

- */ - inline const Aws::String& GetS3Prefix() const { return m_s3Prefix; } - inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; } - template - void SetS3Prefix(S3PrefixT&& value) { - m_s3PrefixHasBeenSet = true; - m_s3Prefix = std::forward(value); - } - template - OutputLocation& WithS3Prefix(S3PrefixT&& value) { - SetS3Prefix(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_s3Bucket; - bool m_s3BucketHasBeenSet = false; - - Aws::String m_s3Prefix; - bool m_s3PrefixHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/PortForwardingConfig.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/PortForwardingConfig.h deleted file mode 100644 index 7567990b9e6..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/PortForwardingConfig.h +++ /dev/null @@ -1,65 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Configuration information for port forwarding.

See Also:

AWS - * API Reference

- */ -class PortForwardingConfig { - public: - AWS_ROBOMAKER_API PortForwardingConfig() = default; - AWS_ROBOMAKER_API PortForwardingConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API PortForwardingConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The port mappings for the configuration.

- */ - inline const Aws::Vector& GetPortMappings() const { return m_portMappings; } - inline bool PortMappingsHasBeenSet() const { return m_portMappingsHasBeenSet; } - template > - void SetPortMappings(PortMappingsT&& value) { - m_portMappingsHasBeenSet = true; - m_portMappings = std::forward(value); - } - template > - PortForwardingConfig& WithPortMappings(PortMappingsT&& value) { - SetPortMappings(std::forward(value)); - return *this; - } - template - PortForwardingConfig& AddPortMappings(PortMappingsT&& value) { - m_portMappingsHasBeenSet = true; - m_portMappings.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::Vector m_portMappings; - bool m_portMappingsHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/PortMapping.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/PortMapping.h deleted file mode 100644 index 069cc02f87e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/PortMapping.h +++ /dev/null @@ -1,92 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

An object representing a port mapping.

See Also:

AWS - * API Reference

- */ -class PortMapping { - public: - AWS_ROBOMAKER_API PortMapping() = default; - AWS_ROBOMAKER_API PortMapping(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API PortMapping& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The port number on the simulation job instance to use as a remote connection - * point.

- */ - inline int GetJobPort() const { return m_jobPort; } - inline bool JobPortHasBeenSet() const { return m_jobPortHasBeenSet; } - inline void SetJobPort(int value) { - m_jobPortHasBeenSet = true; - m_jobPort = value; - } - inline PortMapping& WithJobPort(int value) { - SetJobPort(value); - return *this; - } - ///@} - - ///@{ - /** - *

The port number on the application.

- */ - inline int GetApplicationPort() const { return m_applicationPort; } - inline bool ApplicationPortHasBeenSet() const { return m_applicationPortHasBeenSet; } - inline void SetApplicationPort(int value) { - m_applicationPortHasBeenSet = true; - m_applicationPort = value; - } - inline PortMapping& WithApplicationPort(int value) { - SetApplicationPort(value); - return *this; - } - ///@} - - ///@{ - /** - *

A Boolean indicating whether to enable this port mapping on public IP.

- */ - inline bool GetEnableOnPublicIp() const { return m_enableOnPublicIp; } - inline bool EnableOnPublicIpHasBeenSet() const { return m_enableOnPublicIpHasBeenSet; } - inline void SetEnableOnPublicIp(bool value) { - m_enableOnPublicIpHasBeenSet = true; - m_enableOnPublicIp = value; - } - inline PortMapping& WithEnableOnPublicIp(bool value) { - SetEnableOnPublicIp(value); - return *this; - } - ///@} - private: - int m_jobPort{0}; - bool m_jobPortHasBeenSet = false; - - int m_applicationPort{0}; - bool m_applicationPortHasBeenSet = false; - - bool m_enableOnPublicIp{false}; - bool m_enableOnPublicIpHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ProgressDetail.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ProgressDetail.h deleted file mode 100644 index d84a48b0355..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/ProgressDetail.h +++ /dev/null @@ -1,127 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about the progress of a deployment job.

See Also:

- * AWS - * API Reference

- */ -class ProgressDetail { - public: - AWS_ROBOMAKER_API ProgressDetail() = default; - AWS_ROBOMAKER_API ProgressDetail(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API ProgressDetail& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The current progress status.

Validating

Validating - * the deployment.

DownloadingExtracting

Downloading and - * extracting the bundle on the robot.

ExecutingPreLaunch
- *

Executing pre-launch script(s) if provided.

Launching
- *

Launching the robot application.

ExecutingPostLaunch
- *

Executing post-launch script(s) if provided.

Finished
- *

Deployment is complete.

- */ - inline RobotDeploymentStep GetCurrentProgress() const { return m_currentProgress; } - inline bool CurrentProgressHasBeenSet() const { return m_currentProgressHasBeenSet; } - inline void SetCurrentProgress(RobotDeploymentStep value) { - m_currentProgressHasBeenSet = true; - m_currentProgress = value; - } - inline ProgressDetail& WithCurrentProgress(RobotDeploymentStep value) { - SetCurrentProgress(value); - return *this; - } - ///@} - - ///@{ - /** - *

Precentage of the step that is done. This currently only applies to the - * Downloading/Extracting step of the deployment. It is empty for - * other steps.

- */ - inline double GetPercentDone() const { return m_percentDone; } - inline bool PercentDoneHasBeenSet() const { return m_percentDoneHasBeenSet; } - inline void SetPercentDone(double value) { - m_percentDoneHasBeenSet = true; - m_percentDone = value; - } - inline ProgressDetail& WithPercentDone(double value) { - SetPercentDone(value); - return *this; - } - ///@} - - ///@{ - /** - *

Estimated amount of time in seconds remaining in the step. This currently - * only applies to the Downloading/Extracting step of the deployment. - * It is empty for other steps.

- */ - inline int GetEstimatedTimeRemainingSeconds() const { return m_estimatedTimeRemainingSeconds; } - inline bool EstimatedTimeRemainingSecondsHasBeenSet() const { return m_estimatedTimeRemainingSecondsHasBeenSet; } - inline void SetEstimatedTimeRemainingSeconds(int value) { - m_estimatedTimeRemainingSecondsHasBeenSet = true; - m_estimatedTimeRemainingSeconds = value; - } - inline ProgressDetail& WithEstimatedTimeRemainingSeconds(int value) { - SetEstimatedTimeRemainingSeconds(value); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the deployment job.

- */ - inline const Aws::String& GetTargetResource() const { return m_targetResource; } - inline bool TargetResourceHasBeenSet() const { return m_targetResourceHasBeenSet; } - template - void SetTargetResource(TargetResourceT&& value) { - m_targetResourceHasBeenSet = true; - m_targetResource = std::forward(value); - } - template - ProgressDetail& WithTargetResource(TargetResourceT&& value) { - SetTargetResource(std::forward(value)); - return *this; - } - ///@} - private: - RobotDeploymentStep m_currentProgress{RobotDeploymentStep::NOT_SET}; - bool m_currentProgressHasBeenSet = false; - - double m_percentDone{0.0}; - bool m_percentDoneHasBeenSet = false; - - int m_estimatedTimeRemainingSeconds{0}; - bool m_estimatedTimeRemainingSecondsHasBeenSet = false; - - Aws::String m_targetResource; - bool m_targetResourceHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RenderingEngine.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RenderingEngine.h deleted file mode 100644 index 5f901d76240..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RenderingEngine.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a rendering engine.

See Also:

AWS - * API Reference

- */ -class RenderingEngine { - public: - AWS_ROBOMAKER_API RenderingEngine() = default; - AWS_ROBOMAKER_API RenderingEngine(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API RenderingEngine& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the rendering engine.

- */ - inline RenderingEngineType GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(RenderingEngineType value) { - m_nameHasBeenSet = true; - m_name = value; - } - inline RenderingEngine& WithName(RenderingEngineType value) { - SetName(value); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the rendering engine.

- */ - inline const Aws::String& GetVersion() const { return m_version; } - inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } - template - void SetVersion(VersionT&& value) { - m_versionHasBeenSet = true; - m_version = std::forward(value); - } - template - RenderingEngine& WithVersion(VersionT&& value) { - SetVersion(std::forward(value)); - return *this; - } - ///@} - private: - RenderingEngineType m_name{RenderingEngineType::NOT_SET}; - bool m_nameHasBeenSet = false; - - Aws::String m_version; - bool m_versionHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RenderingEngineType.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RenderingEngineType.h deleted file mode 100644 index 5fd2da0a3bf..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RenderingEngineType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class RenderingEngineType { NOT_SET, OGRE }; - -namespace RenderingEngineTypeMapper { -AWS_ROBOMAKER_API RenderingEngineType GetRenderingEngineTypeForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForRenderingEngineType(RenderingEngineType value); -} // namespace RenderingEngineTypeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RestartSimulationJobRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RestartSimulationJobRequest.h deleted file mode 100644 index 7c283a3452d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RestartSimulationJobRequest.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class RestartSimulationJobRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API RestartSimulationJobRequest() = default; - - // 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 "RestartSimulationJob"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the simulation job.

- */ - inline const Aws::String& GetJob() const { return m_job; } - inline bool JobHasBeenSet() const { return m_jobHasBeenSet; } - template - void SetJob(JobT&& value) { - m_jobHasBeenSet = true; - m_job = std::forward(value); - } - template - RestartSimulationJobRequest& WithJob(JobT&& value) { - SetJob(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_job; - bool m_jobHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RestartSimulationJobResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RestartSimulationJobResult.h deleted file mode 100644 index 8972a41d8fa..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RestartSimulationJobResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class RestartSimulationJobResult { - public: - AWS_ROBOMAKER_API RestartSimulationJobResult() = default; - AWS_ROBOMAKER_API RestartSimulationJobResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API RestartSimulationJobResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - RestartSimulationJobResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Robot.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Robot.h deleted file mode 100644 index c9ae449d027..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Robot.h +++ /dev/null @@ -1,225 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a robot.

See Also:

AWS API - * Reference

- */ -class Robot { - public: - AWS_ROBOMAKER_API Robot() = default; - AWS_ROBOMAKER_API Robot(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Robot& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the robot.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - Robot& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the robot.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - Robot& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the fleet.

- */ - inline const Aws::String& GetFleetArn() const { return m_fleetArn; } - inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; } - template - void SetFleetArn(FleetArnT&& value) { - m_fleetArnHasBeenSet = true; - m_fleetArn = std::forward(value); - } - template - Robot& WithFleetArn(FleetArnT&& value) { - SetFleetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the robot.

- */ - inline RobotStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(RobotStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline Robot& WithStatus(RobotStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The Greengrass group associated with the robot.

- */ - inline const Aws::String& GetGreenGrassGroupId() const { return m_greenGrassGroupId; } - inline bool GreenGrassGroupIdHasBeenSet() const { return m_greenGrassGroupIdHasBeenSet; } - template - void SetGreenGrassGroupId(GreenGrassGroupIdT&& value) { - m_greenGrassGroupIdHasBeenSet = true; - m_greenGrassGroupId = std::forward(value); - } - template - Robot& WithGreenGrassGroupId(GreenGrassGroupIdT&& value) { - SetGreenGrassGroupId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the robot was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - Robot& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The architecture of the robot.

- */ - inline Architecture GetArchitecture() const { return m_architecture; } - inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; } - inline void SetArchitecture(Architecture value) { - m_architectureHasBeenSet = true; - m_architecture = value; - } - inline Robot& WithArchitecture(Architecture value) { - SetArchitecture(value); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the last deployment job.

- */ - inline const Aws::String& GetLastDeploymentJob() const { return m_lastDeploymentJob; } - inline bool LastDeploymentJobHasBeenSet() const { return m_lastDeploymentJobHasBeenSet; } - template - void SetLastDeploymentJob(LastDeploymentJobT&& value) { - m_lastDeploymentJobHasBeenSet = true; - m_lastDeploymentJob = std::forward(value); - } - template - Robot& WithLastDeploymentJob(LastDeploymentJobT&& value) { - SetLastDeploymentJob(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time of the last deployment.

- */ - inline const Aws::Utils::DateTime& GetLastDeploymentTime() const { return m_lastDeploymentTime; } - inline bool LastDeploymentTimeHasBeenSet() const { return m_lastDeploymentTimeHasBeenSet; } - template - void SetLastDeploymentTime(LastDeploymentTimeT&& value) { - m_lastDeploymentTimeHasBeenSet = true; - m_lastDeploymentTime = std::forward(value); - } - template - Robot& WithLastDeploymentTime(LastDeploymentTimeT&& value) { - SetLastDeploymentTime(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_fleetArn; - bool m_fleetArnHasBeenSet = false; - - RobotStatus m_status{RobotStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::String m_greenGrassGroupId; - bool m_greenGrassGroupIdHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - Architecture m_architecture{Architecture::NOT_SET}; - bool m_architectureHasBeenSet = false; - - Aws::String m_lastDeploymentJob; - bool m_lastDeploymentJobHasBeenSet = false; - - Aws::Utils::DateTime m_lastDeploymentTime{}; - bool m_lastDeploymentTimeHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotApplicationConfig.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotApplicationConfig.h deleted file mode 100644 index 1c375f989ee..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotApplicationConfig.h +++ /dev/null @@ -1,159 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Application configuration information for a robot.

See Also:

- * AWS - * API Reference

- */ -class RobotApplicationConfig { - public: - AWS_ROBOMAKER_API RobotApplicationConfig() = default; - AWS_ROBOMAKER_API RobotApplicationConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API RobotApplicationConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The application information for the robot application.

- */ - inline const Aws::String& GetApplication() const { return m_application; } - inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; } - template - void SetApplication(ApplicationT&& value) { - m_applicationHasBeenSet = true; - m_application = std::forward(value); - } - template - RobotApplicationConfig& WithApplication(ApplicationT&& value) { - SetApplication(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the robot application.

- */ - inline const Aws::String& GetApplicationVersion() const { return m_applicationVersion; } - inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; } - template - void SetApplicationVersion(ApplicationVersionT&& value) { - m_applicationVersionHasBeenSet = true; - m_applicationVersion = std::forward(value); - } - template - RobotApplicationConfig& WithApplicationVersion(ApplicationVersionT&& value) { - SetApplicationVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The launch configuration for the robot application.

- */ - inline const LaunchConfig& GetLaunchConfig() const { return m_launchConfig; } - inline bool LaunchConfigHasBeenSet() const { return m_launchConfigHasBeenSet; } - template - void SetLaunchConfig(LaunchConfigT&& value) { - m_launchConfigHasBeenSet = true; - m_launchConfig = std::forward(value); - } - template - RobotApplicationConfig& WithLaunchConfig(LaunchConfigT&& value) { - SetLaunchConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The upload configurations for the robot application.

- */ - inline const Aws::Vector& GetUploadConfigurations() const { return m_uploadConfigurations; } - inline bool UploadConfigurationsHasBeenSet() const { return m_uploadConfigurationsHasBeenSet; } - template > - void SetUploadConfigurations(UploadConfigurationsT&& value) { - m_uploadConfigurationsHasBeenSet = true; - m_uploadConfigurations = std::forward(value); - } - template > - RobotApplicationConfig& WithUploadConfigurations(UploadConfigurationsT&& value) { - SetUploadConfigurations(std::forward(value)); - return *this; - } - template - RobotApplicationConfig& AddUploadConfigurations(UploadConfigurationsT&& value) { - m_uploadConfigurationsHasBeenSet = true; - m_uploadConfigurations.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about tools configured for the robot application.

- */ - inline const Aws::Vector& GetTools() const { return m_tools; } - inline bool ToolsHasBeenSet() const { return m_toolsHasBeenSet; } - template > - void SetTools(ToolsT&& value) { - m_toolsHasBeenSet = true; - m_tools = std::forward(value); - } - template > - RobotApplicationConfig& WithTools(ToolsT&& value) { - SetTools(std::forward(value)); - return *this; - } - template - RobotApplicationConfig& AddTools(ToolsT&& value) { - m_toolsHasBeenSet = true; - m_tools.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_application; - bool m_applicationHasBeenSet = false; - - Aws::String m_applicationVersion; - bool m_applicationVersionHasBeenSet = false; - - LaunchConfig m_launchConfig; - bool m_launchConfigHasBeenSet = false; - - Aws::Vector m_uploadConfigurations; - bool m_uploadConfigurationsHasBeenSet = false; - - Aws::Vector m_tools; - bool m_toolsHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotApplicationSummary.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotApplicationSummary.h deleted file mode 100644 index 7b37fcf3032..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotApplicationSummary.h +++ /dev/null @@ -1,145 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Summary information for a robot application.

See Also:

AWS - * API Reference

- */ -class RobotApplicationSummary { - public: - AWS_ROBOMAKER_API RobotApplicationSummary() = default; - AWS_ROBOMAKER_API RobotApplicationSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API RobotApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the robot application.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - RobotApplicationSummary& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the robot.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - RobotApplicationSummary& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the robot application.

- */ - inline const Aws::String& GetVersion() const { return m_version; } - inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } - template - void SetVersion(VersionT&& value) { - m_versionHasBeenSet = true; - m_version = std::forward(value); - } - template - RobotApplicationSummary& WithVersion(VersionT&& value) { - SetVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the robot application was - * last updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - RobotApplicationSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about a robot software suite.

- */ - inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; } - inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; } - template - void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - m_robotSoftwareSuiteHasBeenSet = true; - m_robotSoftwareSuite = std::forward(value); - } - template - RobotApplicationSummary& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - SetRobotSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_version; - bool m_versionHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - RobotSoftwareSuite m_robotSoftwareSuite; - bool m_robotSoftwareSuiteHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotDeployment.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotDeployment.h deleted file mode 100644 index d13acc09c1a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotDeployment.h +++ /dev/null @@ -1,185 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a robot deployment.

See Also:

AWS - * API Reference

- */ -class RobotDeployment { - public: - AWS_ROBOMAKER_API RobotDeployment() = default; - AWS_ROBOMAKER_API RobotDeployment(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API RobotDeployment& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The robot deployment Amazon Resource Name (ARN).

- */ - inline const Aws::String& GetArn() const { return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - RobotDeployment& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the deployment was - * started.

- */ - inline const Aws::Utils::DateTime& GetDeploymentStartTime() const { return m_deploymentStartTime; } - inline bool DeploymentStartTimeHasBeenSet() const { return m_deploymentStartTimeHasBeenSet; } - template - void SetDeploymentStartTime(DeploymentStartTimeT&& value) { - m_deploymentStartTimeHasBeenSet = true; - m_deploymentStartTime = std::forward(value); - } - template - RobotDeployment& WithDeploymentStartTime(DeploymentStartTimeT&& value) { - SetDeploymentStartTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the deployment finished.

- */ - inline const Aws::Utils::DateTime& GetDeploymentFinishTime() const { return m_deploymentFinishTime; } - inline bool DeploymentFinishTimeHasBeenSet() const { return m_deploymentFinishTimeHasBeenSet; } - template - void SetDeploymentFinishTime(DeploymentFinishTimeT&& value) { - m_deploymentFinishTimeHasBeenSet = true; - m_deploymentFinishTime = std::forward(value); - } - template - RobotDeployment& WithDeploymentFinishTime(DeploymentFinishTimeT&& value) { - SetDeploymentFinishTime(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the robot deployment.

- */ - inline RobotStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(RobotStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline RobotDeployment& WithStatus(RobotStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

Information about how the deployment is progressing.

- */ - inline const ProgressDetail& GetProgressDetail() const { return m_progressDetail; } - inline bool ProgressDetailHasBeenSet() const { return m_progressDetailHasBeenSet; } - template - void SetProgressDetail(ProgressDetailT&& value) { - m_progressDetailHasBeenSet = true; - m_progressDetail = std::forward(value); - } - template - RobotDeployment& WithProgressDetail(ProgressDetailT&& value) { - SetProgressDetail(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A short description of the reason why the robot deployment failed.

- */ - inline const Aws::String& GetFailureReason() const { return m_failureReason; } - inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } - template - void SetFailureReason(FailureReasonT&& value) { - m_failureReasonHasBeenSet = true; - m_failureReason = std::forward(value); - } - template - RobotDeployment& WithFailureReason(FailureReasonT&& value) { - SetFailureReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The robot deployment failure code.

- */ - inline DeploymentJobErrorCode GetFailureCode() const { return m_failureCode; } - inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; } - inline void SetFailureCode(DeploymentJobErrorCode value) { - m_failureCodeHasBeenSet = true; - m_failureCode = value; - } - inline RobotDeployment& WithFailureCode(DeploymentJobErrorCode value) { - SetFailureCode(value); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::Utils::DateTime m_deploymentStartTime{}; - bool m_deploymentStartTimeHasBeenSet = false; - - Aws::Utils::DateTime m_deploymentFinishTime{}; - bool m_deploymentFinishTimeHasBeenSet = false; - - RobotStatus m_status{RobotStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - ProgressDetail m_progressDetail; - bool m_progressDetailHasBeenSet = false; - - Aws::String m_failureReason; - bool m_failureReasonHasBeenSet = false; - - DeploymentJobErrorCode m_failureCode{DeploymentJobErrorCode::NOT_SET}; - bool m_failureCodeHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotDeploymentStep.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotDeploymentStep.h deleted file mode 100644 index f4e278c6804..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotDeploymentStep.h +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class RobotDeploymentStep { - NOT_SET, - Validating, - DownloadingExtracting, - ExecutingDownloadCondition, - ExecutingPreLaunch, - Launching, - ExecutingPostLaunch, - Finished -}; - -namespace RobotDeploymentStepMapper { -AWS_ROBOMAKER_API RobotDeploymentStep GetRobotDeploymentStepForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForRobotDeploymentStep(RobotDeploymentStep value); -} // namespace RobotDeploymentStepMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotSoftwareSuite.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotSoftwareSuite.h deleted file mode 100644 index fed3ff3bd73..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotSoftwareSuite.h +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a robot software suite.

See Also:

AWS - * API Reference

- */ -class RobotSoftwareSuite { - public: - AWS_ROBOMAKER_API RobotSoftwareSuite() = default; - AWS_ROBOMAKER_API RobotSoftwareSuite(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API RobotSoftwareSuite& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the robot software suite. General is the only - * supported value.

- */ - inline RobotSoftwareSuiteType GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(RobotSoftwareSuiteType value) { - m_nameHasBeenSet = true; - m_name = value; - } - inline RobotSoftwareSuite& WithName(RobotSoftwareSuiteType value) { - SetName(value); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the robot software suite. Not applicable for General software - * suite.

- */ - inline RobotSoftwareSuiteVersionType GetVersion() const { return m_version; } - inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } - inline void SetVersion(RobotSoftwareSuiteVersionType value) { - m_versionHasBeenSet = true; - m_version = value; - } - inline RobotSoftwareSuite& WithVersion(RobotSoftwareSuiteVersionType value) { - SetVersion(value); - return *this; - } - ///@} - private: - RobotSoftwareSuiteType m_name{RobotSoftwareSuiteType::NOT_SET}; - bool m_nameHasBeenSet = false; - - RobotSoftwareSuiteVersionType m_version{RobotSoftwareSuiteVersionType::NOT_SET}; - bool m_versionHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotSoftwareSuiteType.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotSoftwareSuiteType.h deleted file mode 100644 index 041d59f9375..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotSoftwareSuiteType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class RobotSoftwareSuiteType { NOT_SET, ROS, ROS2, General }; - -namespace RobotSoftwareSuiteTypeMapper { -AWS_ROBOMAKER_API RobotSoftwareSuiteType GetRobotSoftwareSuiteTypeForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForRobotSoftwareSuiteType(RobotSoftwareSuiteType value); -} // namespace RobotSoftwareSuiteTypeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotSoftwareSuiteVersionType.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotSoftwareSuiteVersionType.h deleted file mode 100644 index 60bbf7f30e8..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotSoftwareSuiteVersionType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class RobotSoftwareSuiteVersionType { NOT_SET, Kinetic, Melodic, Dashing, Foxy }; - -namespace RobotSoftwareSuiteVersionTypeMapper { -AWS_ROBOMAKER_API RobotSoftwareSuiteVersionType GetRobotSoftwareSuiteVersionTypeForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForRobotSoftwareSuiteVersionType(RobotSoftwareSuiteVersionType value); -} // namespace RobotSoftwareSuiteVersionTypeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotStatus.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotStatus.h deleted file mode 100644 index d0715394041..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/RobotStatus.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class RobotStatus { NOT_SET, Available, Registered, PendingNewDeployment, Deploying, Failed, InSync, NoResponse }; - -namespace RobotStatusMapper { -AWS_ROBOMAKER_API RobotStatus GetRobotStatusForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForRobotStatus(RobotStatus value); -} // namespace RobotStatusMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/S3KeyOutput.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/S3KeyOutput.h deleted file mode 100644 index 8434bc04b11..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/S3KeyOutput.h +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about S3 keys.

See Also:

AWS - * API Reference

- */ -class S3KeyOutput { - public: - AWS_ROBOMAKER_API S3KeyOutput() = default; - AWS_ROBOMAKER_API S3KeyOutput(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API S3KeyOutput& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The S3 key.

- */ - inline const Aws::String& GetS3Key() const { return m_s3Key; } - inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; } - template - void SetS3Key(S3KeyT&& value) { - m_s3KeyHasBeenSet = true; - m_s3Key = std::forward(value); - } - template - S3KeyOutput& WithS3Key(S3KeyT&& value) { - SetS3Key(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The etag for the object.

- */ - inline const Aws::String& GetEtag() const { return m_etag; } - inline bool EtagHasBeenSet() const { return m_etagHasBeenSet; } - template - void SetEtag(EtagT&& value) { - m_etagHasBeenSet = true; - m_etag = std::forward(value); - } - template - S3KeyOutput& WithEtag(EtagT&& value) { - SetEtag(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_s3Key; - bool m_s3KeyHasBeenSet = false; - - Aws::String m_etag; - bool m_etagHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/S3Object.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/S3Object.h deleted file mode 100644 index a383347157e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/S3Object.h +++ /dev/null @@ -1,100 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about an S3 object.

See Also:

AWS - * API Reference

- */ -class S3Object { - public: - AWS_ROBOMAKER_API S3Object() = default; - AWS_ROBOMAKER_API S3Object(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API S3Object& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The bucket containing the object.

- */ - inline const Aws::String& GetBucket() const { return m_bucket; } - inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } - template - void SetBucket(BucketT&& value) { - m_bucketHasBeenSet = true; - m_bucket = std::forward(value); - } - template - S3Object& WithBucket(BucketT&& value) { - SetBucket(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The key of the object.

- */ - inline const Aws::String& GetKey() const { return m_key; } - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - template - void SetKey(KeyT&& value) { - m_keyHasBeenSet = true; - m_key = std::forward(value); - } - template - S3Object& WithKey(KeyT&& value) { - SetKey(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The etag of the object.

- */ - inline const Aws::String& GetEtag() const { return m_etag; } - inline bool EtagHasBeenSet() const { return m_etagHasBeenSet; } - template - void SetEtag(EtagT&& value) { - m_etagHasBeenSet = true; - m_etag = std::forward(value); - } - template - S3Object& WithEtag(EtagT&& value) { - SetEtag(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_bucket; - bool m_bucketHasBeenSet = false; - - Aws::String m_key; - bool m_keyHasBeenSet = false; - - Aws::String m_etag; - bool m_etagHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationApplicationConfig.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationApplicationConfig.h deleted file mode 100644 index d202a3f9e57..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationApplicationConfig.h +++ /dev/null @@ -1,188 +0,0 @@ -/** - * 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 - -namespace Aws { -namespace Utils { -namespace Json { -class JsonValue; -class JsonView; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { - -/** - *

Information about a simulation application configuration.

See - * Also:

AWS - * API Reference

- */ -class SimulationApplicationConfig { - public: - AWS_ROBOMAKER_API SimulationApplicationConfig() = default; - AWS_ROBOMAKER_API SimulationApplicationConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API SimulationApplicationConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The application information for the simulation application.

- */ - inline const Aws::String& GetApplication() const { return m_application; } - inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; } - template - void SetApplication(ApplicationT&& value) { - m_applicationHasBeenSet = true; - m_application = std::forward(value); - } - template - SimulationApplicationConfig& WithApplication(ApplicationT&& value) { - SetApplication(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the simulation application.

- */ - inline const Aws::String& GetApplicationVersion() const { return m_applicationVersion; } - inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; } - template - void SetApplicationVersion(ApplicationVersionT&& value) { - m_applicationVersionHasBeenSet = true; - m_applicationVersion = std::forward(value); - } - template - SimulationApplicationConfig& WithApplicationVersion(ApplicationVersionT&& value) { - SetApplicationVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The launch configuration for the simulation application.

- */ - inline const LaunchConfig& GetLaunchConfig() const { return m_launchConfig; } - inline bool LaunchConfigHasBeenSet() const { return m_launchConfigHasBeenSet; } - template - void SetLaunchConfig(LaunchConfigT&& value) { - m_launchConfigHasBeenSet = true; - m_launchConfig = std::forward(value); - } - template - SimulationApplicationConfig& WithLaunchConfig(LaunchConfigT&& value) { - SetLaunchConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about upload configurations for the simulation application.

- */ - inline const Aws::Vector& GetUploadConfigurations() const { return m_uploadConfigurations; } - inline bool UploadConfigurationsHasBeenSet() const { return m_uploadConfigurationsHasBeenSet; } - template > - void SetUploadConfigurations(UploadConfigurationsT&& value) { - m_uploadConfigurationsHasBeenSet = true; - m_uploadConfigurations = std::forward(value); - } - template > - SimulationApplicationConfig& WithUploadConfigurations(UploadConfigurationsT&& value) { - SetUploadConfigurations(std::forward(value)); - return *this; - } - template - SimulationApplicationConfig& AddUploadConfigurations(UploadConfigurationsT&& value) { - m_uploadConfigurationsHasBeenSet = true; - m_uploadConfigurations.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of world configurations.

This API is no longer - * supported and will throw an error if used.

- */ - inline const Aws::Vector& GetWorldConfigs() const { return m_worldConfigs; } - inline bool WorldConfigsHasBeenSet() const { return m_worldConfigsHasBeenSet; } - template > - void SetWorldConfigs(WorldConfigsT&& value) { - m_worldConfigsHasBeenSet = true; - m_worldConfigs = std::forward(value); - } - template > - SimulationApplicationConfig& WithWorldConfigs(WorldConfigsT&& value) { - SetWorldConfigs(std::forward(value)); - return *this; - } - template - SimulationApplicationConfig& AddWorldConfigs(WorldConfigsT&& value) { - m_worldConfigsHasBeenSet = true; - m_worldConfigs.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about tools configured for the simulation application.

- */ - inline const Aws::Vector& GetTools() const { return m_tools; } - inline bool ToolsHasBeenSet() const { return m_toolsHasBeenSet; } - template > - void SetTools(ToolsT&& value) { - m_toolsHasBeenSet = true; - m_tools = std::forward(value); - } - template > - SimulationApplicationConfig& WithTools(ToolsT&& value) { - SetTools(std::forward(value)); - return *this; - } - template - SimulationApplicationConfig& AddTools(ToolsT&& value) { - m_toolsHasBeenSet = true; - m_tools.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_application; - bool m_applicationHasBeenSet = false; - - Aws::String m_applicationVersion; - bool m_applicationVersionHasBeenSet = false; - - LaunchConfig m_launchConfig; - bool m_launchConfigHasBeenSet = false; - - Aws::Vector m_uploadConfigurations; - bool m_uploadConfigurationsHasBeenSet = false; - - Aws::Vector m_worldConfigs; - bool m_worldConfigsHasBeenSet = false; - - Aws::Vector m_tools; - bool m_toolsHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationApplicationSummary.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationApplicationSummary.h deleted file mode 100644 index cc948d527f5..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationApplicationSummary.h +++ /dev/null @@ -1,168 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Summary information for a simulation application.

See Also:

- * AWS - * API Reference

- */ -class SimulationApplicationSummary { - public: - AWS_ROBOMAKER_API SimulationApplicationSummary() = default; - AWS_ROBOMAKER_API SimulationApplicationSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API SimulationApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the simulation application.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - SimulationApplicationSummary& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the simulation application.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - SimulationApplicationSummary& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the simulation application.

- */ - inline const Aws::String& GetVersion() const { return m_version; } - inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } - template - void SetVersion(VersionT&& value) { - m_versionHasBeenSet = true; - m_version = std::forward(value); - } - template - SimulationApplicationSummary& WithVersion(VersionT&& value) { - SetVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation application - * was last updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - SimulationApplicationSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about a robot software suite.

- */ - inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; } - inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; } - template - void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - m_robotSoftwareSuiteHasBeenSet = true; - m_robotSoftwareSuite = std::forward(value); - } - template - SimulationApplicationSummary& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - SetRobotSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about a simulation software suite.

- */ - inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const { return m_simulationSoftwareSuite; } - inline bool SimulationSoftwareSuiteHasBeenSet() const { return m_simulationSoftwareSuiteHasBeenSet; } - template - void SetSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { - m_simulationSoftwareSuiteHasBeenSet = true; - m_simulationSoftwareSuite = std::forward(value); - } - template - SimulationApplicationSummary& WithSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { - SetSimulationSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_version; - bool m_versionHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - RobotSoftwareSuite m_robotSoftwareSuite; - bool m_robotSoftwareSuiteHasBeenSet = false; - - SimulationSoftwareSuite m_simulationSoftwareSuite; - bool m_simulationSoftwareSuiteHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJob.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJob.h deleted file mode 100644 index 840bc0973aa..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJob.h +++ /dev/null @@ -1,515 +0,0 @@ -/** - * 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 -#include -#include -#include -#include -#include -#include -#include - -#include - -namespace Aws { -namespace Utils { -namespace Json { -class JsonValue; -class JsonView; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { - -/** - *

Information about a simulation job.

See Also:

AWS - * API Reference

- */ -class SimulationJob { - public: - AWS_ROBOMAKER_API SimulationJob() = default; - AWS_ROBOMAKER_API SimulationJob(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API SimulationJob& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the simulation job.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - SimulationJob& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the simulation job.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - SimulationJob& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Status of the simulation job.

- */ - inline SimulationJobStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(SimulationJobStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline SimulationJob& WithStatus(SimulationJobStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation job was last - * started.

- */ - inline const Aws::Utils::DateTime& GetLastStartedAt() const { return m_lastStartedAt; } - inline bool LastStartedAtHasBeenSet() const { return m_lastStartedAtHasBeenSet; } - template - void SetLastStartedAt(LastStartedAtT&& value) { - m_lastStartedAtHasBeenSet = true; - m_lastStartedAt = std::forward(value); - } - template - SimulationJob& WithLastStartedAt(LastStartedAtT&& value) { - SetLastStartedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation job was last - * updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - SimulationJob& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The failure behavior the simulation job.

Continue
- *

Leaves the host running for its maximum timeout duration after a - * 4XX error code.

Fail

Stop the simulation - * job and terminate the instance.

- */ - inline FailureBehavior GetFailureBehavior() const { return m_failureBehavior; } - inline bool FailureBehaviorHasBeenSet() const { return m_failureBehaviorHasBeenSet; } - inline void SetFailureBehavior(FailureBehavior value) { - m_failureBehaviorHasBeenSet = true; - m_failureBehavior = value; - } - inline SimulationJob& WithFailureBehavior(FailureBehavior value) { - SetFailureBehavior(value); - return *this; - } - ///@} - - ///@{ - /** - *

The failure code of the simulation job if it failed.

- */ - inline SimulationJobErrorCode GetFailureCode() const { return m_failureCode; } - inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; } - inline void SetFailureCode(SimulationJobErrorCode value) { - m_failureCodeHasBeenSet = true; - m_failureCode = value; - } - inline SimulationJob& WithFailureCode(SimulationJobErrorCode value) { - SetFailureCode(value); - return *this; - } - ///@} - - ///@{ - /** - *

The reason why the simulation job failed.

- */ - inline const Aws::String& GetFailureReason() const { return m_failureReason; } - inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } - template - void SetFailureReason(FailureReasonT&& value) { - m_failureReasonHasBeenSet = true; - m_failureReason = std::forward(value); - } - template - SimulationJob& WithFailureReason(FailureReasonT&& value) { - SetFailureReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A unique identifier for this SimulationJob request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - SimulationJob& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Location for output files generated by the simulation job.

- */ - inline const OutputLocation& GetOutputLocation() const { return m_outputLocation; } - inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; } - template - void SetOutputLocation(OutputLocationT&& value) { - m_outputLocationHasBeenSet = true; - m_outputLocation = std::forward(value); - } - template - SimulationJob& WithOutputLocation(OutputLocationT&& value) { - SetOutputLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The logging configuration.

- */ - inline const LoggingConfig& GetLoggingConfig() const { return m_loggingConfig; } - inline bool LoggingConfigHasBeenSet() const { return m_loggingConfigHasBeenSet; } - template - void SetLoggingConfig(LoggingConfigT&& value) { - m_loggingConfigHasBeenSet = true; - m_loggingConfig = std::forward(value); - } - template - SimulationJob& WithLoggingConfig(LoggingConfigT&& value) { - SetLoggingConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum simulation job duration in seconds. The value must be 8 days - * (691,200 seconds) or less.

- */ - inline long long GetMaxJobDurationInSeconds() const { return m_maxJobDurationInSeconds; } - inline bool MaxJobDurationInSecondsHasBeenSet() const { return m_maxJobDurationInSecondsHasBeenSet; } - inline void SetMaxJobDurationInSeconds(long long value) { - m_maxJobDurationInSecondsHasBeenSet = true; - m_maxJobDurationInSeconds = value; - } - inline SimulationJob& WithMaxJobDurationInSeconds(long long value) { - SetMaxJobDurationInSeconds(value); - return *this; - } - ///@} - - ///@{ - /** - *

The simulation job execution duration in milliseconds.

- */ - inline long long GetSimulationTimeMillis() const { return m_simulationTimeMillis; } - inline bool SimulationTimeMillisHasBeenSet() const { return m_simulationTimeMillisHasBeenSet; } - inline void SetSimulationTimeMillis(long long value) { - m_simulationTimeMillisHasBeenSet = true; - m_simulationTimeMillis = value; - } - inline SimulationJob& WithSimulationTimeMillis(long long value) { - SetSimulationTimeMillis(value); - return *this; - } - ///@} - - ///@{ - /** - *

The IAM role that allows the simulation instance to call the AWS APIs that - * are specified in its associated policies on your behalf. This is how credentials - * are passed in to your simulation job.

- */ - inline const Aws::String& GetIamRole() const { return m_iamRole; } - inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; } - template - void SetIamRole(IamRoleT&& value) { - m_iamRoleHasBeenSet = true; - m_iamRole = std::forward(value); - } - template - SimulationJob& WithIamRole(IamRoleT&& value) { - SetIamRole(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of robot applications.

- */ - inline const Aws::Vector& GetRobotApplications() const { return m_robotApplications; } - inline bool RobotApplicationsHasBeenSet() const { return m_robotApplicationsHasBeenSet; } - template > - void SetRobotApplications(RobotApplicationsT&& value) { - m_robotApplicationsHasBeenSet = true; - m_robotApplications = std::forward(value); - } - template > - SimulationJob& WithRobotApplications(RobotApplicationsT&& value) { - SetRobotApplications(std::forward(value)); - return *this; - } - template - SimulationJob& AddRobotApplications(RobotApplicationsT&& value) { - m_robotApplicationsHasBeenSet = true; - m_robotApplications.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of simulation applications.

- */ - inline const Aws::Vector& GetSimulationApplications() const { return m_simulationApplications; } - inline bool SimulationApplicationsHasBeenSet() const { return m_simulationApplicationsHasBeenSet; } - template > - void SetSimulationApplications(SimulationApplicationsT&& value) { - m_simulationApplicationsHasBeenSet = true; - m_simulationApplications = std::forward(value); - } - template > - SimulationJob& WithSimulationApplications(SimulationApplicationsT&& value) { - SetSimulationApplications(std::forward(value)); - return *this; - } - template - SimulationJob& AddSimulationApplications(SimulationApplicationsT&& value) { - m_simulationApplicationsHasBeenSet = true; - m_simulationApplications.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The data sources for the simulation job.

- */ - inline const Aws::Vector& GetDataSources() const { return m_dataSources; } - inline bool DataSourcesHasBeenSet() const { return m_dataSourcesHasBeenSet; } - template > - void SetDataSources(DataSourcesT&& value) { - m_dataSourcesHasBeenSet = true; - m_dataSources = std::forward(value); - } - template > - SimulationJob& WithDataSources(DataSourcesT&& value) { - SetDataSources(std::forward(value)); - return *this; - } - template - SimulationJob& AddDataSources(DataSourcesT&& value) { - m_dataSourcesHasBeenSet = true; - m_dataSources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the - * simulation job.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - SimulationJob& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - SimulationJob& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

VPC configuration information.

- */ - inline const VPCConfigResponse& GetVpcConfig() const { return m_vpcConfig; } - inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; } - template - void SetVpcConfig(VpcConfigT&& value) { - m_vpcConfigHasBeenSet = true; - m_vpcConfig = std::forward(value); - } - template - SimulationJob& WithVpcConfig(VpcConfigT&& value) { - SetVpcConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about a network interface.

- */ - inline const NetworkInterface& GetNetworkInterface() const { return m_networkInterface; } - inline bool NetworkInterfaceHasBeenSet() const { return m_networkInterfaceHasBeenSet; } - template - void SetNetworkInterface(NetworkInterfaceT&& value) { - m_networkInterfaceHasBeenSet = true; - m_networkInterface = std::forward(value); - } - template - SimulationJob& WithNetworkInterface(NetworkInterfaceT&& value) { - SetNetworkInterface(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Compute information for the simulation job

- */ - inline const ComputeResponse& GetCompute() const { return m_compute; } - inline bool ComputeHasBeenSet() const { return m_computeHasBeenSet; } - template - void SetCompute(ComputeT&& value) { - m_computeHasBeenSet = true; - m_compute = std::forward(value); - } - template - SimulationJob& WithCompute(ComputeT&& value) { - SetCompute(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - SimulationJobStatus m_status{SimulationJobStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Utils::DateTime m_lastStartedAt{}; - bool m_lastStartedAtHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - FailureBehavior m_failureBehavior{FailureBehavior::NOT_SET}; - bool m_failureBehaviorHasBeenSet = false; - - SimulationJobErrorCode m_failureCode{SimulationJobErrorCode::NOT_SET}; - bool m_failureCodeHasBeenSet = false; - - Aws::String m_failureReason; - bool m_failureReasonHasBeenSet = false; - - Aws::String m_clientRequestToken; - bool m_clientRequestTokenHasBeenSet = false; - - OutputLocation m_outputLocation; - bool m_outputLocationHasBeenSet = false; - - LoggingConfig m_loggingConfig; - bool m_loggingConfigHasBeenSet = false; - - long long m_maxJobDurationInSeconds{0}; - bool m_maxJobDurationInSecondsHasBeenSet = false; - - long long m_simulationTimeMillis{0}; - bool m_simulationTimeMillisHasBeenSet = false; - - Aws::String m_iamRole; - bool m_iamRoleHasBeenSet = false; - - Aws::Vector m_robotApplications; - bool m_robotApplicationsHasBeenSet = false; - - Aws::Vector m_simulationApplications; - bool m_simulationApplicationsHasBeenSet = false; - - Aws::Vector m_dataSources; - bool m_dataSourcesHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - VPCConfigResponse m_vpcConfig; - bool m_vpcConfigHasBeenSet = false; - - NetworkInterface m_networkInterface; - bool m_networkInterfaceHasBeenSet = false; - - ComputeResponse m_compute; - bool m_computeHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobBatchErrorCode.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobBatchErrorCode.h deleted file mode 100644 index 3311e6e1ea0..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobBatchErrorCode.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class SimulationJobBatchErrorCode { NOT_SET, InternalServiceError }; - -namespace SimulationJobBatchErrorCodeMapper { -AWS_ROBOMAKER_API SimulationJobBatchErrorCode GetSimulationJobBatchErrorCodeForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForSimulationJobBatchErrorCode(SimulationJobBatchErrorCode value); -} // namespace SimulationJobBatchErrorCodeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobBatchStatus.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobBatchStatus.h deleted file mode 100644 index 3d56a6776d6..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobBatchStatus.h +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class SimulationJobBatchStatus { - NOT_SET, - Pending, - InProgress, - Failed, - Completed, - Canceled, - Canceling, - Completing, - TimingOut, - TimedOut -}; - -namespace SimulationJobBatchStatusMapper { -AWS_ROBOMAKER_API SimulationJobBatchStatus GetSimulationJobBatchStatusForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForSimulationJobBatchStatus(SimulationJobBatchStatus value); -} // namespace SimulationJobBatchStatusMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobBatchSummary.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobBatchSummary.h deleted file mode 100644 index e6cd0083ddc..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobBatchSummary.h +++ /dev/null @@ -1,200 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a simulation job batch.

See Also:

AWS - * API Reference

- */ -class SimulationJobBatchSummary { - public: - AWS_ROBOMAKER_API SimulationJobBatchSummary() = default; - AWS_ROBOMAKER_API SimulationJobBatchSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API SimulationJobBatchSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the batch.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - SimulationJobBatchSummary& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation job batch was - * last updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - SimulationJobBatchSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation job batch was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - SimulationJobBatchSummary& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the simulation job batch.

Pending

The - * simulation job batch request is pending.

InProgress
- *

The simulation job batch is in progress.

Failed
- *

The simulation job batch failed. One or more simulation job requests could - * not be completed due to an internal failure (like - * InternalServiceError). See failureCode and - * failureReason for more information.

Completed
- *

The simulation batch job completed. A batch is complete when (1) there - * are no pending simulation job requests in the batch and none of the failed - * simulation job requests are due to InternalServiceError and (2) - * when all created simulation jobs have reached a terminal state (for example, - * Completed or Failed).

Canceled
- *

The simulation batch job was cancelled.

Canceling
- *

The simulation batch job is being cancelled.

- *
Completing

The simulation batch job is completing.

- *
TimingOut

The simulation job batch is timing out.

If a - * batch timing out, and there are pending requests that were failing due to an - * internal failure (like InternalServiceError), the batch status will - * be Failed. If there are no such failing request, the batch status - * will be TimedOut.

TimedOut

The - * simulation batch job timed out.

- */ - inline SimulationJobBatchStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(SimulationJobBatchStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline SimulationJobBatchSummary& WithStatus(SimulationJobBatchStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The number of failed simulation job requests.

- */ - inline int GetFailedRequestCount() const { return m_failedRequestCount; } - inline bool FailedRequestCountHasBeenSet() const { return m_failedRequestCountHasBeenSet; } - inline void SetFailedRequestCount(int value) { - m_failedRequestCountHasBeenSet = true; - m_failedRequestCount = value; - } - inline SimulationJobBatchSummary& WithFailedRequestCount(int value) { - SetFailedRequestCount(value); - return *this; - } - ///@} - - ///@{ - /** - *

The number of pending simulation job requests.

- */ - inline int GetPendingRequestCount() const { return m_pendingRequestCount; } - inline bool PendingRequestCountHasBeenSet() const { return m_pendingRequestCountHasBeenSet; } - inline void SetPendingRequestCount(int value) { - m_pendingRequestCountHasBeenSet = true; - m_pendingRequestCount = value; - } - inline SimulationJobBatchSummary& WithPendingRequestCount(int value) { - SetPendingRequestCount(value); - return *this; - } - ///@} - - ///@{ - /** - *

The number of created simulation job requests.

- */ - inline int GetCreatedRequestCount() const { return m_createdRequestCount; } - inline bool CreatedRequestCountHasBeenSet() const { return m_createdRequestCountHasBeenSet; } - inline void SetCreatedRequestCount(int value) { - m_createdRequestCountHasBeenSet = true; - m_createdRequestCount = value; - } - inline SimulationJobBatchSummary& WithCreatedRequestCount(int value) { - SetCreatedRequestCount(value); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - SimulationJobBatchStatus m_status{SimulationJobBatchStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - int m_failedRequestCount{0}; - bool m_failedRequestCountHasBeenSet = false; - - int m_pendingRequestCount{0}; - bool m_pendingRequestCountHasBeenSet = false; - - int m_createdRequestCount{0}; - bool m_createdRequestCountHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobErrorCode.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobErrorCode.h deleted file mode 100644 index 64427f99a03..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobErrorCode.h +++ /dev/null @@ -1,55 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class SimulationJobErrorCode { - NOT_SET, - InternalServiceError, - RobotApplicationCrash, - SimulationApplicationCrash, - RobotApplicationHealthCheckFailure, - SimulationApplicationHealthCheckFailure, - BadPermissionsRobotApplication, - BadPermissionsSimulationApplication, - BadPermissionsS3Object, - BadPermissionsS3Output, - BadPermissionsCloudwatchLogs, - SubnetIpLimitExceeded, - ENILimitExceeded, - BadPermissionsUserCredentials, - InvalidBundleRobotApplication, - InvalidBundleSimulationApplication, - InvalidS3Resource, - ThrottlingError, - LimitExceeded, - MismatchedEtag, - RobotApplicationVersionMismatchedEtag, - SimulationApplicationVersionMismatchedEtag, - ResourceNotFound, - RequestThrottled, - BatchTimedOut, - BatchCanceled, - InvalidInput, - WrongRegionS3Bucket, - WrongRegionS3Output, - WrongRegionRobotApplication, - WrongRegionSimulationApplication, - UploadContentMismatchError -}; - -namespace SimulationJobErrorCodeMapper { -AWS_ROBOMAKER_API SimulationJobErrorCode GetSimulationJobErrorCodeForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForSimulationJobErrorCode(SimulationJobErrorCode value); -} // namespace SimulationJobErrorCodeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobRequest.h deleted file mode 100644 index b8d735eb10c..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobRequest.h +++ /dev/null @@ -1,323 +0,0 @@ -/** - * 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 -#include -#include -#include - -#include - -namespace Aws { -namespace Utils { -namespace Json { -class JsonValue; -class JsonView; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { - -/** - *

Information about a simulation job request.

See Also:

AWS - * API Reference

- */ -class SimulationJobRequest { - public: - AWS_ROBOMAKER_API SimulationJobRequest() = default; - AWS_ROBOMAKER_API SimulationJobRequest(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API SimulationJobRequest& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - - inline const OutputLocation& GetOutputLocation() const { return m_outputLocation; } - inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; } - template - void SetOutputLocation(OutputLocationT&& value) { - m_outputLocationHasBeenSet = true; - m_outputLocation = std::forward(value); - } - template - SimulationJobRequest& WithOutputLocation(OutputLocationT&& value) { - SetOutputLocation(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const LoggingConfig& GetLoggingConfig() const { return m_loggingConfig; } - inline bool LoggingConfigHasBeenSet() const { return m_loggingConfigHasBeenSet; } - template - void SetLoggingConfig(LoggingConfigT&& value) { - m_loggingConfigHasBeenSet = true; - m_loggingConfig = std::forward(value); - } - template - SimulationJobRequest& WithLoggingConfig(LoggingConfigT&& value) { - SetLoggingConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The maximum simulation job duration in seconds. The value must be 8 days - * (691,200 seconds) or less.

- */ - inline long long GetMaxJobDurationInSeconds() const { return m_maxJobDurationInSeconds; } - inline bool MaxJobDurationInSecondsHasBeenSet() const { return m_maxJobDurationInSecondsHasBeenSet; } - inline void SetMaxJobDurationInSeconds(long long value) { - m_maxJobDurationInSecondsHasBeenSet = true; - m_maxJobDurationInSeconds = value; - } - inline SimulationJobRequest& WithMaxJobDurationInSeconds(long long value) { - SetMaxJobDurationInSeconds(value); - return *this; - } - ///@} - - ///@{ - /** - *

The IAM role name that allows the simulation instance to call the AWS APIs - * that are specified in its associated policies on your behalf. This is how - * credentials are passed in to your simulation job.

- */ - inline const Aws::String& GetIamRole() const { return m_iamRole; } - inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; } - template - void SetIamRole(IamRoleT&& value) { - m_iamRoleHasBeenSet = true; - m_iamRole = std::forward(value); - } - template - SimulationJobRequest& WithIamRole(IamRoleT&& value) { - SetIamRole(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The failure behavior the simulation job.

Continue
- *

Leaves the host running for its maximum timeout duration after a - * 4XX error code.

Fail

Stop the simulation - * job and terminate the instance.

- */ - inline FailureBehavior GetFailureBehavior() const { return m_failureBehavior; } - inline bool FailureBehaviorHasBeenSet() const { return m_failureBehaviorHasBeenSet; } - inline void SetFailureBehavior(FailureBehavior value) { - m_failureBehaviorHasBeenSet = true; - m_failureBehavior = value; - } - inline SimulationJobRequest& WithFailureBehavior(FailureBehavior value) { - SetFailureBehavior(value); - return *this; - } - ///@} - - ///@{ - /** - *

A Boolean indicating whether to use default applications in the simulation - * job. Default applications include Gazebo, rqt, rviz and terminal access.

- */ - inline bool GetUseDefaultApplications() const { return m_useDefaultApplications; } - inline bool UseDefaultApplicationsHasBeenSet() const { return m_useDefaultApplicationsHasBeenSet; } - inline void SetUseDefaultApplications(bool value) { - m_useDefaultApplicationsHasBeenSet = true; - m_useDefaultApplications = value; - } - inline SimulationJobRequest& WithUseDefaultApplications(bool value) { - SetUseDefaultApplications(value); - return *this; - } - ///@} - - ///@{ - /** - *

The robot applications to use in the simulation job.

- */ - inline const Aws::Vector& GetRobotApplications() const { return m_robotApplications; } - inline bool RobotApplicationsHasBeenSet() const { return m_robotApplicationsHasBeenSet; } - template > - void SetRobotApplications(RobotApplicationsT&& value) { - m_robotApplicationsHasBeenSet = true; - m_robotApplications = std::forward(value); - } - template > - SimulationJobRequest& WithRobotApplications(RobotApplicationsT&& value) { - SetRobotApplications(std::forward(value)); - return *this; - } - template - SimulationJobRequest& AddRobotApplications(RobotApplicationsT&& value) { - m_robotApplicationsHasBeenSet = true; - m_robotApplications.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The simulation applications to use in the simulation job.

- */ - inline const Aws::Vector& GetSimulationApplications() const { return m_simulationApplications; } - inline bool SimulationApplicationsHasBeenSet() const { return m_simulationApplicationsHasBeenSet; } - template > - void SetSimulationApplications(SimulationApplicationsT&& value) { - m_simulationApplicationsHasBeenSet = true; - m_simulationApplications = std::forward(value); - } - template > - SimulationJobRequest& WithSimulationApplications(SimulationApplicationsT&& value) { - SetSimulationApplications(std::forward(value)); - return *this; - } - template - SimulationJobRequest& AddSimulationApplications(SimulationApplicationsT&& value) { - m_simulationApplicationsHasBeenSet = true; - m_simulationApplications.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Specify data sources to mount read-only files from S3 into your simulation. - * These files are available under - * /opt/robomaker/datasources/data_source_name.

There - * is a limit of 100 files and a combined size of 25GB for all - * DataSourceConfig objects.

- */ - inline const Aws::Vector& GetDataSources() const { return m_dataSources; } - inline bool DataSourcesHasBeenSet() const { return m_dataSourcesHasBeenSet; } - template > - void SetDataSources(DataSourcesT&& value) { - m_dataSourcesHasBeenSet = true; - m_dataSources = std::forward(value); - } - template > - SimulationJobRequest& WithDataSources(DataSourcesT&& value) { - SetDataSources(std::forward(value)); - return *this; - } - template - SimulationJobRequest& AddDataSources(DataSourcesT&& value) { - m_dataSourcesHasBeenSet = true; - m_dataSources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const VPCConfig& GetVpcConfig() const { return m_vpcConfig; } - inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; } - template - void SetVpcConfig(VpcConfigT&& value) { - m_vpcConfigHasBeenSet = true; - m_vpcConfig = std::forward(value); - } - template - SimulationJobRequest& WithVpcConfig(VpcConfigT&& value) { - SetVpcConfig(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Compute information for the simulation job

- */ - inline const Compute& GetCompute() const { return m_compute; } - inline bool ComputeHasBeenSet() const { return m_computeHasBeenSet; } - template - void SetCompute(ComputeT&& value) { - m_computeHasBeenSet = true; - m_compute = std::forward(value); - } - template - SimulationJobRequest& WithCompute(ComputeT&& value) { - SetCompute(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the - * simulation job request.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - SimulationJobRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - SimulationJobRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - OutputLocation m_outputLocation; - bool m_outputLocationHasBeenSet = false; - - LoggingConfig m_loggingConfig; - bool m_loggingConfigHasBeenSet = false; - - long long m_maxJobDurationInSeconds{0}; - bool m_maxJobDurationInSecondsHasBeenSet = false; - - Aws::String m_iamRole; - bool m_iamRoleHasBeenSet = false; - - FailureBehavior m_failureBehavior{FailureBehavior::NOT_SET}; - bool m_failureBehaviorHasBeenSet = false; - - bool m_useDefaultApplications{false}; - bool m_useDefaultApplicationsHasBeenSet = false; - - Aws::Vector m_robotApplications; - bool m_robotApplicationsHasBeenSet = false; - - Aws::Vector m_simulationApplications; - bool m_simulationApplicationsHasBeenSet = false; - - Aws::Vector m_dataSources; - bool m_dataSourcesHasBeenSet = false; - - VPCConfig m_vpcConfig; - bool m_vpcConfigHasBeenSet = false; - - Compute m_compute; - bool m_computeHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobStatus.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobStatus.h deleted file mode 100644 index 895505e1b76..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobStatus.h +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class SimulationJobStatus { - NOT_SET, - Pending, - Preparing, - Running, - Restarting, - Completed, - Failed, - RunningFailed, - Terminating, - Terminated, - Canceled -}; - -namespace SimulationJobStatusMapper { -AWS_ROBOMAKER_API SimulationJobStatus GetSimulationJobStatusForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForSimulationJobStatus(SimulationJobStatus value); -} // namespace SimulationJobStatusMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobSummary.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobSummary.h deleted file mode 100644 index 965b4632d68..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationJobSummary.h +++ /dev/null @@ -1,224 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Summary information for a simulation job.

See Also:

AWS - * API Reference

- */ -class SimulationJobSummary { - public: - AWS_ROBOMAKER_API SimulationJobSummary() = default; - AWS_ROBOMAKER_API SimulationJobSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API SimulationJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the simulation job.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - SimulationJobSummary& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation job was last - * updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - SimulationJobSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the simulation job.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - SimulationJobSummary& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the simulation job.

- */ - inline SimulationJobStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(SimulationJobStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline SimulationJobSummary& WithStatus(SimulationJobStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

A list of simulation job simulation application names.

- */ - inline const Aws::Vector& GetSimulationApplicationNames() const { return m_simulationApplicationNames; } - inline bool SimulationApplicationNamesHasBeenSet() const { return m_simulationApplicationNamesHasBeenSet; } - template > - void SetSimulationApplicationNames(SimulationApplicationNamesT&& value) { - m_simulationApplicationNamesHasBeenSet = true; - m_simulationApplicationNames = std::forward(value); - } - template > - SimulationJobSummary& WithSimulationApplicationNames(SimulationApplicationNamesT&& value) { - SetSimulationApplicationNames(std::forward(value)); - return *this; - } - template - SimulationJobSummary& AddSimulationApplicationNames(SimulationApplicationNamesT&& value) { - m_simulationApplicationNamesHasBeenSet = true; - m_simulationApplicationNames.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of simulation job robot application names.

- */ - inline const Aws::Vector& GetRobotApplicationNames() const { return m_robotApplicationNames; } - inline bool RobotApplicationNamesHasBeenSet() const { return m_robotApplicationNamesHasBeenSet; } - template > - void SetRobotApplicationNames(RobotApplicationNamesT&& value) { - m_robotApplicationNamesHasBeenSet = true; - m_robotApplicationNames = std::forward(value); - } - template > - SimulationJobSummary& WithRobotApplicationNames(RobotApplicationNamesT&& value) { - SetRobotApplicationNames(std::forward(value)); - return *this; - } - template - SimulationJobSummary& AddRobotApplicationNames(RobotApplicationNamesT&& value) { - m_robotApplicationNamesHasBeenSet = true; - m_robotApplicationNames.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The names of the data sources.

- */ - inline const Aws::Vector& GetDataSourceNames() const { return m_dataSourceNames; } - inline bool DataSourceNamesHasBeenSet() const { return m_dataSourceNamesHasBeenSet; } - template > - void SetDataSourceNames(DataSourceNamesT&& value) { - m_dataSourceNamesHasBeenSet = true; - m_dataSourceNames = std::forward(value); - } - template > - SimulationJobSummary& WithDataSourceNames(DataSourceNamesT&& value) { - SetDataSourceNames(std::forward(value)); - return *this; - } - template - SimulationJobSummary& AddDataSourceNames(DataSourceNamesT&& value) { - m_dataSourceNamesHasBeenSet = true; - m_dataSourceNames.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The compute type for the simulation job summary.

- */ - inline ComputeType GetComputeType() const { return m_computeType; } - inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; } - inline void SetComputeType(ComputeType value) { - m_computeTypeHasBeenSet = true; - m_computeType = value; - } - inline SimulationJobSummary& WithComputeType(ComputeType value) { - SetComputeType(value); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - SimulationJobStatus m_status{SimulationJobStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Vector m_simulationApplicationNames; - bool m_simulationApplicationNamesHasBeenSet = false; - - Aws::Vector m_robotApplicationNames; - bool m_robotApplicationNamesHasBeenSet = false; - - Aws::Vector m_dataSourceNames; - bool m_dataSourceNamesHasBeenSet = false; - - ComputeType m_computeType{ComputeType::NOT_SET}; - bool m_computeTypeHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationSoftwareSuite.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationSoftwareSuite.h deleted file mode 100644 index 5d459b7ae66..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationSoftwareSuite.h +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a simulation software suite.

See Also:

AWS - * API Reference

- */ -class SimulationSoftwareSuite { - public: - AWS_ROBOMAKER_API SimulationSoftwareSuite() = default; - AWS_ROBOMAKER_API SimulationSoftwareSuite(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API SimulationSoftwareSuite& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The name of the simulation software suite. SimulationRuntime is - * the only supported value.

- */ - inline SimulationSoftwareSuiteType GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(SimulationSoftwareSuiteType value) { - m_nameHasBeenSet = true; - m_name = value; - } - inline SimulationSoftwareSuite& WithName(SimulationSoftwareSuiteType value) { - SetName(value); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the simulation software suite. Not applicable for - * SimulationRuntime.

- */ - inline const Aws::String& GetVersion() const { return m_version; } - inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } - template - void SetVersion(VersionT&& value) { - m_versionHasBeenSet = true; - m_version = std::forward(value); - } - template - SimulationSoftwareSuite& WithVersion(VersionT&& value) { - SetVersion(std::forward(value)); - return *this; - } - ///@} - private: - SimulationSoftwareSuiteType m_name{SimulationSoftwareSuiteType::NOT_SET}; - bool m_nameHasBeenSet = false; - - Aws::String m_version; - bool m_versionHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationSoftwareSuiteType.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationSoftwareSuiteType.h deleted file mode 100644 index cfa12546fe3..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SimulationSoftwareSuiteType.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class SimulationSoftwareSuiteType { NOT_SET, Gazebo, RosbagPlay, SimulationRuntime }; - -namespace SimulationSoftwareSuiteTypeMapper { -AWS_ROBOMAKER_API SimulationSoftwareSuiteType GetSimulationSoftwareSuiteTypeForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForSimulationSoftwareSuiteType(SimulationSoftwareSuiteType value); -} // namespace SimulationSoftwareSuiteTypeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Source.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Source.h deleted file mode 100644 index 6b4fa9dd45e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Source.h +++ /dev/null @@ -1,121 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a source.

See Also:

AWS - * API Reference

- */ -class Source { - public: - AWS_ROBOMAKER_API Source() = default; - AWS_ROBOMAKER_API Source(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Source& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The s3 bucket name.

- */ - inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; } - inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; } - template - void SetS3Bucket(S3BucketT&& value) { - m_s3BucketHasBeenSet = true; - m_s3Bucket = std::forward(value); - } - template - Source& WithS3Bucket(S3BucketT&& value) { - SetS3Bucket(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The s3 object key.

- */ - inline const Aws::String& GetS3Key() const { return m_s3Key; } - inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; } - template - void SetS3Key(S3KeyT&& value) { - m_s3KeyHasBeenSet = true; - m_s3Key = std::forward(value); - } - template - Source& WithS3Key(S3KeyT&& value) { - SetS3Key(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A hash of the object specified by s3Bucket and - * s3Key.

- */ - inline const Aws::String& GetEtag() const { return m_etag; } - inline bool EtagHasBeenSet() const { return m_etagHasBeenSet; } - template - void SetEtag(EtagT&& value) { - m_etagHasBeenSet = true; - m_etag = std::forward(value); - } - template - Source& WithEtag(EtagT&& value) { - SetEtag(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The taget processor architecture for the application.

- */ - inline Architecture GetArchitecture() const { return m_architecture; } - inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; } - inline void SetArchitecture(Architecture value) { - m_architectureHasBeenSet = true; - m_architecture = value; - } - inline Source& WithArchitecture(Architecture value) { - SetArchitecture(value); - return *this; - } - ///@} - private: - Aws::String m_s3Bucket; - bool m_s3BucketHasBeenSet = false; - - Aws::String m_s3Key; - bool m_s3KeyHasBeenSet = false; - - Aws::String m_etag; - bool m_etagHasBeenSet = false; - - Architecture m_architecture{Architecture::NOT_SET}; - bool m_architectureHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SourceConfig.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SourceConfig.h deleted file mode 100644 index 9624714ef5a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/SourceConfig.h +++ /dev/null @@ -1,99 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a source configuration.

See Also:

AWS - * API Reference

- */ -class SourceConfig { - public: - AWS_ROBOMAKER_API SourceConfig() = default; - AWS_ROBOMAKER_API SourceConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API SourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon S3 bucket name.

- */ - inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; } - inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; } - template - void SetS3Bucket(S3BucketT&& value) { - m_s3BucketHasBeenSet = true; - m_s3Bucket = std::forward(value); - } - template - SourceConfig& WithS3Bucket(S3BucketT&& value) { - SetS3Bucket(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The s3 object key.

- */ - inline const Aws::String& GetS3Key() const { return m_s3Key; } - inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; } - template - void SetS3Key(S3KeyT&& value) { - m_s3KeyHasBeenSet = true; - m_s3Key = std::forward(value); - } - template - SourceConfig& WithS3Key(S3KeyT&& value) { - SetS3Key(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The target processor architecture for the application.

- */ - inline Architecture GetArchitecture() const { return m_architecture; } - inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; } - inline void SetArchitecture(Architecture value) { - m_architectureHasBeenSet = true; - m_architecture = value; - } - inline SourceConfig& WithArchitecture(Architecture value) { - SetArchitecture(value); - return *this; - } - ///@} - private: - Aws::String m_s3Bucket; - bool m_s3BucketHasBeenSet = false; - - Aws::String m_s3Key; - bool m_s3KeyHasBeenSet = false; - - Architecture m_architecture{Architecture::NOT_SET}; - bool m_architectureHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/StartSimulationJobBatchRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/StartSimulationJobBatchRequest.h deleted file mode 100644 index ad939e3b98a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/StartSimulationJobBatchRequest.h +++ /dev/null @@ -1,137 +0,0 @@ -/** - * 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 { -namespace RoboMaker { -namespace Model { - -/** - */ -class StartSimulationJobBatchRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API StartSimulationJobBatchRequest() = default; - - // 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 "StartSimulationJobBatch"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - StartSimulationJobBatchRequest& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The batch policy.

- */ - inline const BatchPolicy& GetBatchPolicy() const { return m_batchPolicy; } - inline bool BatchPolicyHasBeenSet() const { return m_batchPolicyHasBeenSet; } - template - void SetBatchPolicy(BatchPolicyT&& value) { - m_batchPolicyHasBeenSet = true; - m_batchPolicy = std::forward(value); - } - template - StartSimulationJobBatchRequest& WithBatchPolicy(BatchPolicyT&& value) { - SetBatchPolicy(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of simulation job requests to create in the batch.

- */ - inline const Aws::Vector& GetCreateSimulationJobRequests() const { return m_createSimulationJobRequests; } - inline bool CreateSimulationJobRequestsHasBeenSet() const { return m_createSimulationJobRequestsHasBeenSet; } - template > - void SetCreateSimulationJobRequests(CreateSimulationJobRequestsT&& value) { - m_createSimulationJobRequestsHasBeenSet = true; - m_createSimulationJobRequests = std::forward(value); - } - template > - StartSimulationJobBatchRequest& WithCreateSimulationJobRequests(CreateSimulationJobRequestsT&& value) { - SetCreateSimulationJobRequests(std::forward(value)); - return *this; - } - template - StartSimulationJobBatchRequest& AddCreateSimulationJobRequests(CreateSimulationJobRequestsT&& value) { - m_createSimulationJobRequestsHasBeenSet = true; - m_createSimulationJobRequests.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the - * deployment job batch.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - StartSimulationJobBatchRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - StartSimulationJobBatchRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_clientRequestToken{Aws::Utils::UUID::PseudoRandomUUID()}; - bool m_clientRequestTokenHasBeenSet = true; - - BatchPolicy m_batchPolicy; - bool m_batchPolicyHasBeenSet = false; - - Aws::Vector m_createSimulationJobRequests; - bool m_createSimulationJobRequestsHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/StartSimulationJobBatchResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/StartSimulationJobBatchResult.h deleted file mode 100644 index 1dfd7199c95..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/StartSimulationJobBatchResult.h +++ /dev/null @@ -1,324 +0,0 @@ -/** - * 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 -#include -#include - -#include - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { -class StartSimulationJobBatchResult { - public: - AWS_ROBOMAKER_API StartSimulationJobBatchResult() = default; - AWS_ROBOMAKER_API StartSimulationJobBatchResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API StartSimulationJobBatchResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (arn) of the batch.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - StartSimulationJobBatchResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the simulation job batch.

Pending

The - * simulation job batch request is pending.

InProgress
- *

The simulation job batch is in progress.

Failed
- *

The simulation job batch failed. One or more simulation job requests could - * not be completed due to an internal failure (like - * InternalServiceError). See failureCode and - * failureReason for more information.

Completed
- *

The simulation batch job completed. A batch is complete when (1) there - * are no pending simulation job requests in the batch and none of the failed - * simulation job requests are due to InternalServiceError and (2) - * when all created simulation jobs have reached a terminal state (for example, - * Completed or Failed).

Canceled
- *

The simulation batch job was cancelled.

Canceling
- *

The simulation batch job is being cancelled.

- *
Completing

The simulation batch job is completing.

- *
TimingOut

The simulation job batch is timing out.

If a - * batch timing out, and there are pending requests that were failing due to an - * internal failure (like InternalServiceError), the batch status will - * be Failed. If there are no such failing request, the batch status - * will be TimedOut.

TimedOut

The - * simulation batch job timed out.

- */ - inline SimulationJobBatchStatus GetStatus() const { return m_status; } - inline void SetStatus(SimulationJobBatchStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline StartSimulationJobBatchResult& WithStatus(SimulationJobBatchStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation job batch was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - StartSimulationJobBatchResult& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency - * of the request.

- */ - inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; } - template - void SetClientRequestToken(ClientRequestTokenT&& value) { - m_clientRequestTokenHasBeenSet = true; - m_clientRequestToken = std::forward(value); - } - template - StartSimulationJobBatchResult& WithClientRequestToken(ClientRequestTokenT&& value) { - SetClientRequestToken(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The batch policy.

- */ - inline const BatchPolicy& GetBatchPolicy() const { return m_batchPolicy; } - template - void SetBatchPolicy(BatchPolicyT&& value) { - m_batchPolicyHasBeenSet = true; - m_batchPolicy = std::forward(value); - } - template - StartSimulationJobBatchResult& WithBatchPolicy(BatchPolicyT&& value) { - SetBatchPolicy(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The failure code if the simulation job batch failed.

- */ - inline SimulationJobBatchErrorCode GetFailureCode() const { return m_failureCode; } - inline void SetFailureCode(SimulationJobBatchErrorCode value) { - m_failureCodeHasBeenSet = true; - m_failureCode = value; - } - inline StartSimulationJobBatchResult& WithFailureCode(SimulationJobBatchErrorCode value) { - SetFailureCode(value); - return *this; - } - ///@} - - ///@{ - /** - *

The reason the simulation job batch failed.

- */ - inline const Aws::String& GetFailureReason() const { return m_failureReason; } - template - void SetFailureReason(FailureReasonT&& value) { - m_failureReasonHasBeenSet = true; - m_failureReason = std::forward(value); - } - template - StartSimulationJobBatchResult& WithFailureReason(FailureReasonT&& value) { - SetFailureReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of failed simulation job requests. The request failed to be created - * into a simulation job. Failed requests do not have a simulation job ID.

- */ - inline const Aws::Vector& GetFailedRequests() const { return m_failedRequests; } - template > - void SetFailedRequests(FailedRequestsT&& value) { - m_failedRequestsHasBeenSet = true; - m_failedRequests = std::forward(value); - } - template > - StartSimulationJobBatchResult& WithFailedRequests(FailedRequestsT&& value) { - SetFailedRequests(std::forward(value)); - return *this; - } - template - StartSimulationJobBatchResult& AddFailedRequests(FailedRequestsT&& value) { - m_failedRequestsHasBeenSet = true; - m_failedRequests.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of pending simulation job requests. These requests have not yet been - * created into simulation jobs.

- */ - inline const Aws::Vector& GetPendingRequests() const { return m_pendingRequests; } - template > - void SetPendingRequests(PendingRequestsT&& value) { - m_pendingRequestsHasBeenSet = true; - m_pendingRequests = std::forward(value); - } - template > - StartSimulationJobBatchResult& WithPendingRequests(PendingRequestsT&& value) { - SetPendingRequests(std::forward(value)); - return *this; - } - template - StartSimulationJobBatchResult& AddPendingRequests(PendingRequestsT&& value) { - m_pendingRequestsHasBeenSet = true; - m_pendingRequests.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of created simulation job request summaries.

- */ - inline const Aws::Vector& GetCreatedRequests() const { return m_createdRequests; } - template > - void SetCreatedRequests(CreatedRequestsT&& value) { - m_createdRequestsHasBeenSet = true; - m_createdRequests = std::forward(value); - } - template > - StartSimulationJobBatchResult& WithCreatedRequests(CreatedRequestsT&& value) { - SetCreatedRequests(std::forward(value)); - return *this; - } - template - StartSimulationJobBatchResult& AddCreatedRequests(CreatedRequestsT&& value) { - m_createdRequestsHasBeenSet = true; - m_createdRequests.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the - * deployment job batch.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - StartSimulationJobBatchResult& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - StartSimulationJobBatchResult& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - StartSimulationJobBatchResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - SimulationJobBatchStatus m_status{SimulationJobBatchStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - Aws::String m_clientRequestToken; - bool m_clientRequestTokenHasBeenSet = false; - - BatchPolicy m_batchPolicy; - bool m_batchPolicyHasBeenSet = false; - - SimulationJobBatchErrorCode m_failureCode{SimulationJobBatchErrorCode::NOT_SET}; - bool m_failureCodeHasBeenSet = false; - - Aws::String m_failureReason; - bool m_failureReasonHasBeenSet = false; - - Aws::Vector m_failedRequests; - bool m_failedRequestsHasBeenSet = false; - - Aws::Vector m_pendingRequests; - bool m_pendingRequestsHasBeenSet = false; - - Aws::Vector m_createdRequests; - bool m_createdRequestsHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TagResourceRequest.h deleted file mode 100644 index e321eb51f11..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TagResourceRequest.h +++ /dev/null @@ -1,85 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class TagResourceRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API TagResourceRequest() = default; - - // 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_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are - * tagging.

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - TagResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that are attached to the - * resource.

- */ - inline const Aws::Map& GetTags() const { return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - template > - void SetTags(TagsT&& value) { - m_tagsHasBeenSet = true; - m_tags = std::forward(value); - } - template > - TagResourceRequest& WithTags(TagsT&& value) { - SetTags(std::forward(value)); - return *this; - } - template - TagResourceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) { - m_tagsHasBeenSet = true; - m_tags.emplace(std::forward(key), std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; - - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TagResourceResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TagResourceResult.h deleted file mode 100644 index ca4bc57deeb..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TagResourceResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class TagResourceResult { - public: - AWS_ROBOMAKER_API TagResourceResult() = default; - AWS_ROBOMAKER_API TagResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API TagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - TagResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TemplateLocation.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TemplateLocation.h deleted file mode 100644 index 0012994c30c..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TemplateLocation.h +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a template location.

See Also:

AWS - * API Reference

- */ -class TemplateLocation { - public: - AWS_ROBOMAKER_API TemplateLocation() = default; - AWS_ROBOMAKER_API TemplateLocation(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API TemplateLocation& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon S3 bucket name.

- */ - inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; } - inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; } - template - void SetS3Bucket(S3BucketT&& value) { - m_s3BucketHasBeenSet = true; - m_s3Bucket = std::forward(value); - } - template - TemplateLocation& WithS3Bucket(S3BucketT&& value) { - SetS3Bucket(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The list of S3 keys identifying the data source files.

- */ - inline const Aws::String& GetS3Key() const { return m_s3Key; } - inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; } - template - void SetS3Key(S3KeyT&& value) { - m_s3KeyHasBeenSet = true; - m_s3Key = std::forward(value); - } - template - TemplateLocation& WithS3Key(S3KeyT&& value) { - SetS3Key(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_s3Bucket; - bool m_s3BucketHasBeenSet = false; - - Aws::String m_s3Key; - bool m_s3KeyHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TemplateSummary.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TemplateSummary.h deleted file mode 100644 index 0dc7a898b16..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/TemplateSummary.h +++ /dev/null @@ -1,144 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Summary information for a template.

See Also:

AWS - * API Reference

- */ -class TemplateSummary { - public: - AWS_ROBOMAKER_API TemplateSummary() = default; - AWS_ROBOMAKER_API TemplateSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API TemplateSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the template.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - TemplateSummary& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the template was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - TemplateSummary& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the template was last - * updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - TemplateSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the template.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - TemplateSummary& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the template that you're using.

- */ - inline const Aws::String& GetVersion() const { return m_version; } - inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } - template - void SetVersion(VersionT&& value) { - m_versionHasBeenSet = true; - m_version = std::forward(value); - } - template - TemplateSummary& WithVersion(VersionT&& value) { - SetVersion(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_version; - bool m_versionHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Tool.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Tool.h deleted file mode 100644 index 69cd046af10..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/Tool.h +++ /dev/null @@ -1,145 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a tool. Tools are used in a simulation job.

See - * Also:

AWS API - * Reference

- */ -class Tool { - public: - AWS_ROBOMAKER_API Tool() = default; - AWS_ROBOMAKER_API Tool(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Tool& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

Boolean indicating whether a streaming session will be configured for the - * tool. If True, AWS RoboMaker will configure a connection so you can - * interact with the tool as it is running in the simulation. It must have a - * graphical user interface. The default is False.

- */ - inline bool GetStreamUI() const { return m_streamUI; } - inline bool StreamUIHasBeenSet() const { return m_streamUIHasBeenSet; } - inline void SetStreamUI(bool value) { - m_streamUIHasBeenSet = true; - m_streamUI = value; - } - inline Tool& WithStreamUI(bool value) { - SetStreamUI(value); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the tool.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - Tool& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Command-line arguments for the tool. It must include the tool executable - * name.

- */ - inline const Aws::String& GetCommand() const { return m_command; } - inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; } - template - void SetCommand(CommandT&& value) { - m_commandHasBeenSet = true; - m_command = std::forward(value); - } - template - Tool& WithCommand(CommandT&& value) { - SetCommand(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Boolean indicating whether logs will be recorded in CloudWatch for the tool. - * The default is False.

- */ - inline bool GetStreamOutputToCloudWatch() const { return m_streamOutputToCloudWatch; } - inline bool StreamOutputToCloudWatchHasBeenSet() const { return m_streamOutputToCloudWatchHasBeenSet; } - inline void SetStreamOutputToCloudWatch(bool value) { - m_streamOutputToCloudWatchHasBeenSet = true; - m_streamOutputToCloudWatch = value; - } - inline Tool& WithStreamOutputToCloudWatch(bool value) { - SetStreamOutputToCloudWatch(value); - return *this; - } - ///@} - - ///@{ - /** - *

Exit behavior determines what happens when your tool quits running. - * RESTART will cause your tool to be restarted. FAIL - * will cause your job to exit. The default is RESTART.

- */ - inline ExitBehavior GetExitBehavior() const { return m_exitBehavior; } - inline bool ExitBehaviorHasBeenSet() const { return m_exitBehaviorHasBeenSet; } - inline void SetExitBehavior(ExitBehavior value) { - m_exitBehaviorHasBeenSet = true; - m_exitBehavior = value; - } - inline Tool& WithExitBehavior(ExitBehavior value) { - SetExitBehavior(value); - return *this; - } - ///@} - private: - bool m_streamUI{false}; - bool m_streamUIHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_command; - bool m_commandHasBeenSet = false; - - bool m_streamOutputToCloudWatch{false}; - bool m_streamOutputToCloudWatchHasBeenSet = false; - - ExitBehavior m_exitBehavior{ExitBehavior::NOT_SET}; - bool m_exitBehaviorHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UntagResourceRequest.h deleted file mode 100644 index 8a6f1a715d9..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UntagResourceRequest.h +++ /dev/null @@ -1,90 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class UntagResourceRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API UntagResourceRequest() = default; - - // 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_ROBOMAKER_API Aws::String SerializePayload() const override; - - AWS_ROBOMAKER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are removing - * tags.

- */ - inline const Aws::String& GetResourceArn() const { return m_resourceArn; } - inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } - template - void SetResourceArn(ResourceArnT&& value) { - m_resourceArnHasBeenSet = true; - m_resourceArn = std::forward(value); - } - template - UntagResourceRequest& WithResourceArn(ResourceArnT&& value) { - SetResourceArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A map that contains tag keys and tag values that will be unattached from the - * resource.

- */ - inline const Aws::Vector& GetTagKeys() const { return m_tagKeys; } - inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } - template > - void SetTagKeys(TagKeysT&& value) { - m_tagKeysHasBeenSet = true; - m_tagKeys = std::forward(value); - } - template > - UntagResourceRequest& WithTagKeys(TagKeysT&& value) { - SetTagKeys(std::forward(value)); - return *this; - } - template - UntagResourceRequest& AddTagKeys(TagKeysT&& value) { - m_tagKeysHasBeenSet = true; - m_tagKeys.emplace_back(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; - - Aws::Vector m_tagKeys; - bool m_tagKeysHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UntagResourceResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UntagResourceResult.h deleted file mode 100644 index 3479d28aae3..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UntagResourceResult.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class UntagResourceResult { - public: - AWS_ROBOMAKER_API UntagResourceResult() = default; - AWS_ROBOMAKER_API UntagResourceResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API UntagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UntagResourceResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateRobotApplicationRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateRobotApplicationRequest.h deleted file mode 100644 index 4081dea3e33..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateRobotApplicationRequest.h +++ /dev/null @@ -1,149 +0,0 @@ -/** - * 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 - -namespace Aws { -namespace RoboMaker { -namespace Model { - -/** - */ -class UpdateRobotApplicationRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API UpdateRobotApplicationRequest() = default; - - // 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 "UpdateRobotApplication"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The application information for the robot application.

- */ - inline const Aws::String& GetApplication() const { return m_application; } - inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; } - template - void SetApplication(ApplicationT&& value) { - m_applicationHasBeenSet = true; - m_application = std::forward(value); - } - template - UpdateRobotApplicationRequest& WithApplication(ApplicationT&& value) { - SetApplication(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The sources of the robot application.

- */ - inline const Aws::Vector& GetSources() const { return m_sources; } - inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; } - template > - void SetSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources = std::forward(value); - } - template > - UpdateRobotApplicationRequest& WithSources(SourcesT&& value) { - SetSources(std::forward(value)); - return *this; - } - template - UpdateRobotApplicationRequest& AddSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The robot software suite used by the robot application.

- */ - inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; } - inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; } - template - void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - m_robotSoftwareSuiteHasBeenSet = true; - m_robotSoftwareSuite = std::forward(value); - } - template - UpdateRobotApplicationRequest& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - SetRobotSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The revision id for the robot application.

- */ - inline const Aws::String& GetCurrentRevisionId() const { return m_currentRevisionId; } - inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; } - template - void SetCurrentRevisionId(CurrentRevisionIdT&& value) { - m_currentRevisionIdHasBeenSet = true; - m_currentRevisionId = std::forward(value); - } - template - UpdateRobotApplicationRequest& WithCurrentRevisionId(CurrentRevisionIdT&& value) { - SetCurrentRevisionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The object that contains the Docker image URI for your robot application.

- */ - inline const Environment& GetEnvironment() const { return m_environment; } - inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } - template - void SetEnvironment(EnvironmentT&& value) { - m_environmentHasBeenSet = true; - m_environment = std::forward(value); - } - template - UpdateRobotApplicationRequest& WithEnvironment(EnvironmentT&& value) { - SetEnvironment(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_application; - bool m_applicationHasBeenSet = false; - - Aws::Vector m_sources; - bool m_sourcesHasBeenSet = false; - - RobotSoftwareSuite m_robotSoftwareSuite; - bool m_robotSoftwareSuiteHasBeenSet = false; - - Aws::String m_currentRevisionId; - bool m_currentRevisionIdHasBeenSet = false; - - Environment m_environment; - bool m_environmentHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateRobotApplicationResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateRobotApplicationResult.h deleted file mode 100644 index 8dc021b92b7..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateRobotApplicationResult.h +++ /dev/null @@ -1,222 +0,0 @@ -/** - * 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 - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { -class UpdateRobotApplicationResult { - public: - AWS_ROBOMAKER_API UpdateRobotApplicationResult() = default; - AWS_ROBOMAKER_API UpdateRobotApplicationResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API UpdateRobotApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the updated robot application.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - UpdateRobotApplicationResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the robot application.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - UpdateRobotApplicationResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the robot application.

- */ - inline const Aws::String& GetVersion() const { return m_version; } - template - void SetVersion(VersionT&& value) { - m_versionHasBeenSet = true; - m_version = std::forward(value); - } - template - UpdateRobotApplicationResult& WithVersion(VersionT&& value) { - SetVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The sources of the robot application.

- */ - inline const Aws::Vector& GetSources() const { return m_sources; } - template > - void SetSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources = std::forward(value); - } - template > - UpdateRobotApplicationResult& WithSources(SourcesT&& value) { - SetSources(std::forward(value)); - return *this; - } - template - UpdateRobotApplicationResult& AddSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The robot software suite used by the robot application.

- */ - inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; } - template - void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - m_robotSoftwareSuiteHasBeenSet = true; - m_robotSoftwareSuite = std::forward(value); - } - template - UpdateRobotApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - SetRobotSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the robot application was - * last updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - UpdateRobotApplicationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The revision id of the robot application.

- */ - inline const Aws::String& GetRevisionId() const { return m_revisionId; } - template - void SetRevisionId(RevisionIdT&& value) { - m_revisionIdHasBeenSet = true; - m_revisionId = std::forward(value); - } - template - UpdateRobotApplicationResult& WithRevisionId(RevisionIdT&& value) { - SetRevisionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The object that contains the Docker image URI for your robot application.

- */ - inline const Environment& GetEnvironment() const { return m_environment; } - template - void SetEnvironment(EnvironmentT&& value) { - m_environmentHasBeenSet = true; - m_environment = std::forward(value); - } - template - UpdateRobotApplicationResult& WithEnvironment(EnvironmentT&& value) { - SetEnvironment(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UpdateRobotApplicationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_version; - bool m_versionHasBeenSet = false; - - Aws::Vector m_sources; - bool m_sourcesHasBeenSet = false; - - RobotSoftwareSuite m_robotSoftwareSuite; - bool m_robotSoftwareSuiteHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - Aws::String m_revisionId; - bool m_revisionIdHasBeenSet = false; - - Environment m_environment; - bool m_environmentHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateSimulationApplicationRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateSimulationApplicationRequest.h deleted file mode 100644 index b09ecf44930..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateSimulationApplicationRequest.h +++ /dev/null @@ -1,194 +0,0 @@ -/** - * 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 - -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { - -/** - */ -class UpdateSimulationApplicationRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API UpdateSimulationApplicationRequest() = default; - - // 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 "UpdateSimulationApplication"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The application information for the simulation application.

- */ - inline const Aws::String& GetApplication() const { return m_application; } - inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; } - template - void SetApplication(ApplicationT&& value) { - m_applicationHasBeenSet = true; - m_application = std::forward(value); - } - template - UpdateSimulationApplicationRequest& WithApplication(ApplicationT&& value) { - SetApplication(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The sources of the simulation application.

- */ - inline const Aws::Vector& GetSources() const { return m_sources; } - inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; } - template > - void SetSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources = std::forward(value); - } - template > - UpdateSimulationApplicationRequest& WithSources(SourcesT&& value) { - SetSources(std::forward(value)); - return *this; - } - template - UpdateSimulationApplicationRequest& AddSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The simulation software suite used by the simulation application.

- */ - inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const { return m_simulationSoftwareSuite; } - inline bool SimulationSoftwareSuiteHasBeenSet() const { return m_simulationSoftwareSuiteHasBeenSet; } - template - void SetSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { - m_simulationSoftwareSuiteHasBeenSet = true; - m_simulationSoftwareSuite = std::forward(value); - } - template - UpdateSimulationApplicationRequest& WithSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { - SetSimulationSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about the robot software suite.

- */ - inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; } - inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; } - template - void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - m_robotSoftwareSuiteHasBeenSet = true; - m_robotSoftwareSuite = std::forward(value); - } - template - UpdateSimulationApplicationRequest& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - SetRobotSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The rendering engine for the simulation application.

- */ - inline const RenderingEngine& GetRenderingEngine() const { return m_renderingEngine; } - inline bool RenderingEngineHasBeenSet() const { return m_renderingEngineHasBeenSet; } - template - void SetRenderingEngine(RenderingEngineT&& value) { - m_renderingEngineHasBeenSet = true; - m_renderingEngine = std::forward(value); - } - template - UpdateSimulationApplicationRequest& WithRenderingEngine(RenderingEngineT&& value) { - SetRenderingEngine(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The revision id for the robot application.

- */ - inline const Aws::String& GetCurrentRevisionId() const { return m_currentRevisionId; } - inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; } - template - void SetCurrentRevisionId(CurrentRevisionIdT&& value) { - m_currentRevisionIdHasBeenSet = true; - m_currentRevisionId = std::forward(value); - } - template - UpdateSimulationApplicationRequest& WithCurrentRevisionId(CurrentRevisionIdT&& value) { - SetCurrentRevisionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The object that contains the Docker image URI for your simulation - * application.

- */ - inline const Environment& GetEnvironment() const { return m_environment; } - inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } - template - void SetEnvironment(EnvironmentT&& value) { - m_environmentHasBeenSet = true; - m_environment = std::forward(value); - } - template - UpdateSimulationApplicationRequest& WithEnvironment(EnvironmentT&& value) { - SetEnvironment(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_application; - bool m_applicationHasBeenSet = false; - - Aws::Vector m_sources; - bool m_sourcesHasBeenSet = false; - - SimulationSoftwareSuite m_simulationSoftwareSuite; - bool m_simulationSoftwareSuiteHasBeenSet = false; - - RobotSoftwareSuite m_robotSoftwareSuite; - bool m_robotSoftwareSuiteHasBeenSet = false; - - RenderingEngine m_renderingEngine; - bool m_renderingEngineHasBeenSet = false; - - Aws::String m_currentRevisionId; - bool m_currentRevisionIdHasBeenSet = false; - - Environment m_environment; - bool m_environmentHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateSimulationApplicationResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateSimulationApplicationResult.h deleted file mode 100644 index 049a488fb2a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateSimulationApplicationResult.h +++ /dev/null @@ -1,265 +0,0 @@ -/** - * 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 - -#include - -namespace Aws { -template -class AmazonWebServiceResult; - -namespace Utils { -namespace Json { -class JsonValue; -} // namespace Json -} // namespace Utils -namespace RoboMaker { -namespace Model { -class UpdateSimulationApplicationResult { - public: - AWS_ROBOMAKER_API UpdateSimulationApplicationResult() = default; - AWS_ROBOMAKER_API UpdateSimulationApplicationResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API UpdateSimulationApplicationResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the updated simulation application.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - UpdateSimulationApplicationResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the simulation application.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - UpdateSimulationApplicationResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The version of the robot application.

- */ - inline const Aws::String& GetVersion() const { return m_version; } - template - void SetVersion(VersionT&& value) { - m_versionHasBeenSet = true; - m_version = std::forward(value); - } - template - UpdateSimulationApplicationResult& WithVersion(VersionT&& value) { - SetVersion(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The sources of the simulation application.

- */ - inline const Aws::Vector& GetSources() const { return m_sources; } - template > - void SetSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources = std::forward(value); - } - template > - UpdateSimulationApplicationResult& WithSources(SourcesT&& value) { - SetSources(std::forward(value)); - return *this; - } - template - UpdateSimulationApplicationResult& AddSources(SourcesT&& value) { - m_sourcesHasBeenSet = true; - m_sources.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The simulation software suite used by the simulation application.

- */ - inline const SimulationSoftwareSuite& GetSimulationSoftwareSuite() const { return m_simulationSoftwareSuite; } - template - void SetSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { - m_simulationSoftwareSuiteHasBeenSet = true; - m_simulationSoftwareSuite = std::forward(value); - } - template - UpdateSimulationApplicationResult& WithSimulationSoftwareSuite(SimulationSoftwareSuiteT&& value) { - SetSimulationSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Information about the robot software suite.

- */ - inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; } - template - void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - m_robotSoftwareSuiteHasBeenSet = true; - m_robotSoftwareSuite = std::forward(value); - } - template - UpdateSimulationApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { - SetRobotSoftwareSuite(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The rendering engine for the simulation application.

- */ - inline const RenderingEngine& GetRenderingEngine() const { return m_renderingEngine; } - template - void SetRenderingEngine(RenderingEngineT&& value) { - m_renderingEngineHasBeenSet = true; - m_renderingEngine = std::forward(value); - } - template - UpdateSimulationApplicationResult& WithRenderingEngine(RenderingEngineT&& value) { - SetRenderingEngine(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the simulation application - * was last updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - UpdateSimulationApplicationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The revision id of the simulation application.

- */ - inline const Aws::String& GetRevisionId() const { return m_revisionId; } - template - void SetRevisionId(RevisionIdT&& value) { - m_revisionIdHasBeenSet = true; - m_revisionId = std::forward(value); - } - template - UpdateSimulationApplicationResult& WithRevisionId(RevisionIdT&& value) { - SetRevisionId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The object that contains the Docker image URI used for your simulation - * application.

- */ - inline const Environment& GetEnvironment() const { return m_environment; } - template - void SetEnvironment(EnvironmentT&& value) { - m_environmentHasBeenSet = true; - m_environment = std::forward(value); - } - template - UpdateSimulationApplicationResult& WithEnvironment(EnvironmentT&& value) { - SetEnvironment(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UpdateSimulationApplicationResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_version; - bool m_versionHasBeenSet = false; - - Aws::Vector m_sources; - bool m_sourcesHasBeenSet = false; - - SimulationSoftwareSuite m_simulationSoftwareSuite; - bool m_simulationSoftwareSuiteHasBeenSet = false; - - RobotSoftwareSuite m_robotSoftwareSuite; - bool m_robotSoftwareSuiteHasBeenSet = false; - - RenderingEngine m_renderingEngine; - bool m_renderingEngineHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - Aws::String m_revisionId; - bool m_revisionIdHasBeenSet = false; - - Environment m_environment; - bool m_environmentHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateWorldTemplateRequest.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateWorldTemplateRequest.h deleted file mode 100644 index c02983fdef1..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateWorldTemplateRequest.h +++ /dev/null @@ -1,119 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - */ -class UpdateWorldTemplateRequest : public RoboMakerRequest { - public: - AWS_ROBOMAKER_API UpdateWorldTemplateRequest() = default; - - // 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 "UpdateWorldTemplate"; } - - AWS_ROBOMAKER_API Aws::String SerializePayload() const override; - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world template to update.

- */ - inline const Aws::String& GetTemplate() const { return m_template; } - inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } - template - void SetTemplate(TemplateT&& value) { - m_templateHasBeenSet = true; - m_template = std::forward(value); - } - template - UpdateWorldTemplateRequest& WithTemplate(TemplateT&& value) { - SetTemplate(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the template.

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - UpdateWorldTemplateRequest& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The world template body.

- */ - inline const Aws::String& GetTemplateBody() const { return m_templateBody; } - inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; } - template - void SetTemplateBody(TemplateBodyT&& value) { - m_templateBodyHasBeenSet = true; - m_templateBody = std::forward(value); - } - template - UpdateWorldTemplateRequest& WithTemplateBody(TemplateBodyT&& value) { - SetTemplateBody(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The location of the world template.

- */ - inline const TemplateLocation& GetTemplateLocation() const { return m_templateLocation; } - inline bool TemplateLocationHasBeenSet() const { return m_templateLocationHasBeenSet; } - template - void SetTemplateLocation(TemplateLocationT&& value) { - m_templateLocationHasBeenSet = true; - m_templateLocation = std::forward(value); - } - template - UpdateWorldTemplateRequest& WithTemplateLocation(TemplateLocationT&& value) { - SetTemplateLocation(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_template; - bool m_templateHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_templateBody; - bool m_templateBodyHasBeenSet = false; - - TemplateLocation m_templateLocation; - bool m_templateLocationHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateWorldTemplateResult.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateWorldTemplateResult.h deleted file mode 100644 index b691493bb9e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UpdateWorldTemplateResult.h +++ /dev/null @@ -1,133 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -class UpdateWorldTemplateResult { - public: - AWS_ROBOMAKER_API UpdateWorldTemplateResult() = default; - AWS_ROBOMAKER_API UpdateWorldTemplateResult(const Aws::AmazonWebServiceResult& result); - AWS_ROBOMAKER_API UpdateWorldTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world template.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - UpdateWorldTemplateResult& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The name of the world template.

- */ - inline const Aws::String& GetName() const { return m_name; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - UpdateWorldTemplateResult& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the world template was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - UpdateWorldTemplateResult& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the world template was last - * updated.

- */ - inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; } - template - void SetLastUpdatedAt(LastUpdatedAtT&& value) { - m_lastUpdatedAtHasBeenSet = true; - m_lastUpdatedAt = std::forward(value); - } - template - UpdateWorldTemplateResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { - SetLastUpdatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const Aws::String& GetRequestId() const { return m_requestId; } - template - void SetRequestId(RequestIdT&& value) { - m_requestIdHasBeenSet = true; - m_requestId = std::forward(value); - } - template - UpdateWorldTemplateResult& WithRequestId(RequestIdT&& value) { - SetRequestId(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - Aws::Utils::DateTime m_lastUpdatedAt{}; - bool m_lastUpdatedAtHasBeenSet = false; - - Aws::String m_requestId; - bool m_requestIdHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UploadBehavior.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UploadBehavior.h deleted file mode 100644 index 1a00b99f54e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UploadBehavior.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class UploadBehavior { NOT_SET, UPLOAD_ON_TERMINATE, UPLOAD_ROLLING_AUTO_REMOVE }; - -namespace UploadBehaviorMapper { -AWS_ROBOMAKER_API UploadBehavior GetUploadBehaviorForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForUploadBehavior(UploadBehavior value); -} // namespace UploadBehaviorMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UploadConfiguration.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UploadConfiguration.h deleted file mode 100644 index b4832d52c92..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/UploadConfiguration.h +++ /dev/null @@ -1,118 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Provides upload configuration information. Files are uploaded from the - * simulation job to a location you specify.

See Also:

AWS - * API Reference

- */ -class UploadConfiguration { - public: - AWS_ROBOMAKER_API UploadConfiguration() = default; - AWS_ROBOMAKER_API UploadConfiguration(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API UploadConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

A prefix that specifies where files will be uploaded in Amazon S3. It is - * appended to the simulation output location to determine the final path.

- * For example, if your simulation output location is - * s3://amzn-s3-demo-bucket and your upload configuration name is - * robot-test, your files will be uploaded to - * s3://amzn-s3-demo-bucket/<simid>/<runid>/robot-test. - *

- */ - inline const Aws::String& GetName() const { return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - template - void SetName(NameT&& value) { - m_nameHasBeenSet = true; - m_name = std::forward(value); - } - template - UploadConfiguration& WithName(NameT&& value) { - SetName(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Specifies the path of the file(s) to upload. Standard Unix glob matching - * rules are accepted, with the addition of ** as a super - * asterisk. For example, specifying /var/log/ **.log causes all - * .log files in the /var/log directory tree to be collected. For more - * examples, see Glob Library.

- */ - inline const Aws::String& GetPath() const { return m_path; } - inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } - template - void SetPath(PathT&& value) { - m_pathHasBeenSet = true; - m_path = std::forward(value); - } - template - UploadConfiguration& WithPath(PathT&& value) { - SetPath(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

Specifies when to upload the files:

UPLOAD_ON_TERMINATE
- *

Matching files are uploaded once the simulation enters the - * TERMINATING state. Matching files are not uploaded until all of - * your code (including tools) have stopped.

If there is a problem - * uploading a file, the upload is retried. If problems persist, no further upload - * attempts will be made.

UPLOAD_ROLLING_AUTO_REMOVE
- *

Matching files are uploaded as they are created. They are deleted after they - * are uploaded. The specified path is checked every 5 seconds. A final check is - * made when all of your code (including tools) have stopped.

- */ - inline UploadBehavior GetUploadBehavior() const { return m_uploadBehavior; } - inline bool UploadBehaviorHasBeenSet() const { return m_uploadBehaviorHasBeenSet; } - inline void SetUploadBehavior(UploadBehavior value) { - m_uploadBehaviorHasBeenSet = true; - m_uploadBehavior = value; - } - inline UploadConfiguration& WithUploadBehavior(UploadBehavior value) { - SetUploadBehavior(value); - return *this; - } - ///@} - private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_path; - bool m_pathHasBeenSet = false; - - UploadBehavior m_uploadBehavior{UploadBehavior::NOT_SET}; - bool m_uploadBehaviorHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/VPCConfig.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/VPCConfig.h deleted file mode 100644 index 2a95ede7947..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/VPCConfig.h +++ /dev/null @@ -1,114 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

If your simulation job accesses resources in a VPC, you provide this - * parameter identifying the list of security group IDs and subnet IDs. These must - * belong to the same VPC. You must provide at least one security group and two - * subnet IDs.

See Also:

AWS - * API Reference

- */ -class VPCConfig { - public: - AWS_ROBOMAKER_API VPCConfig() = default; - AWS_ROBOMAKER_API VPCConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API VPCConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

A list of one or more subnet IDs in your VPC.

- */ - inline const Aws::Vector& GetSubnets() const { return m_subnets; } - inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } - template > - void SetSubnets(SubnetsT&& value) { - m_subnetsHasBeenSet = true; - m_subnets = std::forward(value); - } - template > - VPCConfig& WithSubnets(SubnetsT&& value) { - SetSubnets(std::forward(value)); - return *this; - } - template - VPCConfig& AddSubnets(SubnetsT&& value) { - m_subnetsHasBeenSet = true; - m_subnets.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of one or more security groups IDs in your VPC.

- */ - inline const Aws::Vector& GetSecurityGroups() const { return m_securityGroups; } - inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } - template > - void SetSecurityGroups(SecurityGroupsT&& value) { - m_securityGroupsHasBeenSet = true; - m_securityGroups = std::forward(value); - } - template > - VPCConfig& WithSecurityGroups(SecurityGroupsT&& value) { - SetSecurityGroups(std::forward(value)); - return *this; - } - template - VPCConfig& AddSecurityGroups(SecurityGroupsT&& value) { - m_securityGroupsHasBeenSet = true; - m_securityGroups.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A boolean indicating whether to assign a public IP address.

- */ - inline bool GetAssignPublicIp() const { return m_assignPublicIp; } - inline bool AssignPublicIpHasBeenSet() const { return m_assignPublicIpHasBeenSet; } - inline void SetAssignPublicIp(bool value) { - m_assignPublicIpHasBeenSet = true; - m_assignPublicIp = value; - } - inline VPCConfig& WithAssignPublicIp(bool value) { - SetAssignPublicIp(value); - return *this; - } - ///@} - private: - Aws::Vector m_subnets; - bool m_subnetsHasBeenSet = false; - - Aws::Vector m_securityGroups; - bool m_securityGroupsHasBeenSet = false; - - bool m_assignPublicIp{false}; - bool m_assignPublicIpHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/VPCConfigResponse.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/VPCConfigResponse.h deleted file mode 100644 index 6cf7cb2290e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/VPCConfigResponse.h +++ /dev/null @@ -1,133 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

VPC configuration associated with your simulation job.

See - * Also:

AWS - * API Reference

- */ -class VPCConfigResponse { - public: - AWS_ROBOMAKER_API VPCConfigResponse() = default; - AWS_ROBOMAKER_API VPCConfigResponse(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API VPCConfigResponse& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

A list of subnet IDs associated with the simulation job.

- */ - inline const Aws::Vector& GetSubnets() const { return m_subnets; } - inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } - template > - void SetSubnets(SubnetsT&& value) { - m_subnetsHasBeenSet = true; - m_subnets = std::forward(value); - } - template > - VPCConfigResponse& WithSubnets(SubnetsT&& value) { - SetSubnets(std::forward(value)); - return *this; - } - template - VPCConfigResponse& AddSubnets(SubnetsT&& value) { - m_subnetsHasBeenSet = true; - m_subnets.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of security group IDs associated with the simulation job.

- */ - inline const Aws::Vector& GetSecurityGroups() const { return m_securityGroups; } - inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } - template > - void SetSecurityGroups(SecurityGroupsT&& value) { - m_securityGroupsHasBeenSet = true; - m_securityGroups = std::forward(value); - } - template > - VPCConfigResponse& WithSecurityGroups(SecurityGroupsT&& value) { - SetSecurityGroups(std::forward(value)); - return *this; - } - template - VPCConfigResponse& AddSecurityGroups(SecurityGroupsT&& value) { - m_securityGroupsHasBeenSet = true; - m_securityGroups.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The VPC ID associated with your simulation job.

- */ - inline const Aws::String& GetVpcId() const { return m_vpcId; } - inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } - template - void SetVpcId(VpcIdT&& value) { - m_vpcIdHasBeenSet = true; - m_vpcId = std::forward(value); - } - template - VPCConfigResponse& WithVpcId(VpcIdT&& value) { - SetVpcId(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A boolean indicating if a public IP was assigned.

- */ - inline bool GetAssignPublicIp() const { return m_assignPublicIp; } - inline bool AssignPublicIpHasBeenSet() const { return m_assignPublicIpHasBeenSet; } - inline void SetAssignPublicIp(bool value) { - m_assignPublicIpHasBeenSet = true; - m_assignPublicIp = value; - } - inline VPCConfigResponse& WithAssignPublicIp(bool value) { - SetAssignPublicIp(value); - return *this; - } - ///@} - private: - Aws::Vector m_subnets; - bool m_subnetsHasBeenSet = false; - - Aws::Vector m_securityGroups; - bool m_securityGroupsHasBeenSet = false; - - Aws::String m_vpcId; - bool m_vpcIdHasBeenSet = false; - - bool m_assignPublicIp{false}; - bool m_assignPublicIpHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldConfig.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldConfig.h deleted file mode 100644 index 89d188bf78f..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldConfig.h +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Configuration information for a world.

See Also:

AWS - * API Reference

- */ -class WorldConfig { - public: - AWS_ROBOMAKER_API WorldConfig() = default; - AWS_ROBOMAKER_API WorldConfig(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API WorldConfig& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The world generated by Simulation WorldForge.

- */ - inline const Aws::String& GetWorld() const { return m_world; } - inline bool WorldHasBeenSet() const { return m_worldHasBeenSet; } - template - void SetWorld(WorldT&& value) { - m_worldHasBeenSet = true; - m_world = std::forward(value); - } - template - WorldConfig& WithWorld(WorldT&& value) { - SetWorld(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_world; - bool m_worldHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldCount.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldCount.h deleted file mode 100644 index bcb170d836e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldCount.h +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

The number of worlds that will be created. You can configure the number of - * unique floorplans and the number of unique interiors for each floor plan. For - * example, if you want 1 world with 20 unique interiors, you set - * floorplanCount = 1 and interiorCountPerFloorplan = 20. - * This will result in 20 worlds (floorplanCount * - * interiorCountPerFloorplan).

If you set floorplanCount - * = 4 and interiorCountPerFloorplan = 5, there will be 20 - * worlds with 5 unique floor plans.

See Also:

AWS - * API Reference

- */ -class WorldCount { - public: - AWS_ROBOMAKER_API WorldCount() = default; - AWS_ROBOMAKER_API WorldCount(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API WorldCount& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The number of unique floorplans.

- */ - inline int GetFloorplanCount() const { return m_floorplanCount; } - inline bool FloorplanCountHasBeenSet() const { return m_floorplanCountHasBeenSet; } - inline void SetFloorplanCount(int value) { - m_floorplanCountHasBeenSet = true; - m_floorplanCount = value; - } - inline WorldCount& WithFloorplanCount(int value) { - SetFloorplanCount(value); - return *this; - } - ///@} - - ///@{ - /** - *

The number of unique interiors per floorplan.

- */ - inline int GetInteriorCountPerFloorplan() const { return m_interiorCountPerFloorplan; } - inline bool InteriorCountPerFloorplanHasBeenSet() const { return m_interiorCountPerFloorplanHasBeenSet; } - inline void SetInteriorCountPerFloorplan(int value) { - m_interiorCountPerFloorplanHasBeenSet = true; - m_interiorCountPerFloorplan = value; - } - inline WorldCount& WithInteriorCountPerFloorplan(int value) { - SetInteriorCountPerFloorplan(value); - return *this; - } - ///@} - private: - int m_floorplanCount{0}; - bool m_floorplanCountHasBeenSet = false; - - int m_interiorCountPerFloorplan{0}; - bool m_interiorCountPerFloorplanHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldExportJobErrorCode.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldExportJobErrorCode.h deleted file mode 100644 index 2f76f528db4..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldExportJobErrorCode.h +++ /dev/null @@ -1,30 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class WorldExportJobErrorCode { - NOT_SET, - InternalServiceError, - LimitExceeded, - ResourceNotFound, - RequestThrottled, - InvalidInput, - AccessDenied -}; - -namespace WorldExportJobErrorCodeMapper { -AWS_ROBOMAKER_API WorldExportJobErrorCode GetWorldExportJobErrorCodeForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForWorldExportJobErrorCode(WorldExportJobErrorCode value); -} // namespace WorldExportJobErrorCodeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldExportJobStatus.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldExportJobStatus.h deleted file mode 100644 index 6353b248ada..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldExportJobStatus.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class WorldExportJobStatus { NOT_SET, Pending, Running, Completed, Failed, Canceling, Canceled }; - -namespace WorldExportJobStatusMapper { -AWS_ROBOMAKER_API WorldExportJobStatus GetWorldExportJobStatusForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForWorldExportJobStatus(WorldExportJobStatus value); -} // namespace WorldExportJobStatusMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldExportJobSummary.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldExportJobSummary.h deleted file mode 100644 index 98370ebb446..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldExportJobSummary.h +++ /dev/null @@ -1,156 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a world export job.

See Also:

AWS - * API Reference

- */ -class WorldExportJobSummary { - public: - AWS_ROBOMAKER_API WorldExportJobSummary() = default; - AWS_ROBOMAKER_API WorldExportJobSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API WorldExportJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the world export job.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - WorldExportJobSummary& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the world export job.

Pending

The - * world export job request is pending.

Running

The - * world export job is running.

Completed

The world - * export job completed.

Failed

The world export job - * failed. See failureCode for more information.

- *
Canceled

The world export job was cancelled.

- *
Canceling

The world export job is being cancelled.

- *
- */ - inline WorldExportJobStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(WorldExportJobStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline WorldExportJobSummary& WithStatus(WorldExportJobStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the world export job was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - WorldExportJobSummary& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

A list of worlds.

- */ - inline const Aws::Vector& GetWorlds() const { return m_worlds; } - inline bool WorldsHasBeenSet() const { return m_worldsHasBeenSet; } - template > - void SetWorlds(WorldsT&& value) { - m_worldsHasBeenSet = true; - m_worlds = std::forward(value); - } - template > - WorldExportJobSummary& WithWorlds(WorldsT&& value) { - SetWorlds(std::forward(value)); - return *this; - } - template - WorldExportJobSummary& AddWorlds(WorldsT&& value) { - m_worldsHasBeenSet = true; - m_worlds.emplace_back(std::forward(value)); - return *this; - } - ///@} - - ///@{ - - inline const OutputLocation& GetOutputLocation() const { return m_outputLocation; } - inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; } - template - void SetOutputLocation(OutputLocationT&& value) { - m_outputLocationHasBeenSet = true; - m_outputLocation = std::forward(value); - } - template - WorldExportJobSummary& WithOutputLocation(OutputLocationT&& value) { - SetOutputLocation(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - WorldExportJobStatus m_status{WorldExportJobStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - Aws::Vector m_worlds; - bool m_worldsHasBeenSet = false; - - OutputLocation m_outputLocation; - bool m_outputLocationHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldFailure.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldFailure.h deleted file mode 100644 index 639031d6933..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldFailure.h +++ /dev/null @@ -1,105 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a failed world.

See Also:

AWS - * API Reference

- */ -class WorldFailure { - public: - AWS_ROBOMAKER_API WorldFailure() = default; - AWS_ROBOMAKER_API WorldFailure(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API WorldFailure& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The failure code of the world export job if it failed:

- *
InternalServiceError

Internal service error.

- *
LimitExceeded

The requested resource exceeds the maximum number - * allowed, or the number of concurrent stream requests exceeds the maximum number - * allowed.

ResourceNotFound

The specified resource - * could not be found.

RequestThrottled

The request was - * throttled.

InvalidInput

An input parameter in the - * request is not valid.

- */ - inline WorldGenerationJobErrorCode GetFailureCode() const { return m_failureCode; } - inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; } - inline void SetFailureCode(WorldGenerationJobErrorCode value) { - m_failureCodeHasBeenSet = true; - m_failureCode = value; - } - inline WorldFailure& WithFailureCode(WorldGenerationJobErrorCode value) { - SetFailureCode(value); - return *this; - } - ///@} - - ///@{ - /** - *

The sample reason why the world failed. World errors are aggregated. A sample - * is used as the sampleFailureReason.

- */ - inline const Aws::String& GetSampleFailureReason() const { return m_sampleFailureReason; } - inline bool SampleFailureReasonHasBeenSet() const { return m_sampleFailureReasonHasBeenSet; } - template - void SetSampleFailureReason(SampleFailureReasonT&& value) { - m_sampleFailureReasonHasBeenSet = true; - m_sampleFailureReason = std::forward(value); - } - template - WorldFailure& WithSampleFailureReason(SampleFailureReasonT&& value) { - SetSampleFailureReason(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The number of failed worlds.

- */ - inline int GetFailureCount() const { return m_failureCount; } - inline bool FailureCountHasBeenSet() const { return m_failureCountHasBeenSet; } - inline void SetFailureCount(int value) { - m_failureCountHasBeenSet = true; - m_failureCount = value; - } - inline WorldFailure& WithFailureCount(int value) { - SetFailureCount(value); - return *this; - } - ///@} - private: - WorldGenerationJobErrorCode m_failureCode{WorldGenerationJobErrorCode::NOT_SET}; - bool m_failureCodeHasBeenSet = false; - - Aws::String m_sampleFailureReason; - bool m_sampleFailureReasonHasBeenSet = false; - - int m_failureCount{0}; - bool m_failureCountHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldGenerationJobErrorCode.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldGenerationJobErrorCode.h deleted file mode 100644 index 55c9af93862..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldGenerationJobErrorCode.h +++ /dev/null @@ -1,30 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class WorldGenerationJobErrorCode { - NOT_SET, - InternalServiceError, - LimitExceeded, - ResourceNotFound, - RequestThrottled, - InvalidInput, - AllWorldGenerationFailed -}; - -namespace WorldGenerationJobErrorCodeMapper { -AWS_ROBOMAKER_API WorldGenerationJobErrorCode GetWorldGenerationJobErrorCodeForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForWorldGenerationJobErrorCode(WorldGenerationJobErrorCode value); -} // namespace WorldGenerationJobErrorCodeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldGenerationJobStatus.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldGenerationJobStatus.h deleted file mode 100644 index cff474ba679..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldGenerationJobStatus.h +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#pragma once -#include -#include - -namespace Aws { -namespace RoboMaker { -namespace Model { -enum class WorldGenerationJobStatus { NOT_SET, Pending, Running, Completed, Failed, PartialFailed, Canceling, Canceled }; - -namespace WorldGenerationJobStatusMapper { -AWS_ROBOMAKER_API WorldGenerationJobStatus GetWorldGenerationJobStatusForName(const Aws::String& name); - -AWS_ROBOMAKER_API Aws::String GetNameForWorldGenerationJobStatus(WorldGenerationJobStatus value); -} // namespace WorldGenerationJobStatusMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldGenerationJobSummary.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldGenerationJobSummary.h deleted file mode 100644 index 8e5d7281c27..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldGenerationJobSummary.h +++ /dev/null @@ -1,190 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a world generator job.

See Also:

AWS - * API Reference

- */ -class WorldGenerationJobSummary { - public: - AWS_ROBOMAKER_API WorldGenerationJobSummary() = default; - AWS_ROBOMAKER_API WorldGenerationJobSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API WorldGenerationJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the world generator job.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - WorldGenerationJobSummary& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world template.

- */ - inline const Aws::String& GetTemplate() const { return m_template; } - inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } - template - void SetTemplate(TemplateT&& value) { - m_templateHasBeenSet = true; - m_template = std::forward(value); - } - template - WorldGenerationJobSummary& WithTemplate(TemplateT&& value) { - SetTemplate(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the world generator job was - * created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - WorldGenerationJobSummary& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The status of the world generator job:

Pending

The - * world generator job request is pending.

Running

The - * world generator job is running.

Completed

The world - * generator job completed.

Failed

The world generator - * job failed. See failureCode for more information.

- *
PartialFailed

Some worlds did not generate.

- *
Canceled

The world generator job was cancelled.

- *
Canceling

The world generator job is being cancelled.

- *
- */ - inline WorldGenerationJobStatus GetStatus() const { return m_status; } - inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } - inline void SetStatus(WorldGenerationJobStatus value) { - m_statusHasBeenSet = true; - m_status = value; - } - inline WorldGenerationJobSummary& WithStatus(WorldGenerationJobStatus value) { - SetStatus(value); - return *this; - } - ///@} - - ///@{ - /** - *

Information about the world count.

- */ - inline const WorldCount& GetWorldCount() const { return m_worldCount; } - inline bool WorldCountHasBeenSet() const { return m_worldCountHasBeenSet; } - template - void SetWorldCount(WorldCountT&& value) { - m_worldCountHasBeenSet = true; - m_worldCount = std::forward(value); - } - template - WorldGenerationJobSummary& WithWorldCount(WorldCountT&& value) { - SetWorldCount(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The number of worlds that were generated.

- */ - inline int GetSucceededWorldCount() const { return m_succeededWorldCount; } - inline bool SucceededWorldCountHasBeenSet() const { return m_succeededWorldCountHasBeenSet; } - inline void SetSucceededWorldCount(int value) { - m_succeededWorldCountHasBeenSet = true; - m_succeededWorldCount = value; - } - inline WorldGenerationJobSummary& WithSucceededWorldCount(int value) { - SetSucceededWorldCount(value); - return *this; - } - ///@} - - ///@{ - /** - *

The number of worlds that failed.

- */ - inline int GetFailedWorldCount() const { return m_failedWorldCount; } - inline bool FailedWorldCountHasBeenSet() const { return m_failedWorldCountHasBeenSet; } - inline void SetFailedWorldCount(int value) { - m_failedWorldCountHasBeenSet = true; - m_failedWorldCount = value; - } - inline WorldGenerationJobSummary& WithFailedWorldCount(int value) { - SetFailedWorldCount(value); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::String m_template; - bool m_templateHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - WorldGenerationJobStatus m_status{WorldGenerationJobStatus::NOT_SET}; - bool m_statusHasBeenSet = false; - - WorldCount m_worldCount; - bool m_worldCountHasBeenSet = false; - - int m_succeededWorldCount{0}; - bool m_succeededWorldCountHasBeenSet = false; - - int m_failedWorldCount{0}; - bool m_failedWorldCountHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldSummary.h b/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldSummary.h deleted file mode 100644 index 26b578a2613..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/include/aws/robomaker/model/WorldSummary.h +++ /dev/null @@ -1,122 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -/** - *

Information about a world.

See Also:

AWS - * API Reference

- */ -class WorldSummary { - public: - AWS_ROBOMAKER_API WorldSummary() = default; - AWS_ROBOMAKER_API WorldSummary(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API WorldSummary& operator=(Aws::Utils::Json::JsonView jsonValue); - AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; - - ///@{ - /** - *

The Amazon Resource Name (ARN) of the world.

- */ - inline const Aws::String& GetArn() const { return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - template - void SetArn(ArnT&& value) { - m_arnHasBeenSet = true; - m_arn = std::forward(value); - } - template - WorldSummary& WithArn(ArnT&& value) { - SetArn(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The time, in milliseconds since the epoch, when the world was created.

- */ - inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; } - inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } - template - void SetCreatedAt(CreatedAtT&& value) { - m_createdAtHasBeenSet = true; - m_createdAt = std::forward(value); - } - template - WorldSummary& WithCreatedAt(CreatedAtT&& value) { - SetCreatedAt(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world generation job.

- */ - inline const Aws::String& GetGenerationJob() const { return m_generationJob; } - inline bool GenerationJobHasBeenSet() const { return m_generationJobHasBeenSet; } - template - void SetGenerationJob(GenerationJobT&& value) { - m_generationJobHasBeenSet = true; - m_generationJob = std::forward(value); - } - template - WorldSummary& WithGenerationJob(GenerationJobT&& value) { - SetGenerationJob(std::forward(value)); - return *this; - } - ///@} - - ///@{ - /** - *

The Amazon Resource Name (arn) of the world template.

- */ - inline const Aws::String& GetTemplate() const { return m_template; } - inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; } - template - void SetTemplate(TemplateT&& value) { - m_templateHasBeenSet = true; - m_template = std::forward(value); - } - template - WorldSummary& WithTemplate(TemplateT&& value) { - SetTemplate(std::forward(value)); - return *this; - } - ///@} - private: - Aws::String m_arn; - bool m_arnHasBeenSet = false; - - Aws::Utils::DateTime m_createdAt{}; - bool m_createdAtHasBeenSet = false; - - Aws::String m_generationJob; - bool m_generationJobHasBeenSet = false; - - Aws::String m_template; - bool m_templateHasBeenSet = false; -}; - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerClient.cpp b/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerClient.cpp deleted file mode 100644 index c0e47a91d41..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerClient.cpp +++ /dev/null @@ -1,1465 +0,0 @@ -/** - * 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 -#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::RoboMaker; -using namespace Aws::RoboMaker::Model; -using namespace Aws::Http; -using namespace Aws::Utils::Json; -using namespace smithy::components::tracing; -using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; - -namespace Aws { -namespace RoboMaker { -const char SERVICE_NAME[] = "robomaker"; -const char ALLOCATION_TAG[] = "RoboMakerClient"; -} // namespace RoboMaker -} // namespace Aws -const char* RoboMakerClient::GetServiceName() { return SERVICE_NAME; } -const char* RoboMakerClient::GetAllocationTag() { return ALLOCATION_TAG; } - -RoboMakerClient::RoboMakerClient(const RoboMaker::RoboMakerClientConfiguration& clientConfiguration, - std::shared_ptr endpointProvider) - : BASECLASS(clientConfiguration, - Aws::MakeShared( - ALLOCATION_TAG, - Aws::MakeShared(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig), - 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); -} - -RoboMakerClient::RoboMakerClient(const AWSCredentials& credentials, std::shared_ptr endpointProvider, - const RoboMaker::RoboMakerClientConfiguration& 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); -} - -RoboMakerClient::RoboMakerClient(const std::shared_ptr& credentialsProvider, - std::shared_ptr endpointProvider, - const RoboMaker::RoboMakerClientConfiguration& 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 */ -RoboMakerClient::RoboMakerClient(const Client::ClientConfiguration& clientConfiguration) - : BASECLASS(clientConfiguration, - Aws::MakeShared( - ALLOCATION_TAG, - Aws::MakeShared(ALLOCATION_TAG, clientConfiguration.credentialProviderConfig), - SERVICE_NAME, Aws::Region::ComputeSignerRegion(clientConfiguration.region)), - Aws::MakeShared(ALLOCATION_TAG)), - m_clientConfiguration(clientConfiguration), - m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG)) { - init(m_clientConfiguration); -} - -RoboMakerClient::RoboMakerClient(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); -} - -RoboMakerClient::RoboMakerClient(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 */ -RoboMakerClient::~RoboMakerClient() { ShutdownSdkClient(this, -1); } - -std::shared_ptr& RoboMakerClient::accessEndpointProvider() { return m_endpointProvider; } - -void RoboMakerClient::init(const RoboMaker::RoboMakerClientConfiguration& config) { - AWSClient::SetServiceClientName("RoboMaker"); - 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 RoboMakerClient::OverrideEndpoint(const Aws::String& endpoint) { - AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider); - m_clientConfiguration.endpointOverride = endpoint; - m_endpointProvider->OverrideEndpoint(endpoint); -} - -BatchDeleteWorldsOutcome RoboMakerClient::BatchDeleteWorlds(const BatchDeleteWorldsRequest& request) const { - AWS_OPERATION_GUARD(BatchDeleteWorlds); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, BatchDeleteWorlds, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, BatchDeleteWorlds, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, BatchDeleteWorlds, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".BatchDeleteWorlds", - {{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( - [&]() -> BatchDeleteWorldsOutcome { - 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, BatchDeleteWorlds, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/batchDeleteWorlds"); - return BatchDeleteWorldsOutcome( - 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()}}); -} - -BatchDescribeSimulationJobOutcome RoboMakerClient::BatchDescribeSimulationJob(const BatchDescribeSimulationJobRequest& request) const { - AWS_OPERATION_GUARD(BatchDescribeSimulationJob); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, BatchDescribeSimulationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, BatchDescribeSimulationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, BatchDescribeSimulationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".BatchDescribeSimulationJob", - {{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( - [&]() -> BatchDescribeSimulationJobOutcome { - 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, BatchDescribeSimulationJob, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/batchDescribeSimulationJob"); - return BatchDescribeSimulationJobOutcome( - 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()}}); -} - -CancelSimulationJobOutcome RoboMakerClient::CancelSimulationJob(const CancelSimulationJobRequest& request) const { - AWS_OPERATION_GUARD(CancelSimulationJob); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CancelSimulationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CancelSimulationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CancelSimulationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CancelSimulationJob", - {{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( - [&]() -> CancelSimulationJobOutcome { - 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, CancelSimulationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/cancelSimulationJob"); - return CancelSimulationJobOutcome( - 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()}}); -} - -CancelSimulationJobBatchOutcome RoboMakerClient::CancelSimulationJobBatch(const CancelSimulationJobBatchRequest& request) const { - AWS_OPERATION_GUARD(CancelSimulationJobBatch); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CancelSimulationJobBatch, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CancelSimulationJobBatch, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CancelSimulationJobBatch, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CancelSimulationJobBatch", - {{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( - [&]() -> CancelSimulationJobBatchOutcome { - 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, CancelSimulationJobBatch, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/cancelSimulationJobBatch"); - return CancelSimulationJobBatchOutcome( - 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()}}); -} - -CancelWorldExportJobOutcome RoboMakerClient::CancelWorldExportJob(const CancelWorldExportJobRequest& request) const { - AWS_OPERATION_GUARD(CancelWorldExportJob); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CancelWorldExportJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CancelWorldExportJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CancelWorldExportJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CancelWorldExportJob", - {{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( - [&]() -> CancelWorldExportJobOutcome { - 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, CancelWorldExportJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/cancelWorldExportJob"); - return CancelWorldExportJobOutcome( - 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()}}); -} - -CancelWorldGenerationJobOutcome RoboMakerClient::CancelWorldGenerationJob(const CancelWorldGenerationJobRequest& request) const { - AWS_OPERATION_GUARD(CancelWorldGenerationJob); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CancelWorldGenerationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CancelWorldGenerationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CancelWorldGenerationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CancelWorldGenerationJob", - {{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( - [&]() -> CancelWorldGenerationJobOutcome { - 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, CancelWorldGenerationJob, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/cancelWorldGenerationJob"); - return CancelWorldGenerationJobOutcome( - 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()}}); -} - -CreateRobotApplicationOutcome RoboMakerClient::CreateRobotApplication(const CreateRobotApplicationRequest& request) const { - AWS_OPERATION_GUARD(CreateRobotApplication); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateRobotApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateRobotApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateRobotApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateRobotApplication", - {{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( - [&]() -> CreateRobotApplicationOutcome { - 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, CreateRobotApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/createRobotApplication"); - return CreateRobotApplicationOutcome( - 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()}}); -} - -CreateRobotApplicationVersionOutcome RoboMakerClient::CreateRobotApplicationVersion( - const CreateRobotApplicationVersionRequest& request) const { - AWS_OPERATION_GUARD(CreateRobotApplicationVersion); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateRobotApplicationVersion, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateRobotApplicationVersion, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateRobotApplicationVersion, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateRobotApplicationVersion", - {{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( - [&]() -> CreateRobotApplicationVersionOutcome { - 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, CreateRobotApplicationVersion, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/createRobotApplicationVersion"); - return CreateRobotApplicationVersionOutcome( - 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()}}); -} - -CreateSimulationApplicationOutcome RoboMakerClient::CreateSimulationApplication(const CreateSimulationApplicationRequest& request) const { - AWS_OPERATION_GUARD(CreateSimulationApplication); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateSimulationApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateSimulationApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateSimulationApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateSimulationApplication", - {{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( - [&]() -> CreateSimulationApplicationOutcome { - 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, CreateSimulationApplication, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/createSimulationApplication"); - return CreateSimulationApplicationOutcome( - 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()}}); -} - -CreateSimulationApplicationVersionOutcome RoboMakerClient::CreateSimulationApplicationVersion( - const CreateSimulationApplicationVersionRequest& request) const { - AWS_OPERATION_GUARD(CreateSimulationApplicationVersion); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateSimulationApplicationVersion, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateSimulationApplicationVersion, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateSimulationApplicationVersion, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateSimulationApplicationVersion", - {{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( - [&]() -> CreateSimulationApplicationVersionOutcome { - 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, CreateSimulationApplicationVersion, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/createSimulationApplicationVersion"); - return CreateSimulationApplicationVersionOutcome( - 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()}}); -} - -CreateSimulationJobOutcome RoboMakerClient::CreateSimulationJob(const CreateSimulationJobRequest& request) const { - AWS_OPERATION_GUARD(CreateSimulationJob); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateSimulationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateSimulationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateSimulationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateSimulationJob", - {{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( - [&]() -> CreateSimulationJobOutcome { - 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, CreateSimulationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/createSimulationJob"); - return CreateSimulationJobOutcome( - 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()}}); -} - -CreateWorldExportJobOutcome RoboMakerClient::CreateWorldExportJob(const CreateWorldExportJobRequest& request) const { - AWS_OPERATION_GUARD(CreateWorldExportJob); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateWorldExportJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateWorldExportJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateWorldExportJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateWorldExportJob", - {{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( - [&]() -> CreateWorldExportJobOutcome { - 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, CreateWorldExportJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/createWorldExportJob"); - return CreateWorldExportJobOutcome( - 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()}}); -} - -CreateWorldGenerationJobOutcome RoboMakerClient::CreateWorldGenerationJob(const CreateWorldGenerationJobRequest& request) const { - AWS_OPERATION_GUARD(CreateWorldGenerationJob); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateWorldGenerationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateWorldGenerationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateWorldGenerationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateWorldGenerationJob", - {{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( - [&]() -> CreateWorldGenerationJobOutcome { - 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, CreateWorldGenerationJob, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/createWorldGenerationJob"); - return CreateWorldGenerationJobOutcome( - 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()}}); -} - -CreateWorldTemplateOutcome RoboMakerClient::CreateWorldTemplate(const CreateWorldTemplateRequest& request) const { - AWS_OPERATION_GUARD(CreateWorldTemplate); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateWorldTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateWorldTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateWorldTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateWorldTemplate", - {{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( - [&]() -> CreateWorldTemplateOutcome { - 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, CreateWorldTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/createWorldTemplate"); - return CreateWorldTemplateOutcome( - 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()}}); -} - -DeleteRobotApplicationOutcome RoboMakerClient::DeleteRobotApplication(const DeleteRobotApplicationRequest& request) const { - AWS_OPERATION_GUARD(DeleteRobotApplication); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteRobotApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteRobotApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteRobotApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteRobotApplication", - {{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( - [&]() -> DeleteRobotApplicationOutcome { - 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, DeleteRobotApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/deleteRobotApplication"); - return DeleteRobotApplicationOutcome( - 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()}}); -} - -DeleteSimulationApplicationOutcome RoboMakerClient::DeleteSimulationApplication(const DeleteSimulationApplicationRequest& request) const { - AWS_OPERATION_GUARD(DeleteSimulationApplication); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteSimulationApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteSimulationApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteSimulationApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteSimulationApplication", - {{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( - [&]() -> DeleteSimulationApplicationOutcome { - 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, DeleteSimulationApplication, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/deleteSimulationApplication"); - return DeleteSimulationApplicationOutcome( - 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()}}); -} - -DeleteWorldTemplateOutcome RoboMakerClient::DeleteWorldTemplate(const DeleteWorldTemplateRequest& request) const { - AWS_OPERATION_GUARD(DeleteWorldTemplate); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteWorldTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteWorldTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteWorldTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteWorldTemplate", - {{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( - [&]() -> DeleteWorldTemplateOutcome { - 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, DeleteWorldTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/deleteWorldTemplate"); - return DeleteWorldTemplateOutcome( - 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()}}); -} - -DescribeRobotApplicationOutcome RoboMakerClient::DescribeRobotApplication(const DescribeRobotApplicationRequest& request) const { - AWS_OPERATION_GUARD(DescribeRobotApplication); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeRobotApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeRobotApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeRobotApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeRobotApplication", - {{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( - [&]() -> DescribeRobotApplicationOutcome { - 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, DescribeRobotApplication, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/describeRobotApplication"); - return DescribeRobotApplicationOutcome( - 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()}}); -} - -DescribeSimulationApplicationOutcome RoboMakerClient::DescribeSimulationApplication( - const DescribeSimulationApplicationRequest& request) const { - AWS_OPERATION_GUARD(DescribeSimulationApplication); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeSimulationApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeSimulationApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeSimulationApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeSimulationApplication", - {{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( - [&]() -> DescribeSimulationApplicationOutcome { - 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, DescribeSimulationApplication, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/describeSimulationApplication"); - return DescribeSimulationApplicationOutcome( - 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()}}); -} - -DescribeSimulationJobOutcome RoboMakerClient::DescribeSimulationJob(const DescribeSimulationJobRequest& request) const { - AWS_OPERATION_GUARD(DescribeSimulationJob); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeSimulationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeSimulationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeSimulationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeSimulationJob", - {{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( - [&]() -> DescribeSimulationJobOutcome { - 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, DescribeSimulationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/describeSimulationJob"); - return DescribeSimulationJobOutcome( - 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()}}); -} - -DescribeSimulationJobBatchOutcome RoboMakerClient::DescribeSimulationJobBatch(const DescribeSimulationJobBatchRequest& request) const { - AWS_OPERATION_GUARD(DescribeSimulationJobBatch); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeSimulationJobBatch, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeSimulationJobBatch, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeSimulationJobBatch, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeSimulationJobBatch", - {{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( - [&]() -> DescribeSimulationJobBatchOutcome { - 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, DescribeSimulationJobBatch, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/describeSimulationJobBatch"); - return DescribeSimulationJobBatchOutcome( - 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()}}); -} - -DescribeWorldOutcome RoboMakerClient::DescribeWorld(const DescribeWorldRequest& request) const { - AWS_OPERATION_GUARD(DescribeWorld); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeWorld, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeWorld, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeWorld, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeWorld", - {{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( - [&]() -> DescribeWorldOutcome { - 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, DescribeWorld, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/describeWorld"); - return DescribeWorldOutcome( - 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()}}); -} - -DescribeWorldExportJobOutcome RoboMakerClient::DescribeWorldExportJob(const DescribeWorldExportJobRequest& request) const { - AWS_OPERATION_GUARD(DescribeWorldExportJob); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeWorldExportJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeWorldExportJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeWorldExportJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeWorldExportJob", - {{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( - [&]() -> DescribeWorldExportJobOutcome { - 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, DescribeWorldExportJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/describeWorldExportJob"); - return DescribeWorldExportJobOutcome( - 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()}}); -} - -DescribeWorldGenerationJobOutcome RoboMakerClient::DescribeWorldGenerationJob(const DescribeWorldGenerationJobRequest& request) const { - AWS_OPERATION_GUARD(DescribeWorldGenerationJob); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeWorldGenerationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeWorldGenerationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeWorldGenerationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeWorldGenerationJob", - {{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( - [&]() -> DescribeWorldGenerationJobOutcome { - 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, DescribeWorldGenerationJob, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/describeWorldGenerationJob"); - return DescribeWorldGenerationJobOutcome( - 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()}}); -} - -DescribeWorldTemplateOutcome RoboMakerClient::DescribeWorldTemplate(const DescribeWorldTemplateRequest& request) const { - AWS_OPERATION_GUARD(DescribeWorldTemplate); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeWorldTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeWorldTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeWorldTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeWorldTemplate", - {{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( - [&]() -> DescribeWorldTemplateOutcome { - 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, DescribeWorldTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/describeWorldTemplate"); - return DescribeWorldTemplateOutcome( - 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()}}); -} - -GetWorldTemplateBodyOutcome RoboMakerClient::GetWorldTemplateBody(const GetWorldTemplateBodyRequest& request) const { - AWS_OPERATION_GUARD(GetWorldTemplateBody); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetWorldTemplateBody, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetWorldTemplateBody, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, GetWorldTemplateBody, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetWorldTemplateBody", - {{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( - [&]() -> GetWorldTemplateBodyOutcome { - 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, GetWorldTemplateBody, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/getWorldTemplateBody"); - return GetWorldTemplateBodyOutcome( - 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()}}); -} - -ListRobotApplicationsOutcome RoboMakerClient::ListRobotApplications(const ListRobotApplicationsRequest& request) const { - AWS_OPERATION_GUARD(ListRobotApplications); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListRobotApplications, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListRobotApplications, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListRobotApplications, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListRobotApplications", - {{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( - [&]() -> ListRobotApplicationsOutcome { - 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, ListRobotApplications, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/listRobotApplications"); - return ListRobotApplicationsOutcome( - 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()}}); -} - -ListSimulationApplicationsOutcome RoboMakerClient::ListSimulationApplications(const ListSimulationApplicationsRequest& request) const { - AWS_OPERATION_GUARD(ListSimulationApplications); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListSimulationApplications, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListSimulationApplications, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListSimulationApplications, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListSimulationApplications", - {{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( - [&]() -> ListSimulationApplicationsOutcome { - 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, ListSimulationApplications, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/listSimulationApplications"); - return ListSimulationApplicationsOutcome( - 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()}}); -} - -ListSimulationJobBatchesOutcome RoboMakerClient::ListSimulationJobBatches(const ListSimulationJobBatchesRequest& request) const { - AWS_OPERATION_GUARD(ListSimulationJobBatches); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListSimulationJobBatches, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListSimulationJobBatches, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListSimulationJobBatches, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListSimulationJobBatches", - {{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( - [&]() -> ListSimulationJobBatchesOutcome { - 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, ListSimulationJobBatches, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/listSimulationJobBatches"); - return ListSimulationJobBatchesOutcome( - 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()}}); -} - -ListSimulationJobsOutcome RoboMakerClient::ListSimulationJobs(const ListSimulationJobsRequest& request) const { - AWS_OPERATION_GUARD(ListSimulationJobs); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListSimulationJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListSimulationJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListSimulationJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListSimulationJobs", - {{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( - [&]() -> ListSimulationJobsOutcome { - 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, ListSimulationJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/listSimulationJobs"); - return ListSimulationJobsOutcome( - 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()}}); -} - -ListTagsForResourceOutcome RoboMakerClient::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(RoboMakerErrors::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()}}); -} - -ListWorldExportJobsOutcome RoboMakerClient::ListWorldExportJobs(const ListWorldExportJobsRequest& request) const { - AWS_OPERATION_GUARD(ListWorldExportJobs); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListWorldExportJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListWorldExportJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListWorldExportJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListWorldExportJobs", - {{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( - [&]() -> ListWorldExportJobsOutcome { - 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, ListWorldExportJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/listWorldExportJobs"); - return ListWorldExportJobsOutcome( - 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()}}); -} - -ListWorldGenerationJobsOutcome RoboMakerClient::ListWorldGenerationJobs(const ListWorldGenerationJobsRequest& request) const { - AWS_OPERATION_GUARD(ListWorldGenerationJobs); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListWorldGenerationJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListWorldGenerationJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListWorldGenerationJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListWorldGenerationJobs", - {{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( - [&]() -> ListWorldGenerationJobsOutcome { - 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, ListWorldGenerationJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/listWorldGenerationJobs"); - return ListWorldGenerationJobsOutcome( - 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()}}); -} - -ListWorldTemplatesOutcome RoboMakerClient::ListWorldTemplates(const ListWorldTemplatesRequest& request) const { - AWS_OPERATION_GUARD(ListWorldTemplates); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListWorldTemplates, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListWorldTemplates, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListWorldTemplates, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListWorldTemplates", - {{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( - [&]() -> ListWorldTemplatesOutcome { - 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, ListWorldTemplates, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/listWorldTemplates"); - return ListWorldTemplatesOutcome( - 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()}}); -} - -ListWorldsOutcome RoboMakerClient::ListWorlds(const ListWorldsRequest& request) const { - AWS_OPERATION_GUARD(ListWorlds); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListWorlds, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListWorlds, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListWorlds, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListWorlds", - {{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( - [&]() -> ListWorldsOutcome { - 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, ListWorlds, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/listWorlds"); - return ListWorldsOutcome( - 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()}}); -} - -RestartSimulationJobOutcome RoboMakerClient::RestartSimulationJob(const RestartSimulationJobRequest& request) const { - AWS_OPERATION_GUARD(RestartSimulationJob); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, RestartSimulationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, RestartSimulationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, RestartSimulationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".RestartSimulationJob", - {{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( - [&]() -> RestartSimulationJobOutcome { - 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, RestartSimulationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/restartSimulationJob"); - return RestartSimulationJobOutcome( - 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()}}); -} - -StartSimulationJobBatchOutcome RoboMakerClient::StartSimulationJobBatch(const StartSimulationJobBatchRequest& request) const { - AWS_OPERATION_GUARD(StartSimulationJobBatch); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartSimulationJobBatch, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartSimulationJobBatch, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StartSimulationJobBatch, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartSimulationJobBatch", - {{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( - [&]() -> StartSimulationJobBatchOutcome { - 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, StartSimulationJobBatch, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/startSimulationJobBatch"); - return StartSimulationJobBatchOutcome( - 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()}}); -} - -TagResourceOutcome RoboMakerClient::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(RoboMakerErrors::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 RoboMakerClient::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(RoboMakerErrors::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(RoboMakerErrors::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()}}); -} - -UpdateRobotApplicationOutcome RoboMakerClient::UpdateRobotApplication(const UpdateRobotApplicationRequest& request) const { - AWS_OPERATION_GUARD(UpdateRobotApplication); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateRobotApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateRobotApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateRobotApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateRobotApplication", - {{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( - [&]() -> UpdateRobotApplicationOutcome { - 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, UpdateRobotApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/updateRobotApplication"); - return UpdateRobotApplicationOutcome( - 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()}}); -} - -UpdateSimulationApplicationOutcome RoboMakerClient::UpdateSimulationApplication(const UpdateSimulationApplicationRequest& request) const { - AWS_OPERATION_GUARD(UpdateSimulationApplication); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateSimulationApplication, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateSimulationApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateSimulationApplication, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateSimulationApplication", - {{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( - [&]() -> UpdateSimulationApplicationOutcome { - 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, UpdateSimulationApplication, CoreErrors, - CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/updateSimulationApplication"); - return UpdateSimulationApplicationOutcome( - 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()}}); -} - -UpdateWorldTemplateOutcome RoboMakerClient::UpdateWorldTemplate(const UpdateWorldTemplateRequest& request) const { - AWS_OPERATION_GUARD(UpdateWorldTemplate); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateWorldTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateWorldTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateWorldTemplate, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateWorldTemplate", - {{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( - [&]() -> UpdateWorldTemplateOutcome { - 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, UpdateWorldTemplate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, - endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/updateWorldTemplate"); - return UpdateWorldTemplateOutcome( - 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()}}); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerEndpointProvider.cpp b/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerEndpointProvider.cpp deleted file mode 100644 index 92e00fff2e3..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerEndpointProvider.cpp +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include - -namespace Aws { -namespace RoboMaker { -namespace Endpoint {} // namespace Endpoint -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerEndpointRules.cpp b/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerEndpointRules.cpp deleted file mode 100644 index f7bde96cb1a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerEndpointRules.cpp +++ /dev/null @@ -1,150 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -namespace Aws { -namespace RoboMaker { -const size_t RoboMakerEndpointRules::RulesBlobStrLen = 3484; -const size_t RoboMakerEndpointRules::RulesBlobSize = 3485; - -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', '"', ',', '"', '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', '"', ':', '[', '{', '"', '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', '"', ':', '"', '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', ':', '/', '/', 'r', 'o', 'b', 'o', 'm', 'a', - 'k', 'e', 'r', '-', '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', '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', '"', '}', - ']', ',', '"', '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', ':', '/', '/', - 'r', 'o', 'b', 'o', 'm', 'a', 'k', 'e', 'r', '-', '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', ':', '/', '/', 'r', 'o', 'b', 'o', 'm', 'a', 'k', 'e', 'r', '.', '{', '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', ':', '/', '/', 'r', 'o', 'b', 'o', 'm', 'a', 'k', 'e', 'r', '.', '{', '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'}}; - -const char* RoboMakerEndpointRules::GetRulesBlob() { return RulesBlob.data(); } - -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerErrorMarshaller.cpp b/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerErrorMarshaller.cpp deleted file mode 100644 index 20e74bd2b7a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerErrorMarshaller.cpp +++ /dev/null @@ -1,20 +0,0 @@ -/** - * 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::RoboMaker; - -AWSError RoboMakerErrorMarshaller::FindErrorByName(const char* errorName) const { - AWSError error = RoboMakerErrorMapper::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-robomaker/source/RoboMakerErrors.cpp b/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerErrors.cpp deleted file mode 100644 index 517ea0c7291..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerErrors.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/** - * 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::Utils; -using namespace Aws::RoboMaker; - -namespace Aws { -namespace RoboMaker { -namespace RoboMakerErrorMapper { - -static const int INTERNAL_SERVER_HASH = HashingUtils::HashString("InternalServerException"); -static const int INVALID_PARAMETER_HASH = HashingUtils::HashString("InvalidParameterException"); -static const int RESOURCE_ALREADY_EXISTS_HASH = HashingUtils::HashString("ResourceAlreadyExistsException"); -static const int IDEMPOTENT_PARAMETER_MISMATCH_HASH = HashingUtils::HashString("IdempotentParameterMismatchException"); -static const int LIMIT_EXCEEDED_HASH = HashingUtils::HashString("LimitExceededException"); - -AWSError GetErrorForName(const char* errorName) { - int hashCode = HashingUtils::HashString(errorName); - - if (hashCode == INTERNAL_SERVER_HASH) { - return AWSError(static_cast(RoboMakerErrors::INTERNAL_SERVER), RetryableType::RETRYABLE); - } else if (hashCode == INVALID_PARAMETER_HASH) { - return AWSError(static_cast(RoboMakerErrors::INVALID_PARAMETER), RetryableType::NOT_RETRYABLE); - } else if (hashCode == RESOURCE_ALREADY_EXISTS_HASH) { - return AWSError(static_cast(RoboMakerErrors::RESOURCE_ALREADY_EXISTS), RetryableType::NOT_RETRYABLE); - } else if (hashCode == IDEMPOTENT_PARAMETER_MISMATCH_HASH) { - return AWSError(static_cast(RoboMakerErrors::IDEMPOTENT_PARAMETER_MISMATCH), RetryableType::NOT_RETRYABLE); - } else if (hashCode == LIMIT_EXCEEDED_HASH) { - return AWSError(static_cast(RoboMakerErrors::LIMIT_EXCEEDED), RetryableType::RETRYABLE); - } - return AWSError(CoreErrors::UNKNOWN, false); -} - -} // namespace RoboMakerErrorMapper -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerRequest.cpp deleted file mode 100644 index 01fb9085acc..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/RoboMakerRequest.cpp +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include - -namespace Aws { -namespace RoboMaker {} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/Architecture.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/Architecture.cpp deleted file mode 100644 index 8b9b595d646..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/Architecture.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace ArchitectureMapper { - -static const int X86_64_HASH = HashingUtils::HashString("X86_64"); -static const int ARM64_HASH = HashingUtils::HashString("ARM64"); -static const int ARMHF_HASH = HashingUtils::HashString("ARMHF"); - -Architecture GetArchitectureForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == X86_64_HASH) { - return Architecture::X86_64; - } else if (hashCode == ARM64_HASH) { - return Architecture::ARM64; - } else if (hashCode == ARMHF_HASH) { - return Architecture::ARMHF; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return Architecture::NOT_SET; -} - -Aws::String GetNameForArchitecture(Architecture enumValue) { - switch (enumValue) { - case Architecture::NOT_SET: - return {}; - case Architecture::X86_64: - return "X86_64"; - case Architecture::ARM64: - return "ARM64"; - case Architecture::ARMHF: - return "ARMHF"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ArchitectureMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/BatchDeleteWorldsRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/BatchDeleteWorldsRequest.cpp deleted file mode 100644 index 9ba5be73199..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/BatchDeleteWorldsRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String BatchDeleteWorldsRequest::SerializePayload() const { - JsonValue payload; - - if (m_worldsHasBeenSet) { - Aws::Utils::Array worldsJsonList(m_worlds.size()); - for (unsigned worldsIndex = 0; worldsIndex < worldsJsonList.GetLength(); ++worldsIndex) { - worldsJsonList[worldsIndex].AsString(m_worlds[worldsIndex]); - } - payload.WithArray("worlds", std::move(worldsJsonList)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/BatchDeleteWorldsResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/BatchDeleteWorldsResult.cpp deleted file mode 100644 index 16640c9ecbf..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/BatchDeleteWorldsResult.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -BatchDeleteWorldsResult::BatchDeleteWorldsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -BatchDeleteWorldsResult& BatchDeleteWorldsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("unprocessedWorlds")) { - Aws::Utils::Array unprocessedWorldsJsonList = jsonValue.GetArray("unprocessedWorlds"); - for (unsigned unprocessedWorldsIndex = 0; unprocessedWorldsIndex < unprocessedWorldsJsonList.GetLength(); ++unprocessedWorldsIndex) { - m_unprocessedWorlds.push_back(unprocessedWorldsJsonList[unprocessedWorldsIndex].AsString()); - } - m_unprocessedWorldsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/BatchDescribeSimulationJobRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/BatchDescribeSimulationJobRequest.cpp deleted file mode 100644 index 4a187eb43ee..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/BatchDescribeSimulationJobRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String BatchDescribeSimulationJobRequest::SerializePayload() const { - JsonValue payload; - - if (m_jobsHasBeenSet) { - Aws::Utils::Array jobsJsonList(m_jobs.size()); - for (unsigned jobsIndex = 0; jobsIndex < jobsJsonList.GetLength(); ++jobsIndex) { - jobsJsonList[jobsIndex].AsString(m_jobs[jobsIndex]); - } - payload.WithArray("jobs", std::move(jobsJsonList)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/BatchDescribeSimulationJobResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/BatchDescribeSimulationJobResult.cpp deleted file mode 100644 index 41dc3bbcd99..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/BatchDescribeSimulationJobResult.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -BatchDescribeSimulationJobResult::BatchDescribeSimulationJobResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -BatchDescribeSimulationJobResult& BatchDescribeSimulationJobResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("jobs")) { - Aws::Utils::Array jobsJsonList = jsonValue.GetArray("jobs"); - for (unsigned jobsIndex = 0; jobsIndex < jobsJsonList.GetLength(); ++jobsIndex) { - m_jobs.push_back(jobsJsonList[jobsIndex].AsObject()); - } - m_jobsHasBeenSet = true; - } - if (jsonValue.ValueExists("unprocessedJobs")) { - Aws::Utils::Array unprocessedJobsJsonList = jsonValue.GetArray("unprocessedJobs"); - for (unsigned unprocessedJobsIndex = 0; unprocessedJobsIndex < unprocessedJobsJsonList.GetLength(); ++unprocessedJobsIndex) { - m_unprocessedJobs.push_back(unprocessedJobsJsonList[unprocessedJobsIndex].AsString()); - } - m_unprocessedJobsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/BatchPolicy.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/BatchPolicy.cpp deleted file mode 100644 index 48a33b0c8c0..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/BatchPolicy.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -BatchPolicy::BatchPolicy(JsonView jsonValue) { *this = jsonValue; } - -BatchPolicy& BatchPolicy::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("timeoutInSeconds")) { - m_timeoutInSeconds = jsonValue.GetInt64("timeoutInSeconds"); - m_timeoutInSecondsHasBeenSet = true; - } - if (jsonValue.ValueExists("maxConcurrency")) { - m_maxConcurrency = jsonValue.GetInteger("maxConcurrency"); - m_maxConcurrencyHasBeenSet = true; - } - return *this; -} - -JsonValue BatchPolicy::Jsonize() const { - JsonValue payload; - - if (m_timeoutInSecondsHasBeenSet) { - payload.WithInt64("timeoutInSeconds", m_timeoutInSeconds); - } - - if (m_maxConcurrencyHasBeenSet) { - payload.WithInteger("maxConcurrency", m_maxConcurrency); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobBatchRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobBatchRequest.cpp deleted file mode 100644 index b7307cb1bec..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobBatchRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CancelSimulationJobBatchRequest::SerializePayload() const { - JsonValue payload; - - if (m_batchHasBeenSet) { - payload.WithString("batch", m_batch); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobBatchResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobBatchResult.cpp deleted file mode 100644 index 1fa5c2fb657..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobBatchResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CancelSimulationJobBatchResult::CancelSimulationJobBatchResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CancelSimulationJobBatchResult& CancelSimulationJobBatchResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobRequest.cpp deleted file mode 100644 index 9c33abfcf0f..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CancelSimulationJobRequest::SerializePayload() const { - JsonValue payload; - - if (m_jobHasBeenSet) { - payload.WithString("job", m_job); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobResult.cpp deleted file mode 100644 index 43e5a77f55d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelSimulationJobResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CancelSimulationJobResult::CancelSimulationJobResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CancelSimulationJobResult& CancelSimulationJobResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldExportJobRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldExportJobRequest.cpp deleted file mode 100644 index 86c529f168b..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldExportJobRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CancelWorldExportJobRequest::SerializePayload() const { - JsonValue payload; - - if (m_jobHasBeenSet) { - payload.WithString("job", m_job); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldExportJobResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldExportJobResult.cpp deleted file mode 100644 index 994a0126daf..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldExportJobResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CancelWorldExportJobResult::CancelWorldExportJobResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CancelWorldExportJobResult& CancelWorldExportJobResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldGenerationJobRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldGenerationJobRequest.cpp deleted file mode 100644 index d0cbbeaa46b..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldGenerationJobRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CancelWorldGenerationJobRequest::SerializePayload() const { - JsonValue payload; - - if (m_jobHasBeenSet) { - payload.WithString("job", m_job); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldGenerationJobResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldGenerationJobResult.cpp deleted file mode 100644 index ebb4223a738..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CancelWorldGenerationJobResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CancelWorldGenerationJobResult::CancelWorldGenerationJobResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CancelWorldGenerationJobResult& CancelWorldGenerationJobResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/Compute.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/Compute.cpp deleted file mode 100644 index 02960593ddf..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/Compute.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -Compute::Compute(JsonView jsonValue) { *this = jsonValue; } - -Compute& Compute::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("simulationUnitLimit")) { - m_simulationUnitLimit = jsonValue.GetInteger("simulationUnitLimit"); - m_simulationUnitLimitHasBeenSet = true; - } - if (jsonValue.ValueExists("computeType")) { - m_computeType = ComputeTypeMapper::GetComputeTypeForName(jsonValue.GetString("computeType")); - m_computeTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("gpuUnitLimit")) { - m_gpuUnitLimit = jsonValue.GetInteger("gpuUnitLimit"); - m_gpuUnitLimitHasBeenSet = true; - } - return *this; -} - -JsonValue Compute::Jsonize() const { - JsonValue payload; - - if (m_simulationUnitLimitHasBeenSet) { - payload.WithInteger("simulationUnitLimit", m_simulationUnitLimit); - } - - if (m_computeTypeHasBeenSet) { - payload.WithString("computeType", ComputeTypeMapper::GetNameForComputeType(m_computeType)); - } - - if (m_gpuUnitLimitHasBeenSet) { - payload.WithInteger("gpuUnitLimit", m_gpuUnitLimit); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ComputeResponse.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ComputeResponse.cpp deleted file mode 100644 index bc2cfef577f..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ComputeResponse.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -ComputeResponse::ComputeResponse(JsonView jsonValue) { *this = jsonValue; } - -ComputeResponse& ComputeResponse::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("simulationUnitLimit")) { - m_simulationUnitLimit = jsonValue.GetInteger("simulationUnitLimit"); - m_simulationUnitLimitHasBeenSet = true; - } - if (jsonValue.ValueExists("computeType")) { - m_computeType = ComputeTypeMapper::GetComputeTypeForName(jsonValue.GetString("computeType")); - m_computeTypeHasBeenSet = true; - } - if (jsonValue.ValueExists("gpuUnitLimit")) { - m_gpuUnitLimit = jsonValue.GetInteger("gpuUnitLimit"); - m_gpuUnitLimitHasBeenSet = true; - } - return *this; -} - -JsonValue ComputeResponse::Jsonize() const { - JsonValue payload; - - if (m_simulationUnitLimitHasBeenSet) { - payload.WithInteger("simulationUnitLimit", m_simulationUnitLimit); - } - - if (m_computeTypeHasBeenSet) { - payload.WithString("computeType", ComputeTypeMapper::GetNameForComputeType(m_computeType)); - } - - if (m_gpuUnitLimitHasBeenSet) { - payload.WithInteger("gpuUnitLimit", m_gpuUnitLimit); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ComputeType.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ComputeType.cpp deleted file mode 100644 index 1636c56b537..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ComputeType.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace ComputeTypeMapper { - -static const int CPU_HASH = HashingUtils::HashString("CPU"); -static const int GPU_AND_CPU_HASH = HashingUtils::HashString("GPU_AND_CPU"); - -ComputeType GetComputeTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == CPU_HASH) { - return ComputeType::CPU; - } else if (hashCode == GPU_AND_CPU_HASH) { - return ComputeType::GPU_AND_CPU; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return ComputeType::NOT_SET; -} - -Aws::String GetNameForComputeType(ComputeType enumValue) { - switch (enumValue) { - case ComputeType::NOT_SET: - return {}; - case ComputeType::CPU: - return "CPU"; - case ComputeType::GPU_AND_CPU: - return "GPU_AND_CPU"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ComputeTypeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationRequest.cpp deleted file mode 100644 index ad5737b007c..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationRequest.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateRobotApplicationRequest::SerializePayload() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_sourcesHasBeenSet) { - Aws::Utils::Array sourcesJsonList(m_sources.size()); - for (unsigned sourcesIndex = 0; sourcesIndex < sourcesJsonList.GetLength(); ++sourcesIndex) { - sourcesJsonList[sourcesIndex].AsObject(m_sources[sourcesIndex].Jsonize()); - } - payload.WithArray("sources", std::move(sourcesJsonList)); - } - - if (m_robotSoftwareSuiteHasBeenSet) { - payload.WithObject("robotSoftwareSuite", m_robotSoftwareSuite.Jsonize()); - } - - if (m_tagsHasBeenSet) { - JsonValue tagsJsonMap; - for (auto& tagsItem : m_tags) { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("tags", std::move(tagsJsonMap)); - } - - if (m_environmentHasBeenSet) { - payload.WithObject("environment", m_environment.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationResult.cpp deleted file mode 100644 index 4985afccc53..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationResult.cpp +++ /dev/null @@ -1,75 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateRobotApplicationResult::CreateRobotApplicationResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateRobotApplicationResult& CreateRobotApplicationResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetString("version"); - m_versionHasBeenSet = true; - } - if (jsonValue.ValueExists("sources")) { - Aws::Utils::Array sourcesJsonList = jsonValue.GetArray("sources"); - for (unsigned sourcesIndex = 0; sourcesIndex < sourcesJsonList.GetLength(); ++sourcesIndex) { - m_sources.push_back(sourcesJsonList[sourcesIndex].AsObject()); - } - m_sourcesHasBeenSet = true; - } - if (jsonValue.ValueExists("robotSoftwareSuite")) { - m_robotSoftwareSuite = jsonValue.GetObject("robotSoftwareSuite"); - m_robotSoftwareSuiteHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("revisionId")) { - m_revisionId = jsonValue.GetString("revisionId"); - m_revisionIdHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - if (jsonValue.ValueExists("environment")) { - m_environment = jsonValue.GetObject("environment"); - m_environmentHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationVersionRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationVersionRequest.cpp deleted file mode 100644 index 44ce1c0ec81..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationVersionRequest.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateRobotApplicationVersionRequest::SerializePayload() const { - JsonValue payload; - - if (m_applicationHasBeenSet) { - payload.WithString("application", m_application); - } - - if (m_currentRevisionIdHasBeenSet) { - payload.WithString("currentRevisionId", m_currentRevisionId); - } - - if (m_s3EtagsHasBeenSet) { - Aws::Utils::Array s3EtagsJsonList(m_s3Etags.size()); - for (unsigned s3EtagsIndex = 0; s3EtagsIndex < s3EtagsJsonList.GetLength(); ++s3EtagsIndex) { - s3EtagsJsonList[s3EtagsIndex].AsString(m_s3Etags[s3EtagsIndex]); - } - payload.WithArray("s3Etags", std::move(s3EtagsJsonList)); - } - - if (m_imageDigestHasBeenSet) { - payload.WithString("imageDigest", m_imageDigest); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationVersionResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationVersionResult.cpp deleted file mode 100644 index 38e529736ed..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateRobotApplicationVersionResult.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateRobotApplicationVersionResult::CreateRobotApplicationVersionResult(const Aws::AmazonWebServiceResult& result) { - *this = result; -} - -CreateRobotApplicationVersionResult& CreateRobotApplicationVersionResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetString("version"); - m_versionHasBeenSet = true; - } - if (jsonValue.ValueExists("sources")) { - Aws::Utils::Array sourcesJsonList = jsonValue.GetArray("sources"); - for (unsigned sourcesIndex = 0; sourcesIndex < sourcesJsonList.GetLength(); ++sourcesIndex) { - m_sources.push_back(sourcesJsonList[sourcesIndex].AsObject()); - } - m_sourcesHasBeenSet = true; - } - if (jsonValue.ValueExists("robotSoftwareSuite")) { - m_robotSoftwareSuite = jsonValue.GetObject("robotSoftwareSuite"); - m_robotSoftwareSuiteHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("revisionId")) { - m_revisionId = jsonValue.GetString("revisionId"); - m_revisionIdHasBeenSet = true; - } - if (jsonValue.ValueExists("environment")) { - m_environment = jsonValue.GetObject("environment"); - m_environmentHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationRequest.cpp deleted file mode 100644 index a540f3f5a7d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationRequest.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateSimulationApplicationRequest::SerializePayload() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_sourcesHasBeenSet) { - Aws::Utils::Array sourcesJsonList(m_sources.size()); - for (unsigned sourcesIndex = 0; sourcesIndex < sourcesJsonList.GetLength(); ++sourcesIndex) { - sourcesJsonList[sourcesIndex].AsObject(m_sources[sourcesIndex].Jsonize()); - } - payload.WithArray("sources", std::move(sourcesJsonList)); - } - - if (m_simulationSoftwareSuiteHasBeenSet) { - payload.WithObject("simulationSoftwareSuite", m_simulationSoftwareSuite.Jsonize()); - } - - if (m_robotSoftwareSuiteHasBeenSet) { - payload.WithObject("robotSoftwareSuite", m_robotSoftwareSuite.Jsonize()); - } - - if (m_renderingEngineHasBeenSet) { - payload.WithObject("renderingEngine", m_renderingEngine.Jsonize()); - } - - if (m_tagsHasBeenSet) { - JsonValue tagsJsonMap; - for (auto& tagsItem : m_tags) { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("tags", std::move(tagsJsonMap)); - } - - if (m_environmentHasBeenSet) { - payload.WithObject("environment", m_environment.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationResult.cpp deleted file mode 100644 index 8adf8f2e9f7..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationResult.cpp +++ /dev/null @@ -1,85 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateSimulationApplicationResult::CreateSimulationApplicationResult(const Aws::AmazonWebServiceResult& result) { - *this = result; -} - -CreateSimulationApplicationResult& CreateSimulationApplicationResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetString("version"); - m_versionHasBeenSet = true; - } - if (jsonValue.ValueExists("sources")) { - Aws::Utils::Array sourcesJsonList = jsonValue.GetArray("sources"); - for (unsigned sourcesIndex = 0; sourcesIndex < sourcesJsonList.GetLength(); ++sourcesIndex) { - m_sources.push_back(sourcesJsonList[sourcesIndex].AsObject()); - } - m_sourcesHasBeenSet = true; - } - if (jsonValue.ValueExists("simulationSoftwareSuite")) { - m_simulationSoftwareSuite = jsonValue.GetObject("simulationSoftwareSuite"); - m_simulationSoftwareSuiteHasBeenSet = true; - } - if (jsonValue.ValueExists("robotSoftwareSuite")) { - m_robotSoftwareSuite = jsonValue.GetObject("robotSoftwareSuite"); - m_robotSoftwareSuiteHasBeenSet = true; - } - if (jsonValue.ValueExists("renderingEngine")) { - m_renderingEngine = jsonValue.GetObject("renderingEngine"); - m_renderingEngineHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("revisionId")) { - m_revisionId = jsonValue.GetString("revisionId"); - m_revisionIdHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - if (jsonValue.ValueExists("environment")) { - m_environment = jsonValue.GetObject("environment"); - m_environmentHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationVersionRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationVersionRequest.cpp deleted file mode 100644 index 34b0c681cc6..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationVersionRequest.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateSimulationApplicationVersionRequest::SerializePayload() const { - JsonValue payload; - - if (m_applicationHasBeenSet) { - payload.WithString("application", m_application); - } - - if (m_currentRevisionIdHasBeenSet) { - payload.WithString("currentRevisionId", m_currentRevisionId); - } - - if (m_s3EtagsHasBeenSet) { - Aws::Utils::Array s3EtagsJsonList(m_s3Etags.size()); - for (unsigned s3EtagsIndex = 0; s3EtagsIndex < s3EtagsJsonList.GetLength(); ++s3EtagsIndex) { - s3EtagsJsonList[s3EtagsIndex].AsString(m_s3Etags[s3EtagsIndex]); - } - payload.WithArray("s3Etags", std::move(s3EtagsJsonList)); - } - - if (m_imageDigestHasBeenSet) { - payload.WithString("imageDigest", m_imageDigest); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationVersionResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationVersionResult.cpp deleted file mode 100644 index 25d2ace9216..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationApplicationVersionResult.cpp +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateSimulationApplicationVersionResult::CreateSimulationApplicationVersionResult(const Aws::AmazonWebServiceResult& result) { - *this = result; -} - -CreateSimulationApplicationVersionResult& CreateSimulationApplicationVersionResult::operator=( - const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetString("version"); - m_versionHasBeenSet = true; - } - if (jsonValue.ValueExists("sources")) { - Aws::Utils::Array sourcesJsonList = jsonValue.GetArray("sources"); - for (unsigned sourcesIndex = 0; sourcesIndex < sourcesJsonList.GetLength(); ++sourcesIndex) { - m_sources.push_back(sourcesJsonList[sourcesIndex].AsObject()); - } - m_sourcesHasBeenSet = true; - } - if (jsonValue.ValueExists("simulationSoftwareSuite")) { - m_simulationSoftwareSuite = jsonValue.GetObject("simulationSoftwareSuite"); - m_simulationSoftwareSuiteHasBeenSet = true; - } - if (jsonValue.ValueExists("robotSoftwareSuite")) { - m_robotSoftwareSuite = jsonValue.GetObject("robotSoftwareSuite"); - m_robotSoftwareSuiteHasBeenSet = true; - } - if (jsonValue.ValueExists("renderingEngine")) { - m_renderingEngine = jsonValue.GetObject("renderingEngine"); - m_renderingEngineHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("revisionId")) { - m_revisionId = jsonValue.GetString("revisionId"); - m_revisionIdHasBeenSet = true; - } - if (jsonValue.ValueExists("environment")) { - m_environment = jsonValue.GetObject("environment"); - m_environmentHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationJobRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationJobRequest.cpp deleted file mode 100644 index 43a88c3081a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationJobRequest.cpp +++ /dev/null @@ -1,84 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateSimulationJobRequest::SerializePayload() const { - JsonValue payload; - - if (m_clientRequestTokenHasBeenSet) { - payload.WithString("clientRequestToken", m_clientRequestToken); - } - - if (m_outputLocationHasBeenSet) { - payload.WithObject("outputLocation", m_outputLocation.Jsonize()); - } - - if (m_loggingConfigHasBeenSet) { - payload.WithObject("loggingConfig", m_loggingConfig.Jsonize()); - } - - if (m_maxJobDurationInSecondsHasBeenSet) { - payload.WithInt64("maxJobDurationInSeconds", m_maxJobDurationInSeconds); - } - - if (m_iamRoleHasBeenSet) { - payload.WithString("iamRole", m_iamRole); - } - - if (m_failureBehaviorHasBeenSet) { - payload.WithString("failureBehavior", FailureBehaviorMapper::GetNameForFailureBehavior(m_failureBehavior)); - } - - if (m_robotApplicationsHasBeenSet) { - Aws::Utils::Array robotApplicationsJsonList(m_robotApplications.size()); - for (unsigned robotApplicationsIndex = 0; robotApplicationsIndex < robotApplicationsJsonList.GetLength(); ++robotApplicationsIndex) { - robotApplicationsJsonList[robotApplicationsIndex].AsObject(m_robotApplications[robotApplicationsIndex].Jsonize()); - } - payload.WithArray("robotApplications", std::move(robotApplicationsJsonList)); - } - - if (m_simulationApplicationsHasBeenSet) { - Aws::Utils::Array simulationApplicationsJsonList(m_simulationApplications.size()); - for (unsigned simulationApplicationsIndex = 0; simulationApplicationsIndex < simulationApplicationsJsonList.GetLength(); - ++simulationApplicationsIndex) { - simulationApplicationsJsonList[simulationApplicationsIndex].AsObject(m_simulationApplications[simulationApplicationsIndex].Jsonize()); - } - payload.WithArray("simulationApplications", std::move(simulationApplicationsJsonList)); - } - - if (m_dataSourcesHasBeenSet) { - Aws::Utils::Array dataSourcesJsonList(m_dataSources.size()); - for (unsigned dataSourcesIndex = 0; dataSourcesIndex < dataSourcesJsonList.GetLength(); ++dataSourcesIndex) { - dataSourcesJsonList[dataSourcesIndex].AsObject(m_dataSources[dataSourcesIndex].Jsonize()); - } - payload.WithArray("dataSources", std::move(dataSourcesJsonList)); - } - - if (m_tagsHasBeenSet) { - JsonValue tagsJsonMap; - for (auto& tagsItem : m_tags) { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("tags", std::move(tagsJsonMap)); - } - - if (m_vpcConfigHasBeenSet) { - payload.WithObject("vpcConfig", m_vpcConfig.Jsonize()); - } - - if (m_computeHasBeenSet) { - payload.WithObject("compute", m_compute.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationJobResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationJobResult.cpp deleted file mode 100644 index a46fa919cac..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateSimulationJobResult.cpp +++ /dev/null @@ -1,118 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateSimulationJobResult::CreateSimulationJobResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateSimulationJobResult& CreateSimulationJobResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = SimulationJobStatusMapper::GetSimulationJobStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("lastStartedAt")) { - m_lastStartedAt = jsonValue.GetDouble("lastStartedAt"); - m_lastStartedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("failureBehavior")) { - m_failureBehavior = FailureBehaviorMapper::GetFailureBehaviorForName(jsonValue.GetString("failureBehavior")); - m_failureBehaviorHasBeenSet = true; - } - if (jsonValue.ValueExists("failureCode")) { - m_failureCode = SimulationJobErrorCodeMapper::GetSimulationJobErrorCodeForName(jsonValue.GetString("failureCode")); - m_failureCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("clientRequestToken")) { - m_clientRequestToken = jsonValue.GetString("clientRequestToken"); - m_clientRequestTokenHasBeenSet = true; - } - if (jsonValue.ValueExists("outputLocation")) { - m_outputLocation = jsonValue.GetObject("outputLocation"); - m_outputLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("loggingConfig")) { - m_loggingConfig = jsonValue.GetObject("loggingConfig"); - m_loggingConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("maxJobDurationInSeconds")) { - m_maxJobDurationInSeconds = jsonValue.GetInt64("maxJobDurationInSeconds"); - m_maxJobDurationInSecondsHasBeenSet = true; - } - if (jsonValue.ValueExists("simulationTimeMillis")) { - m_simulationTimeMillis = jsonValue.GetInt64("simulationTimeMillis"); - m_simulationTimeMillisHasBeenSet = true; - } - if (jsonValue.ValueExists("iamRole")) { - m_iamRole = jsonValue.GetString("iamRole"); - m_iamRoleHasBeenSet = true; - } - if (jsonValue.ValueExists("robotApplications")) { - Aws::Utils::Array robotApplicationsJsonList = jsonValue.GetArray("robotApplications"); - for (unsigned robotApplicationsIndex = 0; robotApplicationsIndex < robotApplicationsJsonList.GetLength(); ++robotApplicationsIndex) { - m_robotApplications.push_back(robotApplicationsJsonList[robotApplicationsIndex].AsObject()); - } - m_robotApplicationsHasBeenSet = true; - } - if (jsonValue.ValueExists("simulationApplications")) { - Aws::Utils::Array simulationApplicationsJsonList = jsonValue.GetArray("simulationApplications"); - for (unsigned simulationApplicationsIndex = 0; simulationApplicationsIndex < simulationApplicationsJsonList.GetLength(); - ++simulationApplicationsIndex) { - m_simulationApplications.push_back(simulationApplicationsJsonList[simulationApplicationsIndex].AsObject()); - } - m_simulationApplicationsHasBeenSet = true; - } - if (jsonValue.ValueExists("dataSources")) { - Aws::Utils::Array dataSourcesJsonList = jsonValue.GetArray("dataSources"); - for (unsigned dataSourcesIndex = 0; dataSourcesIndex < dataSourcesJsonList.GetLength(); ++dataSourcesIndex) { - m_dataSources.push_back(dataSourcesJsonList[dataSourcesIndex].AsObject()); - } - m_dataSourcesHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - if (jsonValue.ValueExists("vpcConfig")) { - m_vpcConfig = jsonValue.GetObject("vpcConfig"); - m_vpcConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("compute")) { - m_compute = jsonValue.GetObject("compute"); - m_computeHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldExportJobRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldExportJobRequest.cpp deleted file mode 100644 index 6b6fe4e4fce..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldExportJobRequest.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateWorldExportJobRequest::SerializePayload() const { - JsonValue payload; - - if (m_clientRequestTokenHasBeenSet) { - payload.WithString("clientRequestToken", m_clientRequestToken); - } - - if (m_worldsHasBeenSet) { - Aws::Utils::Array worldsJsonList(m_worlds.size()); - for (unsigned worldsIndex = 0; worldsIndex < worldsJsonList.GetLength(); ++worldsIndex) { - worldsJsonList[worldsIndex].AsString(m_worlds[worldsIndex]); - } - payload.WithArray("worlds", std::move(worldsJsonList)); - } - - if (m_outputLocationHasBeenSet) { - payload.WithObject("outputLocation", m_outputLocation.Jsonize()); - } - - if (m_iamRoleHasBeenSet) { - payload.WithString("iamRole", m_iamRole); - } - - 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-robomaker/source/model/CreateWorldExportJobResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldExportJobResult.cpp deleted file mode 100644 index 396b0d06c15..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldExportJobResult.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateWorldExportJobResult::CreateWorldExportJobResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateWorldExportJobResult& CreateWorldExportJobResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = WorldExportJobStatusMapper::GetWorldExportJobStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("failureCode")) { - m_failureCode = WorldExportJobErrorCodeMapper::GetWorldExportJobErrorCodeForName(jsonValue.GetString("failureCode")); - m_failureCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("clientRequestToken")) { - m_clientRequestToken = jsonValue.GetString("clientRequestToken"); - m_clientRequestTokenHasBeenSet = true; - } - if (jsonValue.ValueExists("outputLocation")) { - m_outputLocation = jsonValue.GetObject("outputLocation"); - m_outputLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("iamRole")) { - m_iamRole = jsonValue.GetString("iamRole"); - m_iamRoleHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldGenerationJobRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldGenerationJobRequest.cpp deleted file mode 100644 index c78a182488b..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldGenerationJobRequest.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateWorldGenerationJobRequest::SerializePayload() const { - JsonValue payload; - - if (m_clientRequestTokenHasBeenSet) { - payload.WithString("clientRequestToken", m_clientRequestToken); - } - - if (m_templateHasBeenSet) { - payload.WithString("template", m_template); - } - - if (m_worldCountHasBeenSet) { - payload.WithObject("worldCount", m_worldCount.Jsonize()); - } - - if (m_tagsHasBeenSet) { - JsonValue tagsJsonMap; - for (auto& tagsItem : m_tags) { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("tags", std::move(tagsJsonMap)); - } - - if (m_worldTagsHasBeenSet) { - JsonValue worldTagsJsonMap; - for (auto& worldTagsItem : m_worldTags) { - worldTagsJsonMap.WithString(worldTagsItem.first, worldTagsItem.second); - } - payload.WithObject("worldTags", std::move(worldTagsJsonMap)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldGenerationJobResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldGenerationJobResult.cpp deleted file mode 100644 index 3d76c644d99..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldGenerationJobResult.cpp +++ /dev/null @@ -1,75 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateWorldGenerationJobResult::CreateWorldGenerationJobResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateWorldGenerationJobResult& CreateWorldGenerationJobResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = WorldGenerationJobStatusMapper::GetWorldGenerationJobStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("failureCode")) { - m_failureCode = WorldGenerationJobErrorCodeMapper::GetWorldGenerationJobErrorCodeForName(jsonValue.GetString("failureCode")); - m_failureCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("clientRequestToken")) { - m_clientRequestToken = jsonValue.GetString("clientRequestToken"); - m_clientRequestTokenHasBeenSet = true; - } - if (jsonValue.ValueExists("template")) { - m_template = jsonValue.GetString("template"); - m_templateHasBeenSet = true; - } - if (jsonValue.ValueExists("worldCount")) { - m_worldCount = jsonValue.GetObject("worldCount"); - m_worldCountHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - if (jsonValue.ValueExists("worldTags")) { - Aws::Map worldTagsJsonMap = jsonValue.GetObject("worldTags").GetAllObjects(); - for (auto& worldTagsItem : worldTagsJsonMap) { - m_worldTags[worldTagsItem.first] = worldTagsItem.second.AsString(); - } - m_worldTagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldTemplateRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldTemplateRequest.cpp deleted file mode 100644 index fa402e89d31..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldTemplateRequest.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String CreateWorldTemplateRequest::SerializePayload() const { - JsonValue payload; - - if (m_clientRequestTokenHasBeenSet) { - payload.WithString("clientRequestToken", m_clientRequestToken); - } - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_templateBodyHasBeenSet) { - payload.WithString("templateBody", m_templateBody); - } - - if (m_templateLocationHasBeenSet) { - payload.WithObject("templateLocation", m_templateLocation.Jsonize()); - } - - 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-robomaker/source/model/CreateWorldTemplateResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldTemplateResult.cpp deleted file mode 100644 index e6e88c13e81..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/CreateWorldTemplateResult.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -CreateWorldTemplateResult::CreateWorldTemplateResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -CreateWorldTemplateResult& CreateWorldTemplateResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("clientRequestToken")) { - m_clientRequestToken = jsonValue.GetString("clientRequestToken"); - m_clientRequestTokenHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DataSource.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DataSource.cpp deleted file mode 100644 index 8a03d344bba..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DataSource.cpp +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -DataSource::DataSource(JsonView jsonValue) { *this = jsonValue; } - -DataSource& DataSource::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("s3Bucket")) { - m_s3Bucket = jsonValue.GetString("s3Bucket"); - m_s3BucketHasBeenSet = true; - } - if (jsonValue.ValueExists("s3Keys")) { - Aws::Utils::Array s3KeysJsonList = jsonValue.GetArray("s3Keys"); - for (unsigned s3KeysIndex = 0; s3KeysIndex < s3KeysJsonList.GetLength(); ++s3KeysIndex) { - m_s3Keys.push_back(s3KeysJsonList[s3KeysIndex].AsObject()); - } - m_s3KeysHasBeenSet = true; - } - if (jsonValue.ValueExists("type")) { - m_type = DataSourceTypeMapper::GetDataSourceTypeForName(jsonValue.GetString("type")); - m_typeHasBeenSet = true; - } - if (jsonValue.ValueExists("destination")) { - m_destination = jsonValue.GetString("destination"); - m_destinationHasBeenSet = true; - } - return *this; -} - -JsonValue DataSource::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_s3BucketHasBeenSet) { - payload.WithString("s3Bucket", m_s3Bucket); - } - - if (m_s3KeysHasBeenSet) { - Aws::Utils::Array s3KeysJsonList(m_s3Keys.size()); - for (unsigned s3KeysIndex = 0; s3KeysIndex < s3KeysJsonList.GetLength(); ++s3KeysIndex) { - s3KeysJsonList[s3KeysIndex].AsObject(m_s3Keys[s3KeysIndex].Jsonize()); - } - payload.WithArray("s3Keys", std::move(s3KeysJsonList)); - } - - if (m_typeHasBeenSet) { - payload.WithString("type", DataSourceTypeMapper::GetNameForDataSourceType(m_type)); - } - - if (m_destinationHasBeenSet) { - payload.WithString("destination", m_destination); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DataSourceConfig.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DataSourceConfig.cpp deleted file mode 100644 index 2467e32fd34..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DataSourceConfig.cpp +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -DataSourceConfig::DataSourceConfig(JsonView jsonValue) { *this = jsonValue; } - -DataSourceConfig& DataSourceConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("s3Bucket")) { - m_s3Bucket = jsonValue.GetString("s3Bucket"); - m_s3BucketHasBeenSet = true; - } - if (jsonValue.ValueExists("s3Keys")) { - Aws::Utils::Array s3KeysJsonList = jsonValue.GetArray("s3Keys"); - for (unsigned s3KeysIndex = 0; s3KeysIndex < s3KeysJsonList.GetLength(); ++s3KeysIndex) { - m_s3Keys.push_back(s3KeysJsonList[s3KeysIndex].AsString()); - } - m_s3KeysHasBeenSet = true; - } - if (jsonValue.ValueExists("type")) { - m_type = DataSourceTypeMapper::GetDataSourceTypeForName(jsonValue.GetString("type")); - m_typeHasBeenSet = true; - } - if (jsonValue.ValueExists("destination")) { - m_destination = jsonValue.GetString("destination"); - m_destinationHasBeenSet = true; - } - return *this; -} - -JsonValue DataSourceConfig::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_s3BucketHasBeenSet) { - payload.WithString("s3Bucket", m_s3Bucket); - } - - if (m_s3KeysHasBeenSet) { - Aws::Utils::Array s3KeysJsonList(m_s3Keys.size()); - for (unsigned s3KeysIndex = 0; s3KeysIndex < s3KeysJsonList.GetLength(); ++s3KeysIndex) { - s3KeysJsonList[s3KeysIndex].AsString(m_s3Keys[s3KeysIndex]); - } - payload.WithArray("s3Keys", std::move(s3KeysJsonList)); - } - - if (m_typeHasBeenSet) { - payload.WithString("type", DataSourceTypeMapper::GetNameForDataSourceType(m_type)); - } - - if (m_destinationHasBeenSet) { - payload.WithString("destination", m_destination); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DataSourceType.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DataSourceType.cpp deleted file mode 100644 index 5a758f34e97..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DataSourceType.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace DataSourceTypeMapper { - -static const int Prefix_HASH = HashingUtils::HashString("Prefix"); -static const int Archive_HASH = HashingUtils::HashString("Archive"); -static const int File_HASH = HashingUtils::HashString("File"); - -DataSourceType GetDataSourceTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Prefix_HASH) { - return DataSourceType::Prefix; - } else if (hashCode == Archive_HASH) { - return DataSourceType::Archive; - } else if (hashCode == File_HASH) { - return DataSourceType::File; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return DataSourceType::NOT_SET; -} - -Aws::String GetNameForDataSourceType(DataSourceType enumValue) { - switch (enumValue) { - case DataSourceType::NOT_SET: - return {}; - case DataSourceType::Prefix: - return "Prefix"; - case DataSourceType::Archive: - return "Archive"; - case DataSourceType::File: - return "File"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace DataSourceTypeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteRobotApplicationRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteRobotApplicationRequest.cpp deleted file mode 100644 index b35a8075858..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteRobotApplicationRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DeleteRobotApplicationRequest::SerializePayload() const { - JsonValue payload; - - if (m_applicationHasBeenSet) { - payload.WithString("application", m_application); - } - - if (m_applicationVersionHasBeenSet) { - payload.WithString("applicationVersion", m_applicationVersion); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteRobotApplicationResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteRobotApplicationResult.cpp deleted file mode 100644 index 755a459a817..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteRobotApplicationResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DeleteRobotApplicationResult::DeleteRobotApplicationResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DeleteRobotApplicationResult& DeleteRobotApplicationResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteSimulationApplicationRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteSimulationApplicationRequest.cpp deleted file mode 100644 index fe10a9f8495..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteSimulationApplicationRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DeleteSimulationApplicationRequest::SerializePayload() const { - JsonValue payload; - - if (m_applicationHasBeenSet) { - payload.WithString("application", m_application); - } - - if (m_applicationVersionHasBeenSet) { - payload.WithString("applicationVersion", m_applicationVersion); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteSimulationApplicationResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteSimulationApplicationResult.cpp deleted file mode 100644 index 99f232c1e2e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteSimulationApplicationResult.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DeleteSimulationApplicationResult::DeleteSimulationApplicationResult(const Aws::AmazonWebServiceResult& result) { - *this = result; -} - -DeleteSimulationApplicationResult& DeleteSimulationApplicationResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteWorldTemplateRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteWorldTemplateRequest.cpp deleted file mode 100644 index c17ab7b510d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteWorldTemplateRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DeleteWorldTemplateRequest::SerializePayload() const { - JsonValue payload; - - if (m_templateHasBeenSet) { - payload.WithString("template", m_template); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteWorldTemplateResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteWorldTemplateResult.cpp deleted file mode 100644 index 7c26f75281d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DeleteWorldTemplateResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DeleteWorldTemplateResult::DeleteWorldTemplateResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DeleteWorldTemplateResult& DeleteWorldTemplateResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentApplicationConfig.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentApplicationConfig.cpp deleted file mode 100644 index d302fabc18a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentApplicationConfig.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -DeploymentApplicationConfig::DeploymentApplicationConfig(JsonView jsonValue) { *this = jsonValue; } - -DeploymentApplicationConfig& DeploymentApplicationConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("application")) { - m_application = jsonValue.GetString("application"); - m_applicationHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationVersion")) { - m_applicationVersion = jsonValue.GetString("applicationVersion"); - m_applicationVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("launchConfig")) { - m_launchConfig = jsonValue.GetObject("launchConfig"); - m_launchConfigHasBeenSet = true; - } - return *this; -} - -JsonValue DeploymentApplicationConfig::Jsonize() const { - JsonValue payload; - - if (m_applicationHasBeenSet) { - payload.WithString("application", m_application); - } - - if (m_applicationVersionHasBeenSet) { - payload.WithString("applicationVersion", m_applicationVersion); - } - - if (m_launchConfigHasBeenSet) { - payload.WithObject("launchConfig", m_launchConfig.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentConfig.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentConfig.cpp deleted file mode 100644 index b217364db81..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentConfig.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -DeploymentConfig::DeploymentConfig(JsonView jsonValue) { *this = jsonValue; } - -DeploymentConfig& DeploymentConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("concurrentDeploymentPercentage")) { - m_concurrentDeploymentPercentage = jsonValue.GetInteger("concurrentDeploymentPercentage"); - m_concurrentDeploymentPercentageHasBeenSet = true; - } - if (jsonValue.ValueExists("failureThresholdPercentage")) { - m_failureThresholdPercentage = jsonValue.GetInteger("failureThresholdPercentage"); - m_failureThresholdPercentageHasBeenSet = true; - } - if (jsonValue.ValueExists("robotDeploymentTimeoutInSeconds")) { - m_robotDeploymentTimeoutInSeconds = jsonValue.GetInt64("robotDeploymentTimeoutInSeconds"); - m_robotDeploymentTimeoutInSecondsHasBeenSet = true; - } - if (jsonValue.ValueExists("downloadConditionFile")) { - m_downloadConditionFile = jsonValue.GetObject("downloadConditionFile"); - m_downloadConditionFileHasBeenSet = true; - } - return *this; -} - -JsonValue DeploymentConfig::Jsonize() const { - JsonValue payload; - - if (m_concurrentDeploymentPercentageHasBeenSet) { - payload.WithInteger("concurrentDeploymentPercentage", m_concurrentDeploymentPercentage); - } - - if (m_failureThresholdPercentageHasBeenSet) { - payload.WithInteger("failureThresholdPercentage", m_failureThresholdPercentage); - } - - if (m_robotDeploymentTimeoutInSecondsHasBeenSet) { - payload.WithInt64("robotDeploymentTimeoutInSeconds", m_robotDeploymentTimeoutInSeconds); - } - - if (m_downloadConditionFileHasBeenSet) { - payload.WithObject("downloadConditionFile", m_downloadConditionFile.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentJob.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentJob.cpp deleted file mode 100644 index df7c4a6ec78..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentJob.cpp +++ /dev/null @@ -1,106 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -DeploymentJob::DeploymentJob(JsonView jsonValue) { *this = jsonValue; } - -DeploymentJob& DeploymentJob::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("fleet")) { - m_fleet = jsonValue.GetString("fleet"); - m_fleetHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = DeploymentStatusMapper::GetDeploymentStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("deploymentApplicationConfigs")) { - Aws::Utils::Array deploymentApplicationConfigsJsonList = jsonValue.GetArray("deploymentApplicationConfigs"); - for (unsigned deploymentApplicationConfigsIndex = 0; - deploymentApplicationConfigsIndex < deploymentApplicationConfigsJsonList.GetLength(); ++deploymentApplicationConfigsIndex) { - m_deploymentApplicationConfigs.push_back(deploymentApplicationConfigsJsonList[deploymentApplicationConfigsIndex].AsObject()); - } - m_deploymentApplicationConfigsHasBeenSet = true; - } - if (jsonValue.ValueExists("deploymentConfig")) { - m_deploymentConfig = jsonValue.GetObject("deploymentConfig"); - m_deploymentConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("failureReason")) { - m_failureReason = jsonValue.GetString("failureReason"); - m_failureReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("failureCode")) { - m_failureCode = DeploymentJobErrorCodeMapper::GetDeploymentJobErrorCodeForName(jsonValue.GetString("failureCode")); - m_failureCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - return *this; -} - -JsonValue DeploymentJob::Jsonize() const { - JsonValue payload; - - if (m_arnHasBeenSet) { - payload.WithString("arn", m_arn); - } - - if (m_fleetHasBeenSet) { - payload.WithString("fleet", m_fleet); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", DeploymentStatusMapper::GetNameForDeploymentStatus(m_status)); - } - - if (m_deploymentApplicationConfigsHasBeenSet) { - Aws::Utils::Array deploymentApplicationConfigsJsonList(m_deploymentApplicationConfigs.size()); - for (unsigned deploymentApplicationConfigsIndex = 0; - deploymentApplicationConfigsIndex < deploymentApplicationConfigsJsonList.GetLength(); ++deploymentApplicationConfigsIndex) { - deploymentApplicationConfigsJsonList[deploymentApplicationConfigsIndex].AsObject( - m_deploymentApplicationConfigs[deploymentApplicationConfigsIndex].Jsonize()); - } - payload.WithArray("deploymentApplicationConfigs", std::move(deploymentApplicationConfigsJsonList)); - } - - if (m_deploymentConfigHasBeenSet) { - payload.WithObject("deploymentConfig", m_deploymentConfig.Jsonize()); - } - - if (m_failureReasonHasBeenSet) { - payload.WithString("failureReason", m_failureReason); - } - - if (m_failureCodeHasBeenSet) { - payload.WithString("failureCode", DeploymentJobErrorCodeMapper::GetNameForDeploymentJobErrorCode(m_failureCode)); - } - - if (m_createdAtHasBeenSet) { - payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentJobErrorCode.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentJobErrorCode.cpp deleted file mode 100644 index a0f3d5babdc..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentJobErrorCode.cpp +++ /dev/null @@ -1,168 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace DeploymentJobErrorCodeMapper { - -static const int ResourceNotFound_HASH = HashingUtils::HashString("ResourceNotFound"); -static const int EnvironmentSetupError_HASH = HashingUtils::HashString("EnvironmentSetupError"); -static const int EtagMismatch_HASH = HashingUtils::HashString("EtagMismatch"); -static const int FailureThresholdBreached_HASH = HashingUtils::HashString("FailureThresholdBreached"); -static const int RobotDeploymentAborted_HASH = HashingUtils::HashString("RobotDeploymentAborted"); -static const int RobotDeploymentNoResponse_HASH = HashingUtils::HashString("RobotDeploymentNoResponse"); -static const int RobotAgentConnectionTimeout_HASH = HashingUtils::HashString("RobotAgentConnectionTimeout"); -static const int GreengrassDeploymentFailed_HASH = HashingUtils::HashString("GreengrassDeploymentFailed"); -static const int InvalidGreengrassGroup_HASH = HashingUtils::HashString("InvalidGreengrassGroup"); -static const int MissingRobotArchitecture_HASH = HashingUtils::HashString("MissingRobotArchitecture"); -static const int MissingRobotApplicationArchitecture_HASH = HashingUtils::HashString("MissingRobotApplicationArchitecture"); -static const int MissingRobotDeploymentResource_HASH = HashingUtils::HashString("MissingRobotDeploymentResource"); -static const int GreengrassGroupVersionDoesNotExist_HASH = HashingUtils::HashString("GreengrassGroupVersionDoesNotExist"); -static const int LambdaDeleted_HASH = HashingUtils::HashString("LambdaDeleted"); -static const int ExtractingBundleFailure_HASH = HashingUtils::HashString("ExtractingBundleFailure"); -static const int PreLaunchFileFailure_HASH = HashingUtils::HashString("PreLaunchFileFailure"); -static const int PostLaunchFileFailure_HASH = HashingUtils::HashString("PostLaunchFileFailure"); -static const int BadPermissionError_HASH = HashingUtils::HashString("BadPermissionError"); -static const int DownloadConditionFailed_HASH = HashingUtils::HashString("DownloadConditionFailed"); -static const int BadLambdaAssociated_HASH = HashingUtils::HashString("BadLambdaAssociated"); -static const int InternalServerError_HASH = HashingUtils::HashString("InternalServerError"); -static const int RobotApplicationDoesNotExist_HASH = HashingUtils::HashString("RobotApplicationDoesNotExist"); -static const int DeploymentFleetDoesNotExist_HASH = HashingUtils::HashString("DeploymentFleetDoesNotExist"); -static const int FleetDeploymentTimeout_HASH = HashingUtils::HashString("FleetDeploymentTimeout"); - -DeploymentJobErrorCode GetDeploymentJobErrorCodeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == ResourceNotFound_HASH) { - return DeploymentJobErrorCode::ResourceNotFound; - } else if (hashCode == EnvironmentSetupError_HASH) { - return DeploymentJobErrorCode::EnvironmentSetupError; - } else if (hashCode == EtagMismatch_HASH) { - return DeploymentJobErrorCode::EtagMismatch; - } else if (hashCode == FailureThresholdBreached_HASH) { - return DeploymentJobErrorCode::FailureThresholdBreached; - } else if (hashCode == RobotDeploymentAborted_HASH) { - return DeploymentJobErrorCode::RobotDeploymentAborted; - } else if (hashCode == RobotDeploymentNoResponse_HASH) { - return DeploymentJobErrorCode::RobotDeploymentNoResponse; - } else if (hashCode == RobotAgentConnectionTimeout_HASH) { - return DeploymentJobErrorCode::RobotAgentConnectionTimeout; - } else if (hashCode == GreengrassDeploymentFailed_HASH) { - return DeploymentJobErrorCode::GreengrassDeploymentFailed; - } else if (hashCode == InvalidGreengrassGroup_HASH) { - return DeploymentJobErrorCode::InvalidGreengrassGroup; - } else if (hashCode == MissingRobotArchitecture_HASH) { - return DeploymentJobErrorCode::MissingRobotArchitecture; - } else if (hashCode == MissingRobotApplicationArchitecture_HASH) { - return DeploymentJobErrorCode::MissingRobotApplicationArchitecture; - } else if (hashCode == MissingRobotDeploymentResource_HASH) { - return DeploymentJobErrorCode::MissingRobotDeploymentResource; - } else if (hashCode == GreengrassGroupVersionDoesNotExist_HASH) { - return DeploymentJobErrorCode::GreengrassGroupVersionDoesNotExist; - } else if (hashCode == LambdaDeleted_HASH) { - return DeploymentJobErrorCode::LambdaDeleted; - } else if (hashCode == ExtractingBundleFailure_HASH) { - return DeploymentJobErrorCode::ExtractingBundleFailure; - } else if (hashCode == PreLaunchFileFailure_HASH) { - return DeploymentJobErrorCode::PreLaunchFileFailure; - } else if (hashCode == PostLaunchFileFailure_HASH) { - return DeploymentJobErrorCode::PostLaunchFileFailure; - } else if (hashCode == BadPermissionError_HASH) { - return DeploymentJobErrorCode::BadPermissionError; - } else if (hashCode == DownloadConditionFailed_HASH) { - return DeploymentJobErrorCode::DownloadConditionFailed; - } else if (hashCode == BadLambdaAssociated_HASH) { - return DeploymentJobErrorCode::BadLambdaAssociated; - } else if (hashCode == InternalServerError_HASH) { - return DeploymentJobErrorCode::InternalServerError; - } else if (hashCode == RobotApplicationDoesNotExist_HASH) { - return DeploymentJobErrorCode::RobotApplicationDoesNotExist; - } else if (hashCode == DeploymentFleetDoesNotExist_HASH) { - return DeploymentJobErrorCode::DeploymentFleetDoesNotExist; - } else if (hashCode == FleetDeploymentTimeout_HASH) { - return DeploymentJobErrorCode::FleetDeploymentTimeout; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return DeploymentJobErrorCode::NOT_SET; -} - -Aws::String GetNameForDeploymentJobErrorCode(DeploymentJobErrorCode enumValue) { - switch (enumValue) { - case DeploymentJobErrorCode::NOT_SET: - return {}; - case DeploymentJobErrorCode::ResourceNotFound: - return "ResourceNotFound"; - case DeploymentJobErrorCode::EnvironmentSetupError: - return "EnvironmentSetupError"; - case DeploymentJobErrorCode::EtagMismatch: - return "EtagMismatch"; - case DeploymentJobErrorCode::FailureThresholdBreached: - return "FailureThresholdBreached"; - case DeploymentJobErrorCode::RobotDeploymentAborted: - return "RobotDeploymentAborted"; - case DeploymentJobErrorCode::RobotDeploymentNoResponse: - return "RobotDeploymentNoResponse"; - case DeploymentJobErrorCode::RobotAgentConnectionTimeout: - return "RobotAgentConnectionTimeout"; - case DeploymentJobErrorCode::GreengrassDeploymentFailed: - return "GreengrassDeploymentFailed"; - case DeploymentJobErrorCode::InvalidGreengrassGroup: - return "InvalidGreengrassGroup"; - case DeploymentJobErrorCode::MissingRobotArchitecture: - return "MissingRobotArchitecture"; - case DeploymentJobErrorCode::MissingRobotApplicationArchitecture: - return "MissingRobotApplicationArchitecture"; - case DeploymentJobErrorCode::MissingRobotDeploymentResource: - return "MissingRobotDeploymentResource"; - case DeploymentJobErrorCode::GreengrassGroupVersionDoesNotExist: - return "GreengrassGroupVersionDoesNotExist"; - case DeploymentJobErrorCode::LambdaDeleted: - return "LambdaDeleted"; - case DeploymentJobErrorCode::ExtractingBundleFailure: - return "ExtractingBundleFailure"; - case DeploymentJobErrorCode::PreLaunchFileFailure: - return "PreLaunchFileFailure"; - case DeploymentJobErrorCode::PostLaunchFileFailure: - return "PostLaunchFileFailure"; - case DeploymentJobErrorCode::BadPermissionError: - return "BadPermissionError"; - case DeploymentJobErrorCode::DownloadConditionFailed: - return "DownloadConditionFailed"; - case DeploymentJobErrorCode::BadLambdaAssociated: - return "BadLambdaAssociated"; - case DeploymentJobErrorCode::InternalServerError: - return "InternalServerError"; - case DeploymentJobErrorCode::RobotApplicationDoesNotExist: - return "RobotApplicationDoesNotExist"; - case DeploymentJobErrorCode::DeploymentFleetDoesNotExist: - return "DeploymentFleetDoesNotExist"; - case DeploymentJobErrorCode::FleetDeploymentTimeout: - return "FleetDeploymentTimeout"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace DeploymentJobErrorCodeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentLaunchConfig.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentLaunchConfig.cpp deleted file mode 100644 index d04c6408ddf..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentLaunchConfig.cpp +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -DeploymentLaunchConfig::DeploymentLaunchConfig(JsonView jsonValue) { *this = jsonValue; } - -DeploymentLaunchConfig& DeploymentLaunchConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("packageName")) { - m_packageName = jsonValue.GetString("packageName"); - m_packageNameHasBeenSet = true; - } - if (jsonValue.ValueExists("preLaunchFile")) { - m_preLaunchFile = jsonValue.GetString("preLaunchFile"); - m_preLaunchFileHasBeenSet = true; - } - if (jsonValue.ValueExists("launchFile")) { - m_launchFile = jsonValue.GetString("launchFile"); - m_launchFileHasBeenSet = true; - } - if (jsonValue.ValueExists("postLaunchFile")) { - m_postLaunchFile = jsonValue.GetString("postLaunchFile"); - m_postLaunchFileHasBeenSet = true; - } - if (jsonValue.ValueExists("environmentVariables")) { - Aws::Map environmentVariablesJsonMap = jsonValue.GetObject("environmentVariables").GetAllObjects(); - for (auto& environmentVariablesItem : environmentVariablesJsonMap) { - m_environmentVariables[environmentVariablesItem.first] = environmentVariablesItem.second.AsString(); - } - m_environmentVariablesHasBeenSet = true; - } - return *this; -} - -JsonValue DeploymentLaunchConfig::Jsonize() const { - JsonValue payload; - - if (m_packageNameHasBeenSet) { - payload.WithString("packageName", m_packageName); - } - - if (m_preLaunchFileHasBeenSet) { - payload.WithString("preLaunchFile", m_preLaunchFile); - } - - if (m_launchFileHasBeenSet) { - payload.WithString("launchFile", m_launchFile); - } - - if (m_postLaunchFileHasBeenSet) { - payload.WithString("postLaunchFile", m_postLaunchFile); - } - - if (m_environmentVariablesHasBeenSet) { - JsonValue environmentVariablesJsonMap; - for (auto& environmentVariablesItem : m_environmentVariables) { - environmentVariablesJsonMap.WithString(environmentVariablesItem.first, environmentVariablesItem.second); - } - payload.WithObject("environmentVariables", std::move(environmentVariablesJsonMap)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentStatus.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentStatus.cpp deleted file mode 100644 index 3799fd4fb8a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DeploymentStatus.cpp +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace DeploymentStatusMapper { - -static const int Pending_HASH = HashingUtils::HashString("Pending"); -static const int Preparing_HASH = HashingUtils::HashString("Preparing"); -static const int InProgress_HASH = HashingUtils::HashString("InProgress"); -static const int Failed_HASH = HashingUtils::HashString("Failed"); -static const int Succeeded_HASH = HashingUtils::HashString("Succeeded"); -static const int Canceled_HASH = HashingUtils::HashString("Canceled"); - -DeploymentStatus GetDeploymentStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Pending_HASH) { - return DeploymentStatus::Pending; - } else if (hashCode == Preparing_HASH) { - return DeploymentStatus::Preparing; - } else if (hashCode == InProgress_HASH) { - return DeploymentStatus::InProgress; - } else if (hashCode == Failed_HASH) { - return DeploymentStatus::Failed; - } else if (hashCode == Succeeded_HASH) { - return DeploymentStatus::Succeeded; - } else if (hashCode == Canceled_HASH) { - return DeploymentStatus::Canceled; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return DeploymentStatus::NOT_SET; -} - -Aws::String GetNameForDeploymentStatus(DeploymentStatus enumValue) { - switch (enumValue) { - case DeploymentStatus::NOT_SET: - return {}; - case DeploymentStatus::Pending: - return "Pending"; - case DeploymentStatus::Preparing: - return "Preparing"; - case DeploymentStatus::InProgress: - return "InProgress"; - case DeploymentStatus::Failed: - return "Failed"; - case DeploymentStatus::Succeeded: - return "Succeeded"; - case DeploymentStatus::Canceled: - return "Canceled"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace DeploymentStatusMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeRobotApplicationRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeRobotApplicationRequest.cpp deleted file mode 100644 index bed5749423a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeRobotApplicationRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeRobotApplicationRequest::SerializePayload() const { - JsonValue payload; - - if (m_applicationHasBeenSet) { - payload.WithString("application", m_application); - } - - if (m_applicationVersionHasBeenSet) { - payload.WithString("applicationVersion", m_applicationVersion); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeRobotApplicationResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeRobotApplicationResult.cpp deleted file mode 100644 index 1826d511ac1..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeRobotApplicationResult.cpp +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeRobotApplicationResult::DescribeRobotApplicationResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeRobotApplicationResult& DescribeRobotApplicationResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetString("version"); - m_versionHasBeenSet = true; - } - if (jsonValue.ValueExists("sources")) { - Aws::Utils::Array sourcesJsonList = jsonValue.GetArray("sources"); - for (unsigned sourcesIndex = 0; sourcesIndex < sourcesJsonList.GetLength(); ++sourcesIndex) { - m_sources.push_back(sourcesJsonList[sourcesIndex].AsObject()); - } - m_sourcesHasBeenSet = true; - } - if (jsonValue.ValueExists("robotSoftwareSuite")) { - m_robotSoftwareSuite = jsonValue.GetObject("robotSoftwareSuite"); - m_robotSoftwareSuiteHasBeenSet = true; - } - if (jsonValue.ValueExists("revisionId")) { - m_revisionId = jsonValue.GetString("revisionId"); - m_revisionIdHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - if (jsonValue.ValueExists("environment")) { - m_environment = jsonValue.GetObject("environment"); - m_environmentHasBeenSet = true; - } - if (jsonValue.ValueExists("imageDigest")) { - m_imageDigest = jsonValue.GetString("imageDigest"); - m_imageDigestHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationApplicationRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationApplicationRequest.cpp deleted file mode 100644 index 598a7303c72..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationApplicationRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeSimulationApplicationRequest::SerializePayload() const { - JsonValue payload; - - if (m_applicationHasBeenSet) { - payload.WithString("application", m_application); - } - - if (m_applicationVersionHasBeenSet) { - payload.WithString("applicationVersion", m_applicationVersion); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationApplicationResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationApplicationResult.cpp deleted file mode 100644 index a0b36186e3d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationApplicationResult.cpp +++ /dev/null @@ -1,89 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeSimulationApplicationResult::DescribeSimulationApplicationResult(const Aws::AmazonWebServiceResult& result) { - *this = result; -} - -DescribeSimulationApplicationResult& DescribeSimulationApplicationResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetString("version"); - m_versionHasBeenSet = true; - } - if (jsonValue.ValueExists("sources")) { - Aws::Utils::Array sourcesJsonList = jsonValue.GetArray("sources"); - for (unsigned sourcesIndex = 0; sourcesIndex < sourcesJsonList.GetLength(); ++sourcesIndex) { - m_sources.push_back(sourcesJsonList[sourcesIndex].AsObject()); - } - m_sourcesHasBeenSet = true; - } - if (jsonValue.ValueExists("simulationSoftwareSuite")) { - m_simulationSoftwareSuite = jsonValue.GetObject("simulationSoftwareSuite"); - m_simulationSoftwareSuiteHasBeenSet = true; - } - if (jsonValue.ValueExists("robotSoftwareSuite")) { - m_robotSoftwareSuite = jsonValue.GetObject("robotSoftwareSuite"); - m_robotSoftwareSuiteHasBeenSet = true; - } - if (jsonValue.ValueExists("renderingEngine")) { - m_renderingEngine = jsonValue.GetObject("renderingEngine"); - m_renderingEngineHasBeenSet = true; - } - if (jsonValue.ValueExists("revisionId")) { - m_revisionId = jsonValue.GetString("revisionId"); - m_revisionIdHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - if (jsonValue.ValueExists("environment")) { - m_environment = jsonValue.GetObject("environment"); - m_environmentHasBeenSet = true; - } - if (jsonValue.ValueExists("imageDigest")) { - m_imageDigest = jsonValue.GetString("imageDigest"); - m_imageDigestHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobBatchRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobBatchRequest.cpp deleted file mode 100644 index 1cca2a41c6e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobBatchRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeSimulationJobBatchRequest::SerializePayload() const { - JsonValue payload; - - if (m_batchHasBeenSet) { - payload.WithString("batch", m_batch); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobBatchResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobBatchResult.cpp deleted file mode 100644 index 83e8d44f943..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobBatchResult.cpp +++ /dev/null @@ -1,93 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeSimulationJobBatchResult::DescribeSimulationJobBatchResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeSimulationJobBatchResult& DescribeSimulationJobBatchResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = SimulationJobBatchStatusMapper::GetSimulationJobBatchStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("clientRequestToken")) { - m_clientRequestToken = jsonValue.GetString("clientRequestToken"); - m_clientRequestTokenHasBeenSet = true; - } - if (jsonValue.ValueExists("batchPolicy")) { - m_batchPolicy = jsonValue.GetObject("batchPolicy"); - m_batchPolicyHasBeenSet = true; - } - if (jsonValue.ValueExists("failureCode")) { - m_failureCode = SimulationJobBatchErrorCodeMapper::GetSimulationJobBatchErrorCodeForName(jsonValue.GetString("failureCode")); - m_failureCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("failureReason")) { - m_failureReason = jsonValue.GetString("failureReason"); - m_failureReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("failedRequests")) { - Aws::Utils::Array failedRequestsJsonList = jsonValue.GetArray("failedRequests"); - for (unsigned failedRequestsIndex = 0; failedRequestsIndex < failedRequestsJsonList.GetLength(); ++failedRequestsIndex) { - m_failedRequests.push_back(failedRequestsJsonList[failedRequestsIndex].AsObject()); - } - m_failedRequestsHasBeenSet = true; - } - if (jsonValue.ValueExists("pendingRequests")) { - Aws::Utils::Array pendingRequestsJsonList = jsonValue.GetArray("pendingRequests"); - for (unsigned pendingRequestsIndex = 0; pendingRequestsIndex < pendingRequestsJsonList.GetLength(); ++pendingRequestsIndex) { - m_pendingRequests.push_back(pendingRequestsJsonList[pendingRequestsIndex].AsObject()); - } - m_pendingRequestsHasBeenSet = true; - } - if (jsonValue.ValueExists("createdRequests")) { - Aws::Utils::Array createdRequestsJsonList = jsonValue.GetArray("createdRequests"); - for (unsigned createdRequestsIndex = 0; createdRequestsIndex < createdRequestsJsonList.GetLength(); ++createdRequestsIndex) { - m_createdRequests.push_back(createdRequestsJsonList[createdRequestsIndex].AsObject()); - } - m_createdRequestsHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobRequest.cpp deleted file mode 100644 index ff7bdca2113..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeSimulationJobRequest::SerializePayload() const { - JsonValue payload; - - if (m_jobHasBeenSet) { - payload.WithString("job", m_job); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobResult.cpp deleted file mode 100644 index 733d14f5aed..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeSimulationJobResult.cpp +++ /dev/null @@ -1,130 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeSimulationJobResult::DescribeSimulationJobResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeSimulationJobResult& DescribeSimulationJobResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = SimulationJobStatusMapper::GetSimulationJobStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("lastStartedAt")) { - m_lastStartedAt = jsonValue.GetDouble("lastStartedAt"); - m_lastStartedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("failureBehavior")) { - m_failureBehavior = FailureBehaviorMapper::GetFailureBehaviorForName(jsonValue.GetString("failureBehavior")); - m_failureBehaviorHasBeenSet = true; - } - if (jsonValue.ValueExists("failureCode")) { - m_failureCode = SimulationJobErrorCodeMapper::GetSimulationJobErrorCodeForName(jsonValue.GetString("failureCode")); - m_failureCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("failureReason")) { - m_failureReason = jsonValue.GetString("failureReason"); - m_failureReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("clientRequestToken")) { - m_clientRequestToken = jsonValue.GetString("clientRequestToken"); - m_clientRequestTokenHasBeenSet = true; - } - if (jsonValue.ValueExists("outputLocation")) { - m_outputLocation = jsonValue.GetObject("outputLocation"); - m_outputLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("loggingConfig")) { - m_loggingConfig = jsonValue.GetObject("loggingConfig"); - m_loggingConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("maxJobDurationInSeconds")) { - m_maxJobDurationInSeconds = jsonValue.GetInt64("maxJobDurationInSeconds"); - m_maxJobDurationInSecondsHasBeenSet = true; - } - if (jsonValue.ValueExists("simulationTimeMillis")) { - m_simulationTimeMillis = jsonValue.GetInt64("simulationTimeMillis"); - m_simulationTimeMillisHasBeenSet = true; - } - if (jsonValue.ValueExists("iamRole")) { - m_iamRole = jsonValue.GetString("iamRole"); - m_iamRoleHasBeenSet = true; - } - if (jsonValue.ValueExists("robotApplications")) { - Aws::Utils::Array robotApplicationsJsonList = jsonValue.GetArray("robotApplications"); - for (unsigned robotApplicationsIndex = 0; robotApplicationsIndex < robotApplicationsJsonList.GetLength(); ++robotApplicationsIndex) { - m_robotApplications.push_back(robotApplicationsJsonList[robotApplicationsIndex].AsObject()); - } - m_robotApplicationsHasBeenSet = true; - } - if (jsonValue.ValueExists("simulationApplications")) { - Aws::Utils::Array simulationApplicationsJsonList = jsonValue.GetArray("simulationApplications"); - for (unsigned simulationApplicationsIndex = 0; simulationApplicationsIndex < simulationApplicationsJsonList.GetLength(); - ++simulationApplicationsIndex) { - m_simulationApplications.push_back(simulationApplicationsJsonList[simulationApplicationsIndex].AsObject()); - } - m_simulationApplicationsHasBeenSet = true; - } - if (jsonValue.ValueExists("dataSources")) { - Aws::Utils::Array dataSourcesJsonList = jsonValue.GetArray("dataSources"); - for (unsigned dataSourcesIndex = 0; dataSourcesIndex < dataSourcesJsonList.GetLength(); ++dataSourcesIndex) { - m_dataSources.push_back(dataSourcesJsonList[dataSourcesIndex].AsObject()); - } - m_dataSourcesHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - if (jsonValue.ValueExists("vpcConfig")) { - m_vpcConfig = jsonValue.GetObject("vpcConfig"); - m_vpcConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("networkInterface")) { - m_networkInterface = jsonValue.GetObject("networkInterface"); - m_networkInterfaceHasBeenSet = true; - } - if (jsonValue.ValueExists("compute")) { - m_compute = jsonValue.GetObject("compute"); - m_computeHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldExportJobRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldExportJobRequest.cpp deleted file mode 100644 index 8a6c4b8feb7..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldExportJobRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeWorldExportJobRequest::SerializePayload() const { - JsonValue payload; - - if (m_jobHasBeenSet) { - payload.WithString("job", m_job); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldExportJobResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldExportJobResult.cpp deleted file mode 100644 index 5165ea95f2d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldExportJobResult.cpp +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeWorldExportJobResult::DescribeWorldExportJobResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeWorldExportJobResult& DescribeWorldExportJobResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = WorldExportJobStatusMapper::GetWorldExportJobStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("failureCode")) { - m_failureCode = WorldExportJobErrorCodeMapper::GetWorldExportJobErrorCodeForName(jsonValue.GetString("failureCode")); - m_failureCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("failureReason")) { - m_failureReason = jsonValue.GetString("failureReason"); - m_failureReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("clientRequestToken")) { - m_clientRequestToken = jsonValue.GetString("clientRequestToken"); - m_clientRequestTokenHasBeenSet = true; - } - if (jsonValue.ValueExists("worlds")) { - Aws::Utils::Array worldsJsonList = jsonValue.GetArray("worlds"); - for (unsigned worldsIndex = 0; worldsIndex < worldsJsonList.GetLength(); ++worldsIndex) { - m_worlds.push_back(worldsJsonList[worldsIndex].AsString()); - } - m_worldsHasBeenSet = true; - } - if (jsonValue.ValueExists("outputLocation")) { - m_outputLocation = jsonValue.GetObject("outputLocation"); - m_outputLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("iamRole")) { - m_iamRole = jsonValue.GetString("iamRole"); - m_iamRoleHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldGenerationJobRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldGenerationJobRequest.cpp deleted file mode 100644 index 36151a7eff0..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldGenerationJobRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeWorldGenerationJobRequest::SerializePayload() const { - JsonValue payload; - - if (m_jobHasBeenSet) { - payload.WithString("job", m_job); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldGenerationJobResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldGenerationJobResult.cpp deleted file mode 100644 index 0d22df0675d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldGenerationJobResult.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeWorldGenerationJobResult::DescribeWorldGenerationJobResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeWorldGenerationJobResult& DescribeWorldGenerationJobResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = WorldGenerationJobStatusMapper::GetWorldGenerationJobStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("failureCode")) { - m_failureCode = WorldGenerationJobErrorCodeMapper::GetWorldGenerationJobErrorCodeForName(jsonValue.GetString("failureCode")); - m_failureCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("failureReason")) { - m_failureReason = jsonValue.GetString("failureReason"); - m_failureReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("clientRequestToken")) { - m_clientRequestToken = jsonValue.GetString("clientRequestToken"); - m_clientRequestTokenHasBeenSet = true; - } - if (jsonValue.ValueExists("template")) { - m_template = jsonValue.GetString("template"); - m_templateHasBeenSet = true; - } - if (jsonValue.ValueExists("worldCount")) { - m_worldCount = jsonValue.GetObject("worldCount"); - m_worldCountHasBeenSet = true; - } - if (jsonValue.ValueExists("finishedWorldsSummary")) { - m_finishedWorldsSummary = jsonValue.GetObject("finishedWorldsSummary"); - m_finishedWorldsSummaryHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - if (jsonValue.ValueExists("worldTags")) { - Aws::Map worldTagsJsonMap = jsonValue.GetObject("worldTags").GetAllObjects(); - for (auto& worldTagsItem : worldTagsJsonMap) { - m_worldTags[worldTagsItem.first] = worldTagsItem.second.AsString(); - } - m_worldTagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldRequest.cpp deleted file mode 100644 index 9610c0cca71..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeWorldRequest::SerializePayload() const { - JsonValue payload; - - if (m_worldHasBeenSet) { - payload.WithString("world", m_world); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldResult.cpp deleted file mode 100644 index 1deee9c576c..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldResult.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeWorldResult::DescribeWorldResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeWorldResult& DescribeWorldResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("generationJob")) { - m_generationJob = jsonValue.GetString("generationJob"); - m_generationJobHasBeenSet = true; - } - if (jsonValue.ValueExists("template")) { - m_template = jsonValue.GetString("template"); - m_templateHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - if (jsonValue.ValueExists("worldDescriptionBody")) { - m_worldDescriptionBody = jsonValue.GetString("worldDescriptionBody"); - m_worldDescriptionBodyHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldTemplateRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldTemplateRequest.cpp deleted file mode 100644 index be6455f1e4a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldTemplateRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String DescribeWorldTemplateRequest::SerializePayload() const { - JsonValue payload; - - if (m_templateHasBeenSet) { - payload.WithString("template", m_template); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldTemplateResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldTemplateResult.cpp deleted file mode 100644 index cae53712305..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/DescribeWorldTemplateResult.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -DescribeWorldTemplateResult::DescribeWorldTemplateResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -DescribeWorldTemplateResult& DescribeWorldTemplateResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("clientRequestToken")) { - m_clientRequestToken = jsonValue.GetString("clientRequestToken"); - m_clientRequestTokenHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetString("version"); - m_versionHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/Environment.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/Environment.cpp deleted file mode 100644 index 2d894c59adc..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/Environment.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -Environment::Environment(JsonView jsonValue) { *this = jsonValue; } - -Environment& Environment::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("uri")) { - m_uri = jsonValue.GetString("uri"); - m_uriHasBeenSet = true; - } - return *this; -} - -JsonValue Environment::Jsonize() const { - JsonValue payload; - - if (m_uriHasBeenSet) { - payload.WithString("uri", m_uri); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ExitBehavior.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ExitBehavior.cpp deleted file mode 100644 index e96893acc45..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ExitBehavior.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace ExitBehaviorMapper { - -static const int FAIL_HASH = HashingUtils::HashString("FAIL"); -static const int RESTART_HASH = HashingUtils::HashString("RESTART"); - -ExitBehavior GetExitBehaviorForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == FAIL_HASH) { - return ExitBehavior::FAIL; - } else if (hashCode == RESTART_HASH) { - return ExitBehavior::RESTART; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return ExitBehavior::NOT_SET; -} - -Aws::String GetNameForExitBehavior(ExitBehavior enumValue) { - switch (enumValue) { - case ExitBehavior::NOT_SET: - return {}; - case ExitBehavior::FAIL: - return "FAIL"; - case ExitBehavior::RESTART: - return "RESTART"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace ExitBehaviorMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/FailedCreateSimulationJobRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/FailedCreateSimulationJobRequest.cpp deleted file mode 100644 index 2fe0bc37d27..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/FailedCreateSimulationJobRequest.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -FailedCreateSimulationJobRequest::FailedCreateSimulationJobRequest(JsonView jsonValue) { *this = jsonValue; } - -FailedCreateSimulationJobRequest& FailedCreateSimulationJobRequest::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("request")) { - m_request = jsonValue.GetObject("request"); - m_requestHasBeenSet = true; - } - if (jsonValue.ValueExists("failureReason")) { - m_failureReason = jsonValue.GetString("failureReason"); - m_failureReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("failureCode")) { - m_failureCode = SimulationJobErrorCodeMapper::GetSimulationJobErrorCodeForName(jsonValue.GetString("failureCode")); - m_failureCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("failedAt")) { - m_failedAt = jsonValue.GetDouble("failedAt"); - m_failedAtHasBeenSet = true; - } - return *this; -} - -JsonValue FailedCreateSimulationJobRequest::Jsonize() const { - JsonValue payload; - - if (m_requestHasBeenSet) { - payload.WithObject("request", m_request.Jsonize()); - } - - if (m_failureReasonHasBeenSet) { - payload.WithString("failureReason", m_failureReason); - } - - if (m_failureCodeHasBeenSet) { - payload.WithString("failureCode", SimulationJobErrorCodeMapper::GetNameForSimulationJobErrorCode(m_failureCode)); - } - - if (m_failedAtHasBeenSet) { - payload.WithDouble("failedAt", m_failedAt.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/FailureBehavior.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/FailureBehavior.cpp deleted file mode 100644 index bbdd47906ee..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/FailureBehavior.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace FailureBehaviorMapper { - -static const int Fail_HASH = HashingUtils::HashString("Fail"); -static const int Continue_HASH = HashingUtils::HashString("Continue"); - -FailureBehavior GetFailureBehaviorForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Fail_HASH) { - return FailureBehavior::Fail; - } else if (hashCode == Continue_HASH) { - return FailureBehavior::Continue; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return FailureBehavior::NOT_SET; -} - -Aws::String GetNameForFailureBehavior(FailureBehavior enumValue) { - switch (enumValue) { - case FailureBehavior::NOT_SET: - return {}; - case FailureBehavior::Fail: - return "Fail"; - case FailureBehavior::Continue: - return "Continue"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace FailureBehaviorMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/FailureSummary.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/FailureSummary.cpp deleted file mode 100644 index 2ed067dc46b..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/FailureSummary.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -FailureSummary::FailureSummary(JsonView jsonValue) { *this = jsonValue; } - -FailureSummary& FailureSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("totalFailureCount")) { - m_totalFailureCount = jsonValue.GetInteger("totalFailureCount"); - m_totalFailureCountHasBeenSet = true; - } - if (jsonValue.ValueExists("failures")) { - Aws::Utils::Array failuresJsonList = jsonValue.GetArray("failures"); - for (unsigned failuresIndex = 0; failuresIndex < failuresJsonList.GetLength(); ++failuresIndex) { - m_failures.push_back(failuresJsonList[failuresIndex].AsObject()); - } - m_failuresHasBeenSet = true; - } - return *this; -} - -JsonValue FailureSummary::Jsonize() const { - JsonValue payload; - - if (m_totalFailureCountHasBeenSet) { - payload.WithInteger("totalFailureCount", m_totalFailureCount); - } - - if (m_failuresHasBeenSet) { - Aws::Utils::Array failuresJsonList(m_failures.size()); - for (unsigned failuresIndex = 0; failuresIndex < failuresJsonList.GetLength(); ++failuresIndex) { - failuresJsonList[failuresIndex].AsObject(m_failures[failuresIndex].Jsonize()); - } - payload.WithArray("failures", std::move(failuresJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/Filter.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/Filter.cpp deleted file mode 100644 index fc686e8cdc1..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/Filter.cpp +++ /dev/null @@ -1,55 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -Filter::Filter(JsonView jsonValue) { *this = jsonValue; } - -Filter& Filter::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("values")) { - Aws::Utils::Array valuesJsonList = jsonValue.GetArray("values"); - for (unsigned valuesIndex = 0; valuesIndex < valuesJsonList.GetLength(); ++valuesIndex) { - m_values.push_back(valuesJsonList[valuesIndex].AsString()); - } - m_valuesHasBeenSet = true; - } - return *this; -} - -JsonValue Filter::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_valuesHasBeenSet) { - Aws::Utils::Array valuesJsonList(m_values.size()); - for (unsigned valuesIndex = 0; valuesIndex < valuesJsonList.GetLength(); ++valuesIndex) { - valuesJsonList[valuesIndex].AsString(m_values[valuesIndex]); - } - payload.WithArray("values", std::move(valuesJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/FinishedWorldsSummary.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/FinishedWorldsSummary.cpp deleted file mode 100644 index d55cd4b98b7..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/FinishedWorldsSummary.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -FinishedWorldsSummary::FinishedWorldsSummary(JsonView jsonValue) { *this = jsonValue; } - -FinishedWorldsSummary& FinishedWorldsSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("finishedCount")) { - m_finishedCount = jsonValue.GetInteger("finishedCount"); - m_finishedCountHasBeenSet = true; - } - if (jsonValue.ValueExists("succeededWorlds")) { - Aws::Utils::Array succeededWorldsJsonList = jsonValue.GetArray("succeededWorlds"); - for (unsigned succeededWorldsIndex = 0; succeededWorldsIndex < succeededWorldsJsonList.GetLength(); ++succeededWorldsIndex) { - m_succeededWorlds.push_back(succeededWorldsJsonList[succeededWorldsIndex].AsString()); - } - m_succeededWorldsHasBeenSet = true; - } - if (jsonValue.ValueExists("failureSummary")) { - m_failureSummary = jsonValue.GetObject("failureSummary"); - m_failureSummaryHasBeenSet = true; - } - return *this; -} - -JsonValue FinishedWorldsSummary::Jsonize() const { - JsonValue payload; - - if (m_finishedCountHasBeenSet) { - payload.WithInteger("finishedCount", m_finishedCount); - } - - if (m_succeededWorldsHasBeenSet) { - Aws::Utils::Array succeededWorldsJsonList(m_succeededWorlds.size()); - for (unsigned succeededWorldsIndex = 0; succeededWorldsIndex < succeededWorldsJsonList.GetLength(); ++succeededWorldsIndex) { - succeededWorldsJsonList[succeededWorldsIndex].AsString(m_succeededWorlds[succeededWorldsIndex]); - } - payload.WithArray("succeededWorlds", std::move(succeededWorldsJsonList)); - } - - if (m_failureSummaryHasBeenSet) { - payload.WithObject("failureSummary", m_failureSummary.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/Fleet.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/Fleet.cpp deleted file mode 100644 index 11b88b5d8f7..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/Fleet.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -Fleet::Fleet(JsonView jsonValue) { *this = jsonValue; } - -Fleet& Fleet::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("lastDeploymentStatus")) { - m_lastDeploymentStatus = DeploymentStatusMapper::GetDeploymentStatusForName(jsonValue.GetString("lastDeploymentStatus")); - m_lastDeploymentStatusHasBeenSet = true; - } - if (jsonValue.ValueExists("lastDeploymentJob")) { - m_lastDeploymentJob = jsonValue.GetString("lastDeploymentJob"); - m_lastDeploymentJobHasBeenSet = true; - } - if (jsonValue.ValueExists("lastDeploymentTime")) { - m_lastDeploymentTime = jsonValue.GetDouble("lastDeploymentTime"); - m_lastDeploymentTimeHasBeenSet = true; - } - return *this; -} - -JsonValue Fleet::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_arnHasBeenSet) { - payload.WithString("arn", m_arn); - } - - if (m_createdAtHasBeenSet) { - payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); - } - - if (m_lastDeploymentStatusHasBeenSet) { - payload.WithString("lastDeploymentStatus", DeploymentStatusMapper::GetNameForDeploymentStatus(m_lastDeploymentStatus)); - } - - if (m_lastDeploymentJobHasBeenSet) { - payload.WithString("lastDeploymentJob", m_lastDeploymentJob); - } - - if (m_lastDeploymentTimeHasBeenSet) { - payload.WithDouble("lastDeploymentTime", m_lastDeploymentTime.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/GetWorldTemplateBodyRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/GetWorldTemplateBodyRequest.cpp deleted file mode 100644 index c28ee020ab9..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/GetWorldTemplateBodyRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String GetWorldTemplateBodyRequest::SerializePayload() const { - JsonValue payload; - - if (m_templateHasBeenSet) { - payload.WithString("template", m_template); - } - - if (m_generationJobHasBeenSet) { - payload.WithString("generationJob", m_generationJob); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/GetWorldTemplateBodyResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/GetWorldTemplateBodyResult.cpp deleted file mode 100644 index 2de203306f9..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/GetWorldTemplateBodyResult.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -GetWorldTemplateBodyResult::GetWorldTemplateBodyResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -GetWorldTemplateBodyResult& GetWorldTemplateBodyResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("templateBody")) { - m_templateBody = jsonValue.GetString("templateBody"); - m_templateBodyHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/LaunchConfig.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/LaunchConfig.cpp deleted file mode 100644 index 157d8480496..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/LaunchConfig.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -LaunchConfig::LaunchConfig(JsonView jsonValue) { *this = jsonValue; } - -LaunchConfig& LaunchConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("packageName")) { - m_packageName = jsonValue.GetString("packageName"); - m_packageNameHasBeenSet = true; - } - if (jsonValue.ValueExists("launchFile")) { - m_launchFile = jsonValue.GetString("launchFile"); - m_launchFileHasBeenSet = true; - } - if (jsonValue.ValueExists("environmentVariables")) { - Aws::Map environmentVariablesJsonMap = jsonValue.GetObject("environmentVariables").GetAllObjects(); - for (auto& environmentVariablesItem : environmentVariablesJsonMap) { - m_environmentVariables[environmentVariablesItem.first] = environmentVariablesItem.second.AsString(); - } - m_environmentVariablesHasBeenSet = true; - } - if (jsonValue.ValueExists("portForwardingConfig")) { - m_portForwardingConfig = jsonValue.GetObject("portForwardingConfig"); - m_portForwardingConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("streamUI")) { - m_streamUI = jsonValue.GetBool("streamUI"); - m_streamUIHasBeenSet = true; - } - if (jsonValue.ValueExists("command")) { - Aws::Utils::Array commandJsonList = jsonValue.GetArray("command"); - for (unsigned commandIndex = 0; commandIndex < commandJsonList.GetLength(); ++commandIndex) { - m_command.push_back(commandJsonList[commandIndex].AsString()); - } - m_commandHasBeenSet = true; - } - return *this; -} - -JsonValue LaunchConfig::Jsonize() const { - JsonValue payload; - - if (m_packageNameHasBeenSet) { - payload.WithString("packageName", m_packageName); - } - - if (m_launchFileHasBeenSet) { - payload.WithString("launchFile", m_launchFile); - } - - if (m_environmentVariablesHasBeenSet) { - JsonValue environmentVariablesJsonMap; - for (auto& environmentVariablesItem : m_environmentVariables) { - environmentVariablesJsonMap.WithString(environmentVariablesItem.first, environmentVariablesItem.second); - } - payload.WithObject("environmentVariables", std::move(environmentVariablesJsonMap)); - } - - if (m_portForwardingConfigHasBeenSet) { - payload.WithObject("portForwardingConfig", m_portForwardingConfig.Jsonize()); - } - - if (m_streamUIHasBeenSet) { - payload.WithBool("streamUI", m_streamUI); - } - - if (m_commandHasBeenSet) { - Aws::Utils::Array commandJsonList(m_command.size()); - for (unsigned commandIndex = 0; commandIndex < commandJsonList.GetLength(); ++commandIndex) { - commandJsonList[commandIndex].AsString(m_command[commandIndex]); - } - payload.WithArray("command", std::move(commandJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListRobotApplicationsRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListRobotApplicationsRequest.cpp deleted file mode 100644 index 2c63c0ed6b0..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListRobotApplicationsRequest.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListRobotApplicationsRequest::SerializePayload() const { - JsonValue payload; - - if (m_versionQualifierHasBeenSet) { - payload.WithString("versionQualifier", m_versionQualifier); - } - - if (m_nextTokenHasBeenSet) { - payload.WithString("nextToken", m_nextToken); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("maxResults", m_maxResults); - } - - if (m_filtersHasBeenSet) { - Aws::Utils::Array filtersJsonList(m_filters.size()); - for (unsigned filtersIndex = 0; filtersIndex < filtersJsonList.GetLength(); ++filtersIndex) { - filtersJsonList[filtersIndex].AsObject(m_filters[filtersIndex].Jsonize()); - } - payload.WithArray("filters", std::move(filtersJsonList)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListRobotApplicationsResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListRobotApplicationsResult.cpp deleted file mode 100644 index d7725126bb1..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListRobotApplicationsResult.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListRobotApplicationsResult::ListRobotApplicationsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListRobotApplicationsResult& ListRobotApplicationsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("robotApplicationSummaries")) { - Aws::Utils::Array robotApplicationSummariesJsonList = jsonValue.GetArray("robotApplicationSummaries"); - for (unsigned robotApplicationSummariesIndex = 0; robotApplicationSummariesIndex < robotApplicationSummariesJsonList.GetLength(); - ++robotApplicationSummariesIndex) { - m_robotApplicationSummaries.push_back(robotApplicationSummariesJsonList[robotApplicationSummariesIndex].AsObject()); - } - m_robotApplicationSummariesHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationApplicationsRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationApplicationsRequest.cpp deleted file mode 100644 index a90b4ca29cc..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationApplicationsRequest.cpp +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListSimulationApplicationsRequest::SerializePayload() const { - JsonValue payload; - - if (m_versionQualifierHasBeenSet) { - payload.WithString("versionQualifier", m_versionQualifier); - } - - if (m_nextTokenHasBeenSet) { - payload.WithString("nextToken", m_nextToken); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("maxResults", m_maxResults); - } - - if (m_filtersHasBeenSet) { - Aws::Utils::Array filtersJsonList(m_filters.size()); - for (unsigned filtersIndex = 0; filtersIndex < filtersJsonList.GetLength(); ++filtersIndex) { - filtersJsonList[filtersIndex].AsObject(m_filters[filtersIndex].Jsonize()); - } - payload.WithArray("filters", std::move(filtersJsonList)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationApplicationsResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationApplicationsResult.cpp deleted file mode 100644 index 4423952cdbb..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationApplicationsResult.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListSimulationApplicationsResult::ListSimulationApplicationsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListSimulationApplicationsResult& ListSimulationApplicationsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("simulationApplicationSummaries")) { - Aws::Utils::Array simulationApplicationSummariesJsonList = jsonValue.GetArray("simulationApplicationSummaries"); - for (unsigned simulationApplicationSummariesIndex = 0; - simulationApplicationSummariesIndex < simulationApplicationSummariesJsonList.GetLength(); ++simulationApplicationSummariesIndex) { - m_simulationApplicationSummaries.push_back(simulationApplicationSummariesJsonList[simulationApplicationSummariesIndex].AsObject()); - } - m_simulationApplicationSummariesHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobBatchesRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobBatchesRequest.cpp deleted file mode 100644 index fe2085cb606..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobBatchesRequest.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListSimulationJobBatchesRequest::SerializePayload() const { - JsonValue payload; - - if (m_nextTokenHasBeenSet) { - payload.WithString("nextToken", m_nextToken); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("maxResults", m_maxResults); - } - - if (m_filtersHasBeenSet) { - Aws::Utils::Array filtersJsonList(m_filters.size()); - for (unsigned filtersIndex = 0; filtersIndex < filtersJsonList.GetLength(); ++filtersIndex) { - filtersJsonList[filtersIndex].AsObject(m_filters[filtersIndex].Jsonize()); - } - payload.WithArray("filters", std::move(filtersJsonList)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobBatchesResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobBatchesResult.cpp deleted file mode 100644 index 32042bd7312..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobBatchesResult.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListSimulationJobBatchesResult::ListSimulationJobBatchesResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListSimulationJobBatchesResult& ListSimulationJobBatchesResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("simulationJobBatchSummaries")) { - Aws::Utils::Array simulationJobBatchSummariesJsonList = jsonValue.GetArray("simulationJobBatchSummaries"); - for (unsigned simulationJobBatchSummariesIndex = 0; simulationJobBatchSummariesIndex < simulationJobBatchSummariesJsonList.GetLength(); - ++simulationJobBatchSummariesIndex) { - m_simulationJobBatchSummaries.push_back(simulationJobBatchSummariesJsonList[simulationJobBatchSummariesIndex].AsObject()); - } - m_simulationJobBatchSummariesHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobsRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobsRequest.cpp deleted file mode 100644 index d6122294be2..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobsRequest.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListSimulationJobsRequest::SerializePayload() const { - JsonValue payload; - - if (m_nextTokenHasBeenSet) { - payload.WithString("nextToken", m_nextToken); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("maxResults", m_maxResults); - } - - if (m_filtersHasBeenSet) { - Aws::Utils::Array filtersJsonList(m_filters.size()); - for (unsigned filtersIndex = 0; filtersIndex < filtersJsonList.GetLength(); ++filtersIndex) { - filtersJsonList[filtersIndex].AsObject(m_filters[filtersIndex].Jsonize()); - } - payload.WithArray("filters", std::move(filtersJsonList)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobsResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobsResult.cpp deleted file mode 100644 index 45a3a31b2dc..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListSimulationJobsResult.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListSimulationJobsResult::ListSimulationJobsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListSimulationJobsResult& ListSimulationJobsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("simulationJobSummaries")) { - Aws::Utils::Array simulationJobSummariesJsonList = jsonValue.GetArray("simulationJobSummaries"); - for (unsigned simulationJobSummariesIndex = 0; simulationJobSummariesIndex < simulationJobSummariesJsonList.GetLength(); - ++simulationJobSummariesIndex) { - m_simulationJobSummaries.push_back(simulationJobSummariesJsonList[simulationJobSummariesIndex].AsObject()); - } - m_simulationJobSummariesHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListTagsForResourceRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListTagsForResourceRequest.cpp deleted file mode 100644 index 7f3b23b28ad..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListTagsForResourceRequest.cpp +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListTagsForResourceRequest::SerializePayload() const { return {}; } diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListTagsForResourceResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListTagsForResourceResult.cpp deleted file mode 100644 index c9102df84d8..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListTagsForResourceResult.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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(); - } - m_tagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldExportJobsRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldExportJobsRequest.cpp deleted file mode 100644 index 8f9a46320b0..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldExportJobsRequest.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListWorldExportJobsRequest::SerializePayload() const { - JsonValue payload; - - if (m_nextTokenHasBeenSet) { - payload.WithString("nextToken", m_nextToken); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("maxResults", m_maxResults); - } - - if (m_filtersHasBeenSet) { - Aws::Utils::Array filtersJsonList(m_filters.size()); - for (unsigned filtersIndex = 0; filtersIndex < filtersJsonList.GetLength(); ++filtersIndex) { - filtersJsonList[filtersIndex].AsObject(m_filters[filtersIndex].Jsonize()); - } - payload.WithArray("filters", std::move(filtersJsonList)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldExportJobsResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldExportJobsResult.cpp deleted file mode 100644 index 584a4f38491..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldExportJobsResult.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListWorldExportJobsResult::ListWorldExportJobsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListWorldExportJobsResult& ListWorldExportJobsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("worldExportJobSummaries")) { - Aws::Utils::Array worldExportJobSummariesJsonList = jsonValue.GetArray("worldExportJobSummaries"); - for (unsigned worldExportJobSummariesIndex = 0; worldExportJobSummariesIndex < worldExportJobSummariesJsonList.GetLength(); - ++worldExportJobSummariesIndex) { - m_worldExportJobSummaries.push_back(worldExportJobSummariesJsonList[worldExportJobSummariesIndex].AsObject()); - } - m_worldExportJobSummariesHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldGenerationJobsRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldGenerationJobsRequest.cpp deleted file mode 100644 index 700a65c88cb..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldGenerationJobsRequest.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListWorldGenerationJobsRequest::SerializePayload() const { - JsonValue payload; - - if (m_nextTokenHasBeenSet) { - payload.WithString("nextToken", m_nextToken); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("maxResults", m_maxResults); - } - - if (m_filtersHasBeenSet) { - Aws::Utils::Array filtersJsonList(m_filters.size()); - for (unsigned filtersIndex = 0; filtersIndex < filtersJsonList.GetLength(); ++filtersIndex) { - filtersJsonList[filtersIndex].AsObject(m_filters[filtersIndex].Jsonize()); - } - payload.WithArray("filters", std::move(filtersJsonList)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldGenerationJobsResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldGenerationJobsResult.cpp deleted file mode 100644 index 7327c7533bc..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldGenerationJobsResult.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListWorldGenerationJobsResult::ListWorldGenerationJobsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListWorldGenerationJobsResult& ListWorldGenerationJobsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("worldGenerationJobSummaries")) { - Aws::Utils::Array worldGenerationJobSummariesJsonList = jsonValue.GetArray("worldGenerationJobSummaries"); - for (unsigned worldGenerationJobSummariesIndex = 0; worldGenerationJobSummariesIndex < worldGenerationJobSummariesJsonList.GetLength(); - ++worldGenerationJobSummariesIndex) { - m_worldGenerationJobSummaries.push_back(worldGenerationJobSummariesJsonList[worldGenerationJobSummariesIndex].AsObject()); - } - m_worldGenerationJobSummariesHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldTemplatesRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldTemplatesRequest.cpp deleted file mode 100644 index bfc5dcf58eb..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldTemplatesRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListWorldTemplatesRequest::SerializePayload() const { - JsonValue payload; - - if (m_nextTokenHasBeenSet) { - payload.WithString("nextToken", m_nextToken); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("maxResults", m_maxResults); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldTemplatesResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldTemplatesResult.cpp deleted file mode 100644 index ad836edab1b..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldTemplatesResult.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListWorldTemplatesResult::ListWorldTemplatesResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListWorldTemplatesResult& ListWorldTemplatesResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("templateSummaries")) { - Aws::Utils::Array templateSummariesJsonList = jsonValue.GetArray("templateSummaries"); - for (unsigned templateSummariesIndex = 0; templateSummariesIndex < templateSummariesJsonList.GetLength(); ++templateSummariesIndex) { - m_templateSummaries.push_back(templateSummariesJsonList[templateSummariesIndex].AsObject()); - } - m_templateSummariesHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldsRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldsRequest.cpp deleted file mode 100644 index ea5983a9607..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldsRequest.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String ListWorldsRequest::SerializePayload() const { - JsonValue payload; - - if (m_nextTokenHasBeenSet) { - payload.WithString("nextToken", m_nextToken); - } - - if (m_maxResultsHasBeenSet) { - payload.WithInteger("maxResults", m_maxResults); - } - - if (m_filtersHasBeenSet) { - Aws::Utils::Array filtersJsonList(m_filters.size()); - for (unsigned filtersIndex = 0; filtersIndex < filtersJsonList.GetLength(); ++filtersIndex) { - filtersJsonList[filtersIndex].AsObject(m_filters[filtersIndex].Jsonize()); - } - payload.WithArray("filters", std::move(filtersJsonList)); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldsResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldsResult.cpp deleted file mode 100644 index b63512481ff..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ListWorldsResult.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -ListWorldsResult::ListWorldsResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -ListWorldsResult& ListWorldsResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("worldSummaries")) { - Aws::Utils::Array worldSummariesJsonList = jsonValue.GetArray("worldSummaries"); - for (unsigned worldSummariesIndex = 0; worldSummariesIndex < worldSummariesJsonList.GetLength(); ++worldSummariesIndex) { - m_worldSummaries.push_back(worldSummariesJsonList[worldSummariesIndex].AsObject()); - } - m_worldSummariesHasBeenSet = true; - } - if (jsonValue.ValueExists("nextToken")) { - m_nextToken = jsonValue.GetString("nextToken"); - m_nextTokenHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/LoggingConfig.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/LoggingConfig.cpp deleted file mode 100644 index 06b51e30a8f..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/LoggingConfig.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -LoggingConfig::LoggingConfig(JsonView jsonValue) { *this = jsonValue; } - -LoggingConfig& LoggingConfig::operator=(JsonView jsonValue) { - AWS_UNREFERENCED_PARAM(jsonValue); - return *this; -} - -JsonValue LoggingConfig::Jsonize() const { - JsonValue payload; - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/NetworkInterface.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/NetworkInterface.cpp deleted file mode 100644 index 65a80e21bd5..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/NetworkInterface.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -NetworkInterface::NetworkInterface(JsonView jsonValue) { *this = jsonValue; } - -NetworkInterface& NetworkInterface::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("networkInterfaceId")) { - m_networkInterfaceId = jsonValue.GetString("networkInterfaceId"); - m_networkInterfaceIdHasBeenSet = true; - } - if (jsonValue.ValueExists("privateIpAddress")) { - m_privateIpAddress = jsonValue.GetString("privateIpAddress"); - m_privateIpAddressHasBeenSet = true; - } - if (jsonValue.ValueExists("publicIpAddress")) { - m_publicIpAddress = jsonValue.GetString("publicIpAddress"); - m_publicIpAddressHasBeenSet = true; - } - return *this; -} - -JsonValue NetworkInterface::Jsonize() const { - JsonValue payload; - - if (m_networkInterfaceIdHasBeenSet) { - payload.WithString("networkInterfaceId", m_networkInterfaceId); - } - - if (m_privateIpAddressHasBeenSet) { - payload.WithString("privateIpAddress", m_privateIpAddress); - } - - if (m_publicIpAddressHasBeenSet) { - payload.WithString("publicIpAddress", m_publicIpAddress); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/OutputLocation.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/OutputLocation.cpp deleted file mode 100644 index cdbae2ba58f..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/OutputLocation.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -OutputLocation::OutputLocation(JsonView jsonValue) { *this = jsonValue; } - -OutputLocation& OutputLocation::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("s3Bucket")) { - m_s3Bucket = jsonValue.GetString("s3Bucket"); - m_s3BucketHasBeenSet = true; - } - if (jsonValue.ValueExists("s3Prefix")) { - m_s3Prefix = jsonValue.GetString("s3Prefix"); - m_s3PrefixHasBeenSet = true; - } - return *this; -} - -JsonValue OutputLocation::Jsonize() const { - JsonValue payload; - - if (m_s3BucketHasBeenSet) { - payload.WithString("s3Bucket", m_s3Bucket); - } - - if (m_s3PrefixHasBeenSet) { - payload.WithString("s3Prefix", m_s3Prefix); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/PortForwardingConfig.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/PortForwardingConfig.cpp deleted file mode 100644 index a58a500cec9..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/PortForwardingConfig.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -PortForwardingConfig::PortForwardingConfig(JsonView jsonValue) { *this = jsonValue; } - -PortForwardingConfig& PortForwardingConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("portMappings")) { - Aws::Utils::Array portMappingsJsonList = jsonValue.GetArray("portMappings"); - for (unsigned portMappingsIndex = 0; portMappingsIndex < portMappingsJsonList.GetLength(); ++portMappingsIndex) { - m_portMappings.push_back(portMappingsJsonList[portMappingsIndex].AsObject()); - } - m_portMappingsHasBeenSet = true; - } - return *this; -} - -JsonValue PortForwardingConfig::Jsonize() const { - JsonValue payload; - - if (m_portMappingsHasBeenSet) { - Aws::Utils::Array portMappingsJsonList(m_portMappings.size()); - for (unsigned portMappingsIndex = 0; portMappingsIndex < portMappingsJsonList.GetLength(); ++portMappingsIndex) { - portMappingsJsonList[portMappingsIndex].AsObject(m_portMappings[portMappingsIndex].Jsonize()); - } - payload.WithArray("portMappings", std::move(portMappingsJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/PortMapping.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/PortMapping.cpp deleted file mode 100644 index 409ea7a8b49..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/PortMapping.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -PortMapping::PortMapping(JsonView jsonValue) { *this = jsonValue; } - -PortMapping& PortMapping::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("jobPort")) { - m_jobPort = jsonValue.GetInteger("jobPort"); - m_jobPortHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationPort")) { - m_applicationPort = jsonValue.GetInteger("applicationPort"); - m_applicationPortHasBeenSet = true; - } - if (jsonValue.ValueExists("enableOnPublicIp")) { - m_enableOnPublicIp = jsonValue.GetBool("enableOnPublicIp"); - m_enableOnPublicIpHasBeenSet = true; - } - return *this; -} - -JsonValue PortMapping::Jsonize() const { - JsonValue payload; - - if (m_jobPortHasBeenSet) { - payload.WithInteger("jobPort", m_jobPort); - } - - if (m_applicationPortHasBeenSet) { - payload.WithInteger("applicationPort", m_applicationPort); - } - - if (m_enableOnPublicIpHasBeenSet) { - payload.WithBool("enableOnPublicIp", m_enableOnPublicIp); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/ProgressDetail.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/ProgressDetail.cpp deleted file mode 100644 index 08c624bd52b..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/ProgressDetail.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -ProgressDetail::ProgressDetail(JsonView jsonValue) { *this = jsonValue; } - -ProgressDetail& ProgressDetail::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("currentProgress")) { - m_currentProgress = RobotDeploymentStepMapper::GetRobotDeploymentStepForName(jsonValue.GetString("currentProgress")); - m_currentProgressHasBeenSet = true; - } - if (jsonValue.ValueExists("percentDone")) { - m_percentDone = jsonValue.GetDouble("percentDone"); - m_percentDoneHasBeenSet = true; - } - if (jsonValue.ValueExists("estimatedTimeRemainingSeconds")) { - m_estimatedTimeRemainingSeconds = jsonValue.GetInteger("estimatedTimeRemainingSeconds"); - m_estimatedTimeRemainingSecondsHasBeenSet = true; - } - if (jsonValue.ValueExists("targetResource")) { - m_targetResource = jsonValue.GetString("targetResource"); - m_targetResourceHasBeenSet = true; - } - return *this; -} - -JsonValue ProgressDetail::Jsonize() const { - JsonValue payload; - - if (m_currentProgressHasBeenSet) { - payload.WithString("currentProgress", RobotDeploymentStepMapper::GetNameForRobotDeploymentStep(m_currentProgress)); - } - - if (m_percentDoneHasBeenSet) { - payload.WithDouble("percentDone", m_percentDone); - } - - if (m_estimatedTimeRemainingSecondsHasBeenSet) { - payload.WithInteger("estimatedTimeRemainingSeconds", m_estimatedTimeRemainingSeconds); - } - - if (m_targetResourceHasBeenSet) { - payload.WithString("targetResource", m_targetResource); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/RenderingEngine.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/RenderingEngine.cpp deleted file mode 100644 index 3662a47ee65..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/RenderingEngine.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -RenderingEngine::RenderingEngine(JsonView jsonValue) { *this = jsonValue; } - -RenderingEngine& RenderingEngine::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("name")) { - m_name = RenderingEngineTypeMapper::GetRenderingEngineTypeForName(jsonValue.GetString("name")); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetString("version"); - m_versionHasBeenSet = true; - } - return *this; -} - -JsonValue RenderingEngine::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", RenderingEngineTypeMapper::GetNameForRenderingEngineType(m_name)); - } - - if (m_versionHasBeenSet) { - payload.WithString("version", m_version); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/RenderingEngineType.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/RenderingEngineType.cpp deleted file mode 100644 index 6625e48f727..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/RenderingEngineType.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace RenderingEngineTypeMapper { - -static const int OGRE_HASH = HashingUtils::HashString("OGRE"); - -RenderingEngineType GetRenderingEngineTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == OGRE_HASH) { - return RenderingEngineType::OGRE; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return RenderingEngineType::NOT_SET; -} - -Aws::String GetNameForRenderingEngineType(RenderingEngineType enumValue) { - switch (enumValue) { - case RenderingEngineType::NOT_SET: - return {}; - case RenderingEngineType::OGRE: - return "OGRE"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace RenderingEngineTypeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/RestartSimulationJobRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/RestartSimulationJobRequest.cpp deleted file mode 100644 index 06107abd98c..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/RestartSimulationJobRequest.cpp +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String RestartSimulationJobRequest::SerializePayload() const { - JsonValue payload; - - if (m_jobHasBeenSet) { - payload.WithString("job", m_job); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/RestartSimulationJobResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/RestartSimulationJobResult.cpp deleted file mode 100644 index b0e4e3f1e75..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/RestartSimulationJobResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -RestartSimulationJobResult::RestartSimulationJobResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -RestartSimulationJobResult& RestartSimulationJobResult::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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/Robot.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/Robot.cpp deleted file mode 100644 index ee0f56bee0e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/Robot.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -Robot::Robot(JsonView jsonValue) { *this = jsonValue; } - -Robot& Robot::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("fleetArn")) { - m_fleetArn = jsonValue.GetString("fleetArn"); - m_fleetArnHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = RobotStatusMapper::GetRobotStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("greenGrassGroupId")) { - m_greenGrassGroupId = jsonValue.GetString("greenGrassGroupId"); - m_greenGrassGroupIdHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("architecture")) { - m_architecture = ArchitectureMapper::GetArchitectureForName(jsonValue.GetString("architecture")); - m_architectureHasBeenSet = true; - } - if (jsonValue.ValueExists("lastDeploymentJob")) { - m_lastDeploymentJob = jsonValue.GetString("lastDeploymentJob"); - m_lastDeploymentJobHasBeenSet = true; - } - if (jsonValue.ValueExists("lastDeploymentTime")) { - m_lastDeploymentTime = jsonValue.GetDouble("lastDeploymentTime"); - m_lastDeploymentTimeHasBeenSet = true; - } - return *this; -} - -JsonValue Robot::Jsonize() const { - JsonValue payload; - - if (m_arnHasBeenSet) { - payload.WithString("arn", m_arn); - } - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_fleetArnHasBeenSet) { - payload.WithString("fleetArn", m_fleetArn); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", RobotStatusMapper::GetNameForRobotStatus(m_status)); - } - - if (m_greenGrassGroupIdHasBeenSet) { - payload.WithString("greenGrassGroupId", m_greenGrassGroupId); - } - - if (m_createdAtHasBeenSet) { - payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); - } - - if (m_architectureHasBeenSet) { - payload.WithString("architecture", ArchitectureMapper::GetNameForArchitecture(m_architecture)); - } - - if (m_lastDeploymentJobHasBeenSet) { - payload.WithString("lastDeploymentJob", m_lastDeploymentJob); - } - - if (m_lastDeploymentTimeHasBeenSet) { - payload.WithDouble("lastDeploymentTime", m_lastDeploymentTime.SecondsWithMSPrecision()); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotApplicationConfig.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/RobotApplicationConfig.cpp deleted file mode 100644 index 40c1b955211..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotApplicationConfig.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -RobotApplicationConfig::RobotApplicationConfig(JsonView jsonValue) { *this = jsonValue; } - -RobotApplicationConfig& RobotApplicationConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("application")) { - m_application = jsonValue.GetString("application"); - m_applicationHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationVersion")) { - m_applicationVersion = jsonValue.GetString("applicationVersion"); - m_applicationVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("launchConfig")) { - m_launchConfig = jsonValue.GetObject("launchConfig"); - m_launchConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("uploadConfigurations")) { - Aws::Utils::Array uploadConfigurationsJsonList = jsonValue.GetArray("uploadConfigurations"); - for (unsigned uploadConfigurationsIndex = 0; uploadConfigurationsIndex < uploadConfigurationsJsonList.GetLength(); - ++uploadConfigurationsIndex) { - m_uploadConfigurations.push_back(uploadConfigurationsJsonList[uploadConfigurationsIndex].AsObject()); - } - m_uploadConfigurationsHasBeenSet = true; - } - if (jsonValue.ValueExists("tools")) { - Aws::Utils::Array toolsJsonList = jsonValue.GetArray("tools"); - for (unsigned toolsIndex = 0; toolsIndex < toolsJsonList.GetLength(); ++toolsIndex) { - m_tools.push_back(toolsJsonList[toolsIndex].AsObject()); - } - m_toolsHasBeenSet = true; - } - return *this; -} - -JsonValue RobotApplicationConfig::Jsonize() const { - JsonValue payload; - - if (m_applicationHasBeenSet) { - payload.WithString("application", m_application); - } - - if (m_applicationVersionHasBeenSet) { - payload.WithString("applicationVersion", m_applicationVersion); - } - - if (m_launchConfigHasBeenSet) { - payload.WithObject("launchConfig", m_launchConfig.Jsonize()); - } - - if (m_uploadConfigurationsHasBeenSet) { - Aws::Utils::Array uploadConfigurationsJsonList(m_uploadConfigurations.size()); - for (unsigned uploadConfigurationsIndex = 0; uploadConfigurationsIndex < uploadConfigurationsJsonList.GetLength(); - ++uploadConfigurationsIndex) { - uploadConfigurationsJsonList[uploadConfigurationsIndex].AsObject(m_uploadConfigurations[uploadConfigurationsIndex].Jsonize()); - } - payload.WithArray("uploadConfigurations", std::move(uploadConfigurationsJsonList)); - } - - if (m_toolsHasBeenSet) { - Aws::Utils::Array toolsJsonList(m_tools.size()); - for (unsigned toolsIndex = 0; toolsIndex < toolsJsonList.GetLength(); ++toolsIndex) { - toolsJsonList[toolsIndex].AsObject(m_tools[toolsIndex].Jsonize()); - } - payload.WithArray("tools", std::move(toolsJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotApplicationSummary.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/RobotApplicationSummary.cpp deleted file mode 100644 index 873a8c486fd..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotApplicationSummary.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -RobotApplicationSummary::RobotApplicationSummary(JsonView jsonValue) { *this = jsonValue; } - -RobotApplicationSummary& RobotApplicationSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetString("version"); - m_versionHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("robotSoftwareSuite")) { - m_robotSoftwareSuite = jsonValue.GetObject("robotSoftwareSuite"); - m_robotSoftwareSuiteHasBeenSet = true; - } - return *this; -} - -JsonValue RobotApplicationSummary::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_arnHasBeenSet) { - payload.WithString("arn", m_arn); - } - - if (m_versionHasBeenSet) { - payload.WithString("version", m_version); - } - - if (m_lastUpdatedAtHasBeenSet) { - payload.WithDouble("lastUpdatedAt", m_lastUpdatedAt.SecondsWithMSPrecision()); - } - - if (m_robotSoftwareSuiteHasBeenSet) { - payload.WithObject("robotSoftwareSuite", m_robotSoftwareSuite.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotDeployment.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/RobotDeployment.cpp deleted file mode 100644 index 6cdebe2f433..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotDeployment.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -RobotDeployment::RobotDeployment(JsonView jsonValue) { *this = jsonValue; } - -RobotDeployment& RobotDeployment::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("deploymentStartTime")) { - m_deploymentStartTime = jsonValue.GetDouble("deploymentStartTime"); - m_deploymentStartTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("deploymentFinishTime")) { - m_deploymentFinishTime = jsonValue.GetDouble("deploymentFinishTime"); - m_deploymentFinishTimeHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = RobotStatusMapper::GetRobotStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("progressDetail")) { - m_progressDetail = jsonValue.GetObject("progressDetail"); - m_progressDetailHasBeenSet = true; - } - if (jsonValue.ValueExists("failureReason")) { - m_failureReason = jsonValue.GetString("failureReason"); - m_failureReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("failureCode")) { - m_failureCode = DeploymentJobErrorCodeMapper::GetDeploymentJobErrorCodeForName(jsonValue.GetString("failureCode")); - m_failureCodeHasBeenSet = true; - } - return *this; -} - -JsonValue RobotDeployment::Jsonize() const { - JsonValue payload; - - if (m_arnHasBeenSet) { - payload.WithString("arn", m_arn); - } - - if (m_deploymentStartTimeHasBeenSet) { - payload.WithDouble("deploymentStartTime", m_deploymentStartTime.SecondsWithMSPrecision()); - } - - if (m_deploymentFinishTimeHasBeenSet) { - payload.WithDouble("deploymentFinishTime", m_deploymentFinishTime.SecondsWithMSPrecision()); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", RobotStatusMapper::GetNameForRobotStatus(m_status)); - } - - if (m_progressDetailHasBeenSet) { - payload.WithObject("progressDetail", m_progressDetail.Jsonize()); - } - - if (m_failureReasonHasBeenSet) { - payload.WithString("failureReason", m_failureReason); - } - - if (m_failureCodeHasBeenSet) { - payload.WithString("failureCode", DeploymentJobErrorCodeMapper::GetNameForDeploymentJobErrorCode(m_failureCode)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotDeploymentStep.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/RobotDeploymentStep.cpp deleted file mode 100644 index 15c471e1b37..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotDeploymentStep.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace RobotDeploymentStepMapper { - -static const int Validating_HASH = HashingUtils::HashString("Validating"); -static const int DownloadingExtracting_HASH = HashingUtils::HashString("DownloadingExtracting"); -static const int ExecutingDownloadCondition_HASH = HashingUtils::HashString("ExecutingDownloadCondition"); -static const int ExecutingPreLaunch_HASH = HashingUtils::HashString("ExecutingPreLaunch"); -static const int Launching_HASH = HashingUtils::HashString("Launching"); -static const int ExecutingPostLaunch_HASH = HashingUtils::HashString("ExecutingPostLaunch"); -static const int Finished_HASH = HashingUtils::HashString("Finished"); - -RobotDeploymentStep GetRobotDeploymentStepForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Validating_HASH) { - return RobotDeploymentStep::Validating; - } else if (hashCode == DownloadingExtracting_HASH) { - return RobotDeploymentStep::DownloadingExtracting; - } else if (hashCode == ExecutingDownloadCondition_HASH) { - return RobotDeploymentStep::ExecutingDownloadCondition; - } else if (hashCode == ExecutingPreLaunch_HASH) { - return RobotDeploymentStep::ExecutingPreLaunch; - } else if (hashCode == Launching_HASH) { - return RobotDeploymentStep::Launching; - } else if (hashCode == ExecutingPostLaunch_HASH) { - return RobotDeploymentStep::ExecutingPostLaunch; - } else if (hashCode == Finished_HASH) { - return RobotDeploymentStep::Finished; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return RobotDeploymentStep::NOT_SET; -} - -Aws::String GetNameForRobotDeploymentStep(RobotDeploymentStep enumValue) { - switch (enumValue) { - case RobotDeploymentStep::NOT_SET: - return {}; - case RobotDeploymentStep::Validating: - return "Validating"; - case RobotDeploymentStep::DownloadingExtracting: - return "DownloadingExtracting"; - case RobotDeploymentStep::ExecutingDownloadCondition: - return "ExecutingDownloadCondition"; - case RobotDeploymentStep::ExecutingPreLaunch: - return "ExecutingPreLaunch"; - case RobotDeploymentStep::Launching: - return "Launching"; - case RobotDeploymentStep::ExecutingPostLaunch: - return "ExecutingPostLaunch"; - case RobotDeploymentStep::Finished: - return "Finished"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace RobotDeploymentStepMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotSoftwareSuite.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/RobotSoftwareSuite.cpp deleted file mode 100644 index 49ccbd317b9..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotSoftwareSuite.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -RobotSoftwareSuite::RobotSoftwareSuite(JsonView jsonValue) { *this = jsonValue; } - -RobotSoftwareSuite& RobotSoftwareSuite::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("name")) { - m_name = RobotSoftwareSuiteTypeMapper::GetRobotSoftwareSuiteTypeForName(jsonValue.GetString("name")); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = RobotSoftwareSuiteVersionTypeMapper::GetRobotSoftwareSuiteVersionTypeForName(jsonValue.GetString("version")); - m_versionHasBeenSet = true; - } - return *this; -} - -JsonValue RobotSoftwareSuite::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", RobotSoftwareSuiteTypeMapper::GetNameForRobotSoftwareSuiteType(m_name)); - } - - if (m_versionHasBeenSet) { - payload.WithString("version", RobotSoftwareSuiteVersionTypeMapper::GetNameForRobotSoftwareSuiteVersionType(m_version)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotSoftwareSuiteType.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/RobotSoftwareSuiteType.cpp deleted file mode 100644 index 7a32126570d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotSoftwareSuiteType.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace RobotSoftwareSuiteTypeMapper { - -static const int ROS_HASH = HashingUtils::HashString("ROS"); -static const int ROS2_HASH = HashingUtils::HashString("ROS2"); -static const int General_HASH = HashingUtils::HashString("General"); - -RobotSoftwareSuiteType GetRobotSoftwareSuiteTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == ROS_HASH) { - return RobotSoftwareSuiteType::ROS; - } else if (hashCode == ROS2_HASH) { - return RobotSoftwareSuiteType::ROS2; - } else if (hashCode == General_HASH) { - return RobotSoftwareSuiteType::General; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return RobotSoftwareSuiteType::NOT_SET; -} - -Aws::String GetNameForRobotSoftwareSuiteType(RobotSoftwareSuiteType enumValue) { - switch (enumValue) { - case RobotSoftwareSuiteType::NOT_SET: - return {}; - case RobotSoftwareSuiteType::ROS: - return "ROS"; - case RobotSoftwareSuiteType::ROS2: - return "ROS2"; - case RobotSoftwareSuiteType::General: - return "General"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace RobotSoftwareSuiteTypeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotSoftwareSuiteVersionType.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/RobotSoftwareSuiteVersionType.cpp deleted file mode 100644 index c59f4de52d2..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotSoftwareSuiteVersionType.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace RobotSoftwareSuiteVersionTypeMapper { - -static const int Kinetic_HASH = HashingUtils::HashString("Kinetic"); -static const int Melodic_HASH = HashingUtils::HashString("Melodic"); -static const int Dashing_HASH = HashingUtils::HashString("Dashing"); -static const int Foxy_HASH = HashingUtils::HashString("Foxy"); - -RobotSoftwareSuiteVersionType GetRobotSoftwareSuiteVersionTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Kinetic_HASH) { - return RobotSoftwareSuiteVersionType::Kinetic; - } else if (hashCode == Melodic_HASH) { - return RobotSoftwareSuiteVersionType::Melodic; - } else if (hashCode == Dashing_HASH) { - return RobotSoftwareSuiteVersionType::Dashing; - } else if (hashCode == Foxy_HASH) { - return RobotSoftwareSuiteVersionType::Foxy; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return RobotSoftwareSuiteVersionType::NOT_SET; -} - -Aws::String GetNameForRobotSoftwareSuiteVersionType(RobotSoftwareSuiteVersionType enumValue) { - switch (enumValue) { - case RobotSoftwareSuiteVersionType::NOT_SET: - return {}; - case RobotSoftwareSuiteVersionType::Kinetic: - return "Kinetic"; - case RobotSoftwareSuiteVersionType::Melodic: - return "Melodic"; - case RobotSoftwareSuiteVersionType::Dashing: - return "Dashing"; - case RobotSoftwareSuiteVersionType::Foxy: - return "Foxy"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace RobotSoftwareSuiteVersionTypeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotStatus.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/RobotStatus.cpp deleted file mode 100644 index 4ae699cd8fc..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/RobotStatus.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace RobotStatusMapper { - -static const int Available_HASH = HashingUtils::HashString("Available"); -static const int Registered_HASH = HashingUtils::HashString("Registered"); -static const int PendingNewDeployment_HASH = HashingUtils::HashString("PendingNewDeployment"); -static const int Deploying_HASH = HashingUtils::HashString("Deploying"); -static const int Failed_HASH = HashingUtils::HashString("Failed"); -static const int InSync_HASH = HashingUtils::HashString("InSync"); -static const int NoResponse_HASH = HashingUtils::HashString("NoResponse"); - -RobotStatus GetRobotStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Available_HASH) { - return RobotStatus::Available; - } else if (hashCode == Registered_HASH) { - return RobotStatus::Registered; - } else if (hashCode == PendingNewDeployment_HASH) { - return RobotStatus::PendingNewDeployment; - } else if (hashCode == Deploying_HASH) { - return RobotStatus::Deploying; - } else if (hashCode == Failed_HASH) { - return RobotStatus::Failed; - } else if (hashCode == InSync_HASH) { - return RobotStatus::InSync; - } else if (hashCode == NoResponse_HASH) { - return RobotStatus::NoResponse; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return RobotStatus::NOT_SET; -} - -Aws::String GetNameForRobotStatus(RobotStatus enumValue) { - switch (enumValue) { - case RobotStatus::NOT_SET: - return {}; - case RobotStatus::Available: - return "Available"; - case RobotStatus::Registered: - return "Registered"; - case RobotStatus::PendingNewDeployment: - return "PendingNewDeployment"; - case RobotStatus::Deploying: - return "Deploying"; - case RobotStatus::Failed: - return "Failed"; - case RobotStatus::InSync: - return "InSync"; - case RobotStatus::NoResponse: - return "NoResponse"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace RobotStatusMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/S3KeyOutput.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/S3KeyOutput.cpp deleted file mode 100644 index a08621fd33b..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/S3KeyOutput.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -S3KeyOutput::S3KeyOutput(JsonView jsonValue) { *this = jsonValue; } - -S3KeyOutput& S3KeyOutput::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("s3Key")) { - m_s3Key = jsonValue.GetString("s3Key"); - m_s3KeyHasBeenSet = true; - } - if (jsonValue.ValueExists("etag")) { - m_etag = jsonValue.GetString("etag"); - m_etagHasBeenSet = true; - } - return *this; -} - -JsonValue S3KeyOutput::Jsonize() const { - JsonValue payload; - - if (m_s3KeyHasBeenSet) { - payload.WithString("s3Key", m_s3Key); - } - - if (m_etagHasBeenSet) { - payload.WithString("etag", m_etag); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/S3Object.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/S3Object.cpp deleted file mode 100644 index 08eefe4bec2..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/S3Object.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -S3Object::S3Object(JsonView jsonValue) { *this = jsonValue; } - -S3Object& S3Object::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("bucket")) { - m_bucket = jsonValue.GetString("bucket"); - m_bucketHasBeenSet = true; - } - if (jsonValue.ValueExists("key")) { - m_key = jsonValue.GetString("key"); - m_keyHasBeenSet = true; - } - if (jsonValue.ValueExists("etag")) { - m_etag = jsonValue.GetString("etag"); - m_etagHasBeenSet = true; - } - return *this; -} - -JsonValue S3Object::Jsonize() const { - JsonValue payload; - - if (m_bucketHasBeenSet) { - payload.WithString("bucket", m_bucket); - } - - if (m_keyHasBeenSet) { - payload.WithString("key", m_key); - } - - if (m_etagHasBeenSet) { - payload.WithString("etag", m_etag); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationApplicationConfig.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationApplicationConfig.cpp deleted file mode 100644 index 0e0e5eeaa56..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationApplicationConfig.cpp +++ /dev/null @@ -1,103 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -SimulationApplicationConfig::SimulationApplicationConfig(JsonView jsonValue) { *this = jsonValue; } - -SimulationApplicationConfig& SimulationApplicationConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("application")) { - m_application = jsonValue.GetString("application"); - m_applicationHasBeenSet = true; - } - if (jsonValue.ValueExists("applicationVersion")) { - m_applicationVersion = jsonValue.GetString("applicationVersion"); - m_applicationVersionHasBeenSet = true; - } - if (jsonValue.ValueExists("launchConfig")) { - m_launchConfig = jsonValue.GetObject("launchConfig"); - m_launchConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("uploadConfigurations")) { - Aws::Utils::Array uploadConfigurationsJsonList = jsonValue.GetArray("uploadConfigurations"); - for (unsigned uploadConfigurationsIndex = 0; uploadConfigurationsIndex < uploadConfigurationsJsonList.GetLength(); - ++uploadConfigurationsIndex) { - m_uploadConfigurations.push_back(uploadConfigurationsJsonList[uploadConfigurationsIndex].AsObject()); - } - m_uploadConfigurationsHasBeenSet = true; - } - if (jsonValue.ValueExists("worldConfigs")) { - Aws::Utils::Array worldConfigsJsonList = jsonValue.GetArray("worldConfigs"); - for (unsigned worldConfigsIndex = 0; worldConfigsIndex < worldConfigsJsonList.GetLength(); ++worldConfigsIndex) { - m_worldConfigs.push_back(worldConfigsJsonList[worldConfigsIndex].AsObject()); - } - m_worldConfigsHasBeenSet = true; - } - if (jsonValue.ValueExists("tools")) { - Aws::Utils::Array toolsJsonList = jsonValue.GetArray("tools"); - for (unsigned toolsIndex = 0; toolsIndex < toolsJsonList.GetLength(); ++toolsIndex) { - m_tools.push_back(toolsJsonList[toolsIndex].AsObject()); - } - m_toolsHasBeenSet = true; - } - return *this; -} - -JsonValue SimulationApplicationConfig::Jsonize() const { - JsonValue payload; - - if (m_applicationHasBeenSet) { - payload.WithString("application", m_application); - } - - if (m_applicationVersionHasBeenSet) { - payload.WithString("applicationVersion", m_applicationVersion); - } - - if (m_launchConfigHasBeenSet) { - payload.WithObject("launchConfig", m_launchConfig.Jsonize()); - } - - if (m_uploadConfigurationsHasBeenSet) { - Aws::Utils::Array uploadConfigurationsJsonList(m_uploadConfigurations.size()); - for (unsigned uploadConfigurationsIndex = 0; uploadConfigurationsIndex < uploadConfigurationsJsonList.GetLength(); - ++uploadConfigurationsIndex) { - uploadConfigurationsJsonList[uploadConfigurationsIndex].AsObject(m_uploadConfigurations[uploadConfigurationsIndex].Jsonize()); - } - payload.WithArray("uploadConfigurations", std::move(uploadConfigurationsJsonList)); - } - - if (m_worldConfigsHasBeenSet) { - Aws::Utils::Array worldConfigsJsonList(m_worldConfigs.size()); - for (unsigned worldConfigsIndex = 0; worldConfigsIndex < worldConfigsJsonList.GetLength(); ++worldConfigsIndex) { - worldConfigsJsonList[worldConfigsIndex].AsObject(m_worldConfigs[worldConfigsIndex].Jsonize()); - } - payload.WithArray("worldConfigs", std::move(worldConfigsJsonList)); - } - - if (m_toolsHasBeenSet) { - Aws::Utils::Array toolsJsonList(m_tools.size()); - for (unsigned toolsIndex = 0; toolsIndex < toolsJsonList.GetLength(); ++toolsIndex) { - toolsJsonList[toolsIndex].AsObject(m_tools[toolsIndex].Jsonize()); - } - payload.WithArray("tools", std::move(toolsJsonList)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationApplicationSummary.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationApplicationSummary.cpp deleted file mode 100644 index fc86b4fc7b3..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationApplicationSummary.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -SimulationApplicationSummary::SimulationApplicationSummary(JsonView jsonValue) { *this = jsonValue; } - -SimulationApplicationSummary& SimulationApplicationSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetString("version"); - m_versionHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("robotSoftwareSuite")) { - m_robotSoftwareSuite = jsonValue.GetObject("robotSoftwareSuite"); - m_robotSoftwareSuiteHasBeenSet = true; - } - if (jsonValue.ValueExists("simulationSoftwareSuite")) { - m_simulationSoftwareSuite = jsonValue.GetObject("simulationSoftwareSuite"); - m_simulationSoftwareSuiteHasBeenSet = true; - } - return *this; -} - -JsonValue SimulationApplicationSummary::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_arnHasBeenSet) { - payload.WithString("arn", m_arn); - } - - if (m_versionHasBeenSet) { - payload.WithString("version", m_version); - } - - if (m_lastUpdatedAtHasBeenSet) { - payload.WithDouble("lastUpdatedAt", m_lastUpdatedAt.SecondsWithMSPrecision()); - } - - if (m_robotSoftwareSuiteHasBeenSet) { - payload.WithObject("robotSoftwareSuite", m_robotSoftwareSuite.Jsonize()); - } - - if (m_simulationSoftwareSuiteHasBeenSet) { - payload.WithObject("simulationSoftwareSuite", m_simulationSoftwareSuite.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJob.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJob.cpp deleted file mode 100644 index c7343b6f3b6..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJob.cpp +++ /dev/null @@ -1,230 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -SimulationJob::SimulationJob(JsonView jsonValue) { *this = jsonValue; } - -SimulationJob& SimulationJob::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = SimulationJobStatusMapper::GetSimulationJobStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("lastStartedAt")) { - m_lastStartedAt = jsonValue.GetDouble("lastStartedAt"); - m_lastStartedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("failureBehavior")) { - m_failureBehavior = FailureBehaviorMapper::GetFailureBehaviorForName(jsonValue.GetString("failureBehavior")); - m_failureBehaviorHasBeenSet = true; - } - if (jsonValue.ValueExists("failureCode")) { - m_failureCode = SimulationJobErrorCodeMapper::GetSimulationJobErrorCodeForName(jsonValue.GetString("failureCode")); - m_failureCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("failureReason")) { - m_failureReason = jsonValue.GetString("failureReason"); - m_failureReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("clientRequestToken")) { - m_clientRequestToken = jsonValue.GetString("clientRequestToken"); - m_clientRequestTokenHasBeenSet = true; - } - if (jsonValue.ValueExists("outputLocation")) { - m_outputLocation = jsonValue.GetObject("outputLocation"); - m_outputLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("loggingConfig")) { - m_loggingConfig = jsonValue.GetObject("loggingConfig"); - m_loggingConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("maxJobDurationInSeconds")) { - m_maxJobDurationInSeconds = jsonValue.GetInt64("maxJobDurationInSeconds"); - m_maxJobDurationInSecondsHasBeenSet = true; - } - if (jsonValue.ValueExists("simulationTimeMillis")) { - m_simulationTimeMillis = jsonValue.GetInt64("simulationTimeMillis"); - m_simulationTimeMillisHasBeenSet = true; - } - if (jsonValue.ValueExists("iamRole")) { - m_iamRole = jsonValue.GetString("iamRole"); - m_iamRoleHasBeenSet = true; - } - if (jsonValue.ValueExists("robotApplications")) { - Aws::Utils::Array robotApplicationsJsonList = jsonValue.GetArray("robotApplications"); - for (unsigned robotApplicationsIndex = 0; robotApplicationsIndex < robotApplicationsJsonList.GetLength(); ++robotApplicationsIndex) { - m_robotApplications.push_back(robotApplicationsJsonList[robotApplicationsIndex].AsObject()); - } - m_robotApplicationsHasBeenSet = true; - } - if (jsonValue.ValueExists("simulationApplications")) { - Aws::Utils::Array simulationApplicationsJsonList = jsonValue.GetArray("simulationApplications"); - for (unsigned simulationApplicationsIndex = 0; simulationApplicationsIndex < simulationApplicationsJsonList.GetLength(); - ++simulationApplicationsIndex) { - m_simulationApplications.push_back(simulationApplicationsJsonList[simulationApplicationsIndex].AsObject()); - } - m_simulationApplicationsHasBeenSet = true; - } - if (jsonValue.ValueExists("dataSources")) { - Aws::Utils::Array dataSourcesJsonList = jsonValue.GetArray("dataSources"); - for (unsigned dataSourcesIndex = 0; dataSourcesIndex < dataSourcesJsonList.GetLength(); ++dataSourcesIndex) { - m_dataSources.push_back(dataSourcesJsonList[dataSourcesIndex].AsObject()); - } - m_dataSourcesHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - if (jsonValue.ValueExists("vpcConfig")) { - m_vpcConfig = jsonValue.GetObject("vpcConfig"); - m_vpcConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("networkInterface")) { - m_networkInterface = jsonValue.GetObject("networkInterface"); - m_networkInterfaceHasBeenSet = true; - } - if (jsonValue.ValueExists("compute")) { - m_compute = jsonValue.GetObject("compute"); - m_computeHasBeenSet = true; - } - return *this; -} - -JsonValue SimulationJob::Jsonize() const { - JsonValue payload; - - if (m_arnHasBeenSet) { - payload.WithString("arn", m_arn); - } - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", SimulationJobStatusMapper::GetNameForSimulationJobStatus(m_status)); - } - - if (m_lastStartedAtHasBeenSet) { - payload.WithDouble("lastStartedAt", m_lastStartedAt.SecondsWithMSPrecision()); - } - - if (m_lastUpdatedAtHasBeenSet) { - payload.WithDouble("lastUpdatedAt", m_lastUpdatedAt.SecondsWithMSPrecision()); - } - - if (m_failureBehaviorHasBeenSet) { - payload.WithString("failureBehavior", FailureBehaviorMapper::GetNameForFailureBehavior(m_failureBehavior)); - } - - if (m_failureCodeHasBeenSet) { - payload.WithString("failureCode", SimulationJobErrorCodeMapper::GetNameForSimulationJobErrorCode(m_failureCode)); - } - - if (m_failureReasonHasBeenSet) { - payload.WithString("failureReason", m_failureReason); - } - - if (m_clientRequestTokenHasBeenSet) { - payload.WithString("clientRequestToken", m_clientRequestToken); - } - - if (m_outputLocationHasBeenSet) { - payload.WithObject("outputLocation", m_outputLocation.Jsonize()); - } - - if (m_loggingConfigHasBeenSet) { - payload.WithObject("loggingConfig", m_loggingConfig.Jsonize()); - } - - if (m_maxJobDurationInSecondsHasBeenSet) { - payload.WithInt64("maxJobDurationInSeconds", m_maxJobDurationInSeconds); - } - - if (m_simulationTimeMillisHasBeenSet) { - payload.WithInt64("simulationTimeMillis", m_simulationTimeMillis); - } - - if (m_iamRoleHasBeenSet) { - payload.WithString("iamRole", m_iamRole); - } - - if (m_robotApplicationsHasBeenSet) { - Aws::Utils::Array robotApplicationsJsonList(m_robotApplications.size()); - for (unsigned robotApplicationsIndex = 0; robotApplicationsIndex < robotApplicationsJsonList.GetLength(); ++robotApplicationsIndex) { - robotApplicationsJsonList[robotApplicationsIndex].AsObject(m_robotApplications[robotApplicationsIndex].Jsonize()); - } - payload.WithArray("robotApplications", std::move(robotApplicationsJsonList)); - } - - if (m_simulationApplicationsHasBeenSet) { - Aws::Utils::Array simulationApplicationsJsonList(m_simulationApplications.size()); - for (unsigned simulationApplicationsIndex = 0; simulationApplicationsIndex < simulationApplicationsJsonList.GetLength(); - ++simulationApplicationsIndex) { - simulationApplicationsJsonList[simulationApplicationsIndex].AsObject(m_simulationApplications[simulationApplicationsIndex].Jsonize()); - } - payload.WithArray("simulationApplications", std::move(simulationApplicationsJsonList)); - } - - if (m_dataSourcesHasBeenSet) { - Aws::Utils::Array dataSourcesJsonList(m_dataSources.size()); - for (unsigned dataSourcesIndex = 0; dataSourcesIndex < dataSourcesJsonList.GetLength(); ++dataSourcesIndex) { - dataSourcesJsonList[dataSourcesIndex].AsObject(m_dataSources[dataSourcesIndex].Jsonize()); - } - payload.WithArray("dataSources", std::move(dataSourcesJsonList)); - } - - if (m_tagsHasBeenSet) { - JsonValue tagsJsonMap; - for (auto& tagsItem : m_tags) { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("tags", std::move(tagsJsonMap)); - } - - if (m_vpcConfigHasBeenSet) { - payload.WithObject("vpcConfig", m_vpcConfig.Jsonize()); - } - - if (m_networkInterfaceHasBeenSet) { - payload.WithObject("networkInterface", m_networkInterface.Jsonize()); - } - - if (m_computeHasBeenSet) { - payload.WithObject("compute", m_compute.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobBatchErrorCode.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobBatchErrorCode.cpp deleted file mode 100644 index 6270b5439f4..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobBatchErrorCode.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace SimulationJobBatchErrorCodeMapper { - -static const int InternalServiceError_HASH = HashingUtils::HashString("InternalServiceError"); - -SimulationJobBatchErrorCode GetSimulationJobBatchErrorCodeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == InternalServiceError_HASH) { - return SimulationJobBatchErrorCode::InternalServiceError; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return SimulationJobBatchErrorCode::NOT_SET; -} - -Aws::String GetNameForSimulationJobBatchErrorCode(SimulationJobBatchErrorCode enumValue) { - switch (enumValue) { - case SimulationJobBatchErrorCode::NOT_SET: - return {}; - case SimulationJobBatchErrorCode::InternalServiceError: - return "InternalServiceError"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace SimulationJobBatchErrorCodeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobBatchStatus.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobBatchStatus.cpp deleted file mode 100644 index 6f05627e3fe..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobBatchStatus.cpp +++ /dev/null @@ -1,93 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace SimulationJobBatchStatusMapper { - -static const int Pending_HASH = HashingUtils::HashString("Pending"); -static const int InProgress_HASH = HashingUtils::HashString("InProgress"); -static const int Failed_HASH = HashingUtils::HashString("Failed"); -static const int Completed_HASH = HashingUtils::HashString("Completed"); -static const int Canceled_HASH = HashingUtils::HashString("Canceled"); -static const int Canceling_HASH = HashingUtils::HashString("Canceling"); -static const int Completing_HASH = HashingUtils::HashString("Completing"); -static const int TimingOut_HASH = HashingUtils::HashString("TimingOut"); -static const int TimedOut_HASH = HashingUtils::HashString("TimedOut"); - -SimulationJobBatchStatus GetSimulationJobBatchStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Pending_HASH) { - return SimulationJobBatchStatus::Pending; - } else if (hashCode == InProgress_HASH) { - return SimulationJobBatchStatus::InProgress; - } else if (hashCode == Failed_HASH) { - return SimulationJobBatchStatus::Failed; - } else if (hashCode == Completed_HASH) { - return SimulationJobBatchStatus::Completed; - } else if (hashCode == Canceled_HASH) { - return SimulationJobBatchStatus::Canceled; - } else if (hashCode == Canceling_HASH) { - return SimulationJobBatchStatus::Canceling; - } else if (hashCode == Completing_HASH) { - return SimulationJobBatchStatus::Completing; - } else if (hashCode == TimingOut_HASH) { - return SimulationJobBatchStatus::TimingOut; - } else if (hashCode == TimedOut_HASH) { - return SimulationJobBatchStatus::TimedOut; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return SimulationJobBatchStatus::NOT_SET; -} - -Aws::String GetNameForSimulationJobBatchStatus(SimulationJobBatchStatus enumValue) { - switch (enumValue) { - case SimulationJobBatchStatus::NOT_SET: - return {}; - case SimulationJobBatchStatus::Pending: - return "Pending"; - case SimulationJobBatchStatus::InProgress: - return "InProgress"; - case SimulationJobBatchStatus::Failed: - return "Failed"; - case SimulationJobBatchStatus::Completed: - return "Completed"; - case SimulationJobBatchStatus::Canceled: - return "Canceled"; - case SimulationJobBatchStatus::Canceling: - return "Canceling"; - case SimulationJobBatchStatus::Completing: - return "Completing"; - case SimulationJobBatchStatus::TimingOut: - return "TimingOut"; - case SimulationJobBatchStatus::TimedOut: - return "TimedOut"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace SimulationJobBatchStatusMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobBatchSummary.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobBatchSummary.cpp deleted file mode 100644 index 113912c78df..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobBatchSummary.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -SimulationJobBatchSummary::SimulationJobBatchSummary(JsonView jsonValue) { *this = jsonValue; } - -SimulationJobBatchSummary& SimulationJobBatchSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = SimulationJobBatchStatusMapper::GetSimulationJobBatchStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("failedRequestCount")) { - m_failedRequestCount = jsonValue.GetInteger("failedRequestCount"); - m_failedRequestCountHasBeenSet = true; - } - if (jsonValue.ValueExists("pendingRequestCount")) { - m_pendingRequestCount = jsonValue.GetInteger("pendingRequestCount"); - m_pendingRequestCountHasBeenSet = true; - } - if (jsonValue.ValueExists("createdRequestCount")) { - m_createdRequestCount = jsonValue.GetInteger("createdRequestCount"); - m_createdRequestCountHasBeenSet = true; - } - return *this; -} - -JsonValue SimulationJobBatchSummary::Jsonize() const { - JsonValue payload; - - if (m_arnHasBeenSet) { - payload.WithString("arn", m_arn); - } - - if (m_lastUpdatedAtHasBeenSet) { - payload.WithDouble("lastUpdatedAt", m_lastUpdatedAt.SecondsWithMSPrecision()); - } - - if (m_createdAtHasBeenSet) { - payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", SimulationJobBatchStatusMapper::GetNameForSimulationJobBatchStatus(m_status)); - } - - if (m_failedRequestCountHasBeenSet) { - payload.WithInteger("failedRequestCount", m_failedRequestCount); - } - - if (m_pendingRequestCountHasBeenSet) { - payload.WithInteger("pendingRequestCount", m_pendingRequestCount); - } - - if (m_createdRequestCountHasBeenSet) { - payload.WithInteger("createdRequestCount", m_createdRequestCount); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobErrorCode.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobErrorCode.cpp deleted file mode 100644 index 10d47d3751e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobErrorCode.cpp +++ /dev/null @@ -1,203 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace SimulationJobErrorCodeMapper { - -static const int InternalServiceError_HASH = HashingUtils::HashString("InternalServiceError"); -static const int RobotApplicationCrash_HASH = HashingUtils::HashString("RobotApplicationCrash"); -static const int SimulationApplicationCrash_HASH = HashingUtils::HashString("SimulationApplicationCrash"); -static const int RobotApplicationHealthCheckFailure_HASH = HashingUtils::HashString("RobotApplicationHealthCheckFailure"); -static const int SimulationApplicationHealthCheckFailure_HASH = HashingUtils::HashString("SimulationApplicationHealthCheckFailure"); -static const int BadPermissionsRobotApplication_HASH = HashingUtils::HashString("BadPermissionsRobotApplication"); -static const int BadPermissionsSimulationApplication_HASH = HashingUtils::HashString("BadPermissionsSimulationApplication"); -static const int BadPermissionsS3Object_HASH = HashingUtils::HashString("BadPermissionsS3Object"); -static const int BadPermissionsS3Output_HASH = HashingUtils::HashString("BadPermissionsS3Output"); -static const int BadPermissionsCloudwatchLogs_HASH = HashingUtils::HashString("BadPermissionsCloudwatchLogs"); -static const int SubnetIpLimitExceeded_HASH = HashingUtils::HashString("SubnetIpLimitExceeded"); -static const int ENILimitExceeded_HASH = HashingUtils::HashString("ENILimitExceeded"); -static const int BadPermissionsUserCredentials_HASH = HashingUtils::HashString("BadPermissionsUserCredentials"); -static const int InvalidBundleRobotApplication_HASH = HashingUtils::HashString("InvalidBundleRobotApplication"); -static const int InvalidBundleSimulationApplication_HASH = HashingUtils::HashString("InvalidBundleSimulationApplication"); -static const int InvalidS3Resource_HASH = HashingUtils::HashString("InvalidS3Resource"); -static const int ThrottlingError_HASH = HashingUtils::HashString("ThrottlingError"); -static const int LimitExceeded_HASH = HashingUtils::HashString("LimitExceeded"); -static const int MismatchedEtag_HASH = HashingUtils::HashString("MismatchedEtag"); -static const int RobotApplicationVersionMismatchedEtag_HASH = HashingUtils::HashString("RobotApplicationVersionMismatchedEtag"); -static const int SimulationApplicationVersionMismatchedEtag_HASH = HashingUtils::HashString("SimulationApplicationVersionMismatchedEtag"); -static const int ResourceNotFound_HASH = HashingUtils::HashString("ResourceNotFound"); -static const int RequestThrottled_HASH = HashingUtils::HashString("RequestThrottled"); -static const int BatchTimedOut_HASH = HashingUtils::HashString("BatchTimedOut"); -static const int BatchCanceled_HASH = HashingUtils::HashString("BatchCanceled"); -static const int InvalidInput_HASH = HashingUtils::HashString("InvalidInput"); -static const int WrongRegionS3Bucket_HASH = HashingUtils::HashString("WrongRegionS3Bucket"); -static const int WrongRegionS3Output_HASH = HashingUtils::HashString("WrongRegionS3Output"); -static const int WrongRegionRobotApplication_HASH = HashingUtils::HashString("WrongRegionRobotApplication"); -static const int WrongRegionSimulationApplication_HASH = HashingUtils::HashString("WrongRegionSimulationApplication"); -static const int UploadContentMismatchError_HASH = HashingUtils::HashString("UploadContentMismatchError"); - -SimulationJobErrorCode GetSimulationJobErrorCodeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == InternalServiceError_HASH) { - return SimulationJobErrorCode::InternalServiceError; - } else if (hashCode == RobotApplicationCrash_HASH) { - return SimulationJobErrorCode::RobotApplicationCrash; - } else if (hashCode == SimulationApplicationCrash_HASH) { - return SimulationJobErrorCode::SimulationApplicationCrash; - } else if (hashCode == RobotApplicationHealthCheckFailure_HASH) { - return SimulationJobErrorCode::RobotApplicationHealthCheckFailure; - } else if (hashCode == SimulationApplicationHealthCheckFailure_HASH) { - return SimulationJobErrorCode::SimulationApplicationHealthCheckFailure; - } else if (hashCode == BadPermissionsRobotApplication_HASH) { - return SimulationJobErrorCode::BadPermissionsRobotApplication; - } else if (hashCode == BadPermissionsSimulationApplication_HASH) { - return SimulationJobErrorCode::BadPermissionsSimulationApplication; - } else if (hashCode == BadPermissionsS3Object_HASH) { - return SimulationJobErrorCode::BadPermissionsS3Object; - } else if (hashCode == BadPermissionsS3Output_HASH) { - return SimulationJobErrorCode::BadPermissionsS3Output; - } else if (hashCode == BadPermissionsCloudwatchLogs_HASH) { - return SimulationJobErrorCode::BadPermissionsCloudwatchLogs; - } else if (hashCode == SubnetIpLimitExceeded_HASH) { - return SimulationJobErrorCode::SubnetIpLimitExceeded; - } else if (hashCode == ENILimitExceeded_HASH) { - return SimulationJobErrorCode::ENILimitExceeded; - } else if (hashCode == BadPermissionsUserCredentials_HASH) { - return SimulationJobErrorCode::BadPermissionsUserCredentials; - } else if (hashCode == InvalidBundleRobotApplication_HASH) { - return SimulationJobErrorCode::InvalidBundleRobotApplication; - } else if (hashCode == InvalidBundleSimulationApplication_HASH) { - return SimulationJobErrorCode::InvalidBundleSimulationApplication; - } else if (hashCode == InvalidS3Resource_HASH) { - return SimulationJobErrorCode::InvalidS3Resource; - } else if (hashCode == ThrottlingError_HASH) { - return SimulationJobErrorCode::ThrottlingError; - } else if (hashCode == LimitExceeded_HASH) { - return SimulationJobErrorCode::LimitExceeded; - } else if (hashCode == MismatchedEtag_HASH) { - return SimulationJobErrorCode::MismatchedEtag; - } else if (hashCode == RobotApplicationVersionMismatchedEtag_HASH) { - return SimulationJobErrorCode::RobotApplicationVersionMismatchedEtag; - } else if (hashCode == SimulationApplicationVersionMismatchedEtag_HASH) { - return SimulationJobErrorCode::SimulationApplicationVersionMismatchedEtag; - } else if (hashCode == ResourceNotFound_HASH) { - return SimulationJobErrorCode::ResourceNotFound; - } else if (hashCode == RequestThrottled_HASH) { - return SimulationJobErrorCode::RequestThrottled; - } else if (hashCode == BatchTimedOut_HASH) { - return SimulationJobErrorCode::BatchTimedOut; - } else if (hashCode == BatchCanceled_HASH) { - return SimulationJobErrorCode::BatchCanceled; - } else if (hashCode == InvalidInput_HASH) { - return SimulationJobErrorCode::InvalidInput; - } else if (hashCode == WrongRegionS3Bucket_HASH) { - return SimulationJobErrorCode::WrongRegionS3Bucket; - } else if (hashCode == WrongRegionS3Output_HASH) { - return SimulationJobErrorCode::WrongRegionS3Output; - } else if (hashCode == WrongRegionRobotApplication_HASH) { - return SimulationJobErrorCode::WrongRegionRobotApplication; - } else if (hashCode == WrongRegionSimulationApplication_HASH) { - return SimulationJobErrorCode::WrongRegionSimulationApplication; - } else if (hashCode == UploadContentMismatchError_HASH) { - return SimulationJobErrorCode::UploadContentMismatchError; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return SimulationJobErrorCode::NOT_SET; -} - -Aws::String GetNameForSimulationJobErrorCode(SimulationJobErrorCode enumValue) { - switch (enumValue) { - case SimulationJobErrorCode::NOT_SET: - return {}; - case SimulationJobErrorCode::InternalServiceError: - return "InternalServiceError"; - case SimulationJobErrorCode::RobotApplicationCrash: - return "RobotApplicationCrash"; - case SimulationJobErrorCode::SimulationApplicationCrash: - return "SimulationApplicationCrash"; - case SimulationJobErrorCode::RobotApplicationHealthCheckFailure: - return "RobotApplicationHealthCheckFailure"; - case SimulationJobErrorCode::SimulationApplicationHealthCheckFailure: - return "SimulationApplicationHealthCheckFailure"; - case SimulationJobErrorCode::BadPermissionsRobotApplication: - return "BadPermissionsRobotApplication"; - case SimulationJobErrorCode::BadPermissionsSimulationApplication: - return "BadPermissionsSimulationApplication"; - case SimulationJobErrorCode::BadPermissionsS3Object: - return "BadPermissionsS3Object"; - case SimulationJobErrorCode::BadPermissionsS3Output: - return "BadPermissionsS3Output"; - case SimulationJobErrorCode::BadPermissionsCloudwatchLogs: - return "BadPermissionsCloudwatchLogs"; - case SimulationJobErrorCode::SubnetIpLimitExceeded: - return "SubnetIpLimitExceeded"; - case SimulationJobErrorCode::ENILimitExceeded: - return "ENILimitExceeded"; - case SimulationJobErrorCode::BadPermissionsUserCredentials: - return "BadPermissionsUserCredentials"; - case SimulationJobErrorCode::InvalidBundleRobotApplication: - return "InvalidBundleRobotApplication"; - case SimulationJobErrorCode::InvalidBundleSimulationApplication: - return "InvalidBundleSimulationApplication"; - case SimulationJobErrorCode::InvalidS3Resource: - return "InvalidS3Resource"; - case SimulationJobErrorCode::ThrottlingError: - return "ThrottlingError"; - case SimulationJobErrorCode::LimitExceeded: - return "LimitExceeded"; - case SimulationJobErrorCode::MismatchedEtag: - return "MismatchedEtag"; - case SimulationJobErrorCode::RobotApplicationVersionMismatchedEtag: - return "RobotApplicationVersionMismatchedEtag"; - case SimulationJobErrorCode::SimulationApplicationVersionMismatchedEtag: - return "SimulationApplicationVersionMismatchedEtag"; - case SimulationJobErrorCode::ResourceNotFound: - return "ResourceNotFound"; - case SimulationJobErrorCode::RequestThrottled: - return "RequestThrottled"; - case SimulationJobErrorCode::BatchTimedOut: - return "BatchTimedOut"; - case SimulationJobErrorCode::BatchCanceled: - return "BatchCanceled"; - case SimulationJobErrorCode::InvalidInput: - return "InvalidInput"; - case SimulationJobErrorCode::WrongRegionS3Bucket: - return "WrongRegionS3Bucket"; - case SimulationJobErrorCode::WrongRegionS3Output: - return "WrongRegionS3Output"; - case SimulationJobErrorCode::WrongRegionRobotApplication: - return "WrongRegionRobotApplication"; - case SimulationJobErrorCode::WrongRegionSimulationApplication: - return "WrongRegionSimulationApplication"; - case SimulationJobErrorCode::UploadContentMismatchError: - return "UploadContentMismatchError"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace SimulationJobErrorCodeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobRequest.cpp deleted file mode 100644 index 1d8ec02e563..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobRequest.cpp +++ /dev/null @@ -1,158 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -SimulationJobRequest::SimulationJobRequest(JsonView jsonValue) { *this = jsonValue; } - -SimulationJobRequest& SimulationJobRequest::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("outputLocation")) { - m_outputLocation = jsonValue.GetObject("outputLocation"); - m_outputLocationHasBeenSet = true; - } - if (jsonValue.ValueExists("loggingConfig")) { - m_loggingConfig = jsonValue.GetObject("loggingConfig"); - m_loggingConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("maxJobDurationInSeconds")) { - m_maxJobDurationInSeconds = jsonValue.GetInt64("maxJobDurationInSeconds"); - m_maxJobDurationInSecondsHasBeenSet = true; - } - if (jsonValue.ValueExists("iamRole")) { - m_iamRole = jsonValue.GetString("iamRole"); - m_iamRoleHasBeenSet = true; - } - if (jsonValue.ValueExists("failureBehavior")) { - m_failureBehavior = FailureBehaviorMapper::GetFailureBehaviorForName(jsonValue.GetString("failureBehavior")); - m_failureBehaviorHasBeenSet = true; - } - if (jsonValue.ValueExists("useDefaultApplications")) { - m_useDefaultApplications = jsonValue.GetBool("useDefaultApplications"); - m_useDefaultApplicationsHasBeenSet = true; - } - if (jsonValue.ValueExists("robotApplications")) { - Aws::Utils::Array robotApplicationsJsonList = jsonValue.GetArray("robotApplications"); - for (unsigned robotApplicationsIndex = 0; robotApplicationsIndex < robotApplicationsJsonList.GetLength(); ++robotApplicationsIndex) { - m_robotApplications.push_back(robotApplicationsJsonList[robotApplicationsIndex].AsObject()); - } - m_robotApplicationsHasBeenSet = true; - } - if (jsonValue.ValueExists("simulationApplications")) { - Aws::Utils::Array simulationApplicationsJsonList = jsonValue.GetArray("simulationApplications"); - for (unsigned simulationApplicationsIndex = 0; simulationApplicationsIndex < simulationApplicationsJsonList.GetLength(); - ++simulationApplicationsIndex) { - m_simulationApplications.push_back(simulationApplicationsJsonList[simulationApplicationsIndex].AsObject()); - } - m_simulationApplicationsHasBeenSet = true; - } - if (jsonValue.ValueExists("dataSources")) { - Aws::Utils::Array dataSourcesJsonList = jsonValue.GetArray("dataSources"); - for (unsigned dataSourcesIndex = 0; dataSourcesIndex < dataSourcesJsonList.GetLength(); ++dataSourcesIndex) { - m_dataSources.push_back(dataSourcesJsonList[dataSourcesIndex].AsObject()); - } - m_dataSourcesHasBeenSet = true; - } - if (jsonValue.ValueExists("vpcConfig")) { - m_vpcConfig = jsonValue.GetObject("vpcConfig"); - m_vpcConfigHasBeenSet = true; - } - if (jsonValue.ValueExists("compute")) { - m_compute = jsonValue.GetObject("compute"); - m_computeHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - return *this; -} - -JsonValue SimulationJobRequest::Jsonize() const { - JsonValue payload; - - if (m_outputLocationHasBeenSet) { - payload.WithObject("outputLocation", m_outputLocation.Jsonize()); - } - - if (m_loggingConfigHasBeenSet) { - payload.WithObject("loggingConfig", m_loggingConfig.Jsonize()); - } - - if (m_maxJobDurationInSecondsHasBeenSet) { - payload.WithInt64("maxJobDurationInSeconds", m_maxJobDurationInSeconds); - } - - if (m_iamRoleHasBeenSet) { - payload.WithString("iamRole", m_iamRole); - } - - if (m_failureBehaviorHasBeenSet) { - payload.WithString("failureBehavior", FailureBehaviorMapper::GetNameForFailureBehavior(m_failureBehavior)); - } - - if (m_useDefaultApplicationsHasBeenSet) { - payload.WithBool("useDefaultApplications", m_useDefaultApplications); - } - - if (m_robotApplicationsHasBeenSet) { - Aws::Utils::Array robotApplicationsJsonList(m_robotApplications.size()); - for (unsigned robotApplicationsIndex = 0; robotApplicationsIndex < robotApplicationsJsonList.GetLength(); ++robotApplicationsIndex) { - robotApplicationsJsonList[robotApplicationsIndex].AsObject(m_robotApplications[robotApplicationsIndex].Jsonize()); - } - payload.WithArray("robotApplications", std::move(robotApplicationsJsonList)); - } - - if (m_simulationApplicationsHasBeenSet) { - Aws::Utils::Array simulationApplicationsJsonList(m_simulationApplications.size()); - for (unsigned simulationApplicationsIndex = 0; simulationApplicationsIndex < simulationApplicationsJsonList.GetLength(); - ++simulationApplicationsIndex) { - simulationApplicationsJsonList[simulationApplicationsIndex].AsObject(m_simulationApplications[simulationApplicationsIndex].Jsonize()); - } - payload.WithArray("simulationApplications", std::move(simulationApplicationsJsonList)); - } - - if (m_dataSourcesHasBeenSet) { - Aws::Utils::Array dataSourcesJsonList(m_dataSources.size()); - for (unsigned dataSourcesIndex = 0; dataSourcesIndex < dataSourcesJsonList.GetLength(); ++dataSourcesIndex) { - dataSourcesJsonList[dataSourcesIndex].AsObject(m_dataSources[dataSourcesIndex].Jsonize()); - } - payload.WithArray("dataSources", std::move(dataSourcesJsonList)); - } - - if (m_vpcConfigHasBeenSet) { - payload.WithObject("vpcConfig", m_vpcConfig.Jsonize()); - } - - if (m_computeHasBeenSet) { - payload.WithObject("compute", m_compute.Jsonize()); - } - - if (m_tagsHasBeenSet) { - JsonValue tagsJsonMap; - for (auto& tagsItem : m_tags) { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("tags", std::move(tagsJsonMap)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobStatus.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobStatus.cpp deleted file mode 100644 index 7cd7e80077e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobStatus.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace SimulationJobStatusMapper { - -static const int Pending_HASH = HashingUtils::HashString("Pending"); -static const int Preparing_HASH = HashingUtils::HashString("Preparing"); -static const int Running_HASH = HashingUtils::HashString("Running"); -static const int Restarting_HASH = HashingUtils::HashString("Restarting"); -static const int Completed_HASH = HashingUtils::HashString("Completed"); -static const int Failed_HASH = HashingUtils::HashString("Failed"); -static const int RunningFailed_HASH = HashingUtils::HashString("RunningFailed"); -static const int Terminating_HASH = HashingUtils::HashString("Terminating"); -static const int Terminated_HASH = HashingUtils::HashString("Terminated"); -static const int Canceled_HASH = HashingUtils::HashString("Canceled"); - -SimulationJobStatus GetSimulationJobStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Pending_HASH) { - return SimulationJobStatus::Pending; - } else if (hashCode == Preparing_HASH) { - return SimulationJobStatus::Preparing; - } else if (hashCode == Running_HASH) { - return SimulationJobStatus::Running; - } else if (hashCode == Restarting_HASH) { - return SimulationJobStatus::Restarting; - } else if (hashCode == Completed_HASH) { - return SimulationJobStatus::Completed; - } else if (hashCode == Failed_HASH) { - return SimulationJobStatus::Failed; - } else if (hashCode == RunningFailed_HASH) { - return SimulationJobStatus::RunningFailed; - } else if (hashCode == Terminating_HASH) { - return SimulationJobStatus::Terminating; - } else if (hashCode == Terminated_HASH) { - return SimulationJobStatus::Terminated; - } else if (hashCode == Canceled_HASH) { - return SimulationJobStatus::Canceled; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return SimulationJobStatus::NOT_SET; -} - -Aws::String GetNameForSimulationJobStatus(SimulationJobStatus enumValue) { - switch (enumValue) { - case SimulationJobStatus::NOT_SET: - return {}; - case SimulationJobStatus::Pending: - return "Pending"; - case SimulationJobStatus::Preparing: - return "Preparing"; - case SimulationJobStatus::Running: - return "Running"; - case SimulationJobStatus::Restarting: - return "Restarting"; - case SimulationJobStatus::Completed: - return "Completed"; - case SimulationJobStatus::Failed: - return "Failed"; - case SimulationJobStatus::RunningFailed: - return "RunningFailed"; - case SimulationJobStatus::Terminating: - return "Terminating"; - case SimulationJobStatus::Terminated: - return "Terminated"; - case SimulationJobStatus::Canceled: - return "Canceled"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace SimulationJobStatusMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobSummary.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobSummary.cpp deleted file mode 100644 index 4d5c3f79fec..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationJobSummary.cpp +++ /dev/null @@ -1,122 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -SimulationJobSummary::SimulationJobSummary(JsonView jsonValue) { *this = jsonValue; } - -SimulationJobSummary& SimulationJobSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = SimulationJobStatusMapper::GetSimulationJobStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("simulationApplicationNames")) { - Aws::Utils::Array simulationApplicationNamesJsonList = jsonValue.GetArray("simulationApplicationNames"); - for (unsigned simulationApplicationNamesIndex = 0; simulationApplicationNamesIndex < simulationApplicationNamesJsonList.GetLength(); - ++simulationApplicationNamesIndex) { - m_simulationApplicationNames.push_back(simulationApplicationNamesJsonList[simulationApplicationNamesIndex].AsString()); - } - m_simulationApplicationNamesHasBeenSet = true; - } - if (jsonValue.ValueExists("robotApplicationNames")) { - Aws::Utils::Array robotApplicationNamesJsonList = jsonValue.GetArray("robotApplicationNames"); - for (unsigned robotApplicationNamesIndex = 0; robotApplicationNamesIndex < robotApplicationNamesJsonList.GetLength(); - ++robotApplicationNamesIndex) { - m_robotApplicationNames.push_back(robotApplicationNamesJsonList[robotApplicationNamesIndex].AsString()); - } - m_robotApplicationNamesHasBeenSet = true; - } - if (jsonValue.ValueExists("dataSourceNames")) { - Aws::Utils::Array dataSourceNamesJsonList = jsonValue.GetArray("dataSourceNames"); - for (unsigned dataSourceNamesIndex = 0; dataSourceNamesIndex < dataSourceNamesJsonList.GetLength(); ++dataSourceNamesIndex) { - m_dataSourceNames.push_back(dataSourceNamesJsonList[dataSourceNamesIndex].AsString()); - } - m_dataSourceNamesHasBeenSet = true; - } - if (jsonValue.ValueExists("computeType")) { - m_computeType = ComputeTypeMapper::GetComputeTypeForName(jsonValue.GetString("computeType")); - m_computeTypeHasBeenSet = true; - } - return *this; -} - -JsonValue SimulationJobSummary::Jsonize() const { - JsonValue payload; - - if (m_arnHasBeenSet) { - payload.WithString("arn", m_arn); - } - - if (m_lastUpdatedAtHasBeenSet) { - payload.WithDouble("lastUpdatedAt", m_lastUpdatedAt.SecondsWithMSPrecision()); - } - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", SimulationJobStatusMapper::GetNameForSimulationJobStatus(m_status)); - } - - if (m_simulationApplicationNamesHasBeenSet) { - Aws::Utils::Array simulationApplicationNamesJsonList(m_simulationApplicationNames.size()); - for (unsigned simulationApplicationNamesIndex = 0; simulationApplicationNamesIndex < simulationApplicationNamesJsonList.GetLength(); - ++simulationApplicationNamesIndex) { - simulationApplicationNamesJsonList[simulationApplicationNamesIndex].AsString( - m_simulationApplicationNames[simulationApplicationNamesIndex]); - } - payload.WithArray("simulationApplicationNames", std::move(simulationApplicationNamesJsonList)); - } - - if (m_robotApplicationNamesHasBeenSet) { - Aws::Utils::Array robotApplicationNamesJsonList(m_robotApplicationNames.size()); - for (unsigned robotApplicationNamesIndex = 0; robotApplicationNamesIndex < robotApplicationNamesJsonList.GetLength(); - ++robotApplicationNamesIndex) { - robotApplicationNamesJsonList[robotApplicationNamesIndex].AsString(m_robotApplicationNames[robotApplicationNamesIndex]); - } - payload.WithArray("robotApplicationNames", std::move(robotApplicationNamesJsonList)); - } - - if (m_dataSourceNamesHasBeenSet) { - Aws::Utils::Array dataSourceNamesJsonList(m_dataSourceNames.size()); - for (unsigned dataSourceNamesIndex = 0; dataSourceNamesIndex < dataSourceNamesJsonList.GetLength(); ++dataSourceNamesIndex) { - dataSourceNamesJsonList[dataSourceNamesIndex].AsString(m_dataSourceNames[dataSourceNamesIndex]); - } - payload.WithArray("dataSourceNames", std::move(dataSourceNamesJsonList)); - } - - if (m_computeTypeHasBeenSet) { - payload.WithString("computeType", ComputeTypeMapper::GetNameForComputeType(m_computeType)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationSoftwareSuite.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationSoftwareSuite.cpp deleted file mode 100644 index b8fff5fd9a7..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationSoftwareSuite.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -SimulationSoftwareSuite::SimulationSoftwareSuite(JsonView jsonValue) { *this = jsonValue; } - -SimulationSoftwareSuite& SimulationSoftwareSuite::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("name")) { - m_name = SimulationSoftwareSuiteTypeMapper::GetSimulationSoftwareSuiteTypeForName(jsonValue.GetString("name")); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetString("version"); - m_versionHasBeenSet = true; - } - return *this; -} - -JsonValue SimulationSoftwareSuite::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", SimulationSoftwareSuiteTypeMapper::GetNameForSimulationSoftwareSuiteType(m_name)); - } - - if (m_versionHasBeenSet) { - payload.WithString("version", m_version); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationSoftwareSuiteType.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationSoftwareSuiteType.cpp deleted file mode 100644 index e03f19adebb..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/SimulationSoftwareSuiteType.cpp +++ /dev/null @@ -1,63 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace SimulationSoftwareSuiteTypeMapper { - -static const int Gazebo_HASH = HashingUtils::HashString("Gazebo"); -static const int RosbagPlay_HASH = HashingUtils::HashString("RosbagPlay"); -static const int SimulationRuntime_HASH = HashingUtils::HashString("SimulationRuntime"); - -SimulationSoftwareSuiteType GetSimulationSoftwareSuiteTypeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Gazebo_HASH) { - return SimulationSoftwareSuiteType::Gazebo; - } else if (hashCode == RosbagPlay_HASH) { - return SimulationSoftwareSuiteType::RosbagPlay; - } else if (hashCode == SimulationRuntime_HASH) { - return SimulationSoftwareSuiteType::SimulationRuntime; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return SimulationSoftwareSuiteType::NOT_SET; -} - -Aws::String GetNameForSimulationSoftwareSuiteType(SimulationSoftwareSuiteType enumValue) { - switch (enumValue) { - case SimulationSoftwareSuiteType::NOT_SET: - return {}; - case SimulationSoftwareSuiteType::Gazebo: - return "Gazebo"; - case SimulationSoftwareSuiteType::RosbagPlay: - return "RosbagPlay"; - case SimulationSoftwareSuiteType::SimulationRuntime: - return "SimulationRuntime"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace SimulationSoftwareSuiteTypeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/Source.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/Source.cpp deleted file mode 100644 index a7e98e4396b..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/Source.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -Source::Source(JsonView jsonValue) { *this = jsonValue; } - -Source& Source::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("s3Bucket")) { - m_s3Bucket = jsonValue.GetString("s3Bucket"); - m_s3BucketHasBeenSet = true; - } - if (jsonValue.ValueExists("s3Key")) { - m_s3Key = jsonValue.GetString("s3Key"); - m_s3KeyHasBeenSet = true; - } - if (jsonValue.ValueExists("etag")) { - m_etag = jsonValue.GetString("etag"); - m_etagHasBeenSet = true; - } - if (jsonValue.ValueExists("architecture")) { - m_architecture = ArchitectureMapper::GetArchitectureForName(jsonValue.GetString("architecture")); - m_architectureHasBeenSet = true; - } - return *this; -} - -JsonValue Source::Jsonize() const { - JsonValue payload; - - if (m_s3BucketHasBeenSet) { - payload.WithString("s3Bucket", m_s3Bucket); - } - - if (m_s3KeyHasBeenSet) { - payload.WithString("s3Key", m_s3Key); - } - - if (m_etagHasBeenSet) { - payload.WithString("etag", m_etag); - } - - if (m_architectureHasBeenSet) { - payload.WithString("architecture", ArchitectureMapper::GetNameForArchitecture(m_architecture)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/SourceConfig.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/SourceConfig.cpp deleted file mode 100644 index 15e5c855abd..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/SourceConfig.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -SourceConfig::SourceConfig(JsonView jsonValue) { *this = jsonValue; } - -SourceConfig& SourceConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("s3Bucket")) { - m_s3Bucket = jsonValue.GetString("s3Bucket"); - m_s3BucketHasBeenSet = true; - } - if (jsonValue.ValueExists("s3Key")) { - m_s3Key = jsonValue.GetString("s3Key"); - m_s3KeyHasBeenSet = true; - } - if (jsonValue.ValueExists("architecture")) { - m_architecture = ArchitectureMapper::GetArchitectureForName(jsonValue.GetString("architecture")); - m_architectureHasBeenSet = true; - } - return *this; -} - -JsonValue SourceConfig::Jsonize() const { - JsonValue payload; - - if (m_s3BucketHasBeenSet) { - payload.WithString("s3Bucket", m_s3Bucket); - } - - if (m_s3KeyHasBeenSet) { - payload.WithString("s3Key", m_s3Key); - } - - if (m_architectureHasBeenSet) { - payload.WithString("architecture", ArchitectureMapper::GetNameForArchitecture(m_architecture)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/StartSimulationJobBatchRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/StartSimulationJobBatchRequest.cpp deleted file mode 100644 index 980a0b69876..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/StartSimulationJobBatchRequest.cpp +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String StartSimulationJobBatchRequest::SerializePayload() const { - JsonValue payload; - - if (m_clientRequestTokenHasBeenSet) { - payload.WithString("clientRequestToken", m_clientRequestToken); - } - - if (m_batchPolicyHasBeenSet) { - payload.WithObject("batchPolicy", m_batchPolicy.Jsonize()); - } - - if (m_createSimulationJobRequestsHasBeenSet) { - Aws::Utils::Array createSimulationJobRequestsJsonList(m_createSimulationJobRequests.size()); - for (unsigned createSimulationJobRequestsIndex = 0; createSimulationJobRequestsIndex < createSimulationJobRequestsJsonList.GetLength(); - ++createSimulationJobRequestsIndex) { - createSimulationJobRequestsJsonList[createSimulationJobRequestsIndex].AsObject( - m_createSimulationJobRequests[createSimulationJobRequestsIndex].Jsonize()); - } - payload.WithArray("createSimulationJobRequests", std::move(createSimulationJobRequestsJsonList)); - } - - 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-robomaker/source/model/StartSimulationJobBatchResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/StartSimulationJobBatchResult.cpp deleted file mode 100644 index c8bc7115d4b..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/StartSimulationJobBatchResult.cpp +++ /dev/null @@ -1,89 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -StartSimulationJobBatchResult::StartSimulationJobBatchResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -StartSimulationJobBatchResult& StartSimulationJobBatchResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = SimulationJobBatchStatusMapper::GetSimulationJobBatchStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("clientRequestToken")) { - m_clientRequestToken = jsonValue.GetString("clientRequestToken"); - m_clientRequestTokenHasBeenSet = true; - } - if (jsonValue.ValueExists("batchPolicy")) { - m_batchPolicy = jsonValue.GetObject("batchPolicy"); - m_batchPolicyHasBeenSet = true; - } - if (jsonValue.ValueExists("failureCode")) { - m_failureCode = SimulationJobBatchErrorCodeMapper::GetSimulationJobBatchErrorCodeForName(jsonValue.GetString("failureCode")); - m_failureCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("failureReason")) { - m_failureReason = jsonValue.GetString("failureReason"); - m_failureReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("failedRequests")) { - Aws::Utils::Array failedRequestsJsonList = jsonValue.GetArray("failedRequests"); - for (unsigned failedRequestsIndex = 0; failedRequestsIndex < failedRequestsJsonList.GetLength(); ++failedRequestsIndex) { - m_failedRequests.push_back(failedRequestsJsonList[failedRequestsIndex].AsObject()); - } - m_failedRequestsHasBeenSet = true; - } - if (jsonValue.ValueExists("pendingRequests")) { - Aws::Utils::Array pendingRequestsJsonList = jsonValue.GetArray("pendingRequests"); - for (unsigned pendingRequestsIndex = 0; pendingRequestsIndex < pendingRequestsJsonList.GetLength(); ++pendingRequestsIndex) { - m_pendingRequests.push_back(pendingRequestsJsonList[pendingRequestsIndex].AsObject()); - } - m_pendingRequestsHasBeenSet = true; - } - if (jsonValue.ValueExists("createdRequests")) { - Aws::Utils::Array createdRequestsJsonList = jsonValue.GetArray("createdRequests"); - for (unsigned createdRequestsIndex = 0; createdRequestsIndex < createdRequestsJsonList.GetLength(); ++createdRequestsIndex) { - m_createdRequests.push_back(createdRequestsJsonList[createdRequestsIndex].AsObject()); - } - m_createdRequestsHasBeenSet = true; - } - if (jsonValue.ValueExists("tags")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for (auto& tagsItem : tagsJsonMap) { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/TagResourceRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/TagResourceRequest.cpp deleted file mode 100644 index 42190724b78..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/TagResourceRequest.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -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-robomaker/source/model/TagResourceResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/TagResourceResult.cpp deleted file mode 100644 index cc4457284f9..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/TagResourceResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/TemplateLocation.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/TemplateLocation.cpp deleted file mode 100644 index be56f711025..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/TemplateLocation.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -TemplateLocation::TemplateLocation(JsonView jsonValue) { *this = jsonValue; } - -TemplateLocation& TemplateLocation::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("s3Bucket")) { - m_s3Bucket = jsonValue.GetString("s3Bucket"); - m_s3BucketHasBeenSet = true; - } - if (jsonValue.ValueExists("s3Key")) { - m_s3Key = jsonValue.GetString("s3Key"); - m_s3KeyHasBeenSet = true; - } - return *this; -} - -JsonValue TemplateLocation::Jsonize() const { - JsonValue payload; - - if (m_s3BucketHasBeenSet) { - payload.WithString("s3Bucket", m_s3Bucket); - } - - if (m_s3KeyHasBeenSet) { - payload.WithString("s3Key", m_s3Key); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/TemplateSummary.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/TemplateSummary.cpp deleted file mode 100644 index 157467d0324..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/TemplateSummary.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -TemplateSummary::TemplateSummary(JsonView jsonValue) { *this = jsonValue; } - -TemplateSummary& TemplateSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetString("version"); - m_versionHasBeenSet = true; - } - return *this; -} - -JsonValue TemplateSummary::Jsonize() const { - JsonValue payload; - - if (m_arnHasBeenSet) { - payload.WithString("arn", m_arn); - } - - if (m_createdAtHasBeenSet) { - payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); - } - - if (m_lastUpdatedAtHasBeenSet) { - payload.WithDouble("lastUpdatedAt", m_lastUpdatedAt.SecondsWithMSPrecision()); - } - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_versionHasBeenSet) { - payload.WithString("version", m_version); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/Tool.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/Tool.cpp deleted file mode 100644 index d34e0689842..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/Tool.cpp +++ /dev/null @@ -1,72 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -Tool::Tool(JsonView jsonValue) { *this = jsonValue; } - -Tool& Tool::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("streamUI")) { - m_streamUI = jsonValue.GetBool("streamUI"); - m_streamUIHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("command")) { - m_command = jsonValue.GetString("command"); - m_commandHasBeenSet = true; - } - if (jsonValue.ValueExists("streamOutputToCloudWatch")) { - m_streamOutputToCloudWatch = jsonValue.GetBool("streamOutputToCloudWatch"); - m_streamOutputToCloudWatchHasBeenSet = true; - } - if (jsonValue.ValueExists("exitBehavior")) { - m_exitBehavior = ExitBehaviorMapper::GetExitBehaviorForName(jsonValue.GetString("exitBehavior")); - m_exitBehaviorHasBeenSet = true; - } - return *this; -} - -JsonValue Tool::Jsonize() const { - JsonValue payload; - - if (m_streamUIHasBeenSet) { - payload.WithBool("streamUI", m_streamUI); - } - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_commandHasBeenSet) { - payload.WithString("command", m_command); - } - - if (m_streamOutputToCloudWatchHasBeenSet) { - payload.WithBool("streamOutputToCloudWatch", m_streamOutputToCloudWatch); - } - - if (m_exitBehaviorHasBeenSet) { - payload.WithString("exitBehavior", ExitBehaviorMapper::GetNameForExitBehavior(m_exitBehavior)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/UntagResourceRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/UntagResourceRequest.cpp deleted file mode 100644 index de5e03c2239..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/UntagResourceRequest.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws::Http; - -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-robomaker/source/model/UntagResourceResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/UntagResourceResult.cpp deleted file mode 100644 index ec9c3cff59c..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/UntagResourceResult.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -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; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateRobotApplicationRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateRobotApplicationRequest.cpp deleted file mode 100644 index c52a6170200..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateRobotApplicationRequest.cpp +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String UpdateRobotApplicationRequest::SerializePayload() const { - JsonValue payload; - - if (m_applicationHasBeenSet) { - payload.WithString("application", m_application); - } - - if (m_sourcesHasBeenSet) { - Aws::Utils::Array sourcesJsonList(m_sources.size()); - for (unsigned sourcesIndex = 0; sourcesIndex < sourcesJsonList.GetLength(); ++sourcesIndex) { - sourcesJsonList[sourcesIndex].AsObject(m_sources[sourcesIndex].Jsonize()); - } - payload.WithArray("sources", std::move(sourcesJsonList)); - } - - if (m_robotSoftwareSuiteHasBeenSet) { - payload.WithObject("robotSoftwareSuite", m_robotSoftwareSuite.Jsonize()); - } - - if (m_currentRevisionIdHasBeenSet) { - payload.WithString("currentRevisionId", m_currentRevisionId); - } - - if (m_environmentHasBeenSet) { - payload.WithObject("environment", m_environment.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateRobotApplicationResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateRobotApplicationResult.cpp deleted file mode 100644 index 48644df13ea..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateRobotApplicationResult.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -UpdateRobotApplicationResult::UpdateRobotApplicationResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -UpdateRobotApplicationResult& UpdateRobotApplicationResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetString("version"); - m_versionHasBeenSet = true; - } - if (jsonValue.ValueExists("sources")) { - Aws::Utils::Array sourcesJsonList = jsonValue.GetArray("sources"); - for (unsigned sourcesIndex = 0; sourcesIndex < sourcesJsonList.GetLength(); ++sourcesIndex) { - m_sources.push_back(sourcesJsonList[sourcesIndex].AsObject()); - } - m_sourcesHasBeenSet = true; - } - if (jsonValue.ValueExists("robotSoftwareSuite")) { - m_robotSoftwareSuite = jsonValue.GetObject("robotSoftwareSuite"); - m_robotSoftwareSuiteHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("revisionId")) { - m_revisionId = jsonValue.GetString("revisionId"); - m_revisionIdHasBeenSet = true; - } - if (jsonValue.ValueExists("environment")) { - m_environment = jsonValue.GetObject("environment"); - m_environmentHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateSimulationApplicationRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateSimulationApplicationRequest.cpp deleted file mode 100644 index 77fe3a9b0ad..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateSimulationApplicationRequest.cpp +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String UpdateSimulationApplicationRequest::SerializePayload() const { - JsonValue payload; - - if (m_applicationHasBeenSet) { - payload.WithString("application", m_application); - } - - if (m_sourcesHasBeenSet) { - Aws::Utils::Array sourcesJsonList(m_sources.size()); - for (unsigned sourcesIndex = 0; sourcesIndex < sourcesJsonList.GetLength(); ++sourcesIndex) { - sourcesJsonList[sourcesIndex].AsObject(m_sources[sourcesIndex].Jsonize()); - } - payload.WithArray("sources", std::move(sourcesJsonList)); - } - - if (m_simulationSoftwareSuiteHasBeenSet) { - payload.WithObject("simulationSoftwareSuite", m_simulationSoftwareSuite.Jsonize()); - } - - if (m_robotSoftwareSuiteHasBeenSet) { - payload.WithObject("robotSoftwareSuite", m_robotSoftwareSuite.Jsonize()); - } - - if (m_renderingEngineHasBeenSet) { - payload.WithObject("renderingEngine", m_renderingEngine.Jsonize()); - } - - if (m_currentRevisionIdHasBeenSet) { - payload.WithString("currentRevisionId", m_currentRevisionId); - } - - if (m_environmentHasBeenSet) { - payload.WithObject("environment", m_environment.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateSimulationApplicationResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateSimulationApplicationResult.cpp deleted file mode 100644 index 53b3335770d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateSimulationApplicationResult.cpp +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -UpdateSimulationApplicationResult::UpdateSimulationApplicationResult(const Aws::AmazonWebServiceResult& result) { - *this = result; -} - -UpdateSimulationApplicationResult& UpdateSimulationApplicationResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("version")) { - m_version = jsonValue.GetString("version"); - m_versionHasBeenSet = true; - } - if (jsonValue.ValueExists("sources")) { - Aws::Utils::Array sourcesJsonList = jsonValue.GetArray("sources"); - for (unsigned sourcesIndex = 0; sourcesIndex < sourcesJsonList.GetLength(); ++sourcesIndex) { - m_sources.push_back(sourcesJsonList[sourcesIndex].AsObject()); - } - m_sourcesHasBeenSet = true; - } - if (jsonValue.ValueExists("simulationSoftwareSuite")) { - m_simulationSoftwareSuite = jsonValue.GetObject("simulationSoftwareSuite"); - m_simulationSoftwareSuiteHasBeenSet = true; - } - if (jsonValue.ValueExists("robotSoftwareSuite")) { - m_robotSoftwareSuite = jsonValue.GetObject("robotSoftwareSuite"); - m_robotSoftwareSuiteHasBeenSet = true; - } - if (jsonValue.ValueExists("renderingEngine")) { - m_renderingEngine = jsonValue.GetObject("renderingEngine"); - m_renderingEngineHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - if (jsonValue.ValueExists("revisionId")) { - m_revisionId = jsonValue.GetString("revisionId"); - m_revisionIdHasBeenSet = true; - } - if (jsonValue.ValueExists("environment")) { - m_environment = jsonValue.GetObject("environment"); - m_environmentHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateWorldTemplateRequest.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateWorldTemplateRequest.cpp deleted file mode 100644 index af4e1d456af..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateWorldTemplateRequest.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - -using namespace Aws::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; - -Aws::String UpdateWorldTemplateRequest::SerializePayload() const { - JsonValue payload; - - if (m_templateHasBeenSet) { - payload.WithString("template", m_template); - } - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_templateBodyHasBeenSet) { - payload.WithString("templateBody", m_templateBody); - } - - if (m_templateLocationHasBeenSet) { - payload.WithObject("templateLocation", m_templateLocation.Jsonize()); - } - - return payload.View().WriteReadable(); -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateWorldTemplateResult.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateWorldTemplateResult.cpp deleted file mode 100644 index 674b0e262a4..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/UpdateWorldTemplateResult.cpp +++ /dev/null @@ -1,49 +0,0 @@ -/** - * 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::RoboMaker::Model; -using namespace Aws::Utils::Json; -using namespace Aws::Utils; -using namespace Aws; - -UpdateWorldTemplateResult::UpdateWorldTemplateResult(const Aws::AmazonWebServiceResult& result) { *this = result; } - -UpdateWorldTemplateResult& UpdateWorldTemplateResult::operator=(const Aws::AmazonWebServiceResult& result) { - JsonView jsonValue = result.GetPayload().View(); - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("lastUpdatedAt")) { - m_lastUpdatedAt = jsonValue.GetDouble("lastUpdatedAt"); - m_lastUpdatedAtHasBeenSet = true; - } - - const auto& headers = result.GetHeaderValueCollection(); - const auto& requestIdIter = headers.find("x-amzn-requestid"); - if (requestIdIter != headers.end()) { - m_requestId = requestIdIter->second; - m_requestIdHasBeenSet = true; - } - - return *this; -} diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/UploadBehavior.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/UploadBehavior.cpp deleted file mode 100644 index bf382cddb4c..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/UploadBehavior.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace UploadBehaviorMapper { - -static const int UPLOAD_ON_TERMINATE_HASH = HashingUtils::HashString("UPLOAD_ON_TERMINATE"); -static const int UPLOAD_ROLLING_AUTO_REMOVE_HASH = HashingUtils::HashString("UPLOAD_ROLLING_AUTO_REMOVE"); - -UploadBehavior GetUploadBehaviorForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == UPLOAD_ON_TERMINATE_HASH) { - return UploadBehavior::UPLOAD_ON_TERMINATE; - } else if (hashCode == UPLOAD_ROLLING_AUTO_REMOVE_HASH) { - return UploadBehavior::UPLOAD_ROLLING_AUTO_REMOVE; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return UploadBehavior::NOT_SET; -} - -Aws::String GetNameForUploadBehavior(UploadBehavior enumValue) { - switch (enumValue) { - case UploadBehavior::NOT_SET: - return {}; - case UploadBehavior::UPLOAD_ON_TERMINATE: - return "UPLOAD_ON_TERMINATE"; - case UploadBehavior::UPLOAD_ROLLING_AUTO_REMOVE: - return "UPLOAD_ROLLING_AUTO_REMOVE"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace UploadBehaviorMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/UploadConfiguration.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/UploadConfiguration.cpp deleted file mode 100644 index 0011a923bf2..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/UploadConfiguration.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -UploadConfiguration::UploadConfiguration(JsonView jsonValue) { *this = jsonValue; } - -UploadConfiguration& UploadConfiguration::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("name")) { - m_name = jsonValue.GetString("name"); - m_nameHasBeenSet = true; - } - if (jsonValue.ValueExists("path")) { - m_path = jsonValue.GetString("path"); - m_pathHasBeenSet = true; - } - if (jsonValue.ValueExists("uploadBehavior")) { - m_uploadBehavior = UploadBehaviorMapper::GetUploadBehaviorForName(jsonValue.GetString("uploadBehavior")); - m_uploadBehaviorHasBeenSet = true; - } - return *this; -} - -JsonValue UploadConfiguration::Jsonize() const { - JsonValue payload; - - if (m_nameHasBeenSet) { - payload.WithString("name", m_name); - } - - if (m_pathHasBeenSet) { - payload.WithString("path", m_path); - } - - if (m_uploadBehaviorHasBeenSet) { - payload.WithString("uploadBehavior", UploadBehaviorMapper::GetNameForUploadBehavior(m_uploadBehavior)); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/VPCConfig.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/VPCConfig.cpp deleted file mode 100644 index 6a267655a52..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/VPCConfig.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -VPCConfig::VPCConfig(JsonView jsonValue) { *this = jsonValue; } - -VPCConfig& VPCConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("subnets")) { - Aws::Utils::Array subnetsJsonList = jsonValue.GetArray("subnets"); - for (unsigned subnetsIndex = 0; subnetsIndex < subnetsJsonList.GetLength(); ++subnetsIndex) { - m_subnets.push_back(subnetsJsonList[subnetsIndex].AsString()); - } - m_subnetsHasBeenSet = true; - } - if (jsonValue.ValueExists("securityGroups")) { - Aws::Utils::Array securityGroupsJsonList = jsonValue.GetArray("securityGroups"); - for (unsigned securityGroupsIndex = 0; securityGroupsIndex < securityGroupsJsonList.GetLength(); ++securityGroupsIndex) { - m_securityGroups.push_back(securityGroupsJsonList[securityGroupsIndex].AsString()); - } - m_securityGroupsHasBeenSet = true; - } - if (jsonValue.ValueExists("assignPublicIp")) { - m_assignPublicIp = jsonValue.GetBool("assignPublicIp"); - m_assignPublicIpHasBeenSet = true; - } - return *this; -} - -JsonValue VPCConfig::Jsonize() const { - JsonValue payload; - - if (m_subnetsHasBeenSet) { - Aws::Utils::Array subnetsJsonList(m_subnets.size()); - for (unsigned subnetsIndex = 0; subnetsIndex < subnetsJsonList.GetLength(); ++subnetsIndex) { - subnetsJsonList[subnetsIndex].AsString(m_subnets[subnetsIndex]); - } - payload.WithArray("subnets", std::move(subnetsJsonList)); - } - - if (m_securityGroupsHasBeenSet) { - Aws::Utils::Array securityGroupsJsonList(m_securityGroups.size()); - for (unsigned securityGroupsIndex = 0; securityGroupsIndex < securityGroupsJsonList.GetLength(); ++securityGroupsIndex) { - securityGroupsJsonList[securityGroupsIndex].AsString(m_securityGroups[securityGroupsIndex]); - } - payload.WithArray("securityGroups", std::move(securityGroupsJsonList)); - } - - if (m_assignPublicIpHasBeenSet) { - payload.WithBool("assignPublicIp", m_assignPublicIp); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/VPCConfigResponse.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/VPCConfigResponse.cpp deleted file mode 100644 index ef8dc32b1df..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/VPCConfigResponse.cpp +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -VPCConfigResponse::VPCConfigResponse(JsonView jsonValue) { *this = jsonValue; } - -VPCConfigResponse& VPCConfigResponse::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("subnets")) { - Aws::Utils::Array subnetsJsonList = jsonValue.GetArray("subnets"); - for (unsigned subnetsIndex = 0; subnetsIndex < subnetsJsonList.GetLength(); ++subnetsIndex) { - m_subnets.push_back(subnetsJsonList[subnetsIndex].AsString()); - } - m_subnetsHasBeenSet = true; - } - if (jsonValue.ValueExists("securityGroups")) { - Aws::Utils::Array securityGroupsJsonList = jsonValue.GetArray("securityGroups"); - for (unsigned securityGroupsIndex = 0; securityGroupsIndex < securityGroupsJsonList.GetLength(); ++securityGroupsIndex) { - m_securityGroups.push_back(securityGroupsJsonList[securityGroupsIndex].AsString()); - } - m_securityGroupsHasBeenSet = true; - } - if (jsonValue.ValueExists("vpcId")) { - m_vpcId = jsonValue.GetString("vpcId"); - m_vpcIdHasBeenSet = true; - } - if (jsonValue.ValueExists("assignPublicIp")) { - m_assignPublicIp = jsonValue.GetBool("assignPublicIp"); - m_assignPublicIpHasBeenSet = true; - } - return *this; -} - -JsonValue VPCConfigResponse::Jsonize() const { - JsonValue payload; - - if (m_subnetsHasBeenSet) { - Aws::Utils::Array subnetsJsonList(m_subnets.size()); - for (unsigned subnetsIndex = 0; subnetsIndex < subnetsJsonList.GetLength(); ++subnetsIndex) { - subnetsJsonList[subnetsIndex].AsString(m_subnets[subnetsIndex]); - } - payload.WithArray("subnets", std::move(subnetsJsonList)); - } - - if (m_securityGroupsHasBeenSet) { - Aws::Utils::Array securityGroupsJsonList(m_securityGroups.size()); - for (unsigned securityGroupsIndex = 0; securityGroupsIndex < securityGroupsJsonList.GetLength(); ++securityGroupsIndex) { - securityGroupsJsonList[securityGroupsIndex].AsString(m_securityGroups[securityGroupsIndex]); - } - payload.WithArray("securityGroups", std::move(securityGroupsJsonList)); - } - - if (m_vpcIdHasBeenSet) { - payload.WithString("vpcId", m_vpcId); - } - - if (m_assignPublicIpHasBeenSet) { - payload.WithBool("assignPublicIp", m_assignPublicIp); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldConfig.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/WorldConfig.cpp deleted file mode 100644 index 465978f4144..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldConfig.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -WorldConfig::WorldConfig(JsonView jsonValue) { *this = jsonValue; } - -WorldConfig& WorldConfig::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("world")) { - m_world = jsonValue.GetString("world"); - m_worldHasBeenSet = true; - } - return *this; -} - -JsonValue WorldConfig::Jsonize() const { - JsonValue payload; - - if (m_worldHasBeenSet) { - payload.WithString("world", m_world); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldCount.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/WorldCount.cpp deleted file mode 100644 index 26759dc908a..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldCount.cpp +++ /dev/null @@ -1,48 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -WorldCount::WorldCount(JsonView jsonValue) { *this = jsonValue; } - -WorldCount& WorldCount::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("floorplanCount")) { - m_floorplanCount = jsonValue.GetInteger("floorplanCount"); - m_floorplanCountHasBeenSet = true; - } - if (jsonValue.ValueExists("interiorCountPerFloorplan")) { - m_interiorCountPerFloorplan = jsonValue.GetInteger("interiorCountPerFloorplan"); - m_interiorCountPerFloorplanHasBeenSet = true; - } - return *this; -} - -JsonValue WorldCount::Jsonize() const { - JsonValue payload; - - if (m_floorplanCountHasBeenSet) { - payload.WithInteger("floorplanCount", m_floorplanCount); - } - - if (m_interiorCountPerFloorplanHasBeenSet) { - payload.WithInteger("interiorCountPerFloorplan", m_interiorCountPerFloorplan); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldExportJobErrorCode.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/WorldExportJobErrorCode.cpp deleted file mode 100644 index adb0a00141e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldExportJobErrorCode.cpp +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace WorldExportJobErrorCodeMapper { - -static const int InternalServiceError_HASH = HashingUtils::HashString("InternalServiceError"); -static const int LimitExceeded_HASH = HashingUtils::HashString("LimitExceeded"); -static const int ResourceNotFound_HASH = HashingUtils::HashString("ResourceNotFound"); -static const int RequestThrottled_HASH = HashingUtils::HashString("RequestThrottled"); -static const int InvalidInput_HASH = HashingUtils::HashString("InvalidInput"); -static const int AccessDenied_HASH = HashingUtils::HashString("AccessDenied"); - -WorldExportJobErrorCode GetWorldExportJobErrorCodeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == InternalServiceError_HASH) { - return WorldExportJobErrorCode::InternalServiceError; - } else if (hashCode == LimitExceeded_HASH) { - return WorldExportJobErrorCode::LimitExceeded; - } else if (hashCode == ResourceNotFound_HASH) { - return WorldExportJobErrorCode::ResourceNotFound; - } else if (hashCode == RequestThrottled_HASH) { - return WorldExportJobErrorCode::RequestThrottled; - } else if (hashCode == InvalidInput_HASH) { - return WorldExportJobErrorCode::InvalidInput; - } else if (hashCode == AccessDenied_HASH) { - return WorldExportJobErrorCode::AccessDenied; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return WorldExportJobErrorCode::NOT_SET; -} - -Aws::String GetNameForWorldExportJobErrorCode(WorldExportJobErrorCode enumValue) { - switch (enumValue) { - case WorldExportJobErrorCode::NOT_SET: - return {}; - case WorldExportJobErrorCode::InternalServiceError: - return "InternalServiceError"; - case WorldExportJobErrorCode::LimitExceeded: - return "LimitExceeded"; - case WorldExportJobErrorCode::ResourceNotFound: - return "ResourceNotFound"; - case WorldExportJobErrorCode::RequestThrottled: - return "RequestThrottled"; - case WorldExportJobErrorCode::InvalidInput: - return "InvalidInput"; - case WorldExportJobErrorCode::AccessDenied: - return "AccessDenied"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace WorldExportJobErrorCodeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldExportJobStatus.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/WorldExportJobStatus.cpp deleted file mode 100644 index aa1b1b1560e..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldExportJobStatus.cpp +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace WorldExportJobStatusMapper { - -static const int Pending_HASH = HashingUtils::HashString("Pending"); -static const int Running_HASH = HashingUtils::HashString("Running"); -static const int Completed_HASH = HashingUtils::HashString("Completed"); -static const int Failed_HASH = HashingUtils::HashString("Failed"); -static const int Canceling_HASH = HashingUtils::HashString("Canceling"); -static const int Canceled_HASH = HashingUtils::HashString("Canceled"); - -WorldExportJobStatus GetWorldExportJobStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Pending_HASH) { - return WorldExportJobStatus::Pending; - } else if (hashCode == Running_HASH) { - return WorldExportJobStatus::Running; - } else if (hashCode == Completed_HASH) { - return WorldExportJobStatus::Completed; - } else if (hashCode == Failed_HASH) { - return WorldExportJobStatus::Failed; - } else if (hashCode == Canceling_HASH) { - return WorldExportJobStatus::Canceling; - } else if (hashCode == Canceled_HASH) { - return WorldExportJobStatus::Canceled; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return WorldExportJobStatus::NOT_SET; -} - -Aws::String GetNameForWorldExportJobStatus(WorldExportJobStatus enumValue) { - switch (enumValue) { - case WorldExportJobStatus::NOT_SET: - return {}; - case WorldExportJobStatus::Pending: - return "Pending"; - case WorldExportJobStatus::Running: - return "Running"; - case WorldExportJobStatus::Completed: - return "Completed"; - case WorldExportJobStatus::Failed: - return "Failed"; - case WorldExportJobStatus::Canceling: - return "Canceling"; - case WorldExportJobStatus::Canceled: - return "Canceled"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace WorldExportJobStatusMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldExportJobSummary.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/WorldExportJobSummary.cpp deleted file mode 100644 index 7c6fdabeb1c..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldExportJobSummary.cpp +++ /dev/null @@ -1,79 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -WorldExportJobSummary::WorldExportJobSummary(JsonView jsonValue) { *this = jsonValue; } - -WorldExportJobSummary& WorldExportJobSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = WorldExportJobStatusMapper::GetWorldExportJobStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("worlds")) { - Aws::Utils::Array worldsJsonList = jsonValue.GetArray("worlds"); - for (unsigned worldsIndex = 0; worldsIndex < worldsJsonList.GetLength(); ++worldsIndex) { - m_worlds.push_back(worldsJsonList[worldsIndex].AsString()); - } - m_worldsHasBeenSet = true; - } - if (jsonValue.ValueExists("outputLocation")) { - m_outputLocation = jsonValue.GetObject("outputLocation"); - m_outputLocationHasBeenSet = true; - } - return *this; -} - -JsonValue WorldExportJobSummary::Jsonize() const { - JsonValue payload; - - if (m_arnHasBeenSet) { - payload.WithString("arn", m_arn); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", WorldExportJobStatusMapper::GetNameForWorldExportJobStatus(m_status)); - } - - if (m_createdAtHasBeenSet) { - payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); - } - - if (m_worldsHasBeenSet) { - Aws::Utils::Array worldsJsonList(m_worlds.size()); - for (unsigned worldsIndex = 0; worldsIndex < worldsJsonList.GetLength(); ++worldsIndex) { - worldsJsonList[worldsIndex].AsString(m_worlds[worldsIndex]); - } - payload.WithArray("worlds", std::move(worldsJsonList)); - } - - if (m_outputLocationHasBeenSet) { - payload.WithObject("outputLocation", m_outputLocation.Jsonize()); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldFailure.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/WorldFailure.cpp deleted file mode 100644 index 0bca77537ea..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldFailure.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -WorldFailure::WorldFailure(JsonView jsonValue) { *this = jsonValue; } - -WorldFailure& WorldFailure::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("failureCode")) { - m_failureCode = WorldGenerationJobErrorCodeMapper::GetWorldGenerationJobErrorCodeForName(jsonValue.GetString("failureCode")); - m_failureCodeHasBeenSet = true; - } - if (jsonValue.ValueExists("sampleFailureReason")) { - m_sampleFailureReason = jsonValue.GetString("sampleFailureReason"); - m_sampleFailureReasonHasBeenSet = true; - } - if (jsonValue.ValueExists("failureCount")) { - m_failureCount = jsonValue.GetInteger("failureCount"); - m_failureCountHasBeenSet = true; - } - return *this; -} - -JsonValue WorldFailure::Jsonize() const { - JsonValue payload; - - if (m_failureCodeHasBeenSet) { - payload.WithString("failureCode", WorldGenerationJobErrorCodeMapper::GetNameForWorldGenerationJobErrorCode(m_failureCode)); - } - - if (m_sampleFailureReasonHasBeenSet) { - payload.WithString("sampleFailureReason", m_sampleFailureReason); - } - - if (m_failureCountHasBeenSet) { - payload.WithInteger("failureCount", m_failureCount); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldGenerationJobErrorCode.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/WorldGenerationJobErrorCode.cpp deleted file mode 100644 index 5eaed5fbfaa..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldGenerationJobErrorCode.cpp +++ /dev/null @@ -1,78 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace WorldGenerationJobErrorCodeMapper { - -static const int InternalServiceError_HASH = HashingUtils::HashString("InternalServiceError"); -static const int LimitExceeded_HASH = HashingUtils::HashString("LimitExceeded"); -static const int ResourceNotFound_HASH = HashingUtils::HashString("ResourceNotFound"); -static const int RequestThrottled_HASH = HashingUtils::HashString("RequestThrottled"); -static const int InvalidInput_HASH = HashingUtils::HashString("InvalidInput"); -static const int AllWorldGenerationFailed_HASH = HashingUtils::HashString("AllWorldGenerationFailed"); - -WorldGenerationJobErrorCode GetWorldGenerationJobErrorCodeForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == InternalServiceError_HASH) { - return WorldGenerationJobErrorCode::InternalServiceError; - } else if (hashCode == LimitExceeded_HASH) { - return WorldGenerationJobErrorCode::LimitExceeded; - } else if (hashCode == ResourceNotFound_HASH) { - return WorldGenerationJobErrorCode::ResourceNotFound; - } else if (hashCode == RequestThrottled_HASH) { - return WorldGenerationJobErrorCode::RequestThrottled; - } else if (hashCode == InvalidInput_HASH) { - return WorldGenerationJobErrorCode::InvalidInput; - } else if (hashCode == AllWorldGenerationFailed_HASH) { - return WorldGenerationJobErrorCode::AllWorldGenerationFailed; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return WorldGenerationJobErrorCode::NOT_SET; -} - -Aws::String GetNameForWorldGenerationJobErrorCode(WorldGenerationJobErrorCode enumValue) { - switch (enumValue) { - case WorldGenerationJobErrorCode::NOT_SET: - return {}; - case WorldGenerationJobErrorCode::InternalServiceError: - return "InternalServiceError"; - case WorldGenerationJobErrorCode::LimitExceeded: - return "LimitExceeded"; - case WorldGenerationJobErrorCode::ResourceNotFound: - return "ResourceNotFound"; - case WorldGenerationJobErrorCode::RequestThrottled: - return "RequestThrottled"; - case WorldGenerationJobErrorCode::InvalidInput: - return "InvalidInput"; - case WorldGenerationJobErrorCode::AllWorldGenerationFailed: - return "AllWorldGenerationFailed"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace WorldGenerationJobErrorCodeMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldGenerationJobStatus.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/WorldGenerationJobStatus.cpp deleted file mode 100644 index c293f609554..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldGenerationJobStatus.cpp +++ /dev/null @@ -1,83 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { -namespace WorldGenerationJobStatusMapper { - -static const int Pending_HASH = HashingUtils::HashString("Pending"); -static const int Running_HASH = HashingUtils::HashString("Running"); -static const int Completed_HASH = HashingUtils::HashString("Completed"); -static const int Failed_HASH = HashingUtils::HashString("Failed"); -static const int PartialFailed_HASH = HashingUtils::HashString("PartialFailed"); -static const int Canceling_HASH = HashingUtils::HashString("Canceling"); -static const int Canceled_HASH = HashingUtils::HashString("Canceled"); - -WorldGenerationJobStatus GetWorldGenerationJobStatusForName(const Aws::String& name) { - int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Pending_HASH) { - return WorldGenerationJobStatus::Pending; - } else if (hashCode == Running_HASH) { - return WorldGenerationJobStatus::Running; - } else if (hashCode == Completed_HASH) { - return WorldGenerationJobStatus::Completed; - } else if (hashCode == Failed_HASH) { - return WorldGenerationJobStatus::Failed; - } else if (hashCode == PartialFailed_HASH) { - return WorldGenerationJobStatus::PartialFailed; - } else if (hashCode == Canceling_HASH) { - return WorldGenerationJobStatus::Canceling; - } else if (hashCode == Canceled_HASH) { - return WorldGenerationJobStatus::Canceled; - } - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - overflowContainer->StoreOverflow(hashCode, name); - return static_cast(hashCode); - } - - return WorldGenerationJobStatus::NOT_SET; -} - -Aws::String GetNameForWorldGenerationJobStatus(WorldGenerationJobStatus enumValue) { - switch (enumValue) { - case WorldGenerationJobStatus::NOT_SET: - return {}; - case WorldGenerationJobStatus::Pending: - return "Pending"; - case WorldGenerationJobStatus::Running: - return "Running"; - case WorldGenerationJobStatus::Completed: - return "Completed"; - case WorldGenerationJobStatus::Failed: - return "Failed"; - case WorldGenerationJobStatus::PartialFailed: - return "PartialFailed"; - case WorldGenerationJobStatus::Canceling: - return "Canceling"; - case WorldGenerationJobStatus::Canceled: - return "Canceled"; - default: - EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); - if (overflowContainer) { - return overflowContainer->RetrieveOverflow(static_cast(enumValue)); - } - - return {}; - } -} - -} // namespace WorldGenerationJobStatusMapper -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldGenerationJobSummary.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/WorldGenerationJobSummary.cpp deleted file mode 100644 index a4ced8c2164..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldGenerationJobSummary.cpp +++ /dev/null @@ -1,88 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -WorldGenerationJobSummary::WorldGenerationJobSummary(JsonView jsonValue) { *this = jsonValue; } - -WorldGenerationJobSummary& WorldGenerationJobSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("template")) { - m_template = jsonValue.GetString("template"); - m_templateHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("status")) { - m_status = WorldGenerationJobStatusMapper::GetWorldGenerationJobStatusForName(jsonValue.GetString("status")); - m_statusHasBeenSet = true; - } - if (jsonValue.ValueExists("worldCount")) { - m_worldCount = jsonValue.GetObject("worldCount"); - m_worldCountHasBeenSet = true; - } - if (jsonValue.ValueExists("succeededWorldCount")) { - m_succeededWorldCount = jsonValue.GetInteger("succeededWorldCount"); - m_succeededWorldCountHasBeenSet = true; - } - if (jsonValue.ValueExists("failedWorldCount")) { - m_failedWorldCount = jsonValue.GetInteger("failedWorldCount"); - m_failedWorldCountHasBeenSet = true; - } - return *this; -} - -JsonValue WorldGenerationJobSummary::Jsonize() const { - JsonValue payload; - - if (m_arnHasBeenSet) { - payload.WithString("arn", m_arn); - } - - if (m_templateHasBeenSet) { - payload.WithString("template", m_template); - } - - if (m_createdAtHasBeenSet) { - payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); - } - - if (m_statusHasBeenSet) { - payload.WithString("status", WorldGenerationJobStatusMapper::GetNameForWorldGenerationJobStatus(m_status)); - } - - if (m_worldCountHasBeenSet) { - payload.WithObject("worldCount", m_worldCount.Jsonize()); - } - - if (m_succeededWorldCountHasBeenSet) { - payload.WithInteger("succeededWorldCount", m_succeededWorldCount); - } - - if (m_failedWorldCountHasBeenSet) { - payload.WithInteger("failedWorldCount", m_failedWorldCount); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldSummary.cpp b/generated/src/aws-cpp-sdk-robomaker/source/model/WorldSummary.cpp deleted file mode 100644 index 8e0e84a6c6d..00000000000 --- a/generated/src/aws-cpp-sdk-robomaker/source/model/WorldSummary.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/** - * 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 RoboMaker { -namespace Model { - -WorldSummary::WorldSummary(JsonView jsonValue) { *this = jsonValue; } - -WorldSummary& WorldSummary::operator=(JsonView jsonValue) { - if (jsonValue.ValueExists("arn")) { - m_arn = jsonValue.GetString("arn"); - m_arnHasBeenSet = true; - } - if (jsonValue.ValueExists("createdAt")) { - m_createdAt = jsonValue.GetDouble("createdAt"); - m_createdAtHasBeenSet = true; - } - if (jsonValue.ValueExists("generationJob")) { - m_generationJob = jsonValue.GetString("generationJob"); - m_generationJobHasBeenSet = true; - } - if (jsonValue.ValueExists("template")) { - m_template = jsonValue.GetString("template"); - m_templateHasBeenSet = true; - } - return *this; -} - -JsonValue WorldSummary::Jsonize() const { - JsonValue payload; - - if (m_arnHasBeenSet) { - payload.WithString("arn", m_arn); - } - - if (m_createdAtHasBeenSet) { - payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); - } - - if (m_generationJobHasBeenSet) { - payload.WithString("generationJob", m_generationJob); - } - - if (m_templateHasBeenSet) { - payload.WithString("template", m_template); - } - - return payload; -} - -} // namespace Model -} // namespace RoboMaker -} // namespace Aws diff --git a/generated/tests/apptest-gen-tests/AppTestEndpointProviderTests.cpp b/generated/tests/apptest-gen-tests/AppTestEndpointProviderTests.cpp deleted file mode 100644 index b470d3b7c53..00000000000 --- a/generated/tests/apptest-gen-tests/AppTestEndpointProviderTests.cpp +++ /dev/null @@ -1,404 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - - -static const char* ALLOCATION_TAG = "AWSAppTestEndpointProviderTests"; -using AppTestEndpointProvider = Aws::AppTest::Endpoint::AppTestEndpointProvider; -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 AppTestEndpointProviderEndpointTestCase -{ - 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 AppTestEndpointProviderTests : 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> AppTestEndpointProviderTests::TEST_CASES; -const size_t AppTestEndpointProviderTests::TEST_CASES_SZ = 21; - -Aws::Vector AppTestEndpointProviderTests::getTestCase() { - - Aws::Vector test_cases = { - /*TEST CASE 0*/ - {"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 - {{/*epUrl*/"https://apptest-fips.us-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 1*/ - {"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 - {{/*epUrl*/"https://apptest-fips.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 2*/ - {"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 - {{/*epUrl*/"https://apptest.us-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 3*/ - {"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 - {{/*epUrl*/"https://apptest.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 4*/ - {"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://apptest-fips.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 5*/ - {"For region cn-north-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://apptest-fips.cn-north-1.amazonaws.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 6*/ - {"For region cn-north-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*epUrl*/"https://apptest.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 7*/ - {"For region cn-north-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://apptest.cn-north-1.amazonaws.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 8*/ - {"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 - {}, // tags - {{/*epUrl*/"https://apptest-fips.us-gov-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 9*/ - {"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 - {}, // tags - {{/*epUrl*/"https://apptest-fips.us-gov-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 10*/ - {"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 - {}, // tags - {{/*epUrl*/"https://apptest.us-gov-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 11*/ - {"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 - {}, // tags - {{/*epUrl*/"https://apptest.us-gov-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 12*/ - {"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 - {{/*epUrl*/"https://apptest-fips.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 13*/ - {"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 - {{/*epUrl*/"https://apptest.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 14*/ - {"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 - {{/*epUrl*/"https://apptest-fips.us-isob-east-1.sc2s.sgov.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 15*/ - {"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 - {{/*epUrl*/"https://apptest.us-isob-east-1.sc2s.sgov.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 16*/ - {"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 - {}, // tags - {{/*epUrl*/"https://example.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 17*/ - {"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 - {}, // tags - {{/*epUrl*/"https://example.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 18*/ - {"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 - {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // expect - }, - /*TEST CASE 19*/ - {"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 - {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Dualstack and custom endpoint are not supported"} // expect - }, - /*TEST CASE 20*/ - {"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 AppTestEndpointProviderEndpointTestCase::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(AppTestEndpointProviderTests, 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 AppTestEndpointProviderEndpointTestCase& 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/AppTestEndpointProviderTests.EndpointProviderTest/") + Aws::Utils::StringUtils::to_string(TEST_CASE_IDX)); - - std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG); - ASSERT_TRUE(endpointProvider) << "Failed to allocate/initialize AppTestEndpointProvider"; - - 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, - AppTestEndpointProviderTests, - ::testing::Range((size_t) 0u, AppTestEndpointProviderTests::TEST_CASES_SZ)); diff --git a/generated/tests/apptest-gen-tests/AppTestIncludeTests.cpp b/generated/tests/apptest-gen-tests/AppTestIncludeTests.cpp deleted file mode 100644 index 35dcfe41a88..00000000000 --- a/generated/tests/apptest-gen-tests/AppTestIncludeTests.cpp +++ /dev/null @@ -1,176 +0,0 @@ -/** - * 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 -#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 -#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 -#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 -#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 -#include -#include -#include -#include -#include -#include -#include -#include - -using AppTestIncludeTest = ::testing::Test; - -TEST_F(AppTestIncludeTest, TestClientCompiles) -{ - Aws::Client::ClientConfigurationInitValues cfgInit; - cfgInit.shouldDisableIMDS = true; - Aws::Client::ClientConfiguration config(cfgInit); - AWS_UNREFERENCED_PARAM(config); - // auto pClient = Aws::MakeUnique("AppTestIncludeTest", config); - // ASSERT_TRUE(pClient.get()); -} diff --git a/generated/tests/apptest-gen-tests/CMakeLists.txt b/generated/tests/apptest-gen-tests/CMakeLists.txt deleted file mode 100644 index ce714e02b03..00000000000 --- a/generated/tests/apptest-gen-tests/CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ -add_project(apptest-gen-tests - "Tests for the AWS APPTEST C++ SDK" - testing-resources - aws-cpp-sdk-apptest - aws-cpp-sdk-core) - -file(GLOB AWS_APPTEST_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_APPTEST_GENERATED_TEST_SRC}") -else() - add_executable(${PROJECT_NAME} "${AWS_APPTEST_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/apptest-gen-tests/RunTests.cpp b/generated/tests/apptest-gen-tests/RunTests.cpp deleted file mode 100644 index f2f10a7c789..00000000000 --- a/generated/tests/apptest-gen-tests/RunTests.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/** - * 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/generated/tests/iotfleethub-gen-tests/CMakeLists.txt b/generated/tests/iotfleethub-gen-tests/CMakeLists.txt deleted file mode 100644 index 948517f8585..00000000000 --- a/generated/tests/iotfleethub-gen-tests/CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ -add_project(iotfleethub-gen-tests - "Tests for the AWS IOTFLEETHUB C++ SDK" - testing-resources - aws-cpp-sdk-iotfleethub - aws-cpp-sdk-core) - -file(GLOB AWS_IOTFLEETHUB_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_IOTFLEETHUB_GENERATED_TEST_SRC}") -else() - add_executable(${PROJECT_NAME} "${AWS_IOTFLEETHUB_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/iotfleethub-gen-tests/IoTFleetHubEndpointProviderTests.cpp b/generated/tests/iotfleethub-gen-tests/IoTFleetHubEndpointProviderTests.cpp deleted file mode 100644 index 3a5a3d6f951..00000000000 --- a/generated/tests/iotfleethub-gen-tests/IoTFleetHubEndpointProviderTests.cpp +++ /dev/null @@ -1,539 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - - -static const char* ALLOCATION_TAG = "AWSIoTFleetHubEndpointProviderTests"; -using IoTFleetHubEndpointProvider = Aws::IoTFleetHub::Endpoint::IoTFleetHubEndpointProvider; -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 IoTFleetHubEndpointProviderEndpointTestCase -{ - 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 IoTFleetHubEndpointProviderTests : 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> IoTFleetHubEndpointProviderTests::TEST_CASES; -const size_t IoTFleetHubEndpointProviderTests::TEST_CASES_SZ = 36; - -Aws::Vector IoTFleetHubEndpointProviderTests::getTestCase() { - - Aws::Vector test_cases = { - /*TEST CASE 0*/ - {"For region ap-northeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.ap-northeast-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 1*/ - {"For region ap-northeast-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.ap-northeast-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 2*/ - {"For region ap-south-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-south-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.ap-south-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 3*/ - {"For region ap-southeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.ap-southeast-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 4*/ - {"For region ap-southeast-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.ap-southeast-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 5*/ - {"For region ca-central-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ca-central-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.ca-central-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 6*/ - {"For region ca-central-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "ca-central-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot-fips.ca-central-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 7*/ - {"For region eu-central-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-central-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.eu-central-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 8*/ - {"For region eu-north-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.eu-north-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 9*/ - {"For region eu-west-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.eu-west-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 10*/ - {"For region eu-west-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.eu-west-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 11*/ - {"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 - {{/*epUrl*/"https://api.fleethub.iot.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 12*/ - {"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 - {{/*epUrl*/"https://api.fleethub.iot-fips.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 13*/ - {"For region us-east-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.us-east-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 14*/ - {"For region us-east-2 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot-fips.us-east-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 15*/ - {"For region us-west-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-west-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.us-west-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 16*/ - {"For region us-west-2 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-west-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot-fips.us-west-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 17*/ - {"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 - {{/*epUrl*/"https://api.fleethub.iot-fips.us-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 18*/ - {"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 - {{/*epUrl*/"https://api.fleethub.iot.us-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 19*/ - {"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://api.fleethub.iot-fips.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 20*/ - {"For region cn-north-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot-fips.cn-north-1.amazonaws.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 21*/ - {"For region cn-north-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 22*/ - {"For region cn-north-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.cn-north-1.amazonaws.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 23*/ - {"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 - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot-fips.us-gov-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 24*/ - {"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 - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot-fips.us-gov-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 25*/ - {"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 - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.us-gov-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 26*/ - {"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 - {}, // tags - {{/*epUrl*/"https://api.fleethub.iot.us-gov-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 27*/ - {"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 - {{/*epUrl*/"https://api.fleethub.iot-fips.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 28*/ - {"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 - {{/*epUrl*/"https://api.fleethub.iot.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 29*/ - {"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 - {{/*epUrl*/"https://api.fleethub.iot-fips.us-isob-east-1.sc2s.sgov.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 30*/ - {"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 - {{/*epUrl*/"https://api.fleethub.iot.us-isob-east-1.sc2s.sgov.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 31*/ - {"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 - {}, // tags - {{/*epUrl*/"https://example.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 32*/ - {"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 - {}, // tags - {{/*epUrl*/"https://example.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 33*/ - {"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 - {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // expect - }, - /*TEST CASE 34*/ - {"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 - {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Dualstack and custom endpoint are not supported"} // expect - }, - /*TEST CASE 35*/ - {"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 IoTFleetHubEndpointProviderEndpointTestCase::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(IoTFleetHubEndpointProviderTests, 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 IoTFleetHubEndpointProviderEndpointTestCase& 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/IoTFleetHubEndpointProviderTests.EndpointProviderTest/") + Aws::Utils::StringUtils::to_string(TEST_CASE_IDX)); - - std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG); - ASSERT_TRUE(endpointProvider) << "Failed to allocate/initialize IoTFleetHubEndpointProvider"; - - 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, - IoTFleetHubEndpointProviderTests, - ::testing::Range((size_t) 0u, IoTFleetHubEndpointProviderTests::TEST_CASES_SZ)); diff --git a/generated/tests/iotfleethub-gen-tests/IoTFleetHubIncludeTests.cpp b/generated/tests/iotfleethub-gen-tests/IoTFleetHubIncludeTests.cpp deleted file mode 100644 index 9be35300031..00000000000 --- a/generated/tests/iotfleethub-gen-tests/IoTFleetHubIncludeTests.cpp +++ /dev/null @@ -1,46 +0,0 @@ -/** - * 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 - -using IoTFleetHubIncludeTest = ::testing::Test; - -TEST_F(IoTFleetHubIncludeTest, TestClientCompiles) -{ - Aws::Client::ClientConfigurationInitValues cfgInit; - cfgInit.shouldDisableIMDS = true; - Aws::Client::ClientConfiguration config(cfgInit); - AWS_UNREFERENCED_PARAM(config); - // auto pClient = Aws::MakeUnique("IoTFleetHubIncludeTest", config); - // ASSERT_TRUE(pClient.get()); -} diff --git a/generated/tests/iotfleethub-gen-tests/RunTests.cpp b/generated/tests/iotfleethub-gen-tests/RunTests.cpp deleted file mode 100644 index f2f10a7c789..00000000000 --- a/generated/tests/iotfleethub-gen-tests/RunTests.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/** - * 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/generated/tests/lookoutmetrics-gen-tests/CMakeLists.txt b/generated/tests/lookoutmetrics-gen-tests/CMakeLists.txt deleted file mode 100644 index b7950a2019b..00000000000 --- a/generated/tests/lookoutmetrics-gen-tests/CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ -add_project(lookoutmetrics-gen-tests - "Tests for the AWS LOOKOUTMETRICS C++ SDK" - testing-resources - aws-cpp-sdk-lookoutmetrics - aws-cpp-sdk-core) - -file(GLOB AWS_LOOKOUTMETRICS_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_LOOKOUTMETRICS_GENERATED_TEST_SRC}") -else() - add_executable(${PROJECT_NAME} "${AWS_LOOKOUTMETRICS_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/lookoutmetrics-gen-tests/LookoutMetricsEndpointProviderTests.cpp b/generated/tests/lookoutmetrics-gen-tests/LookoutMetricsEndpointProviderTests.cpp deleted file mode 100644 index 03f9b90ee9d..00000000000 --- a/generated/tests/lookoutmetrics-gen-tests/LookoutMetricsEndpointProviderTests.cpp +++ /dev/null @@ -1,476 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - - -static const char* ALLOCATION_TAG = "AWSLookoutMetricsEndpointProviderTests"; -using LookoutMetricsEndpointProvider = Aws::LookoutMetrics::Endpoint::LookoutMetricsEndpointProvider; -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 LookoutMetricsEndpointProviderEndpointTestCase -{ - 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 LookoutMetricsEndpointProviderTests : 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> LookoutMetricsEndpointProviderTests::TEST_CASES; -const size_t LookoutMetricsEndpointProviderTests::TEST_CASES_SZ = 29; - -Aws::Vector LookoutMetricsEndpointProviderTests::getTestCase() { - - Aws::Vector test_cases = { - /*TEST CASE 0*/ - {"For region ap-northeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutmetrics.ap-northeast-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 1*/ - {"For region ap-southeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutmetrics.ap-southeast-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 2*/ - {"For region ap-southeast-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutmetrics.ap-southeast-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 3*/ - {"For region eu-central-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-central-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutmetrics.eu-central-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 4*/ - {"For region eu-north-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutmetrics.eu-north-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 5*/ - {"For region eu-west-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutmetrics.eu-west-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*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 - {{/*epUrl*/"https://lookoutmetrics.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 7*/ - {"For region us-east-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutmetrics.us-east-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 8*/ - {"For region us-west-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-west-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutmetrics.us-west-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 9*/ - {"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 - {{/*epUrl*/"https://lookoutmetrics-fips.us-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 10*/ - {"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 - {{/*epUrl*/"https://lookoutmetrics-fips.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 11*/ - {"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 - {{/*epUrl*/"https://lookoutmetrics.us-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 12*/ - {"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://lookoutmetrics-fips.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 13*/ - {"For region cn-north-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutmetrics-fips.cn-north-1.amazonaws.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 14*/ - {"For region cn-north-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutmetrics.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 15*/ - {"For region cn-north-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutmetrics.cn-north-1.amazonaws.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 16*/ - {"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 - {}, // tags - {{/*epUrl*/"https://lookoutmetrics-fips.us-gov-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 17*/ - {"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 - {}, // tags - {{/*epUrl*/"https://lookoutmetrics-fips.us-gov-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 18*/ - {"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 - {}, // tags - {{/*epUrl*/"https://lookoutmetrics.us-gov-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 19*/ - {"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 - {}, // tags - {{/*epUrl*/"https://lookoutmetrics.us-gov-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 20*/ - {"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 - {{/*epUrl*/"https://lookoutmetrics-fips.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 21*/ - {"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 - {{/*epUrl*/"https://lookoutmetrics.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 22*/ - {"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 - {{/*epUrl*/"https://lookoutmetrics-fips.us-isob-east-1.sc2s.sgov.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 23*/ - {"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 - {{/*epUrl*/"https://lookoutmetrics.us-isob-east-1.sc2s.sgov.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 24*/ - {"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 - {}, // tags - {{/*epUrl*/"https://example.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 25*/ - {"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 - {}, // tags - {{/*epUrl*/"https://example.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 26*/ - {"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 - {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // expect - }, - /*TEST CASE 27*/ - {"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 - {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Dualstack and custom endpoint are not supported"} // expect - }, - /*TEST CASE 28*/ - {"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 LookoutMetricsEndpointProviderEndpointTestCase::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(LookoutMetricsEndpointProviderTests, 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 LookoutMetricsEndpointProviderEndpointTestCase& 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/LookoutMetricsEndpointProviderTests.EndpointProviderTest/") + Aws::Utils::StringUtils::to_string(TEST_CASE_IDX)); - - std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG); - ASSERT_TRUE(endpointProvider) << "Failed to allocate/initialize LookoutMetricsEndpointProvider"; - - 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, - LookoutMetricsEndpointProviderTests, - ::testing::Range((size_t) 0u, LookoutMetricsEndpointProviderTests::TEST_CASES_SZ)); diff --git a/generated/tests/lookoutmetrics-gen-tests/LookoutMetricsIncludeTests.cpp b/generated/tests/lookoutmetrics-gen-tests/LookoutMetricsIncludeTests.cpp deleted file mode 100644 index 8d81ea2e7aa..00000000000 --- a/generated/tests/lookoutmetrics-gen-tests/LookoutMetricsIncludeTests.cpp +++ /dev/null @@ -1,164 +0,0 @@ -/** - * 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 -#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 -#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 -#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 -#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 LookoutMetricsIncludeTest = ::testing::Test; - -TEST_F(LookoutMetricsIncludeTest, TestClientCompiles) -{ - Aws::Client::ClientConfigurationInitValues cfgInit; - cfgInit.shouldDisableIMDS = true; - Aws::Client::ClientConfiguration config(cfgInit); - AWS_UNREFERENCED_PARAM(config); - // auto pClient = Aws::MakeUnique("LookoutMetricsIncludeTest", config); - // ASSERT_TRUE(pClient.get()); -} diff --git a/generated/tests/lookoutmetrics-gen-tests/RunTests.cpp b/generated/tests/lookoutmetrics-gen-tests/RunTests.cpp deleted file mode 100644 index f2f10a7c789..00000000000 --- a/generated/tests/lookoutmetrics-gen-tests/RunTests.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/** - * 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/generated/tests/lookoutvision-gen-tests/CMakeLists.txt b/generated/tests/lookoutvision-gen-tests/CMakeLists.txt deleted file mode 100644 index 1a679d794b1..00000000000 --- a/generated/tests/lookoutvision-gen-tests/CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ -add_project(lookoutvision-gen-tests - "Tests for the AWS LOOKOUTVISION C++ SDK" - testing-resources - aws-cpp-sdk-lookoutvision - aws-cpp-sdk-core) - -file(GLOB AWS_LOOKOUTVISION_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_LOOKOUTVISION_GENERATED_TEST_SRC}") -else() - add_executable(${PROJECT_NAME} "${AWS_LOOKOUTVISION_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/lookoutvision-gen-tests/LookoutforVisionEndpointProviderTests.cpp b/generated/tests/lookoutvision-gen-tests/LookoutforVisionEndpointProviderTests.cpp deleted file mode 100644 index 942de25ccb3..00000000000 --- a/generated/tests/lookoutvision-gen-tests/LookoutforVisionEndpointProviderTests.cpp +++ /dev/null @@ -1,458 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - - -static const char* ALLOCATION_TAG = "AWSLookoutforVisionEndpointProviderTests"; -using LookoutforVisionEndpointProvider = Aws::LookoutforVision::Endpoint::LookoutforVisionEndpointProvider; -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 LookoutforVisionEndpointProviderEndpointTestCase -{ - 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 LookoutforVisionEndpointProviderTests : 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> LookoutforVisionEndpointProviderTests::TEST_CASES; -const size_t LookoutforVisionEndpointProviderTests::TEST_CASES_SZ = 27; - -Aws::Vector LookoutforVisionEndpointProviderTests::getTestCase() { - - Aws::Vector test_cases = { - /*TEST CASE 0*/ - {"For region ap-northeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutvision.ap-northeast-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 1*/ - {"For region ap-northeast-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutvision.ap-northeast-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 2*/ - {"For region eu-central-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-central-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutvision.eu-central-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 3*/ - {"For region eu-west-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutvision.eu-west-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 4*/ - {"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 - {{/*epUrl*/"https://lookoutvision.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 5*/ - {"For region us-east-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutvision.us-east-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 6*/ - {"For region us-west-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-west-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutvision.us-west-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 7*/ - {"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 - {{/*epUrl*/"https://lookoutvision-fips.us-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 8*/ - {"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 - {{/*epUrl*/"https://lookoutvision-fips.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 9*/ - {"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 - {{/*epUrl*/"https://lookoutvision.us-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 10*/ - {"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://lookoutvision-fips.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 11*/ - {"For region cn-north-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutvision-fips.cn-north-1.amazonaws.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 12*/ - {"For region cn-north-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutvision.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 13*/ - {"For region cn-north-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://lookoutvision.cn-north-1.amazonaws.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 14*/ - {"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 - {}, // tags - {{/*epUrl*/"https://lookoutvision-fips.us-gov-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 15*/ - {"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 - {}, // tags - {{/*epUrl*/"https://lookoutvision-fips.us-gov-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 16*/ - {"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 - {}, // tags - {{/*epUrl*/"https://lookoutvision.us-gov-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 17*/ - {"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 - {}, // tags - {{/*epUrl*/"https://lookoutvision.us-gov-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 18*/ - {"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 - {{/*epUrl*/"https://lookoutvision-fips.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 19*/ - {"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 - {{/*epUrl*/"https://lookoutvision.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*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 - {{/*epUrl*/"https://lookoutvision-fips.us-isob-east-1.sc2s.sgov.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 21*/ - {"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 - {{/*epUrl*/"https://lookoutvision.us-isob-east-1.sc2s.sgov.gov", - {/*authScheme*/}, - {/*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 - {}, // tags - {{/*epUrl*/"https://example.com", - {/*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 - {}, // tags - {{/*epUrl*/"https://example.com", - {/*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 - {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // 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 - {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Dualstack and custom endpoint are not supported"} // expect - }, - /*TEST CASE 26*/ - {"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 LookoutforVisionEndpointProviderEndpointTestCase::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(LookoutforVisionEndpointProviderTests, 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 LookoutforVisionEndpointProviderEndpointTestCase& 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/LookoutforVisionEndpointProviderTests.EndpointProviderTest/") + Aws::Utils::StringUtils::to_string(TEST_CASE_IDX)); - - std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG); - ASSERT_TRUE(endpointProvider) << "Failed to allocate/initialize LookoutforVisionEndpointProvider"; - - 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, - LookoutforVisionEndpointProviderTests, - ::testing::Range((size_t) 0u, LookoutforVisionEndpointProviderTests::TEST_CASES_SZ)); diff --git a/generated/tests/lookoutvision-gen-tests/LookoutforVisionIncludeTests.cpp b/generated/tests/lookoutvision-gen-tests/LookoutforVisionIncludeTests.cpp deleted file mode 100644 index 2ffa3bf4fb7..00000000000 --- a/generated/tests/lookoutvision-gen-tests/LookoutforVisionIncludeTests.cpp +++ /dev/null @@ -1,112 +0,0 @@ -/** - * 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 -#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 -#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 -#include -#include -#include -#include - -using LookoutforVisionIncludeTest = ::testing::Test; - -TEST_F(LookoutforVisionIncludeTest, TestClientCompiles) -{ - Aws::Client::ClientConfigurationInitValues cfgInit; - cfgInit.shouldDisableIMDS = true; - Aws::Client::ClientConfiguration config(cfgInit); - AWS_UNREFERENCED_PARAM(config); - // auto pClient = Aws::MakeUnique("LookoutforVisionIncludeTest", config); - // ASSERT_TRUE(pClient.get()); -} diff --git a/generated/tests/lookoutvision-gen-tests/RunTests.cpp b/generated/tests/lookoutvision-gen-tests/RunTests.cpp deleted file mode 100644 index f2f10a7c789..00000000000 --- a/generated/tests/lookoutvision-gen-tests/RunTests.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/** - * 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/generated/tests/qldb-gen-tests/CMakeLists.txt b/generated/tests/qldb-gen-tests/CMakeLists.txt deleted file mode 100644 index ae6ace9fa79..00000000000 --- a/generated/tests/qldb-gen-tests/CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ -add_project(qldb-gen-tests - "Tests for the AWS QLDB C++ SDK" - testing-resources - aws-cpp-sdk-qldb - aws-cpp-sdk-core) - -file(GLOB AWS_QLDB_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_QLDB_GENERATED_TEST_SRC}") -else() - add_executable(${PROJECT_NAME} "${AWS_QLDB_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/qldb-gen-tests/QLDBEndpointProviderTests.cpp b/generated/tests/qldb-gen-tests/QLDBEndpointProviderTests.cpp deleted file mode 100644 index c198546cbdf..00000000000 --- a/generated/tests/qldb-gen-tests/QLDBEndpointProviderTests.cpp +++ /dev/null @@ -1,521 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - - -static const char* ALLOCATION_TAG = "AWSQLDBEndpointProviderTests"; -using QLDBEndpointProvider = Aws::QLDB::Endpoint::QLDBEndpointProvider; -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 QLDBEndpointProviderEndpointTestCase -{ - 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 QLDBEndpointProviderTests : 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> QLDBEndpointProviderTests::TEST_CASES; -const size_t QLDBEndpointProviderTests::TEST_CASES_SZ = 34; - -Aws::Vector QLDBEndpointProviderTests::getTestCase() { - - Aws::Vector test_cases = { - /*TEST CASE 0*/ - {"For region ap-northeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb.ap-northeast-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 1*/ - {"For region ap-northeast-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb.ap-northeast-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 2*/ - {"For region ap-southeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb.ap-southeast-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 3*/ - {"For region ap-southeast-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb.ap-southeast-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 4*/ - {"For region ca-central-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ca-central-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb.ca-central-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 5*/ - {"For region ca-central-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "ca-central-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb-fips.ca-central-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 6*/ - {"For region eu-central-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-central-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb.eu-central-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 7*/ - {"For region eu-west-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb.eu-west-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 8*/ - {"For region eu-west-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb.eu-west-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 9*/ - {"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 - {{/*epUrl*/"https://qldb.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 10*/ - {"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 - {{/*epUrl*/"https://qldb-fips.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 11*/ - {"For region us-east-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb.us-east-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 12*/ - {"For region us-east-2 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb-fips.us-east-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 13*/ - {"For region us-west-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-west-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb.us-west-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 14*/ - {"For region us-west-2 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-west-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb-fips.us-west-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 15*/ - {"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 - {{/*epUrl*/"https://qldb-fips.us-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 16*/ - {"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 - {{/*epUrl*/"https://qldb.us-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 17*/ - {"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://qldb-fips.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 18*/ - {"For region cn-north-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb-fips.cn-north-1.amazonaws.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 19*/ - {"For region cn-north-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*epUrl*/"https://qldb.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 20*/ - {"For region cn-north-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://qldb.cn-north-1.amazonaws.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 21*/ - {"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 - {}, // tags - {{/*epUrl*/"https://qldb-fips.us-gov-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 22*/ - {"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 - {}, // tags - {{/*epUrl*/"https://qldb-fips.us-gov-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 23*/ - {"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 - {}, // tags - {{/*epUrl*/"https://qldb.us-gov-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 24*/ - {"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 - {}, // tags - {{/*epUrl*/"https://qldb.us-gov-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 25*/ - {"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 - {{/*epUrl*/"https://qldb-fips.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 26*/ - {"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 - {{/*epUrl*/"https://qldb.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 27*/ - {"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 - {{/*epUrl*/"https://qldb-fips.us-isob-east-1.sc2s.sgov.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 28*/ - {"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 - {{/*epUrl*/"https://qldb.us-isob-east-1.sc2s.sgov.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 29*/ - {"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 - {}, // tags - {{/*epUrl*/"https://example.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 30*/ - {"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 - {}, // tags - {{/*epUrl*/"https://example.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 31*/ - {"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 - {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // expect - }, - /*TEST CASE 32*/ - {"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 - {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Dualstack and custom endpoint are not supported"} // expect - }, - /*TEST CASE 33*/ - {"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 QLDBEndpointProviderEndpointTestCase::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(QLDBEndpointProviderTests, 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 QLDBEndpointProviderEndpointTestCase& 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/QLDBEndpointProviderTests.EndpointProviderTest/") + Aws::Utils::StringUtils::to_string(TEST_CASE_IDX)); - - std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG); - ASSERT_TRUE(endpointProvider) << "Failed to allocate/initialize QLDBEndpointProvider"; - - 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, - QLDBEndpointProviderTests, - ::testing::Range((size_t) 0u, QLDBEndpointProviderTests::TEST_CASES_SZ)); diff --git a/generated/tests/qldb-gen-tests/QLDBIncludeTests.cpp b/generated/tests/qldb-gen-tests/QLDBIncludeTests.cpp deleted file mode 100644 index 2626394d6b0..00000000000 --- a/generated/tests/qldb-gen-tests/QLDBIncludeTests.cpp +++ /dev/null @@ -1,89 +0,0 @@ -/** - * 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 -#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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -using QLDBIncludeTest = ::testing::Test; - -TEST_F(QLDBIncludeTest, TestClientCompiles) -{ - Aws::Client::ClientConfigurationInitValues cfgInit; - cfgInit.shouldDisableIMDS = true; - Aws::Client::ClientConfiguration config(cfgInit); - AWS_UNREFERENCED_PARAM(config); - // auto pClient = Aws::MakeUnique("QLDBIncludeTest", config); - // ASSERT_TRUE(pClient.get()); -} diff --git a/generated/tests/qldb-gen-tests/RunTests.cpp b/generated/tests/qldb-gen-tests/RunTests.cpp deleted file mode 100644 index f2f10a7c789..00000000000 --- a/generated/tests/qldb-gen-tests/RunTests.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/** - * 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/generated/tests/qldb-session-gen-tests/CMakeLists.txt b/generated/tests/qldb-session-gen-tests/CMakeLists.txt deleted file mode 100644 index 85e5dcc3cef..00000000000 --- a/generated/tests/qldb-session-gen-tests/CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ -add_project(qldb-session-gen-tests - "Tests for the AWS QLDB-SESSION C++ SDK" - testing-resources - aws-cpp-sdk-qldb-session - aws-cpp-sdk-core) - -file(GLOB AWS_QLDB-SESSION_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_QLDB-SESSION_GENERATED_TEST_SRC}") -else() - add_executable(${PROJECT_NAME} "${AWS_QLDB-SESSION_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/qldb-session-gen-tests/QLDBSessionEndpointProviderTests.cpp b/generated/tests/qldb-session-gen-tests/QLDBSessionEndpointProviderTests.cpp deleted file mode 100644 index 225455fe4ce..00000000000 --- a/generated/tests/qldb-session-gen-tests/QLDBSessionEndpointProviderTests.cpp +++ /dev/null @@ -1,512 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - - -static const char* ALLOCATION_TAG = "AWSQLDBSessionEndpointProviderTests"; -using QLDBSessionEndpointProvider = Aws::QLDBSession::Endpoint::QLDBSessionEndpointProvider; -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 QLDBSessionEndpointProviderEndpointTestCase -{ - 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 QLDBSessionEndpointProviderTests : 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> QLDBSessionEndpointProviderTests::TEST_CASES; -const size_t QLDBSessionEndpointProviderTests::TEST_CASES_SZ = 33; - -Aws::Vector QLDBSessionEndpointProviderTests::getTestCase() { - - Aws::Vector test_cases = { - /*TEST CASE 0*/ - {"For region ap-northeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb.ap-northeast-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 1*/ - {"For region ap-northeast-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb.ap-northeast-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 2*/ - {"For region ap-southeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb.ap-southeast-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 3*/ - {"For region ap-southeast-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb.ap-southeast-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 4*/ - {"For region ca-central-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ca-central-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb.ca-central-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 5*/ - {"For region eu-central-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-central-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb.eu-central-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 6*/ - {"For region eu-west-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb.eu-west-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 7*/ - {"For region eu-west-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb.eu-west-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 8*/ - {"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 - {{/*epUrl*/"https://session.qldb.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 9*/ - {"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 - {{/*epUrl*/"https://session.qldb-fips.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 10*/ - {"For region us-east-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb.us-east-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 11*/ - {"For region us-east-2 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb-fips.us-east-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 12*/ - {"For region us-west-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-west-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb.us-west-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 13*/ - {"For region us-west-2 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-west-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb-fips.us-west-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 14*/ - {"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 - {{/*epUrl*/"https://session.qldb-fips.us-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 15*/ - {"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 - {{/*epUrl*/"https://session.qldb.us-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 16*/ - {"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://session.qldb-fips.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 17*/ - {"For region cn-north-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb-fips.cn-north-1.amazonaws.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 18*/ - {"For region cn-north-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 19*/ - {"For region cn-north-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://session.qldb.cn-north-1.amazonaws.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 20*/ - {"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 - {}, // tags - {{/*epUrl*/"https://session.qldb-fips.us-gov-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 21*/ - {"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 - {}, // tags - {{/*epUrl*/"https://session.qldb-fips.us-gov-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 22*/ - {"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 - {}, // tags - {{/*epUrl*/"https://session.qldb.us-gov-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 23*/ - {"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 - {}, // tags - {{/*epUrl*/"https://session.qldb.us-gov-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 24*/ - {"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 - {{/*epUrl*/"https://session.qldb-fips.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 25*/ - {"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 - {{/*epUrl*/"https://session.qldb.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 26*/ - {"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 - {{/*epUrl*/"https://session.qldb-fips.us-isob-east-1.sc2s.sgov.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 27*/ - {"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 - {{/*epUrl*/"https://session.qldb.us-isob-east-1.sc2s.sgov.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 28*/ - {"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 - {}, // tags - {{/*epUrl*/"https://example.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 29*/ - {"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 - {}, // tags - {{/*epUrl*/"https://example.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 30*/ - {"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 - {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // expect - }, - /*TEST CASE 31*/ - {"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 - {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Dualstack and custom endpoint are not supported"} // expect - }, - /*TEST CASE 32*/ - {"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 QLDBSessionEndpointProviderEndpointTestCase::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(QLDBSessionEndpointProviderTests, 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 QLDBSessionEndpointProviderEndpointTestCase& 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/QLDBSessionEndpointProviderTests.EndpointProviderTest/") + Aws::Utils::StringUtils::to_string(TEST_CASE_IDX)); - - std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG); - ASSERT_TRUE(endpointProvider) << "Failed to allocate/initialize QLDBSessionEndpointProvider"; - - 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, - QLDBSessionEndpointProviderTests, - ::testing::Range((size_t) 0u, QLDBSessionEndpointProviderTests::TEST_CASES_SZ)); diff --git a/generated/tests/qldb-session-gen-tests/QLDBSessionIncludeTests.cpp b/generated/tests/qldb-session-gen-tests/QLDBSessionIncludeTests.cpp deleted file mode 100644 index be0c2533fe8..00000000000 --- a/generated/tests/qldb-session-gen-tests/QLDBSessionIncludeTests.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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 -#include -#include - -using QLDBSessionIncludeTest = ::testing::Test; - -TEST_F(QLDBSessionIncludeTest, TestClientCompiles) -{ - Aws::Client::ClientConfigurationInitValues cfgInit; - cfgInit.shouldDisableIMDS = true; - Aws::Client::ClientConfiguration config(cfgInit); - AWS_UNREFERENCED_PARAM(config); - // auto pClient = Aws::MakeUnique("QLDBSessionIncludeTest", config); - // ASSERT_TRUE(pClient.get()); -} diff --git a/generated/tests/qldb-session-gen-tests/RunTests.cpp b/generated/tests/qldb-session-gen-tests/RunTests.cpp deleted file mode 100644 index f2f10a7c789..00000000000 --- a/generated/tests/qldb-session-gen-tests/RunTests.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/** - * 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/generated/tests/robomaker-gen-tests/CMakeLists.txt b/generated/tests/robomaker-gen-tests/CMakeLists.txt deleted file mode 100644 index 8dcf77ab760..00000000000 --- a/generated/tests/robomaker-gen-tests/CMakeLists.txt +++ /dev/null @@ -1,42 +0,0 @@ -add_project(robomaker-gen-tests - "Tests for the AWS ROBOMAKER C++ SDK" - testing-resources - aws-cpp-sdk-robomaker - aws-cpp-sdk-core) - -file(GLOB AWS_ROBOMAKER_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_ROBOMAKER_GENERATED_TEST_SRC}") -else() - add_executable(${PROJECT_NAME} "${AWS_ROBOMAKER_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/robomaker-gen-tests/RoboMakerEndpointProviderTests.cpp b/generated/tests/robomaker-gen-tests/RoboMakerEndpointProviderTests.cpp deleted file mode 100644 index dc9dc385e57..00000000000 --- a/generated/tests/robomaker-gen-tests/RoboMakerEndpointProviderTests.cpp +++ /dev/null @@ -1,467 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0. - */ - -#include -#include - -#include - - -static const char* ALLOCATION_TAG = "AWSRoboMakerEndpointProviderTests"; -using RoboMakerEndpointProvider = Aws::RoboMaker::Endpoint::RoboMakerEndpointProvider; -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 RoboMakerEndpointProviderEndpointTestCase -{ - 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 RoboMakerEndpointProviderTests : 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> RoboMakerEndpointProviderTests::TEST_CASES; -const size_t RoboMakerEndpointProviderTests::TEST_CASES_SZ = 28; - -Aws::Vector RoboMakerEndpointProviderTests::getTestCase() { - - Aws::Vector test_cases = { - /*TEST CASE 0*/ - {"For region ap-northeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://robomaker.ap-northeast-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 1*/ - {"For region ap-southeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://robomaker.ap-southeast-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 2*/ - {"For region eu-central-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-central-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://robomaker.eu-central-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 3*/ - {"For region eu-west-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://robomaker.eu-west-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 4*/ - {"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 - {{/*epUrl*/"https://robomaker.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 5*/ - {"For region us-east-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://robomaker.us-east-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 6*/ - {"For region us-west-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-west-2"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://robomaker.us-west-2.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 7*/ - {"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 - {{/*epUrl*/"https://robomaker-fips.us-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 8*/ - {"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 - {{/*epUrl*/"https://robomaker-fips.us-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 9*/ - {"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 - {{/*epUrl*/"https://robomaker.us-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 10*/ - {"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://robomaker-fips.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 11*/ - {"For region cn-north-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://robomaker-fips.cn-north-1.amazonaws.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 12*/ - {"For region cn-north-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*epUrl*/"https://robomaker.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 13*/ - {"For region cn-north-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://robomaker.cn-north-1.amazonaws.com.cn", - {/*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://robomaker.us-gov-west-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 15*/ - {"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 - {}, // tags - {{/*epUrl*/"https://robomaker-fips.us-gov-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 16*/ - {"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 - {}, // tags - {{/*epUrl*/"https://robomaker-fips.us-gov-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 17*/ - {"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 - {}, // tags - {{/*epUrl*/"https://robomaker.us-gov-east-1.api.aws", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 18*/ - {"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 - {}, // tags - {{/*epUrl*/"https://robomaker.us-gov-east-1.amazonaws.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 19*/ - {"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 - {{/*epUrl*/"https://robomaker-fips.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 20*/ - {"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 - {{/*epUrl*/"https://robomaker.us-iso-east-1.c2s.ic.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 21*/ - {"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 - {{/*epUrl*/"https://robomaker-fips.us-isob-east-1.sc2s.sgov.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*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 - {{/*epUrl*/"https://robomaker.us-isob-east-1.sc2s.sgov.gov", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 23*/ - {"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 - {}, // tags - {{/*epUrl*/"https://example.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 24*/ - {"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 - {}, // tags - {{/*epUrl*/"https://example.com", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 25*/ - {"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 - {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // expect - }, - /*TEST CASE 26*/ - {"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 - {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Dualstack and custom endpoint are not supported"} // expect - }, - /*TEST CASE 27*/ - {"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 RoboMakerEndpointProviderEndpointTestCase::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(RoboMakerEndpointProviderTests, 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 RoboMakerEndpointProviderEndpointTestCase& 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/RoboMakerEndpointProviderTests.EndpointProviderTest/") + Aws::Utils::StringUtils::to_string(TEST_CASE_IDX)); - - std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG); - ASSERT_TRUE(endpointProvider) << "Failed to allocate/initialize RoboMakerEndpointProvider"; - - 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, - RoboMakerEndpointProviderTests, - ::testing::Range((size_t) 0u, RoboMakerEndpointProviderTests::TEST_CASES_SZ)); diff --git a/generated/tests/robomaker-gen-tests/RoboMakerIncludeTests.cpp b/generated/tests/robomaker-gen-tests/RoboMakerIncludeTests.cpp deleted file mode 100644 index be0556c8a92..00000000000 --- a/generated/tests/robomaker-gen-tests/RoboMakerIncludeTests.cpp +++ /dev/null @@ -1,185 +0,0 @@ -/** - * 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 -#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 -#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 -#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 -#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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -using RoboMakerIncludeTest = ::testing::Test; - -TEST_F(RoboMakerIncludeTest, TestClientCompiles) -{ - Aws::Client::ClientConfigurationInitValues cfgInit; - cfgInit.shouldDisableIMDS = true; - Aws::Client::ClientConfiguration config(cfgInit); - AWS_UNREFERENCED_PARAM(config); - // auto pClient = Aws::MakeUnique("RoboMakerIncludeTest", config); - // ASSERT_TRUE(pClient.get()); -} diff --git a/generated/tests/robomaker-gen-tests/RunTests.cpp b/generated/tests/robomaker-gen-tests/RunTests.cpp deleted file mode 100644 index f2f10a7c789..00000000000 --- a/generated/tests/robomaker-gen-tests/RunTests.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/** - * 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/tools/code-generation/api-descriptions/apptest-2022-12-06.normal.json b/tools/code-generation/api-descriptions/apptest-2022-12-06.normal.json deleted file mode 100644 index fe14ff269e6..00000000000 --- a/tools/code-generation/api-descriptions/apptest-2022-12-06.normal.json +++ /dev/null @@ -1,3510 +0,0 @@ -{ - "version":"2.0", - "metadata":{ - "apiVersion":"2022-12-06", - "auth":["aws.auth#sigv4"], - "endpointPrefix":"apptest", - "protocol":"rest-json", - "protocols":["rest-json"], - "serviceFullName":"AWS Mainframe Modernization Application Testing", - "serviceId":"AppTest", - "signatureVersion":"v4", - "signingName":"apptest", - "uid":"apptest-2022-12-06" - }, - "operations":{ - "CreateTestCase":{ - "name":"CreateTestCase", - "http":{ - "method":"POST", - "requestUri":"/testcase", - "responseCode":201 - }, - "input":{"shape":"CreateTestCaseRequest"}, - "output":{"shape":"CreateTestCaseResponse"}, - "errors":[ - {"shape":"ServiceQuotaExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Creates a test case.

", - "idempotent":true - }, - "CreateTestConfiguration":{ - "name":"CreateTestConfiguration", - "http":{ - "method":"POST", - "requestUri":"/testconfiguration", - "responseCode":201 - }, - "input":{"shape":"CreateTestConfigurationRequest"}, - "output":{"shape":"CreateTestConfigurationResponse"}, - "errors":[ - {"shape":"ServiceQuotaExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Creates a test configuration.

", - "idempotent":true - }, - "CreateTestSuite":{ - "name":"CreateTestSuite", - "http":{ - "method":"POST", - "requestUri":"/testsuite", - "responseCode":201 - }, - "input":{"shape":"CreateTestSuiteRequest"}, - "output":{"shape":"CreateTestSuiteResponse"}, - "errors":[ - {"shape":"ServiceQuotaExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Creates a test suite.

", - "idempotent":true - }, - "DeleteTestCase":{ - "name":"DeleteTestCase", - "http":{ - "method":"DELETE", - "requestUri":"/testcases/{testCaseId}", - "responseCode":204 - }, - "input":{"shape":"DeleteTestCaseRequest"}, - "output":{"shape":"DeleteTestCaseResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Deletes a test case.

", - "idempotent":true - }, - "DeleteTestConfiguration":{ - "name":"DeleteTestConfiguration", - "http":{ - "method":"DELETE", - "requestUri":"/testconfigurations/{testConfigurationId}", - "responseCode":204 - }, - "input":{"shape":"DeleteTestConfigurationRequest"}, - "output":{"shape":"DeleteTestConfigurationResponse"}, - "errors":[ - {"shape":"ServiceQuotaExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Deletes a test configuration.

", - "idempotent":true - }, - "DeleteTestRun":{ - "name":"DeleteTestRun", - "http":{ - "method":"DELETE", - "requestUri":"/testruns/{testRunId}", - "responseCode":204 - }, - "input":{"shape":"DeleteTestRunRequest"}, - "output":{"shape":"DeleteTestRunResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Deletes a test run.

", - "idempotent":true - }, - "DeleteTestSuite":{ - "name":"DeleteTestSuite", - "http":{ - "method":"DELETE", - "requestUri":"/testsuites/{testSuiteId}", - "responseCode":204 - }, - "input":{"shape":"DeleteTestSuiteRequest"}, - "output":{"shape":"DeleteTestSuiteResponse"}, - "errors":[ - {"shape":"ServiceQuotaExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Deletes a test suite.

", - "idempotent":true - }, - "GetTestCase":{ - "name":"GetTestCase", - "http":{ - "method":"GET", - "requestUri":"/testcases/{testCaseId}", - "responseCode":200 - }, - "input":{"shape":"GetTestCaseRequest"}, - "output":{"shape":"GetTestCaseResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Gets a test case.

" - }, - "GetTestConfiguration":{ - "name":"GetTestConfiguration", - "http":{ - "method":"GET", - "requestUri":"/testconfigurations/{testConfigurationId}", - "responseCode":200 - }, - "input":{"shape":"GetTestConfigurationRequest"}, - "output":{"shape":"GetTestConfigurationResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Gets a test configuration.

" - }, - "GetTestRunStep":{ - "name":"GetTestRunStep", - "http":{ - "method":"GET", - "requestUri":"/testruns/{testRunId}/steps/{stepName}", - "responseCode":200 - }, - "input":{"shape":"GetTestRunStepRequest"}, - "output":{"shape":"GetTestRunStepResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Gets a test run step.

" - }, - "GetTestSuite":{ - "name":"GetTestSuite", - "http":{ - "method":"GET", - "requestUri":"/testsuites/{testSuiteId}", - "responseCode":200 - }, - "input":{"shape":"GetTestSuiteRequest"}, - "output":{"shape":"GetTestSuiteResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Gets a test suite.

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

Lists tags for a resource.

" - }, - "ListTestCases":{ - "name":"ListTestCases", - "http":{ - "method":"GET", - "requestUri":"/testcases", - "responseCode":200 - }, - "input":{"shape":"ListTestCasesRequest"}, - "output":{"shape":"ListTestCasesResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Lists test cases.

" - }, - "ListTestConfigurations":{ - "name":"ListTestConfigurations", - "http":{ - "method":"GET", - "requestUri":"/testconfigurations", - "responseCode":200 - }, - "input":{"shape":"ListTestConfigurationsRequest"}, - "output":{"shape":"ListTestConfigurationsResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Lists test configurations.

" - }, - "ListTestRunSteps":{ - "name":"ListTestRunSteps", - "http":{ - "method":"GET", - "requestUri":"/testruns/{testRunId}/steps", - "responseCode":200 - }, - "input":{"shape":"ListTestRunStepsRequest"}, - "output":{"shape":"ListTestRunStepsResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Lists test run steps.

" - }, - "ListTestRunTestCases":{ - "name":"ListTestRunTestCases", - "http":{ - "method":"GET", - "requestUri":"/testruns/{testRunId}/testcases", - "responseCode":200 - }, - "input":{"shape":"ListTestRunTestCasesRequest"}, - "output":{"shape":"ListTestRunTestCasesResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Lists test run test cases.

" - }, - "ListTestRuns":{ - "name":"ListTestRuns", - "http":{ - "method":"GET", - "requestUri":"/testruns", - "responseCode":200 - }, - "input":{"shape":"ListTestRunsRequest"}, - "output":{"shape":"ListTestRunsResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Lists test runs.

" - }, - "ListTestSuites":{ - "name":"ListTestSuites", - "http":{ - "method":"GET", - "requestUri":"/testsuites", - "responseCode":200 - }, - "input":{"shape":"ListTestSuitesRequest"}, - "output":{"shape":"ListTestSuitesResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Lists test suites.

" - }, - "StartTestRun":{ - "name":"StartTestRun", - "http":{ - "method":"POST", - "requestUri":"/testrun", - "responseCode":200 - }, - "input":{"shape":"StartTestRunRequest"}, - "output":{"shape":"StartTestRunResponse"}, - "errors":[ - {"shape":"ServiceQuotaExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Starts a test run.

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

Specifies tags of a resource.

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

Untags a resource.

", - "idempotent":true - }, - "UpdateTestCase":{ - "name":"UpdateTestCase", - "http":{ - "method":"PATCH", - "requestUri":"/testcases/{testCaseId}", - "responseCode":200 - }, - "input":{"shape":"UpdateTestCaseRequest"}, - "output":{"shape":"UpdateTestCaseResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Updates a test case.

" - }, - "UpdateTestConfiguration":{ - "name":"UpdateTestConfiguration", - "http":{ - "method":"PATCH", - "requestUri":"/testconfigurations/{testConfigurationId}", - "responseCode":200 - }, - "input":{"shape":"UpdateTestConfigurationRequest"}, - "output":{"shape":"UpdateTestConfigurationResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Updates a test configuration.

" - }, - "UpdateTestSuite":{ - "name":"UpdateTestSuite", - "http":{ - "method":"PATCH", - "requestUri":"/testsuites/{testSuiteId}", - "responseCode":200 - }, - "input":{"shape":"UpdateTestSuiteRequest"}, - "output":{"shape":"UpdateTestSuiteResponse"}, - "errors":[ - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Updates a test suite.

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

The account or role doesn't have the right permissions to make the request.

", - "error":{ - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - "Arn":{ - "type":"string", - "pattern":"arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9/][A-Za-z0-9:_/+=,@.-]{0,1023}" - }, - "Batch":{ - "type":"structure", - "required":["batchJobName"], - "members":{ - "batchJobName":{ - "shape":"Variable", - "documentation":"

The job name of the batch.

" - }, - "batchJobParameters":{ - "shape":"BatchJobParameters", - "documentation":"

The batch job parameters of the batch.

" - }, - "exportDataSetNames":{ - "shape":"ExportDataSetNames", - "documentation":"

The export data set names of the batch.

" - } - }, - "documentation":"

Defines a batch.

" - }, - "BatchJobParameters":{ - "type":"map", - "key":{"shape":"String"}, - "value":{"shape":"String"} - }, - "BatchStepInput":{ - "type":"structure", - "required":[ - "resource", - "batchJobName" - ], - "members":{ - "resource":{ - "shape":"MainframeResourceSummary", - "documentation":"

The resource of the batch step input.

" - }, - "batchJobName":{ - "shape":"ResourceName", - "documentation":"

The batch job name of the batch step input.

" - }, - "batchJobParameters":{ - "shape":"BatchJobParameters", - "documentation":"

The batch job parameters of the batch step input.

" - }, - "exportDataSetNames":{ - "shape":"ExportDataSetNames", - "documentation":"

The export data set names of the batch step input.

" - }, - "properties":{ - "shape":"MainframeActionProperties", - "documentation":"

The properties of the batch step input.

" - } - }, - "documentation":"

Defines a batch step input.

" - }, - "BatchStepOutput":{ - "type":"structure", - "members":{ - "dataSetExportLocation":{ - "shape":"S3Uri", - "documentation":"

The data set export location of the batch step output.

" - }, - "dmsOutputLocation":{ - "shape":"S3Uri", - "documentation":"

The Database Migration Service (DMS) output location of the batch step output.

" - }, - "dataSetDetails":{ - "shape":"DataSetList", - "documentation":"

The data set details of the batch step output.

" - } - }, - "documentation":"

Defines a batch step output.

" - }, - "BatchSummary":{ - "type":"structure", - "required":["stepInput"], - "members":{ - "stepInput":{ - "shape":"BatchStepInput", - "documentation":"

The step input of the batch summary.

" - }, - "stepOutput":{ - "shape":"BatchStepOutput", - "documentation":"

The step output of the batch summary.

" - } - }, - "documentation":"

Summarizes a batch job.

" - }, - "Boolean":{ - "type":"boolean", - "box":true - }, - "CaptureTool":{ - "type":"string", - "enum":[ - "Precisely", - "AWS DMS" - ] - }, - "CloudFormation":{ - "type":"structure", - "required":["templateLocation"], - "members":{ - "templateLocation":{ - "shape":"S3Uri", - "documentation":"

The template location of the CloudFormation template.

" - }, - "parameters":{ - "shape":"Properties", - "documentation":"

The CloudFormation properties in the CloudFormation template.

" - } - }, - "documentation":"

Specifies the CloudFormation template and its parameters.

" - }, - "CloudFormationAction":{ - "type":"structure", - "required":["resource"], - "members":{ - "resource":{ - "shape":"Variable", - "documentation":"

The resource of the CloudFormation action.

" - }, - "actionType":{ - "shape":"CloudFormationActionType", - "documentation":"

The action type of the CloudFormation action.

" - } - }, - "documentation":"

Specifies the CloudFormation action.

" - }, - "CloudFormationActionType":{ - "type":"string", - "enum":[ - "Create", - "Delete" - ] - }, - "CloudFormationStepSummary":{ - "type":"structure", - "members":{ - "createCloudformation":{ - "shape":"CreateCloudFormationSummary", - "documentation":"

Creates the CloudFormation summary of the step.

" - }, - "deleteCloudformation":{ - "shape":"DeleteCloudFormationSummary", - "documentation":"

Deletes the CloudFormation summary of the CloudFormation step summary.

" - } - }, - "documentation":"

Specifies the CloudFormation step summary.

", - "union":true - }, - "CompareAction":{ - "type":"structure", - "required":["input"], - "members":{ - "input":{ - "shape":"Input", - "documentation":"

The input of the compare action.

" - }, - "output":{ - "shape":"Output", - "documentation":"

The output of the compare action.

" - } - }, - "documentation":"

Compares the action.

" - }, - "CompareActionSummary":{ - "type":"structure", - "required":["type"], - "members":{ - "type":{ - "shape":"File", - "documentation":"

The type of the compare action summary.

" - } - }, - "documentation":"

Specifies the compare action summary.

" - }, - "CompareDataSetsStepInput":{ - "type":"structure", - "required":[ - "sourceLocation", - "targetLocation", - "sourceDataSets", - "targetDataSets" - ], - "members":{ - "sourceLocation":{ - "shape":"S3Uri", - "documentation":"

The source location of the compare data sets step input location.

" - }, - "targetLocation":{ - "shape":"S3Uri", - "documentation":"

The target location of the compare data sets step input location.

" - }, - "sourceDataSets":{ - "shape":"DataSetList", - "documentation":"

The source data sets of the compare data sets step input location.

" - }, - "targetDataSets":{ - "shape":"DataSetList", - "documentation":"

The target data sets of the compare data sets step input location.

" - } - }, - "documentation":"

Specifies the compare data sets step input.

" - }, - "CompareDataSetsStepOutput":{ - "type":"structure", - "required":[ - "comparisonOutputLocation", - "comparisonStatus" - ], - "members":{ - "comparisonOutputLocation":{ - "shape":"S3Uri", - "documentation":"

The comparison output location of the compare data sets step output.

" - }, - "comparisonStatus":{ - "shape":"ComparisonStatusEnum", - "documentation":"

The comparison status of the compare data sets step output.

" - } - }, - "documentation":"

Specifies the compare data sets step output.

" - }, - "CompareDataSetsSummary":{ - "type":"structure", - "required":["stepInput"], - "members":{ - "stepInput":{ - "shape":"CompareDataSetsStepInput", - "documentation":"

The step input of the compare data sets summary.

" - }, - "stepOutput":{ - "shape":"CompareDataSetsStepOutput", - "documentation":"

The step output of the compare data sets summary.

" - } - }, - "documentation":"

Compares data sets summary.

" - }, - "CompareDatabaseCDCStepInput":{ - "type":"structure", - "required":[ - "sourceLocation", - "targetLocation", - "sourceMetadata", - "targetMetadata" - ], - "members":{ - "sourceLocation":{ - "shape":"String", - "documentation":"

The source location of the compare database CDC step input.

" - }, - "targetLocation":{ - "shape":"String", - "documentation":"

The target location of the compare database CDC step input.

" - }, - "outputLocation":{ - "shape":"String", - "documentation":"

The output location of the compare database CDC step input.

" - }, - "sourceMetadata":{ - "shape":"SourceDatabaseMetadata", - "documentation":"

The source metadata of the compare database CDC step input.

" - }, - "targetMetadata":{ - "shape":"TargetDatabaseMetadata", - "documentation":"

The target metadata location of the compare database CDC step input.

" - } - }, - "documentation":"

Compares the database Change Data Capture (CDC) step input.

" - }, - "CompareDatabaseCDCStepOutput":{ - "type":"structure", - "required":[ - "comparisonOutputLocation", - "comparisonStatus" - ], - "members":{ - "comparisonOutputLocation":{ - "shape":"String", - "documentation":"

The comparison output of the compare database CDC step output.

" - }, - "comparisonStatus":{ - "shape":"ComparisonStatusEnum", - "documentation":"

The comparison status of the compare database CDC step output.

" - } - }, - "documentation":"

Compares the database CDC step output.

" - }, - "CompareDatabaseCDCSummary":{ - "type":"structure", - "required":["stepInput"], - "members":{ - "stepInput":{ - "shape":"CompareDatabaseCDCStepInput", - "documentation":"

The step input of the compare database CDC summary.

" - }, - "stepOutput":{ - "shape":"CompareDatabaseCDCStepOutput", - "documentation":"

The step output of the compare database CDC summary.

" - } - }, - "documentation":"

Compares the database CDC summary.

" - }, - "CompareFileType":{ - "type":"structure", - "members":{ - "datasets":{ - "shape":"CompareDataSetsSummary", - "documentation":"

The data sets in the compare file type.

" - }, - "databaseCDC":{ - "shape":"CompareDatabaseCDCSummary", - "documentation":"

The database CDC of the compare file type.

" - } - }, - "documentation":"

Compares the file type.

", - "union":true - }, - "ComparisonStatusEnum":{ - "type":"string", - "enum":[ - "Different", - "Equivalent", - "Equal" - ] - }, - "ConflictException":{ - "type":"structure", - "required":["message"], - "members":{ - "message":{"shape":"String"}, - "resourceId":{ - "shape":"String", - "documentation":"

The resource ID of the conflicts with existing resources.

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

The resource type of the conflicts with existing resources.

" - } - }, - "documentation":"

The parameters provided in the request conflict with existing resources.

", - "error":{ - "httpStatusCode":409, - "senderFault":true - }, - "exception":true - }, - "CreateCloudFormationStepInput":{ - "type":"structure", - "required":["templateLocation"], - "members":{ - "templateLocation":{ - "shape":"S3Uri", - "documentation":"

The template location of the CloudFormation step input.

" - }, - "parameters":{ - "shape":"Properties", - "documentation":"

The CloudFormation properties of the CloudFormation step input.

" - } - }, - "documentation":"

Creates the CloudFormation step input.

" - }, - "CreateCloudFormationStepOutput":{ - "type":"structure", - "required":["stackId"], - "members":{ - "stackId":{ - "shape":"String", - "documentation":"

The stack ID of the CloudFormation step output.

" - }, - "exports":{ - "shape":"Properties", - "documentation":"

The exports of the CloudFormation step output.

" - } - }, - "documentation":"

Creates a CloudFormation step output.

" - }, - "CreateCloudFormationSummary":{ - "type":"structure", - "required":["stepInput"], - "members":{ - "stepInput":{ - "shape":"CreateCloudFormationStepInput", - "documentation":"

The step input of the CloudFormation summary.

" - }, - "stepOutput":{ - "shape":"CreateCloudFormationStepOutput", - "documentation":"

The step output of the CloudFormation summary.

" - } - }, - "documentation":"

Creates a CloudFormation summary.

" - }, - "CreateTestCaseRequest":{ - "type":"structure", - "required":[ - "name", - "steps" - ], - "members":{ - "name":{ - "shape":"ResourceName", - "documentation":"

The name of the test case.

" - }, - "description":{ - "shape":"ResourceDescription", - "documentation":"

The description of the test case.

" - }, - "steps":{ - "shape":"StepList", - "documentation":"

The steps in the test case.

" - }, - "clientToken":{ - "shape":"IdempotencyTokenString", - "documentation":"

The client token of the test case.

", - "idempotencyToken":true - }, - "tags":{ - "shape":"TagMap", - "documentation":"

The specified tags of the test case.

" - } - } - }, - "CreateTestCaseResponse":{ - "type":"structure", - "required":[ - "testCaseId", - "testCaseVersion" - ], - "members":{ - "testCaseId":{ - "shape":"Identifier", - "documentation":"

The test case ID of the test case.

" - }, - "testCaseVersion":{ - "shape":"Version", - "documentation":"

The test case version of the test case.

" - } - } - }, - "CreateTestConfigurationRequest":{ - "type":"structure", - "required":[ - "name", - "resources" - ], - "members":{ - "name":{ - "shape":"ResourceName", - "documentation":"

The name of the test configuration.

" - }, - "description":{ - "shape":"ResourceDescription", - "documentation":"

The description of the test configuration.

" - }, - "resources":{ - "shape":"ResourceList", - "documentation":"

The defined resources of the test configuration.

" - }, - "properties":{ - "shape":"Properties", - "documentation":"

The properties of the test configuration.

" - }, - "clientToken":{ - "shape":"IdempotencyTokenString", - "documentation":"

The client token of the test configuration.

", - "idempotencyToken":true - }, - "tags":{ - "shape":"TagMap", - "documentation":"

The tags of the test configuration.

" - }, - "serviceSettings":{ - "shape":"ServiceSettings", - "documentation":"

The service settings of the test configuration.

" - } - } - }, - "CreateTestConfigurationResponse":{ - "type":"structure", - "required":[ - "testConfigurationId", - "testConfigurationVersion" - ], - "members":{ - "testConfigurationId":{ - "shape":"Identifier", - "documentation":"

The test configuration ID.

" - }, - "testConfigurationVersion":{ - "shape":"Version", - "documentation":"

The test configuration version.

" - } - } - }, - "CreateTestSuiteRequest":{ - "type":"structure", - "required":[ - "name", - "testCases" - ], - "members":{ - "name":{ - "shape":"ResourceName", - "documentation":"

The name of the test suite.

" - }, - "description":{ - "shape":"ResourceDescription", - "documentation":"

The description of the test suite.

" - }, - "beforeSteps":{ - "shape":"StepList", - "documentation":"

The before steps of the test suite.

" - }, - "afterSteps":{ - "shape":"StepList", - "documentation":"

The after steps of the test suite.

" - }, - "testCases":{ - "shape":"TestCases", - "documentation":"

The test cases in the test suite.

" - }, - "clientToken":{ - "shape":"IdempotencyTokenString", - "documentation":"

The client token of the test suite.

", - "idempotencyToken":true - }, - "tags":{ - "shape":"TagMap", - "documentation":"

The tags of the test suite.

" - } - } - }, - "CreateTestSuiteResponse":{ - "type":"structure", - "required":[ - "testSuiteId", - "testSuiteVersion" - ], - "members":{ - "testSuiteId":{ - "shape":"Identifier", - "documentation":"

The suite ID of the test suite.

" - }, - "testSuiteVersion":{ - "shape":"Version", - "documentation":"

The suite version of the test suite.

" - } - } - }, - "DataSet":{ - "type":"structure", - "required":[ - "type", - "name", - "ccsid", - "format", - "length" - ], - "members":{ - "type":{ - "shape":"DataSetType", - "documentation":"

The type of the data set.

" - }, - "name":{ - "shape":"String100", - "documentation":"

The name of the data set.

" - }, - "ccsid":{ - "shape":"String50", - "documentation":"

The CCSID of the data set.

" - }, - "format":{ - "shape":"Format", - "documentation":"

The format of the data set.

" - }, - "length":{ - "shape":"Integer", - "documentation":"

The length of the data set.

" - } - }, - "documentation":"

Defines a data set.

" - }, - "DataSetList":{ - "type":"list", - "member":{"shape":"DataSet"} - }, - "DataSetType":{ - "type":"string", - "enum":["PS"] - }, - "DatabaseCDC":{ - "type":"structure", - "required":[ - "sourceMetadata", - "targetMetadata" - ], - "members":{ - "sourceMetadata":{ - "shape":"SourceDatabaseMetadata", - "documentation":"

The source metadata of the database CDC.

" - }, - "targetMetadata":{ - "shape":"TargetDatabaseMetadata", - "documentation":"

The target metadata of the database CDC.

" - } - }, - "documentation":"

Defines the Change Data Capture (CDC) of the database.

" - }, - "DeleteCloudFormationStepInput":{ - "type":"structure", - "required":["stackId"], - "members":{ - "stackId":{ - "shape":"String", - "documentation":"

The stack ID of the deleted CloudFormation step input.

" - } - }, - "documentation":"

Deletes the CloudFormation step input.

" - }, - "DeleteCloudFormationStepOutput":{ - "type":"structure", - "members":{ - }, - "documentation":"

Deletes the CloudFormation summary step output.

" - }, - "DeleteCloudFormationSummary":{ - "type":"structure", - "required":["stepInput"], - "members":{ - "stepInput":{ - "shape":"DeleteCloudFormationStepInput", - "documentation":"

The step input of the deleted CloudFormation summary.

" - }, - "stepOutput":{ - "shape":"DeleteCloudFormationStepOutput", - "documentation":"

The step output of the deleted CloudFormation summary.

" - } - }, - "documentation":"

Deletes the CloudFormation summary.

" - }, - "DeleteTestCaseRequest":{ - "type":"structure", - "required":["testCaseId"], - "members":{ - "testCaseId":{ - "shape":"Identifier", - "documentation":"

The test case ID of the test case.

", - "location":"uri", - "locationName":"testCaseId" - } - } - }, - "DeleteTestCaseResponse":{ - "type":"structure", - "members":{ - } - }, - "DeleteTestConfigurationRequest":{ - "type":"structure", - "required":["testConfigurationId"], - "members":{ - "testConfigurationId":{ - "shape":"Identifier", - "documentation":"

The test ID of the test configuration.

", - "location":"uri", - "locationName":"testConfigurationId" - } - } - }, - "DeleteTestConfigurationResponse":{ - "type":"structure", - "members":{ - } - }, - "DeleteTestRunRequest":{ - "type":"structure", - "required":["testRunId"], - "members":{ - "testRunId":{ - "shape":"Identifier", - "documentation":"

The run ID of the test run.

", - "location":"uri", - "locationName":"testRunId" - } - } - }, - "DeleteTestRunResponse":{ - "type":"structure", - "members":{ - } - }, - "DeleteTestSuiteRequest":{ - "type":"structure", - "required":["testSuiteId"], - "members":{ - "testSuiteId":{ - "shape":"Identifier", - "documentation":"

The test ID of the test suite.

", - "location":"uri", - "locationName":"testSuiteId" - } - } - }, - "DeleteTestSuiteResponse":{ - "type":"structure", - "members":{ - } - }, - "ExportDataSetNames":{ - "type":"list", - "member":{"shape":"String100"} - }, - "File":{ - "type":"structure", - "members":{ - "fileType":{ - "shape":"CompareFileType", - "documentation":"

The file type of the file.

" - } - }, - "documentation":"

Defines a file.

", - "union":true - }, - "FileMetadata":{ - "type":"structure", - "members":{ - "dataSets":{ - "shape":"DataSetList", - "documentation":"

The data sets of the file metadata.

" - }, - "databaseCDC":{ - "shape":"DatabaseCDC", - "documentation":"

The database CDC of the file metadata.

" - } - }, - "documentation":"

Specifies a file metadata.

", - "union":true - }, - "Format":{ - "type":"string", - "enum":[ - "FIXED", - "VARIABLE", - "LINE_SEQUENTIAL" - ] - }, - "GetTestCaseRequest":{ - "type":"structure", - "required":["testCaseId"], - "members":{ - "testCaseId":{ - "shape":"Identifier", - "documentation":"

The request test ID of the test case.

", - "location":"uri", - "locationName":"testCaseId" - }, - "testCaseVersion":{ - "shape":"Version", - "documentation":"

The test case version of the test case.

", - "location":"querystring", - "locationName":"testCaseVersion" - } - } - }, - "GetTestCaseResponse":{ - "type":"structure", - "required":[ - "testCaseId", - "testCaseArn", - "name", - "latestVersion", - "testCaseVersion", - "status", - "creationTime", - "lastUpdateTime", - "steps" - ], - "members":{ - "testCaseId":{ - "shape":"Identifier", - "documentation":"

The response test ID of the test case.

" - }, - "testCaseArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the test case.

" - }, - "name":{ - "shape":"ResourceName", - "documentation":"

The name of the test case.

" - }, - "description":{ - "shape":"ResourceDescription", - "documentation":"

The description of the test case.

" - }, - "latestVersion":{ - "shape":"TestCaseLatestVersion", - "documentation":"

The latest version of the test case.

" - }, - "testCaseVersion":{ - "shape":"Version", - "documentation":"

The case version of the test case.

" - }, - "status":{ - "shape":"TestCaseLifecycle", - "documentation":"

The status of the test case.

" - }, - "statusReason":{ - "shape":"String", - "documentation":"

The status reason of the test case.

" - }, - "creationTime":{ - "shape":"Timestamp", - "documentation":"

The creation time of the test case.

" - }, - "lastUpdateTime":{ - "shape":"Timestamp", - "documentation":"

The last update time of the test case.

" - }, - "steps":{ - "shape":"StepList", - "documentation":"

The steps of the test case.

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

The tags of the test case.

" - } - } - }, - "GetTestConfigurationRequest":{ - "type":"structure", - "required":["testConfigurationId"], - "members":{ - "testConfigurationId":{ - "shape":"Identifier", - "documentation":"

The request test configuration ID.

", - "location":"uri", - "locationName":"testConfigurationId" - }, - "testConfigurationVersion":{ - "shape":"Version", - "documentation":"

The test configuration version.

", - "location":"querystring", - "locationName":"testConfigurationVersion" - } - } - }, - "GetTestConfigurationResponse":{ - "type":"structure", - "required":[ - "testConfigurationId", - "name", - "testConfigurationArn", - "latestVersion", - "testConfigurationVersion", - "status", - "creationTime", - "lastUpdateTime", - "resources", - "properties" - ], - "members":{ - "testConfigurationId":{ - "shape":"Identifier", - "documentation":"

The response test configuration ID.

" - }, - "name":{ - "shape":"ResourceName", - "documentation":"

The test configuration name

" - }, - "testConfigurationArn":{ - "shape":"Arn", - "documentation":"

The test configuration Amazon Resource Name (ARN).

" - }, - "latestVersion":{ - "shape":"TestConfigurationLatestVersion", - "documentation":"

The latest version of the test configuration.

" - }, - "testConfigurationVersion":{ - "shape":"Version", - "documentation":"

The test configuration version.

" - }, - "status":{ - "shape":"TestConfigurationLifecycle", - "documentation":"

The status of the test configuration.

" - }, - "statusReason":{ - "shape":"String", - "documentation":"

The status reason of the test configuration.

" - }, - "creationTime":{ - "shape":"Timestamp", - "documentation":"

The creation time of the test configuration.

" - }, - "lastUpdateTime":{ - "shape":"Timestamp", - "documentation":"

The last update time of the test configuration.

" - }, - "description":{ - "shape":"ResourceDescription", - "documentation":"

The description of the test configuration.

" - }, - "resources":{ - "shape":"ResourceList", - "documentation":"

The resources of the test configuration.

" - }, - "properties":{ - "shape":"Properties", - "documentation":"

The properties of the test configuration.

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

The tags of the test configuration.

" - }, - "serviceSettings":{ - "shape":"ServiceSettings", - "documentation":"

The service settings of the test configuration.

" - } - } - }, - "GetTestRunStepRequest":{ - "type":"structure", - "required":[ - "testRunId", - "stepName" - ], - "members":{ - "testRunId":{ - "shape":"Identifier", - "documentation":"

The test run ID of the test run step.

", - "location":"uri", - "locationName":"testRunId" - }, - "stepName":{ - "shape":"ResourceName", - "documentation":"

The step name of the test run step.

", - "location":"uri", - "locationName":"stepName" - }, - "testCaseId":{ - "shape":"Identifier", - "documentation":"

The test case ID of a test run step.

", - "location":"querystring", - "locationName":"testCaseId" - }, - "testSuiteId":{ - "shape":"Identifier", - "documentation":"

The test suite ID of a test run step.

", - "location":"querystring", - "locationName":"testSuiteId" - } - } - }, - "GetTestRunStepResponse":{ - "type":"structure", - "required":[ - "stepName", - "testRunId", - "status", - "runStartTime" - ], - "members":{ - "stepName":{ - "shape":"ResourceName", - "documentation":"

The step name of the test run step.

" - }, - "testRunId":{ - "shape":"Identifier", - "documentation":"

The test run ID of the test run step.

" - }, - "testCaseId":{ - "shape":"Identifier", - "documentation":"

The test case ID of the test run step.

" - }, - "testCaseVersion":{ - "shape":"Version", - "documentation":"

The test case version of the test run step.

" - }, - "testSuiteId":{ - "shape":"Identifier", - "documentation":"

The test suite ID of the test run step.

" - }, - "testSuiteVersion":{ - "shape":"Version", - "documentation":"

The test suite version of the test run step.

" - }, - "beforeStep":{ - "shape":"Boolean", - "documentation":"

The before steps of the test run step.

" - }, - "afterStep":{ - "shape":"Boolean", - "documentation":"

The after steps of the test run step.

" - }, - "status":{ - "shape":"StepRunStatus", - "documentation":"

The status of the test run step.

" - }, - "statusReason":{ - "shape":"String", - "documentation":"

The status reason of the test run step.

" - }, - "runStartTime":{ - "shape":"Timestamp", - "documentation":"

The run start time of the test run step.

" - }, - "runEndTime":{ - "shape":"Timestamp", - "documentation":"

The run end time of the test run step.

" - }, - "stepRunSummary":{ - "shape":"StepRunSummary", - "documentation":"

The step run summary of the test run step.

" - } - } - }, - "GetTestSuiteRequest":{ - "type":"structure", - "required":["testSuiteId"], - "members":{ - "testSuiteId":{ - "shape":"Identifier", - "documentation":"

The ID of the test suite.

", - "location":"uri", - "locationName":"testSuiteId" - }, - "testSuiteVersion":{ - "shape":"Version", - "documentation":"

The version of the test suite.

", - "location":"querystring", - "locationName":"testSuiteVersion" - } - } - }, - "GetTestSuiteResponse":{ - "type":"structure", - "required":[ - "testSuiteId", - "name", - "latestVersion", - "testSuiteVersion", - "testSuiteArn", - "creationTime", - "lastUpdateTime", - "beforeSteps", - "afterSteps", - "testCases" - ], - "members":{ - "testSuiteId":{ - "shape":"Identifier", - "documentation":"

The response ID of the test suite.

" - }, - "name":{ - "shape":"ResourceName", - "documentation":"

The name of the test suite.

" - }, - "latestVersion":{ - "shape":"TestSuiteLatestVersion", - "documentation":"

The latest version of the test suite.

" - }, - "testSuiteVersion":{ - "shape":"Version", - "documentation":"

The version of the test suite.

" - }, - "status":{ - "shape":"TestSuiteLifecycle", - "documentation":"

The status of the test suite.

" - }, - "statusReason":{ - "shape":"String", - "documentation":"

The status reason of the test suite.

" - }, - "testSuiteArn":{ - "shape":"Arn", - "documentation":"

The test suite Amazon Resource Name (ARN).

" - }, - "creationTime":{ - "shape":"Timestamp", - "documentation":"

The creation time of the test suite.

" - }, - "lastUpdateTime":{ - "shape":"Timestamp", - "documentation":"

The last update time of the test suite.

" - }, - "description":{ - "shape":"ResourceDescription", - "documentation":"

The description of the test suite.

" - }, - "beforeSteps":{ - "shape":"StepList", - "documentation":"

The before steps of the test suite.

" - }, - "afterSteps":{ - "shape":"StepList", - "documentation":"

The after steps of the test suite.

" - }, - "testCases":{ - "shape":"TestCases", - "documentation":"

The test cases of the test suite.

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

The tags of the test suite.

" - } - } - }, - "IdempotencyTokenString":{ - "type":"string", - "pattern":"[A-Za-z0-9\\-]{1,64}" - }, - "Identifier":{ - "type":"string", - "pattern":"[A-Za-z0-9:/\\-]{1,100}" - }, - "Input":{ - "type":"structure", - "members":{ - "file":{ - "shape":"InputFile", - "documentation":"

The file in the input.

" - } - }, - "documentation":"

Specifies the input.

", - "union":true - }, - "InputFile":{ - "type":"structure", - "required":[ - "sourceLocation", - "targetLocation", - "fileMetadata" - ], - "members":{ - "sourceLocation":{ - "shape":"Variable", - "documentation":"

The source location of the input file.

" - }, - "targetLocation":{ - "shape":"Variable", - "documentation":"

The target location of the input file.

" - }, - "fileMetadata":{ - "shape":"FileMetadata", - "documentation":"

The file metadata of the input file.

" - } - }, - "documentation":"

Specifies the input file.

" - }, - "Integer":{ - "type":"integer", - "box":true - }, - "InternalServerException":{ - "type":"structure", - "required":["message"], - "members":{ - "message":{"shape":"String"}, - "retryAfterSeconds":{ - "shape":"Integer", - "documentation":"

The number of seconds to retry the query.

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

An unexpected error occurred during the processing of the request.

", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true, - "retryable":{"throttling":false} - }, - "ListTagsForResourceRequest":{ - "type":"structure", - "required":["resourceArn"], - "members":{ - "resourceArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the resource.

", - "location":"uri", - "locationName":"resourceArn" - } - } - }, - "ListTagsForResourceResponse":{ - "type":"structure", - "required":["tags"], - "members":{ - "tags":{ - "shape":"TagMap", - "documentation":"

The tags of the resource.

" - } - } - }, - "ListTestCasesRequest":{ - "type":"structure", - "members":{ - "testCaseIds":{ - "shape":"TestCaseIdList", - "documentation":"

The IDs of the test cases.

", - "location":"querystring", - "locationName":"testCaseIds" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The next token of the test cases.

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

The maximum results of the test case.

", - "location":"querystring", - "locationName":"maxResults" - } - } - }, - "ListTestCasesResponse":{ - "type":"structure", - "required":["testCases"], - "members":{ - "testCases":{ - "shape":"TestCaseSummaryList", - "documentation":"

The test cases in an application.

" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The next token in test cases.

" - } - } - }, - "ListTestConfigurationsRequest":{ - "type":"structure", - "members":{ - "testConfigurationIds":{ - "shape":"TestConfigurationIdList", - "documentation":"

The configuration IDs of the test configurations.

", - "location":"querystring", - "locationName":"testConfigurationIds" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The next token for the test configurations.

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

The maximum results of the test configuration.

", - "location":"querystring", - "locationName":"maxResults" - } - } - }, - "ListTestConfigurationsResponse":{ - "type":"structure", - "required":["testConfigurations"], - "members":{ - "testConfigurations":{ - "shape":"TestConfigurationList", - "documentation":"

The test configurations.

" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The next token in the test configurations.

" - } - } - }, - "ListTestRunStepsRequest":{ - "type":"structure", - "required":["testRunId"], - "members":{ - "testRunId":{ - "shape":"Identifier", - "documentation":"

The test run ID of the test run steps.

", - "location":"uri", - "locationName":"testRunId" - }, - "testCaseId":{ - "shape":"Identifier", - "documentation":"

The test case ID of the test run steps.

", - "location":"querystring", - "locationName":"testCaseId" - }, - "testSuiteId":{ - "shape":"Identifier", - "documentation":"

The test suite ID of the test run steps.

", - "location":"querystring", - "locationName":"testSuiteId" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The token from a previous step to retrieve the next page of results.

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

The maximum number of test run steps to return in one page of results.

", - "location":"querystring", - "locationName":"maxResults" - } - } - }, - "ListTestRunStepsResponse":{ - "type":"structure", - "required":["testRunSteps"], - "members":{ - "testRunSteps":{ - "shape":"TestRunStepSummaryList", - "documentation":"

The test run steps of the response query.

" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The token from a previous request to retrieve the next page of results.

" - } - } - }, - "ListTestRunTestCasesRequest":{ - "type":"structure", - "required":["testRunId"], - "members":{ - "testRunId":{ - "shape":"Identifier", - "documentation":"

The test run ID of the test cases.

", - "location":"uri", - "locationName":"testRunId" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The token from a previous request to retrieve the next page of results.

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

The maximum number of test run test cases to return in one page of results.

", - "location":"querystring", - "locationName":"maxResults" - } - } - }, - "ListTestRunTestCasesResponse":{ - "type":"structure", - "required":["testRunTestCases"], - "members":{ - "testRunTestCases":{ - "shape":"TestCaseRunSummaryList", - "documentation":"

The test run of the test cases.

" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The token from a previous request to retrieve the next page of results.

" - } - } - }, - "ListTestRunsRequest":{ - "type":"structure", - "members":{ - "testSuiteId":{ - "shape":"Identifier", - "documentation":"

The test suite ID of the test runs.

", - "location":"querystring", - "locationName":"testSuiteId" - }, - "testRunIds":{ - "shape":"TestRunIdList", - "documentation":"

The test run IDs of the test runs.

", - "location":"querystring", - "locationName":"testrunIds" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The token from the previous request to retrieve the next page of test run results.

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

The maximum number of test runs to return in one page of results.

", - "location":"querystring", - "locationName":"maxResults" - } - } - }, - "ListTestRunsResponse":{ - "type":"structure", - "required":["testRuns"], - "members":{ - "testRuns":{ - "shape":"TestRunSummaryList", - "documentation":"

The test runs of the response query.

" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The token from the previous request to retrieve the next page of results.

" - } - } - }, - "ListTestSuitesRequest":{ - "type":"structure", - "members":{ - "testSuiteIds":{ - "shape":"TestSuiteIdList", - "documentation":"

The suite ID of the test suites.

", - "location":"querystring", - "locationName":"testSuiteIds" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The token from a previous request to retrieve the next page of results.

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

The maximum number of test suites to return in one page of results.

", - "location":"querystring", - "locationName":"maxResults" - } - } - }, - "ListTestSuitesResponse":{ - "type":"structure", - "required":["testSuites"], - "members":{ - "testSuites":{ - "shape":"TestSuiteList", - "documentation":"

The test suites returned with the response query.

" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The token from a previous request to retrieve the next page of test suites results.

" - } - } - }, - "M2ManagedActionProperties":{ - "type":"structure", - "members":{ - "forceStop":{ - "shape":"Boolean", - "documentation":"

Force stops the AWS Mainframe Modernization managed action properties.

" - }, - "importDataSetLocation":{ - "shape":"Variable", - "documentation":"

The import data set location of the AWS Mainframe Modernization managed action properties.

" - } - }, - "documentation":"

Specifies the AWS Mainframe Modernization managed action properties.

" - }, - "M2ManagedActionType":{ - "type":"string", - "enum":[ - "Configure", - "Deconfigure" - ] - }, - "M2ManagedApplication":{ - "type":"structure", - "required":[ - "applicationId", - "runtime" - ], - "members":{ - "applicationId":{ - "shape":"Variable", - "documentation":"

The application ID of the AWS Mainframe Modernization managed application.

" - }, - "runtime":{ - "shape":"M2ManagedRuntime", - "documentation":"

The runtime of the AWS Mainframe Modernization managed application.

" - }, - "vpcEndpointServiceName":{ - "shape":"Variable", - "documentation":"

The VPC endpoint service name of the AWS Mainframe Modernization managed application.

" - }, - "listenerPort":{ - "shape":"Variable", - "documentation":"

The listener port of the AWS Mainframe Modernization managed application.

" - } - }, - "documentation":"

Specifies the AWS Mainframe Modernization managed application.

" - }, - "M2ManagedApplicationAction":{ - "type":"structure", - "required":[ - "resource", - "actionType" - ], - "members":{ - "resource":{ - "shape":"Variable", - "documentation":"

The resource of the AWS Mainframe Modernization managed application action.

" - }, - "actionType":{ - "shape":"M2ManagedActionType", - "documentation":"

The action type of the AWS Mainframe Modernization managed application action.

" - }, - "properties":{ - "shape":"M2ManagedActionProperties", - "documentation":"

The properties of the AWS Mainframe Modernization managed application action.

" - } - }, - "documentation":"

Specifies the AWS Mainframe Modernization managed application action.

" - }, - "M2ManagedApplicationStepInput":{ - "type":"structure", - "required":[ - "applicationId", - "runtime", - "actionType" - ], - "members":{ - "applicationId":{ - "shape":"String", - "documentation":"

The application ID of the AWS Mainframe Modernization managed application step input.

" - }, - "runtime":{ - "shape":"String", - "documentation":"

The runtime of the AWS Mainframe Modernization managed application step input.

" - }, - "vpcEndpointServiceName":{ - "shape":"String", - "documentation":"

The VPC endpoint service name of the AWS Mainframe Modernization managed application step input.

" - }, - "listenerPort":{ - "shape":"Integer", - "documentation":"

The listener port of the AWS Mainframe Modernization managed application step input.

" - }, - "actionType":{ - "shape":"M2ManagedActionType", - "documentation":"

The action type of the AWS Mainframe Modernization managed application step input.

" - }, - "properties":{ - "shape":"M2ManagedActionProperties", - "documentation":"

The properties of the AWS Mainframe Modernization managed application step input.

" - } - }, - "documentation":"

Specifies the AWS Mainframe Modernization managed application step input.

" - }, - "M2ManagedApplicationStepOutput":{ - "type":"structure", - "members":{ - "importDataSetSummary":{ - "shape":"Properties", - "documentation":"

The import data set summary of the AWS Mainframe Modernization managed application step output.

" - } - }, - "documentation":"

Specifies the AWS Mainframe Modernization managed application step output.

" - }, - "M2ManagedApplicationStepSummary":{ - "type":"structure", - "required":["stepInput"], - "members":{ - "stepInput":{ - "shape":"M2ManagedApplicationStepInput", - "documentation":"

The step input of the AWS Mainframe Modernization managed application step summary.

" - }, - "stepOutput":{ - "shape":"M2ManagedApplicationStepOutput", - "documentation":"

The step output of the AWS Mainframe Modernization managed application step summary.

" - } - }, - "documentation":"

Specifies the AWS Mainframe Modernization managed application step summary.

" - }, - "M2ManagedApplicationSummary":{ - "type":"structure", - "required":[ - "applicationId", - "runtime" - ], - "members":{ - "applicationId":{ - "shape":"Identifier", - "documentation":"

The application ID of the AWS Mainframe Modernization managed application summary.

" - }, - "runtime":{ - "shape":"M2ManagedRuntime", - "documentation":"

The runtime of the AWS Mainframe Modernization managed application summary.

" - }, - "listenerPort":{ - "shape":"Integer", - "documentation":"

The listener port of the AWS Mainframe Modernization managed application summary.

" - } - }, - "documentation":"

Specifies the AWS Mainframe Modernization managed application summary.

" - }, - "M2ManagedRuntime":{ - "type":"string", - "enum":["MicroFocus"] - }, - "M2NonManagedActionType":{ - "type":"string", - "enum":[ - "Configure", - "Deconfigure" - ] - }, - "M2NonManagedApplication":{ - "type":"structure", - "required":[ - "vpcEndpointServiceName", - "listenerPort", - "runtime" - ], - "members":{ - "vpcEndpointServiceName":{ - "shape":"Variable", - "documentation":"

The VPC endpoint service name of the AWS Mainframe Modernization non-managed application.

" - }, - "listenerPort":{ - "shape":"Variable", - "documentation":"

The listener port of the AWS Mainframe Modernization non-managed application.

" - }, - "runtime":{ - "shape":"M2NonManagedRuntime", - "documentation":"

The runtime of the AWS Mainframe Modernization non-managed application.

" - }, - "webAppName":{ - "shape":"Variable", - "documentation":"

The web application name of the AWS Mainframe Modernization non-managed application.

" - } - }, - "documentation":"

Specifies the AWS Mainframe Modernization non-managed application.

" - }, - "M2NonManagedApplicationAction":{ - "type":"structure", - "required":[ - "resource", - "actionType" - ], - "members":{ - "resource":{ - "shape":"Variable", - "documentation":"

The resource of the AWS Mainframe Modernization non-managed application action.

" - }, - "actionType":{ - "shape":"M2NonManagedActionType", - "documentation":"

The action type of the AWS Mainframe Modernization non-managed application action.

" - } - }, - "documentation":"

Specifies the AWS Mainframe Modernization non-managed application action.

" - }, - "M2NonManagedApplicationStepInput":{ - "type":"structure", - "required":[ - "vpcEndpointServiceName", - "listenerPort", - "runtime", - "actionType" - ], - "members":{ - "vpcEndpointServiceName":{ - "shape":"String", - "documentation":"

The VPC endpoint service name of the AWS Mainframe Modernization non-managed application step input.

" - }, - "listenerPort":{ - "shape":"Integer", - "documentation":"

The listener port of the AWS Mainframe Modernization non-managed application step input.

" - }, - "runtime":{ - "shape":"M2NonManagedRuntime", - "documentation":"

The runtime of the AWS Mainframe Modernization non-managed application step input.

" - }, - "webAppName":{ - "shape":"String", - "documentation":"

The web app name of the AWS Mainframe Modernization non-managed application step input.

" - }, - "actionType":{ - "shape":"M2NonManagedActionType", - "documentation":"

The action type of the AWS Mainframe Modernization non-managed application step input.

" - } - }, - "documentation":"

Specifies the AWS Mainframe Modernization non-managed application step input.

" - }, - "M2NonManagedApplicationStepOutput":{ - "type":"structure", - "members":{ - }, - "documentation":"

Specifies the AWS Mainframe Modernization non-managed application step output.

" - }, - "M2NonManagedApplicationStepSummary":{ - "type":"structure", - "required":["stepInput"], - "members":{ - "stepInput":{ - "shape":"M2NonManagedApplicationStepInput", - "documentation":"

The step input of the AWS Mainframe Modernization non-managed application step summary.

" - }, - "stepOutput":{ - "shape":"M2NonManagedApplicationStepOutput", - "documentation":"

The step output of the AWS Mainframe Modernization non-managed application step summary.

" - } - }, - "documentation":"

Specifies the AWS Mainframe Modernization non-managed application step summary.

" - }, - "M2NonManagedApplicationSummary":{ - "type":"structure", - "required":[ - "vpcEndpointServiceName", - "listenerPort", - "runtime" - ], - "members":{ - "vpcEndpointServiceName":{ - "shape":"String", - "documentation":"

The VPC endpoint service name of the AWS Mainframe Modernization non-managed application summary.

" - }, - "listenerPort":{ - "shape":"Integer", - "documentation":"

The listener port of the AWS Mainframe Modernization non-managed application summary.

" - }, - "runtime":{ - "shape":"M2NonManagedRuntime", - "documentation":"

The runtime of the AWS Mainframe Modernization non-managed application summary.

" - }, - "webAppName":{ - "shape":"String", - "documentation":"

The web application name of the AWS Mainframe Modernization non-managed application summary.

" - } - }, - "documentation":"

Specifies the AWS Mainframe Modernization non-managed application summary.

" - }, - "M2NonManagedRuntime":{ - "type":"string", - "enum":["BluAge"] - }, - "MainframeAction":{ - "type":"structure", - "required":[ - "resource", - "actionType" - ], - "members":{ - "resource":{ - "shape":"Variable", - "documentation":"

The resource of the mainframe action.

" - }, - "actionType":{ - "shape":"MainframeActionType", - "documentation":"

The action type of the mainframe action.

" - }, - "properties":{ - "shape":"MainframeActionProperties", - "documentation":"

The properties of the mainframe action.

" - } - }, - "documentation":"

Specifies the mainframe action.

" - }, - "MainframeActionProperties":{ - "type":"structure", - "members":{ - "dmsTaskArn":{ - "shape":"Variable", - "documentation":"

The DMS task ARN of the mainframe action properties.

" - } - }, - "documentation":"

Specifies the mainframe action properties.

" - }, - "MainframeActionSummary":{ - "type":"structure", - "members":{ - "batch":{ - "shape":"BatchSummary", - "documentation":"

The batch of the mainframe action summary.

" - }, - "tn3270":{ - "shape":"TN3270Summary", - "documentation":"

The tn3270 port of the mainframe action summary.

" - } - }, - "documentation":"

Specifies the mainframe action summary.

", - "union":true - }, - "MainframeActionType":{ - "type":"structure", - "members":{ - "batch":{ - "shape":"Batch", - "documentation":"

The batch of the mainframe action type.

" - }, - "tn3270":{ - "shape":"TN3270", - "documentation":"

The tn3270 port of the mainframe action type.

" - } - }, - "documentation":"

Specifies the mainframe action type.

", - "union":true - }, - "MainframeResourceSummary":{ - "type":"structure", - "members":{ - "m2ManagedApplication":{ - "shape":"M2ManagedApplicationSummary", - "documentation":"

The AWS Mainframe Modernization managed application in the mainframe resource summary.

" - }, - "m2NonManagedApplication":{ - "shape":"M2NonManagedApplicationSummary", - "documentation":"

The AWS Mainframe Modernization non-managed application in the mainframe resource summary.

" - } - }, - "documentation":"

Specifies the mainframe resource summary.

", - "union":true - }, - "MaxResults":{ - "type":"integer", - "box":true, - "max":100, - "min":1 - }, - "NextToken":{ - "type":"string", - "pattern":"\\S{1,2000}" - }, - "Output":{ - "type":"structure", - "members":{ - "file":{ - "shape":"OutputFile", - "documentation":"

The file of the output.

" - } - }, - "documentation":"

Specifies an output.

", - "union":true - }, - "OutputFile":{ - "type":"structure", - "members":{ - "fileLocation":{ - "shape":"S3Uri", - "documentation":"

The file location of the output file.

" - } - }, - "documentation":"

Specifies an output file.

" - }, - "Properties":{ - "type":"map", - "key":{"shape":"String"}, - "value":{"shape":"String"} - }, - "Resource":{ - "type":"structure", - "required":[ - "name", - "type" - ], - "members":{ - "name":{ - "shape":"ResourceName", - "documentation":"

The name of the resource.

" - }, - "type":{ - "shape":"ResourceType", - "documentation":"

The type of the resource.

" - } - }, - "documentation":"

Specifies a resource.

" - }, - "ResourceAction":{ - "type":"structure", - "members":{ - "m2ManagedApplicationAction":{ - "shape":"M2ManagedApplicationAction", - "documentation":"

The AWS Mainframe Modernization managed application action of the resource action.

" - }, - "m2NonManagedApplicationAction":{ - "shape":"M2NonManagedApplicationAction", - "documentation":"

The AWS Mainframe Modernization non-managed application action of the resource action.

" - }, - "cloudFormationAction":{ - "shape":"CloudFormationAction", - "documentation":"

The CloudFormation action of the resource action.

" - } - }, - "documentation":"

Specifies a resource action.

", - "union":true - }, - "ResourceActionSummary":{ - "type":"structure", - "members":{ - "cloudFormation":{ - "shape":"CloudFormationStepSummary", - "documentation":"

The CloudFormation template of the resource action summary.

" - }, - "m2ManagedApplication":{ - "shape":"M2ManagedApplicationStepSummary", - "documentation":"

The AWS Mainframe Modernization managed application of the resource action summary.

" - }, - "m2NonManagedApplication":{ - "shape":"M2NonManagedApplicationStepSummary", - "documentation":"

The AWS Mainframe Modernization non-managed application of the resource action summary.

" - } - }, - "documentation":"

Specifies the resource action summary.

", - "union":true - }, - "ResourceDescription":{ - "type":"string", - "max":1000, - "min":0 - }, - "ResourceList":{ - "type":"list", - "member":{"shape":"Resource"}, - "max":20, - "min":1 - }, - "ResourceName":{ - "type":"string", - "pattern":"[A-Za-z][A-Za-z0-9_\\-]{1,59}" - }, - "ResourceNotFoundException":{ - "type":"structure", - "required":["message"], - "members":{ - "message":{"shape":"String"}, - "resourceId":{ - "shape":"String", - "documentation":"

The resource ID of the resource not found.

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

The resource type of the resource not found.

" - } - }, - "documentation":"

The specified resource was not found.

", - "error":{ - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - "ResourceType":{ - "type":"structure", - "members":{ - "cloudFormation":{ - "shape":"CloudFormation", - "documentation":"

The CloudFormation template of the resource type.

" - }, - "m2ManagedApplication":{ - "shape":"M2ManagedApplication", - "documentation":"

The AWS Mainframe Modernization managed application of the resource type.

" - }, - "m2NonManagedApplication":{ - "shape":"M2NonManagedApplication", - "documentation":"

The AWS Mainframe Modernization non-managed application of the resource type.

" - } - }, - "documentation":"

Specifies the resource type.

", - "union":true - }, - "S3Uri":{ - "type":"string", - "max":1024, - "min":0 - }, - "Script":{ - "type":"structure", - "required":[ - "scriptLocation", - "type" - ], - "members":{ - "scriptLocation":{ - "shape":"S3Uri", - "documentation":"

The script location of the scripts.

" - }, - "type":{ - "shape":"ScriptType", - "documentation":"

The type of the scripts.

" - } - }, - "documentation":"

Specifies the script.

" - }, - "ScriptSummary":{ - "type":"structure", - "required":[ - "scriptLocation", - "type" - ], - "members":{ - "scriptLocation":{ - "shape":"S3Uri", - "documentation":"

The script location of the script summary.

" - }, - "type":{ - "shape":"ScriptType", - "documentation":"

The type of the script summary.

" - } - }, - "documentation":"

Specifies the scripts summary.

" - }, - "ScriptType":{ - "type":"string", - "enum":["Selenium"] - }, - "ServiceQuotaExceededException":{ - "type":"structure", - "required":["message"], - "members":{ - "message":{"shape":"String"}, - "resourceId":{ - "shape":"String", - "documentation":"

The resource ID of AWS Application Testing that exceeded the limit.

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

The resource type of AWS Application Testing that exceeded the limit.

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

The service code of AWS Application Testing that exceeded the limit.

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

The quote codes of AWS Application Testing that exceeded the limit.

" - } - }, - "documentation":"

One or more quotas for AWS Application Testing exceeds the limit.

", - "error":{ - "httpStatusCode":402, - "senderFault":true - }, - "exception":true - }, - "ServiceSettings":{ - "type":"structure", - "members":{ - "kmsKeyId":{ - "shape":"String", - "documentation":"

The KMS key ID of the service settings.

" - } - }, - "documentation":"

Specifies the service settings.

" - }, - "SourceDatabase":{ - "type":"string", - "enum":["z/OS-DB2"] - }, - "SourceDatabaseMetadata":{ - "type":"structure", - "required":[ - "type", - "captureTool" - ], - "members":{ - "type":{ - "shape":"SourceDatabase", - "documentation":"

The type of the source database metadata.

" - }, - "captureTool":{ - "shape":"CaptureTool", - "documentation":"

The capture tool of the source database metadata.

" - } - }, - "documentation":"

Specifies the source database metadata.

" - }, - "StartTestRunRequest":{ - "type":"structure", - "required":["testSuiteId"], - "members":{ - "testSuiteId":{ - "shape":"Identifier", - "documentation":"

The test suite ID of the test run.

" - }, - "testConfigurationId":{ - "shape":"Identifier", - "documentation":"

The configuration ID of the test run.

" - }, - "clientToken":{ - "shape":"IdempotencyTokenString", - "documentation":"

The client token of the test run.

", - "idempotencyToken":true - }, - "tags":{ - "shape":"TagMap", - "documentation":"

The tags of the test run.

" - } - } - }, - "StartTestRunResponse":{ - "type":"structure", - "required":[ - "testRunId", - "testRunStatus" - ], - "members":{ - "testRunId":{ - "shape":"Identifier", - "documentation":"

The test run ID of the test run.

" - }, - "testRunStatus":{ - "shape":"TestRunStatus", - "documentation":"

The test run status of the test run.

" - } - } - }, - "Step":{ - "type":"structure", - "required":[ - "name", - "action" - ], - "members":{ - "name":{ - "shape":"ResourceName", - "documentation":"

The name of the step.

" - }, - "description":{ - "shape":"ResourceDescription", - "documentation":"

The description of the step.

" - }, - "action":{ - "shape":"StepAction", - "documentation":"

The action of the step.

" - } - }, - "documentation":"

Defines a step.

" - }, - "StepAction":{ - "type":"structure", - "members":{ - "resourceAction":{ - "shape":"ResourceAction", - "documentation":"

The resource action of the step action.

" - }, - "mainframeAction":{ - "shape":"MainframeAction", - "documentation":"

The mainframe action of the step action.

" - }, - "compareAction":{ - "shape":"CompareAction", - "documentation":"

The compare action of the step action.

" - } - }, - "documentation":"

Specifies a step action.

", - "union":true - }, - "StepList":{ - "type":"list", - "member":{"shape":"Step"}, - "max":20, - "min":1 - }, - "StepRunStatus":{ - "type":"string", - "enum":[ - "Success", - "Failed", - "Running" - ] - }, - "StepRunSummary":{ - "type":"structure", - "members":{ - "mainframeAction":{ - "shape":"MainframeActionSummary", - "documentation":"

The mainframe action of the step run summary.

" - }, - "compareAction":{ - "shape":"CompareActionSummary", - "documentation":"

The compare action of the step run summary.

" - }, - "resourceAction":{ - "shape":"ResourceActionSummary", - "documentation":"

The resource action of the step run summary.

" - } - }, - "documentation":"

Defines the step run summary.

", - "union":true - }, - "String":{"type":"string"}, - "String100":{ - "type":"string", - "pattern":"\\S{1,100}" - }, - "String50":{ - "type":"string", - "pattern":"\\S{1,50}" - }, - "TN3270":{ - "type":"structure", - "required":["script"], - "members":{ - "script":{ - "shape":"Script", - "documentation":"

The script of the TN3270 protocol.

" - }, - "exportDataSetNames":{ - "shape":"ExportDataSetNames", - "documentation":"

The data set names of the TN3270 protocol.

" - } - }, - "documentation":"

Specifies the TN3270 protocol.

" - }, - "TN3270StepInput":{ - "type":"structure", - "required":[ - "resource", - "script" - ], - "members":{ - "resource":{ - "shape":"MainframeResourceSummary", - "documentation":"

The resource of the TN3270 step input.

" - }, - "script":{ - "shape":"ScriptSummary", - "documentation":"

The script of the TN3270 step input.

" - }, - "exportDataSetNames":{ - "shape":"ExportDataSetNames", - "documentation":"

The export data set names of the TN3270 step input.

" - }, - "properties":{ - "shape":"MainframeActionProperties", - "documentation":"

The properties of the TN3270 step input.

" - } - }, - "documentation":"

Specifies a TN3270 step input.

" - }, - "TN3270StepOutput":{ - "type":"structure", - "required":["scriptOutputLocation"], - "members":{ - "dataSetExportLocation":{ - "shape":"S3Uri", - "documentation":"

The data set export location of the TN3270 step output.

" - }, - "dmsOutputLocation":{ - "shape":"S3Uri", - "documentation":"

The output location of the TN3270 step output.

" - }, - "dataSetDetails":{ - "shape":"DataSetList", - "documentation":"

The data set details of the TN3270 step output.

" - }, - "scriptOutputLocation":{ - "shape":"S3Uri", - "documentation":"

The script output location of the TN3270 step output.

" - } - }, - "documentation":"

Specifies a TN3270 step output.

" - }, - "TN3270Summary":{ - "type":"structure", - "required":["stepInput"], - "members":{ - "stepInput":{ - "shape":"TN3270StepInput", - "documentation":"

The step input of the TN3270 summary.

" - }, - "stepOutput":{ - "shape":"TN3270StepOutput", - "documentation":"

The step output of the TN3270 summary.

" - } - }, - "documentation":"

Specifies a TN3270 summary.

" - }, - "TagKey":{ - "type":"string", - "max":128, - "min":1, - "pattern":"(?!aws:).+" - }, - "TagKeyList":{ - "type":"list", - "member":{"shape":"TagKey"} - }, - "TagMap":{ - "type":"map", - "key":{"shape":"TagKey"}, - "value":{"shape":"TagValue"}, - "max":200, - "min":0 - }, - "TagResourceRequest":{ - "type":"structure", - "required":[ - "resourceArn", - "tags" - ], - "members":{ - "resourceArn":{ - "shape":"Arn", - "documentation":"

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

", - "location":"uri", - "locationName":"resourceArn" - }, - "tags":{ - "shape":"TagMap", - "documentation":"

The tags of the resource.

" - } - } - }, - "TagResourceResponse":{ - "type":"structure", - "members":{ - } - }, - "TagValue":{ - "type":"string", - "max":256, - "min":0 - }, - "TargetDatabase":{ - "type":"string", - "enum":["PostgreSQL"] - }, - "TargetDatabaseMetadata":{ - "type":"structure", - "required":[ - "type", - "captureTool" - ], - "members":{ - "type":{ - "shape":"TargetDatabase", - "documentation":"

The type of the target database metadata.

" - }, - "captureTool":{ - "shape":"CaptureTool", - "documentation":"

The capture tool of the target database metadata.

" - } - }, - "documentation":"

Specifies a target database metadata.

" - }, - "TestCaseIdList":{ - "type":"list", - "member":{"shape":"Identifier"} - }, - "TestCaseLatestVersion":{ - "type":"structure", - "required":[ - "version", - "status" - ], - "members":{ - "version":{ - "shape":"Version", - "documentation":"

The version of the test case latest version.

" - }, - "status":{ - "shape":"TestCaseLifecycle", - "documentation":"

The status of the test case latest version.

" - }, - "statusReason":{ - "shape":"String", - "documentation":"

The status reason of the test case latest version.

" - } - }, - "documentation":"

Specifies the latest version of a test case.

" - }, - "TestCaseLifecycle":{ - "type":"string", - "enum":[ - "Active", - "Deleting" - ] - }, - "TestCaseList":{ - "type":"list", - "member":{"shape":"Identifier"} - }, - "TestCaseRunStatus":{ - "type":"string", - "enum":[ - "Success", - "Running", - "Failed" - ] - }, - "TestCaseRunSummary":{ - "type":"structure", - "required":[ - "testCaseId", - "testCaseVersion", - "testRunId", - "status", - "runStartTime" - ], - "members":{ - "testCaseId":{ - "shape":"Identifier", - "documentation":"

The test case id of the test case run summary.

" - }, - "testCaseVersion":{ - "shape":"Version", - "documentation":"

The test case version of the test case run summary.

" - }, - "testRunId":{ - "shape":"Identifier", - "documentation":"

The test run id of the test case run summary.

" - }, - "status":{ - "shape":"TestCaseRunStatus", - "documentation":"

The status of the test case run summary.

" - }, - "statusReason":{ - "shape":"String", - "documentation":"

The status reason of the test case run summary.

" - }, - "runStartTime":{ - "shape":"Timestamp", - "documentation":"

The run start time of the test case run summary.

" - }, - "runEndTime":{ - "shape":"Timestamp", - "documentation":"

The run end time of the test case run summary.

" - } - }, - "documentation":"

Specifies the test case run summary.

" - }, - "TestCaseRunSummaryList":{ - "type":"list", - "member":{"shape":"TestCaseRunSummary"} - }, - "TestCaseSummary":{ - "type":"structure", - "required":[ - "testCaseId", - "testCaseArn", - "name", - "latestVersion", - "status", - "creationTime", - "lastUpdateTime" - ], - "members":{ - "testCaseId":{ - "shape":"Identifier", - "documentation":"

The test case ID of the test case summary.

" - }, - "testCaseArn":{ - "shape":"Arn", - "documentation":"

The test case Amazon Resource Name (ARN) of the test case summary.

" - }, - "name":{ - "shape":"ResourceName", - "documentation":"

The name of the test case summary.

" - }, - "statusReason":{ - "shape":"String", - "documentation":"

The status reason of the test case summary.

" - }, - "latestVersion":{ - "shape":"Version", - "documentation":"

The latest version of the test case summary.

" - }, - "status":{ - "shape":"TestCaseLifecycle", - "documentation":"

The status of the test case summary.

" - }, - "creationTime":{ - "shape":"Timestamp", - "documentation":"

The creation time of the test case summary.

" - }, - "lastUpdateTime":{ - "shape":"Timestamp", - "documentation":"

The last update time of the test case summary.

" - } - }, - "documentation":"

Specifies a test case summary.

" - }, - "TestCaseSummaryList":{ - "type":"list", - "member":{"shape":"TestCaseSummary"} - }, - "TestCases":{ - "type":"structure", - "members":{ - "sequential":{ - "shape":"TestCaseList", - "documentation":"

The sequential of the test case.

" - } - }, - "documentation":"

Specifies test cases.

", - "union":true - }, - "TestConfigurationIdList":{ - "type":"list", - "member":{"shape":"Identifier"} - }, - "TestConfigurationLatestVersion":{ - "type":"structure", - "required":[ - "version", - "status" - ], - "members":{ - "version":{ - "shape":"Version", - "documentation":"

The version of the test configuration latest version.

" - }, - "status":{ - "shape":"TestConfigurationLifecycle", - "documentation":"

The status of the test configuration latest version.

" - }, - "statusReason":{ - "shape":"String", - "documentation":"

The status reason of the test configuration latest version.

" - } - }, - "documentation":"

Specifies the latest version of the test configuration.

" - }, - "TestConfigurationLifecycle":{ - "type":"string", - "enum":[ - "Active", - "Deleting" - ] - }, - "TestConfigurationList":{ - "type":"list", - "member":{"shape":"TestConfigurationSummary"} - }, - "TestConfigurationSummary":{ - "type":"structure", - "required":[ - "testConfigurationId", - "name", - "latestVersion", - "testConfigurationArn", - "status", - "creationTime", - "lastUpdateTime" - ], - "members":{ - "testConfigurationId":{ - "shape":"Identifier", - "documentation":"

The test configuration ID of the test configuration summary.

" - }, - "name":{ - "shape":"ResourceName", - "documentation":"

The name of the test configuration summary.

" - }, - "statusReason":{ - "shape":"String", - "documentation":"

The status reason of the test configuration summary.

" - }, - "latestVersion":{ - "shape":"Version", - "documentation":"

The latest version of the test configuration summary.

" - }, - "testConfigurationArn":{ - "shape":"Arn", - "documentation":"

The test configuration ARN of the test configuration summary.

" - }, - "status":{ - "shape":"TestConfigurationLifecycle", - "documentation":"

The status of the test configuration summary.

" - }, - "creationTime":{ - "shape":"Timestamp", - "documentation":"

The creation time of the test configuration summary.

" - }, - "lastUpdateTime":{ - "shape":"Timestamp", - "documentation":"

The last update time of the test configuration summary.

" - } - }, - "documentation":"

Specifies a test configuration summary.

" - }, - "TestRunIdList":{ - "type":"list", - "member":{"shape":"Identifier"} - }, - "TestRunStatus":{ - "type":"string", - "enum":[ - "Success", - "Running", - "Failed", - "Deleting" - ] - }, - "TestRunStepSummary":{ - "type":"structure", - "required":[ - "stepName", - "testRunId", - "status", - "runStartTime" - ], - "members":{ - "stepName":{ - "shape":"ResourceName", - "documentation":"

The step name of the test run step summary.

" - }, - "testRunId":{ - "shape":"Identifier", - "documentation":"

The test run ID of the test run step summary.

" - }, - "testCaseId":{ - "shape":"Identifier", - "documentation":"

The test case ID of the test run step summary.

" - }, - "testCaseVersion":{ - "shape":"Version", - "documentation":"

The test case version of the test run step summary.

" - }, - "testSuiteId":{ - "shape":"Identifier", - "documentation":"

The test suite ID of the test run step summary.

" - }, - "testSuiteVersion":{ - "shape":"Version", - "documentation":"

The test suite version of the test run step summary.

" - }, - "beforeStep":{ - "shape":"Boolean", - "documentation":"

The before step of the test run step summary.

" - }, - "afterStep":{ - "shape":"Boolean", - "documentation":"

The after step of the test run step summary.

" - }, - "status":{ - "shape":"StepRunStatus", - "documentation":"

The status of the test run step summary.

" - }, - "statusReason":{ - "shape":"String", - "documentation":"

The status reason of the test run step summary.

" - }, - "runStartTime":{ - "shape":"Timestamp", - "documentation":"

The run start time of the test run step summary.

" - }, - "runEndTime":{ - "shape":"Timestamp", - "documentation":"

The run end time of the test run step summary.

" - } - }, - "documentation":"

Specifies a test run step summary.

" - }, - "TestRunStepSummaryList":{ - "type":"list", - "member":{"shape":"TestRunStepSummary"} - }, - "TestRunSummary":{ - "type":"structure", - "required":[ - "testRunId", - "testRunArn", - "testSuiteId", - "testSuiteVersion", - "status", - "runStartTime" - ], - "members":{ - "testRunId":{ - "shape":"Identifier", - "documentation":"

The test run ID of the test run summary.

" - }, - "testRunArn":{ - "shape":"Arn", - "documentation":"

The test run ARN of the test run summary.

" - }, - "testSuiteId":{ - "shape":"Identifier", - "documentation":"

The test suite ID of the test run summary.

" - }, - "testSuiteVersion":{ - "shape":"Version", - "documentation":"

The test suite version of the test run summary.

" - }, - "testConfigurationId":{ - "shape":"Identifier", - "documentation":"

The test configuration ID of the test run summary.

" - }, - "testConfigurationVersion":{ - "shape":"Version", - "documentation":"

The test configuration version of the test run summary.

" - }, - "status":{ - "shape":"TestRunStatus", - "documentation":"

The status of the test run summary.

" - }, - "statusReason":{ - "shape":"String", - "documentation":"

The status reason of the test run summary.

" - }, - "runStartTime":{ - "shape":"Timestamp", - "documentation":"

The run start time of the test run summary.

" - }, - "runEndTime":{ - "shape":"Timestamp", - "documentation":"

The run end time of the test run summary.

" - } - }, - "documentation":"

Specifies a test run summary.

" - }, - "TestRunSummaryList":{ - "type":"list", - "member":{"shape":"TestRunSummary"} - }, - "TestSuiteIdList":{ - "type":"list", - "member":{"shape":"Identifier"} - }, - "TestSuiteLatestVersion":{ - "type":"structure", - "required":[ - "version", - "status" - ], - "members":{ - "version":{ - "shape":"Version", - "documentation":"

The version of the test suite latest version.

" - }, - "status":{ - "shape":"TestSuiteLifecycle", - "documentation":"

The status of the test suite latest version.

" - }, - "statusReason":{ - "shape":"String", - "documentation":"

The status reason of the test suite latest version.

" - } - }, - "documentation":"

Specifies the latest version of a test suite.

" - }, - "TestSuiteLifecycle":{ - "type":"string", - "enum":[ - "Creating", - "Updating", - "Active", - "Failed", - "Deleting" - ] - }, - "TestSuiteList":{ - "type":"list", - "member":{"shape":"TestSuiteSummary"} - }, - "TestSuiteSummary":{ - "type":"structure", - "required":[ - "testSuiteId", - "name", - "latestVersion", - "testSuiteArn", - "status", - "creationTime", - "lastUpdateTime" - ], - "members":{ - "testSuiteId":{ - "shape":"Identifier", - "documentation":"

The test suite ID of the test suite summary.

" - }, - "name":{ - "shape":"ResourceName", - "documentation":"

The name of the test suite summary.

" - }, - "statusReason":{ - "shape":"String", - "documentation":"

The status reason of the test suite summary.

" - }, - "latestVersion":{ - "shape":"Version", - "documentation":"

The latest version of the test suite summary.

" - }, - "testSuiteArn":{ - "shape":"Arn", - "documentation":"

The test suite Amazon Resource Name (ARN) of the test suite summary.

" - }, - "status":{ - "shape":"TestSuiteLifecycle", - "documentation":"

The status of the test suite summary.

" - }, - "creationTime":{ - "shape":"Timestamp", - "documentation":"

The creation time of the test suite summary.

" - }, - "lastUpdateTime":{ - "shape":"Timestamp", - "documentation":"

The last update time of the test suite summary.

" - } - }, - "documentation":"

Specifies the test suite summary.

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

The service code of requests that exceed the limit.

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

The quota code of requests that exceed the limit.

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

The number of seconds to retry after for requests that exceed the limit.

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

The number of requests made exceeds the limit.

", - "error":{ - "httpStatusCode":429, - "senderFault":true - }, - "exception":true, - "retryable":{"throttling":true} - }, - "Timestamp":{"type":"timestamp"}, - "UntagResourceRequest":{ - "type":"structure", - "required":[ - "resourceArn", - "tagKeys" - ], - "members":{ - "resourceArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the resource.

", - "location":"uri", - "locationName":"resourceArn" - }, - "tagKeys":{ - "shape":"TagKeyList", - "documentation":"

The tag keys of the resource.

", - "location":"querystring", - "locationName":"tagKeys" - } - } - }, - "UntagResourceResponse":{ - "type":"structure", - "members":{ - } - }, - "UpdateTestCaseRequest":{ - "type":"structure", - "required":["testCaseId"], - "members":{ - "testCaseId":{ - "shape":"Identifier", - "documentation":"

The test case ID of the test case.

", - "location":"uri", - "locationName":"testCaseId" - }, - "description":{ - "shape":"ResourceDescription", - "documentation":"

The description of the test case.

" - }, - "steps":{ - "shape":"StepList", - "documentation":"

The steps of the test case.

" - } - } - }, - "UpdateTestCaseResponse":{ - "type":"structure", - "required":[ - "testCaseId", - "testCaseVersion" - ], - "members":{ - "testCaseId":{ - "shape":"Identifier", - "documentation":"

The test case ID of the test case.

" - }, - "testCaseVersion":{ - "shape":"Version", - "documentation":"

The test case version of the test case.

" - } - } - }, - "UpdateTestConfigurationRequest":{ - "type":"structure", - "required":["testConfigurationId"], - "members":{ - "testConfigurationId":{ - "shape":"Identifier", - "documentation":"

The test configuration ID of the test configuration.

", - "location":"uri", - "locationName":"testConfigurationId" - }, - "description":{ - "shape":"ResourceDescription", - "documentation":"

The description of the test configuration.

" - }, - "resources":{ - "shape":"ResourceList", - "documentation":"

The resources of the test configuration.

" - }, - "properties":{ - "shape":"Properties", - "documentation":"

The properties of the test configuration.

" - }, - "serviceSettings":{ - "shape":"ServiceSettings", - "documentation":"

The service settings of the test configuration.

" - } - } - }, - "UpdateTestConfigurationResponse":{ - "type":"structure", - "required":[ - "testConfigurationId", - "testConfigurationVersion" - ], - "members":{ - "testConfigurationId":{ - "shape":"Identifier", - "documentation":"

The configuration ID of the test configuration.

" - }, - "testConfigurationVersion":{ - "shape":"Version", - "documentation":"

The configuration version of the test configuration.

" - } - } - }, - "UpdateTestSuiteRequest":{ - "type":"structure", - "required":["testSuiteId"], - "members":{ - "testSuiteId":{ - "shape":"Identifier", - "documentation":"

The test suite ID of the test suite.

", - "location":"uri", - "locationName":"testSuiteId" - }, - "description":{ - "shape":"ResourceDescription", - "documentation":"

The description of the test suite.

" - }, - "beforeSteps":{ - "shape":"StepList", - "documentation":"

The before steps for the test suite.

" - }, - "afterSteps":{ - "shape":"StepList", - "documentation":"

The after steps of the test suite.

" - }, - "testCases":{ - "shape":"TestCases", - "documentation":"

The test cases in the test suite.

" - } - } - }, - "UpdateTestSuiteResponse":{ - "type":"structure", - "required":["testSuiteId"], - "members":{ - "testSuiteId":{ - "shape":"Identifier", - "documentation":"

The test suite ID of the test suite.

" - }, - "testSuiteVersion":{ - "shape":"Version", - "documentation":"

The test suite version of the test suite.

" - } - } - }, - "ValidationException":{ - "type":"structure", - "required":["message"], - "members":{ - "message":{"shape":"String"}, - "reason":{ - "shape":"ValidationExceptionReason", - "documentation":"

The reason for the validation exception.

" - }, - "fieldList":{ - "shape":"ValidationExceptionFieldList", - "documentation":"

The field list of the validation exception.

" - } - }, - "documentation":"

One or more parameter provided in the request is not valid.

", - "error":{ - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - "ValidationExceptionField":{ - "type":"structure", - "required":[ - "name", - "message" - ], - "members":{ - "name":{ - "shape":"String", - "documentation":"

The name of the validation exception field.

" - }, - "message":{ - "shape":"String", - "documentation":"

The message stating reason for why service validation failed.

" - } - }, - "documentation":"

Specifies a validation exception field.

" - }, - "ValidationExceptionFieldList":{ - "type":"list", - "member":{"shape":"ValidationExceptionField"} - }, - "ValidationExceptionReason":{ - "type":"string", - "enum":[ - "unknownOperation", - "cannotParse", - "fieldValidationFailed", - "other" - ] - }, - "Variable":{ - "type":"string", - "pattern":"\\S{1,1000}" - }, - "Version":{ - "type":"integer", - "box":true - } - }, - "documentation":"

AWS Mainframe Modernization Application Testing provides tools and resources for automated functional equivalence testing for your migration projects.

" -} diff --git a/tools/code-generation/api-descriptions/iotfleethub-2020-11-03.normal.json b/tools/code-generation/api-descriptions/iotfleethub-2020-11-03.normal.json deleted file mode 100644 index d3b3ef51cf0..00000000000 --- a/tools/code-generation/api-descriptions/iotfleethub-2020-11-03.normal.json +++ /dev/null @@ -1,595 +0,0 @@ -{ - "version":"2.0", - "metadata":{ - "apiVersion":"2020-11-03", - "endpointPrefix":"api.fleethub.iot", - "jsonVersion":"1.1", - "protocol":"rest-json", - "protocols":["rest-json"], - "serviceFullName":"AWS IoT Fleet Hub", - "serviceId":"IoTFleetHub", - "signatureVersion":"v4", - "signingName":"iotfleethub", - "uid":"iotfleethub-2020-11-03", - "auth":["aws.auth#sigv4"] - }, - "operations":{ - "CreateApplication":{ - "name":"CreateApplication", - "http":{ - "method":"POST", - "requestUri":"/applications", - "responseCode":201 - }, - "input":{"shape":"CreateApplicationRequest"}, - "output":{"shape":"CreateApplicationResponse"}, - "errors":[ - {"shape":"InvalidRequestException"}, - {"shape":"InternalFailureException"}, - {"shape":"ThrottlingException"}, - {"shape":"LimitExceededException"} - ], - "documentation":"

Creates a Fleet Hub for IoT Device Management web application.

When creating a Fleet Hub application, you must create an organization instance of IAM Identity Center if you don't already have one. The Fleet Hub application you create must also be in the same Amazon Web Services Region of the organization instance of IAM Identity Center. For more information see Enabling IAM Identity Center and Organization instances of IAM Identity Center.

" - }, - "DeleteApplication":{ - "name":"DeleteApplication", - "http":{ - "method":"DELETE", - "requestUri":"/applications/{applicationId}", - "responseCode":204 - }, - "input":{"shape":"DeleteApplicationRequest"}, - "output":{"shape":"DeleteApplicationResponse"}, - "errors":[ - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalFailureException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Deletes a Fleet Hub for IoT Device Management web application.

" - }, - "DescribeApplication":{ - "name":"DescribeApplication", - "http":{ - "method":"GET", - "requestUri":"/applications/{applicationId}", - "responseCode":200 - }, - "input":{"shape":"DescribeApplicationRequest"}, - "output":{"shape":"DescribeApplicationResponse"}, - "errors":[ - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalFailureException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Gets information about a Fleet Hub for IoT Device Management web application.

" - }, - "ListApplications":{ - "name":"ListApplications", - "http":{ - "method":"GET", - "requestUri":"/applications", - "responseCode":200 - }, - "input":{"shape":"ListApplicationsRequest"}, - "output":{"shape":"ListApplicationsResponse"}, - "errors":[ - {"shape":"InvalidRequestException"}, - {"shape":"InternalFailureException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Gets a list of Fleet Hub for IoT Device Management web applications for the current account.

" - }, - "ListTagsForResource":{ - "name":"ListTagsForResource", - "http":{ - "method":"GET", - "requestUri":"/tags/{resourceArn}" - }, - "input":{"shape":"ListTagsForResourceRequest"}, - "output":{"shape":"ListTagsForResourceResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Lists the tags for the specified resource.

" - }, - "TagResource":{ - "name":"TagResource", - "http":{ - "method":"POST", - "requestUri":"/tags/{resourceArn}" - }, - "input":{"shape":"TagResourceRequest"}, - "output":{"shape":"TagResourceResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Adds to or modifies the tags of the specified resource. Tags are metadata which can be used to manage a resource.

" - }, - "UntagResource":{ - "name":"UntagResource", - "http":{ - "method":"DELETE", - "requestUri":"/tags/{resourceArn}" - }, - "input":{"shape":"UntagResourceRequest"}, - "output":{"shape":"UntagResourceResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Removes the specified tags (metadata) from the resource.

" - }, - "UpdateApplication":{ - "name":"UpdateApplication", - "http":{ - "method":"PATCH", - "requestUri":"/applications/{applicationId}", - "responseCode":202 - }, - "input":{"shape":"UpdateApplicationRequest"}, - "output":{"shape":"UpdateApplicationResponse"}, - "errors":[ - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalFailureException"}, - {"shape":"ConflictException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Updates information about a Fleet Hub for IoT Device Management web application.

" - } - }, - "shapes":{ - "ApplicationState":{ - "type":"string", - "enum":[ - "CREATING", - "DELETING", - "ACTIVE", - "CREATE_FAILED", - "DELETE_FAILED" - ] - }, - "ApplicationSummaries":{ - "type":"list", - "member":{"shape":"ApplicationSummary"} - }, - "ApplicationSummary":{ - "type":"structure", - "required":[ - "applicationId", - "applicationName", - "applicationUrl" - ], - "members":{ - "applicationId":{ - "shape":"Id", - "documentation":"

The unique Id of the web application.

" - }, - "applicationName":{ - "shape":"Name", - "documentation":"

The name of the web application.

" - }, - "applicationDescription":{ - "shape":"Description", - "documentation":"

An optional description of the web application.

" - }, - "applicationUrl":{ - "shape":"Url", - "documentation":"

The URL of the web application.

" - }, - "applicationCreationDate":{ - "shape":"Timestamp", - "documentation":"

The date (in Unix epoch time) when the web application was created.

" - }, - "applicationLastUpdateDate":{ - "shape":"Timestamp", - "documentation":"

The date (in Unix epoch time) when the web application was last updated.

" - }, - "applicationState":{ - "shape":"ApplicationState", - "documentation":"

The current state of the web application.

" - } - }, - "documentation":"

A summary of information about a Fleet Hub for IoT Device Management web application.

" - }, - "Arn":{ - "type":"string", - "max":1600, - "min":1, - "pattern":"^arn:[!-~]+$" - }, - "ClientRequestToken":{ - "type":"string", - "max":64, - "min":1, - "pattern":"^[a-zA-Z0-9-_]+$" - }, - "ConflictException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

The request conflicts with the current state of the resource.

", - "error":{"httpStatusCode":409}, - "exception":true - }, - "CreateApplicationRequest":{ - "type":"structure", - "required":[ - "applicationName", - "roleArn" - ], - "members":{ - "applicationName":{ - "shape":"Name", - "documentation":"

The name of the web application.

" - }, - "applicationDescription":{ - "shape":"Description", - "documentation":"

An optional description of the web application.

" - }, - "clientToken":{ - "shape":"ClientRequestToken", - "documentation":"

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

", - "idempotencyToken":true - }, - "roleArn":{ - "shape":"Arn", - "documentation":"

The ARN of the role that the web application assumes when it interacts with Amazon Web Services IoT Core.

The name of the role must be in the form AWSIotFleetHub_random_string .

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

A set of key/value pairs that you can use to manage the web application resource.

" - } - } - }, - "CreateApplicationResponse":{ - "type":"structure", - "required":[ - "applicationId", - "applicationArn" - ], - "members":{ - "applicationId":{ - "shape":"Id", - "documentation":"

The unique Id of the web application.

" - }, - "applicationArn":{ - "shape":"Arn", - "documentation":"

The ARN of the web application.

" - } - } - }, - "DeleteApplicationRequest":{ - "type":"structure", - "required":["applicationId"], - "members":{ - "applicationId":{ - "shape":"Id", - "documentation":"

The unique Id of the web application.

", - "location":"uri", - "locationName":"applicationId" - }, - "clientToken":{ - "shape":"ClientRequestToken", - "documentation":"

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

", - "idempotencyToken":true, - "location":"querystring", - "locationName":"clientToken" - } - } - }, - "DeleteApplicationResponse":{ - "type":"structure", - "members":{} - }, - "DescribeApplicationRequest":{ - "type":"structure", - "required":["applicationId"], - "members":{ - "applicationId":{ - "shape":"Id", - "documentation":"

The unique Id of the web application.

", - "location":"uri", - "locationName":"applicationId" - } - } - }, - "DescribeApplicationResponse":{ - "type":"structure", - "required":[ - "applicationId", - "applicationArn", - "applicationName", - "applicationUrl", - "applicationState", - "applicationCreationDate", - "applicationLastUpdateDate", - "roleArn" - ], - "members":{ - "applicationId":{ - "shape":"Id", - "documentation":"

The unique Id of the web application.

" - }, - "applicationArn":{ - "shape":"Arn", - "documentation":"

The ARN of the web application.

" - }, - "applicationName":{ - "shape":"Name", - "documentation":"

The name of the web application.

" - }, - "applicationDescription":{ - "shape":"Description", - "documentation":"

An optional description of the web application.

" - }, - "applicationUrl":{ - "shape":"Url", - "documentation":"

The URL of the web application.

" - }, - "applicationState":{ - "shape":"ApplicationState", - "documentation":"

The current state of the web application.

" - }, - "applicationCreationDate":{ - "shape":"Timestamp", - "documentation":"

The date (in Unix epoch time) when the application was created.

" - }, - "applicationLastUpdateDate":{ - "shape":"Timestamp", - "documentation":"

The date (in Unix epoch time) when the application was last updated.

" - }, - "roleArn":{ - "shape":"Arn", - "documentation":"

The ARN of the role that the web application assumes when it interacts with Amazon Web Services IoT Core.

" - }, - "ssoClientId":{ - "shape":"SsoClientId", - "documentation":"

The Id of the single sign-on client that you use to authenticate and authorize users on the web application.

" - }, - "errorMessage":{ - "shape":"ErrorMessage", - "documentation":"

A message that explains any failures included in the applicationState response field. This message explains failures in the CreateApplication and DeleteApplication actions.

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

A set of key/value pairs that you can use to manage the web application resource.

" - } - } - }, - "Description":{ - "type":"string", - "max":2048, - "min":1, - "pattern":"^[ -~]*$" - }, - "ErrorMessage":{"type":"string"}, - "Id":{ - "type":"string", - "max":36, - "min":36, - "pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" - }, - "InternalFailureException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

An unexpected error has occurred.

", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - }, - "InvalidRequestException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

The request is not valid.

", - "error":{"httpStatusCode":400}, - "exception":true - }, - "LimitExceededException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

A limit has been exceeded.

", - "error":{"httpStatusCode":410}, - "exception":true - }, - "ListApplicationsRequest":{ - "type":"structure", - "members":{ - "nextToken":{ - "shape":"NextToken", - "documentation":"

A token used to get the next set of results.

", - "location":"querystring", - "locationName":"nextToken" - } - } - }, - "ListApplicationsResponse":{ - "type":"structure", - "members":{ - "applicationSummaries":{ - "shape":"ApplicationSummaries", - "documentation":"

An array of objects that provide summaries of information about the web applications in the list.

" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

A token used to get the next set of results.

" - } - } - }, - "ListTagsForResourceRequest":{ - "type":"structure", - "required":["resourceArn"], - "members":{ - "resourceArn":{ - "shape":"ResourceArn", - "documentation":"

The ARN of the resource.

", - "location":"uri", - "locationName":"resourceArn" - } - } - }, - "ListTagsForResourceResponse":{ - "type":"structure", - "members":{ - "tags":{ - "shape":"TagMap", - "documentation":"

The list of tags assigned to the resource.

" - } - } - }, - "Name":{ - "type":"string", - "max":100, - "min":1, - "pattern":"^[ -~]*$" - }, - "NextToken":{ - "type":"string", - "max":2048, - "min":1, - "pattern":"^[A-Za-z0-9+/=]+$" - }, - "ResourceArn":{"type":"string"}, - "ResourceNotFoundException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

The specified resource does not exist.

", - "error":{"httpStatusCode":404}, - "exception":true - }, - "SsoClientId":{"type":"string"}, - "TagKey":{ - "type":"string", - "max":128, - "min":1, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" - }, - "TagKeyList":{ - "type":"list", - "member":{"shape":"TagKey"} - }, - "TagMap":{ - "type":"map", - "key":{"shape":"TagKey"}, - "value":{"shape":"TagValue"}, - "max":50, - "min":1 - }, - "TagResourceRequest":{ - "type":"structure", - "required":[ - "resourceArn", - "tags" - ], - "members":{ - "resourceArn":{ - "shape":"ResourceArn", - "documentation":"

The ARN of the resource.

", - "location":"uri", - "locationName":"resourceArn" - }, - "tags":{ - "shape":"TagMap", - "documentation":"

The new or modified tags for the resource.

" - } - } - }, - "TagResourceResponse":{ - "type":"structure", - "members":{} - }, - "TagValue":{ - "type":"string", - "max":256, - "min":1 - }, - "ThrottlingException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

The rate exceeds the limit.

", - "error":{"httpStatusCode":400}, - "exception":true - }, - "Timestamp":{"type":"long"}, - "UntagResourceRequest":{ - "type":"structure", - "required":[ - "resourceArn", - "tagKeys" - ], - "members":{ - "resourceArn":{ - "shape":"ResourceArn", - "documentation":"

The ARN of the resource.

", - "location":"uri", - "locationName":"resourceArn" - }, - "tagKeys":{ - "shape":"TagKeyList", - "documentation":"

A list of the keys of the tags to be removed from the resource.

", - "location":"querystring", - "locationName":"tagKeys" - } - } - }, - "UntagResourceResponse":{ - "type":"structure", - "members":{} - }, - "UpdateApplicationRequest":{ - "type":"structure", - "required":["applicationId"], - "members":{ - "applicationId":{ - "shape":"Id", - "documentation":"

The unique Id of the web application.

", - "location":"uri", - "locationName":"applicationId" - }, - "applicationName":{ - "shape":"Name", - "documentation":"

The name of the web application.

" - }, - "applicationDescription":{ - "shape":"Description", - "documentation":"

An optional description of the web application.

" - }, - "clientToken":{ - "shape":"ClientRequestToken", - "documentation":"

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

", - "idempotencyToken":true - } - } - }, - "UpdateApplicationResponse":{ - "type":"structure", - "members":{} - }, - "Url":{ - "type":"string", - "max":256, - "min":1, - "pattern":"^https\\://\\S+$" - }, - "errorMessage":{"type":"string"} - }, - "documentation":"

With Fleet Hub for IoT Device Management you can build stand-alone web applications for monitoring the health of your device fleets.

" -} diff --git a/tools/code-generation/api-descriptions/lookoutmetrics-2017-07-25.normal.json b/tools/code-generation/api-descriptions/lookoutmetrics-2017-07-25.normal.json deleted file mode 100644 index a621c1c3fec..00000000000 --- a/tools/code-generation/api-descriptions/lookoutmetrics-2017-07-25.normal.json +++ /dev/null @@ -1,3355 +0,0 @@ -{ - "version":"2.0", - "metadata":{ - "apiVersion":"2017-07-25", - "endpointPrefix":"lookoutmetrics", - "jsonVersion":"1.1", - "protocol":"rest-json", - "protocols":["rest-json"], - "serviceAbbreviation":"LookoutMetrics", - "serviceFullName":"Amazon Lookout for Metrics", - "serviceId":"LookoutMetrics", - "signatureVersion":"v4", - "signingName":"lookoutmetrics", - "uid":"lookoutmetrics-2017-07-25", - "auth":["aws.auth#sigv4"] - }, - "operations":{ - "ActivateAnomalyDetector":{ - "name":"ActivateAnomalyDetector", - "http":{ - "method":"POST", - "requestUri":"/ActivateAnomalyDetector" - }, - "input":{"shape":"ActivateAnomalyDetectorRequest"}, - "output":{"shape":"ActivateAnomalyDetectorResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"InternalServerException"}, - {"shape":"ConflictException"} - ], - "documentation":"

Activates an anomaly detector.

" - }, - "BackTestAnomalyDetector":{ - "name":"BackTestAnomalyDetector", - "http":{ - "method":"POST", - "requestUri":"/BackTestAnomalyDetector" - }, - "input":{"shape":"BackTestAnomalyDetectorRequest"}, - "output":{"shape":"BackTestAnomalyDetectorResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Runs a backtest for anomaly detection for the specified resource.

" - }, - "CreateAlert":{ - "name":"CreateAlert", - "http":{ - "method":"POST", - "requestUri":"/CreateAlert" - }, - "input":{"shape":"CreateAlertRequest"}, - "output":{"shape":"CreateAlertResponse"}, - "errors":[ - {"shape":"ConflictException"}, - {"shape":"ValidationException"}, - {"shape":"ServiceQuotaExceededException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Creates an alert for an anomaly detector.

" - }, - "CreateAnomalyDetector":{ - "name":"CreateAnomalyDetector", - "http":{ - "method":"POST", - "requestUri":"/CreateAnomalyDetector" - }, - "input":{"shape":"CreateAnomalyDetectorRequest"}, - "output":{"shape":"CreateAnomalyDetectorResponse"}, - "errors":[ - {"shape":"ConflictException"}, - {"shape":"ValidationException"}, - {"shape":"ServiceQuotaExceededException"}, - {"shape":"ConflictException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Creates an anomaly detector.

" - }, - "CreateMetricSet":{ - "name":"CreateMetricSet", - "http":{ - "method":"POST", - "requestUri":"/CreateMetricSet" - }, - "input":{"shape":"CreateMetricSetRequest"}, - "output":{"shape":"CreateMetricSetResponse"}, - "errors":[ - {"shape":"ConflictException"}, - {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ServiceQuotaExceededException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Creates a dataset.

" - }, - "DeactivateAnomalyDetector":{ - "name":"DeactivateAnomalyDetector", - "http":{ - "method":"POST", - "requestUri":"/DeactivateAnomalyDetector" - }, - "input":{"shape":"DeactivateAnomalyDetectorRequest"}, - "output":{"shape":"DeactivateAnomalyDetectorResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Deactivates an anomaly detector.

" - }, - "DeleteAlert":{ - "name":"DeleteAlert", - "http":{ - "method":"POST", - "requestUri":"/DeleteAlert" - }, - "input":{"shape":"DeleteAlertRequest"}, - "output":{"shape":"DeleteAlertResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Deletes an alert.

" - }, - "DeleteAnomalyDetector":{ - "name":"DeleteAnomalyDetector", - "http":{ - "method":"POST", - "requestUri":"/DeleteAnomalyDetector" - }, - "input":{"shape":"DeleteAnomalyDetectorRequest"}, - "output":{"shape":"DeleteAnomalyDetectorResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Deletes a detector. Deleting an anomaly detector will delete all of its corresponding resources including any configured datasets and alerts.

" - }, - "DescribeAlert":{ - "name":"DescribeAlert", - "http":{ - "method":"POST", - "requestUri":"/DescribeAlert" - }, - "input":{"shape":"DescribeAlertRequest"}, - "output":{"shape":"DescribeAlertResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Describes an alert.

Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.

" - }, - "DescribeAnomalyDetectionExecutions":{ - "name":"DescribeAnomalyDetectionExecutions", - "http":{ - "method":"POST", - "requestUri":"/DescribeAnomalyDetectionExecutions" - }, - "input":{"shape":"DescribeAnomalyDetectionExecutionsRequest"}, - "output":{"shape":"DescribeAnomalyDetectionExecutionsResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Returns information about the status of the specified anomaly detection jobs.

" - }, - "DescribeAnomalyDetector":{ - "name":"DescribeAnomalyDetector", - "http":{ - "method":"POST", - "requestUri":"/DescribeAnomalyDetector" - }, - "input":{"shape":"DescribeAnomalyDetectorRequest"}, - "output":{"shape":"DescribeAnomalyDetectorResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Describes a detector.

Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.

" - }, - "DescribeMetricSet":{ - "name":"DescribeMetricSet", - "http":{ - "method":"POST", - "requestUri":"/DescribeMetricSet" - }, - "input":{"shape":"DescribeMetricSetRequest"}, - "output":{"shape":"DescribeMetricSetResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Describes a dataset.

Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.

" - }, - "DetectMetricSetConfig":{ - "name":"DetectMetricSetConfig", - "http":{ - "method":"POST", - "requestUri":"/DetectMetricSetConfig" - }, - "input":{"shape":"DetectMetricSetConfigRequest"}, - "output":{"shape":"DetectMetricSetConfigResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Detects an Amazon S3 dataset's file format, interval, and offset.

" - }, - "GetAnomalyGroup":{ - "name":"GetAnomalyGroup", - "http":{ - "method":"POST", - "requestUri":"/GetAnomalyGroup" - }, - "input":{"shape":"GetAnomalyGroupRequest"}, - "output":{"shape":"GetAnomalyGroupResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Returns details about a group of anomalous metrics.

" - }, - "GetDataQualityMetrics":{ - "name":"GetDataQualityMetrics", - "http":{ - "method":"POST", - "requestUri":"/GetDataQualityMetrics" - }, - "input":{"shape":"GetDataQualityMetricsRequest"}, - "output":{"shape":"GetDataQualityMetricsResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Returns details about the requested data quality metrics.

" - }, - "GetFeedback":{ - "name":"GetFeedback", - "http":{ - "method":"POST", - "requestUri":"/GetFeedback" - }, - "input":{"shape":"GetFeedbackRequest"}, - "output":{"shape":"GetFeedbackResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Get feedback for an anomaly group.

" - }, - "GetSampleData":{ - "name":"GetSampleData", - "http":{ - "method":"POST", - "requestUri":"/GetSampleData" - }, - "input":{"shape":"GetSampleDataRequest"}, - "output":{"shape":"GetSampleDataResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Returns a selection of sample records from an Amazon S3 datasource.

" - }, - "ListAlerts":{ - "name":"ListAlerts", - "http":{ - "method":"POST", - "requestUri":"/ListAlerts" - }, - "input":{"shape":"ListAlertsRequest"}, - "output":{"shape":"ListAlertsResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"ValidationException"} - ], - "documentation":"

Lists the alerts attached to a detector.

Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.

" - }, - "ListAnomalyDetectors":{ - "name":"ListAnomalyDetectors", - "http":{ - "method":"POST", - "requestUri":"/ListAnomalyDetectors" - }, - "input":{"shape":"ListAnomalyDetectorsRequest"}, - "output":{"shape":"ListAnomalyDetectorsResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Lists the detectors in the current AWS Region.

Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.

" - }, - "ListAnomalyGroupRelatedMetrics":{ - "name":"ListAnomalyGroupRelatedMetrics", - "http":{ - "method":"POST", - "requestUri":"/ListAnomalyGroupRelatedMetrics" - }, - "input":{"shape":"ListAnomalyGroupRelatedMetricsRequest"}, - "output":{"shape":"ListAnomalyGroupRelatedMetricsResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Returns a list of measures that are potential causes or effects of an anomaly group.

" - }, - "ListAnomalyGroupSummaries":{ - "name":"ListAnomalyGroupSummaries", - "http":{ - "method":"POST", - "requestUri":"/ListAnomalyGroupSummaries" - }, - "input":{"shape":"ListAnomalyGroupSummariesRequest"}, - "output":{"shape":"ListAnomalyGroupSummariesResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Returns a list of anomaly groups.

" - }, - "ListAnomalyGroupTimeSeries":{ - "name":"ListAnomalyGroupTimeSeries", - "http":{ - "method":"POST", - "requestUri":"/ListAnomalyGroupTimeSeries" - }, - "input":{"shape":"ListAnomalyGroupTimeSeriesRequest"}, - "output":{"shape":"ListAnomalyGroupTimeSeriesResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Gets a list of anomalous metrics for a measure in an anomaly group.

" - }, - "ListMetricSets":{ - "name":"ListMetricSets", - "http":{ - "method":"POST", - "requestUri":"/ListMetricSets" - }, - "input":{"shape":"ListMetricSetsRequest"}, - "output":{"shape":"ListMetricSetsResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

Lists the datasets in the current AWS Region.

Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.

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

Gets a list of tags for a detector, dataset, or alert.

" - }, - "PutFeedback":{ - "name":"PutFeedback", - "http":{ - "method":"POST", - "requestUri":"/PutFeedback" - }, - "input":{"shape":"PutFeedbackRequest"}, - "output":{"shape":"PutFeedbackResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Add feedback for an anomalous metric.

" - }, - "TagResource":{ - "name":"TagResource", - "http":{ - "method":"POST", - "requestUri":"/tags/{resourceArn}", - "responseCode":204 - }, - "input":{"shape":"TagResourceRequest"}, - "output":{"shape":"TagResourceResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Adds tags to a detector, dataset, or alert.

" - }, - "UntagResource":{ - "name":"UntagResource", - "http":{ - "method":"DELETE", - "requestUri":"/tags/{resourceArn}", - "responseCode":204 - }, - "input":{"shape":"UntagResourceRequest"}, - "output":{"shape":"UntagResourceResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Removes tags from a detector, dataset, or alert.

" - }, - "UpdateAlert":{ - "name":"UpdateAlert", - "http":{ - "method":"POST", - "requestUri":"/UpdateAlert" - }, - "input":{"shape":"UpdateAlertRequest"}, - "output":{"shape":"UpdateAlertResponse"}, - "errors":[ - {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Make changes to an existing alert.

" - }, - "UpdateAnomalyDetector":{ - "name":"UpdateAnomalyDetector", - "http":{ - "method":"POST", - "requestUri":"/UpdateAnomalyDetector" - }, - "input":{"shape":"UpdateAnomalyDetectorRequest"}, - "output":{"shape":"UpdateAnomalyDetectorResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Updates a detector. After activation, you can only change a detector's ingestion delay and description.

" - }, - "UpdateMetricSet":{ - "name":"UpdateMetricSet", - "http":{ - "method":"POST", - "requestUri":"/UpdateMetricSet" - }, - "input":{"shape":"UpdateMetricSetRequest"}, - "output":{"shape":"UpdateMetricSetResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ValidationException"}, - {"shape":"InternalServerException"}, - {"shape":"AccessDeniedException"}, - {"shape":"TooManyRequestsException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "documentation":"

Updates a dataset.

" - } - }, - "shapes":{ - "AccessDeniedException":{ - "type":"structure", - "required":["Message"], - "members":{ - "Message":{"shape":"Message"} - }, - "documentation":"

You do not have sufficient permissions to perform this action.

", - "error":{"httpStatusCode":403}, - "exception":true - }, - "Action":{ - "type":"structure", - "members":{ - "SNSConfiguration":{ - "shape":"SNSConfiguration", - "documentation":"

A configuration for an Amazon SNS channel.

" - }, - "LambdaConfiguration":{ - "shape":"LambdaConfiguration", - "documentation":"

A configuration for an AWS Lambda channel.

" - } - }, - "documentation":"

A configuration that specifies the action to perform when anomalies are detected.

" - }, - "ActivateAnomalyDetectorRequest":{ - "type":"structure", - "required":["AnomalyDetectorArn"], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the anomaly detector.

" - } - } - }, - "ActivateAnomalyDetectorResponse":{ - "type":"structure", - "members":{} - }, - "AggregationFunction":{ - "type":"string", - "enum":[ - "AVG", - "SUM" - ] - }, - "Alert":{ - "type":"structure", - "members":{ - "Action":{ - "shape":"Action", - "documentation":"

Action that will be triggered when there is an alert.

" - }, - "AlertDescription":{ - "shape":"AlertDescription", - "documentation":"

A description of the alert.

" - }, - "AlertArn":{ - "shape":"Arn", - "documentation":"

The ARN of the alert.

" - }, - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the detector to which the alert is attached.

" - }, - "AlertName":{ - "shape":"AlertName", - "documentation":"

The name of the alert.

" - }, - "AlertSensitivityThreshold":{ - "shape":"SensitivityThreshold", - "documentation":"

The minimum severity for an anomaly to trigger the alert.

" - }, - "AlertType":{ - "shape":"AlertType", - "documentation":"

The type of the alert.

" - }, - "AlertStatus":{ - "shape":"AlertStatus", - "documentation":"

The status of the alert.

" - }, - "LastModificationTime":{ - "shape":"Timestamp", - "documentation":"

The time at which the alert was last modified.

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

The time at which the alert was created.

" - }, - "AlertFilters":{ - "shape":"AlertFilters", - "documentation":"

The configuration of the alert filters, containing MetricList and DimensionFilter.

" - } - }, - "documentation":"

A configuration for Amazon SNS-integrated notifications.

" - }, - "AlertDescription":{ - "type":"string", - "max":256, - "pattern":".*\\S.*" - }, - "AlertFilters":{ - "type":"structure", - "members":{ - "MetricList":{ - "shape":"MetricNameList", - "documentation":"

The list of measures that you want to get alerts for.

" - }, - "DimensionFilterList":{ - "shape":"DimensionFilterList", - "documentation":"

The list of DimensionFilter objects that are used for dimension-based filtering.

" - } - }, - "documentation":"

The configuration of the alert filters.

" - }, - "AlertName":{ - "type":"string", - "max":63, - "min":1, - "pattern":"^[a-zA-Z0-9][a-zA-Z0-9\\-_]*" - }, - "AlertStatus":{ - "type":"string", - "enum":[ - "ACTIVE", - "INACTIVE" - ] - }, - "AlertSummary":{ - "type":"structure", - "members":{ - "AlertArn":{ - "shape":"Arn", - "documentation":"

The ARN of the alert.

" - }, - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the detector to which the alert is attached.

" - }, - "AlertName":{ - "shape":"AlertName", - "documentation":"

The name of the alert.

" - }, - "AlertSensitivityThreshold":{ - "shape":"SensitivityThreshold", - "documentation":"

The minimum severity for an anomaly to trigger the alert.

" - }, - "AlertType":{ - "shape":"AlertType", - "documentation":"

The type of the alert.

" - }, - "AlertStatus":{ - "shape":"AlertStatus", - "documentation":"

The status of the alert.

" - }, - "LastModificationTime":{ - "shape":"Timestamp", - "documentation":"

The time at which the alert was last modified.

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

The time at which the alert was created.

" - }, - "Tags":{ - "shape":"TagMap", - "documentation":"

The alert's tags.

" - } - }, - "documentation":"

Provides a summary of an alert's configuration.

" - }, - "AlertSummaryList":{ - "type":"list", - "member":{"shape":"AlertSummary"} - }, - "AlertType":{ - "type":"string", - "enum":[ - "SNS", - "LAMBDA" - ] - }, - "AnomalyDetectionTaskStatus":{ - "type":"string", - "enum":[ - "PENDING", - "IN_PROGRESS", - "COMPLETED", - "FAILED", - "FAILED_TO_SCHEDULE" - ] - }, - "AnomalyDetectionTaskStatusMessage":{ - "type":"string", - "max":256, - "min":1, - "pattern":".*\\S.*" - }, - "AnomalyDetectorConfig":{ - "type":"structure", - "members":{ - "AnomalyDetectorFrequency":{ - "shape":"Frequency", - "documentation":"

The frequency at which the detector analyzes its source data.

" - } - }, - "documentation":"

Contains information about a detector's configuration.

" - }, - "AnomalyDetectorConfigSummary":{ - "type":"structure", - "members":{ - "AnomalyDetectorFrequency":{ - "shape":"Frequency", - "documentation":"

The interval at which the detector analyzes its source data.

" - } - }, - "documentation":"

Contains information about a detector's configuration.

" - }, - "AnomalyDetectorDataQualityMetric":{ - "type":"structure", - "members":{ - "StartTimestamp":{ - "shape":"Timestamp", - "documentation":"

The start time for the data quality metrics collection.

" - }, - "MetricSetDataQualityMetricList":{ - "shape":"MetricSetDataQualityMetricList", - "documentation":"

An array of DataQualityMetricList objects. Each object in the array contains information about a data quality metric.

" - } - }, - "documentation":"

Aggregated details about the data quality metrics collected for the AnomalyDetectorArn provided in the GetDataQualityMetrics object.

" - }, - "AnomalyDetectorDataQualityMetricList":{ - "type":"list", - "member":{"shape":"AnomalyDetectorDataQualityMetric"} - }, - "AnomalyDetectorDescription":{ - "type":"string", - "max":256, - "min":1, - "pattern":".*\\S.*" - }, - "AnomalyDetectorFailureType":{ - "type":"string", - "enum":[ - "ACTIVATION_FAILURE", - "BACK_TEST_ACTIVATION_FAILURE", - "DELETION_FAILURE", - "DEACTIVATION_FAILURE" - ] - }, - "AnomalyDetectorName":{ - "type":"string", - "max":63, - "min":1, - "pattern":"^[a-zA-Z0-9][a-zA-Z0-9\\-_]*" - }, - "AnomalyDetectorStatus":{ - "type":"string", - "enum":[ - "ACTIVE", - "ACTIVATING", - "DELETING", - "FAILED", - "INACTIVE", - "LEARNING", - "BACK_TEST_ACTIVATING", - "BACK_TEST_ACTIVE", - "BACK_TEST_COMPLETE", - "DEACTIVATED", - "DEACTIVATING" - ] - }, - "AnomalyDetectorSummary":{ - "type":"structure", - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the detector.

" - }, - "AnomalyDetectorName":{ - "shape":"AnomalyDetectorName", - "documentation":"

The name of the detector.

" - }, - "AnomalyDetectorDescription":{ - "shape":"AnomalyDetectorDescription", - "documentation":"

A description of the detector.

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

The time at which the detector was created.

" - }, - "LastModificationTime":{ - "shape":"Timestamp", - "documentation":"

The time at which the detector was last modified.

" - }, - "Status":{ - "shape":"AnomalyDetectorStatus", - "documentation":"

The status of detector.

" - }, - "Tags":{ - "shape":"TagMap", - "documentation":"

The detector's tags.

" - } - }, - "documentation":"

Contains information about an an anomaly detector.

" - }, - "AnomalyDetectorSummaryList":{ - "type":"list", - "member":{"shape":"AnomalyDetectorSummary"} - }, - "AnomalyGroup":{ - "type":"structure", - "members":{ - "StartTime":{ - "shape":"TimestampString", - "documentation":"

The start time for the group.

" - }, - "EndTime":{ - "shape":"TimestampString", - "documentation":"

The end time for the group.

" - }, - "AnomalyGroupId":{ - "shape":"UUID", - "documentation":"

The ID of the anomaly group.

" - }, - "AnomalyGroupScore":{ - "shape":"Score", - "documentation":"

The severity score of the group.

" - }, - "PrimaryMetricName":{ - "shape":"MetricName", - "documentation":"

The name of the primary affected measure for the group.

" - }, - "MetricLevelImpactList":{ - "shape":"MetricLevelImpactList", - "documentation":"

A list of measures affected by the anomaly.

" - } - }, - "documentation":"

A group of anomalous metrics

" - }, - "AnomalyGroupStatistics":{ - "type":"structure", - "members":{ - "EvaluationStartDate":{ - "shape":"TimestampString", - "documentation":"

The start of the time range that was searched.

" - }, - "TotalCount":{ - "shape":"Integer", - "documentation":"

The number of groups found.

" - }, - "ItemizedMetricStatsList":{ - "shape":"ItemizedMetricStatsList", - "documentation":"

Statistics for individual metrics within the group.

" - } - }, - "documentation":"

Aggregated statistics for a group of anomalous metrics.

" - }, - "AnomalyGroupSummary":{ - "type":"structure", - "members":{ - "StartTime":{ - "shape":"TimestampString", - "documentation":"

The start time for the group.

" - }, - "EndTime":{ - "shape":"TimestampString", - "documentation":"

The end time for the group.

" - }, - "AnomalyGroupId":{ - "shape":"UUID", - "documentation":"

The ID of the anomaly group.

" - }, - "AnomalyGroupScore":{ - "shape":"Score", - "documentation":"

The severity score of the group.

" - }, - "PrimaryMetricName":{ - "shape":"MetricName", - "documentation":"

The name of the primary affected measure for the group.

" - } - }, - "documentation":"

Details about a group of anomalous metrics.

" - }, - "AnomalyGroupSummaryList":{ - "type":"list", - "member":{"shape":"AnomalyGroupSummary"} - }, - "AnomalyGroupTimeSeries":{ - "type":"structure", - "required":["AnomalyGroupId"], - "members":{ - "AnomalyGroupId":{ - "shape":"UUID", - "documentation":"

The ID of the anomaly group.

" - }, - "TimeSeriesId":{ - "shape":"TimeSeriesId", - "documentation":"

The ID of the metric.

" - } - }, - "documentation":"

An anomalous metric in an anomaly group.

" - }, - "AnomalyGroupTimeSeriesFeedback":{ - "type":"structure", - "required":[ - "AnomalyGroupId", - "TimeSeriesId", - "IsAnomaly" - ], - "members":{ - "AnomalyGroupId":{ - "shape":"UUID", - "documentation":"

The ID of the anomaly group.

" - }, - "TimeSeriesId":{ - "shape":"TimeSeriesId", - "documentation":"

The ID of the metric.

" - }, - "IsAnomaly":{ - "shape":"Boolean", - "documentation":"

Feedback on whether the metric is a legitimate anomaly.

" - } - }, - "documentation":"

Feedback for an anomalous metric.

" - }, - "AppFlowConfig":{ - "type":"structure", - "members":{ - "RoleArn":{ - "shape":"Arn", - "documentation":"

An IAM role that gives Amazon Lookout for Metrics permission to access the flow.

" - }, - "FlowName":{ - "shape":"FlowName", - "documentation":"

name of the flow.

" - } - }, - "documentation":"

Details about an Amazon AppFlow flow datasource.

" - }, - "Arn":{ - "type":"string", - "max":256, - "pattern":"arn:([a-z\\d-]+):.*:.*:.*:.+" - }, - "AthenaDataCatalog":{ - "type":"string", - "max":256, - "min":1, - "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*" - }, - "AthenaDatabaseName":{ - "type":"string", - "max":255, - "min":1, - "pattern":"[a-zA-Z0-9_]+" - }, - "AthenaS3ResultsPath":{ - "type":"string", - "max":1024, - "pattern":"^s3://[a-z0-9].+$" - }, - "AthenaSourceConfig":{ - "type":"structure", - "members":{ - "RoleArn":{ - "shape":"Arn", - "documentation":"

An IAM role that gives Amazon Lookout for Metrics permission to access the data.

" - }, - "DatabaseName":{ - "shape":"AthenaDatabaseName", - "documentation":"

The database's name.

" - }, - "DataCatalog":{ - "shape":"AthenaDataCatalog", - "documentation":"

The database's data catalog.

" - }, - "TableName":{ - "shape":"AthenaTableName", - "documentation":"

The database's table name.

" - }, - "WorkGroupName":{ - "shape":"AthenaWorkGroupName", - "documentation":"

The database's work group name.

" - }, - "S3ResultsPath":{ - "shape":"AthenaS3ResultsPath", - "documentation":"

The database's results path.

" - }, - "BackTestConfiguration":{ - "shape":"BackTestConfiguration", - "documentation":"

Settings for backtest mode.

" - } - }, - "documentation":"

Details about an Amazon Athena datasource.

" - }, - "AthenaTableName":{ - "type":"string", - "max":128, - "min":1, - "pattern":"[a-zA-Z0-9_]+" - }, - "AthenaWorkGroupName":{ - "type":"string", - "max":128, - "min":1, - "pattern":"[a-zA-Z0-9._-]{1,128}" - }, - "AttributeValue":{ - "type":"structure", - "members":{ - "S":{ - "shape":"StringAttributeValue", - "documentation":"

A string.

" - }, - "N":{ - "shape":"NumberAttributeValue", - "documentation":"

A number.

" - }, - "B":{ - "shape":"BinaryAttributeValue", - "documentation":"

A binary value.

" - }, - "SS":{ - "shape":"StringListAttributeValue", - "documentation":"

A list of strings.

" - }, - "NS":{ - "shape":"NumberListAttributeValue", - "documentation":"

A list of numbers.

" - }, - "BS":{ - "shape":"BinaryListAttributeValue", - "documentation":"

A list of binary values.

" - } - }, - "documentation":"

An attribute value.

" - }, - "AutoDetectionMetricSource":{ - "type":"structure", - "members":{ - "S3SourceConfig":{ - "shape":"AutoDetectionS3SourceConfig", - "documentation":"

The source's source config.

" - } - }, - "documentation":"

An auto detection metric source.

" - }, - "AutoDetectionS3SourceConfig":{ - "type":"structure", - "members":{ - "TemplatedPathList":{ - "shape":"TemplatedPathList", - "documentation":"

The config's templated path list.

" - }, - "HistoricalDataPathList":{ - "shape":"HistoricalDataPathList", - "documentation":"

The config's historical data path list.

" - } - }, - "documentation":"

An auto detection source config.

" - }, - "BackTestAnomalyDetectorRequest":{ - "type":"structure", - "required":["AnomalyDetectorArn"], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the anomaly detector.

" - } - } - }, - "BackTestAnomalyDetectorResponse":{ - "type":"structure", - "members":{} - }, - "BackTestConfiguration":{ - "type":"structure", - "required":["RunBackTestMode"], - "members":{ - "RunBackTestMode":{ - "shape":"Boolean", - "documentation":"

Run a backtest instead of monitoring new data.

" - } - }, - "documentation":"

Settings for backtest mode.

" - }, - "BinaryAttributeValue":{"type":"string"}, - "BinaryListAttributeValue":{ - "type":"list", - "member":{"shape":"BinaryAttributeValue"} - }, - "Boolean":{"type":"boolean"}, - "CSVFileCompression":{ - "type":"string", - "enum":[ - "NONE", - "GZIP" - ] - }, - "Charset":{ - "type":"string", - "max":63, - "pattern":"^[a-zA-Z0-9][a-zA-Z0-9\\-_]*" - }, - "CloudWatchConfig":{ - "type":"structure", - "members":{ - "RoleArn":{ - "shape":"Arn", - "documentation":"

An IAM role that gives Amazon Lookout for Metrics permission to access data in Amazon CloudWatch.

" - }, - "BackTestConfiguration":{ - "shape":"BackTestConfiguration", - "documentation":"

Settings for backtest mode.

" - } - }, - "documentation":"

Details about an Amazon CloudWatch datasource.

" - }, - "ColumnName":{ - "type":"string", - "max":63, - "min":1, - "pattern":"^[a-zA-Z0-9][a-zA-Z0-9\\-_]*" - }, - "Confidence":{ - "type":"string", - "enum":[ - "HIGH", - "LOW", - "NONE" - ] - }, - "ConflictException":{ - "type":"structure", - "required":["Message"], - "members":{ - "Message":{"shape":"Message"}, - "ResourceId":{ - "shape":"ResourceId", - "documentation":"

The ID of the resource.

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

The type of the resource.

" - } - }, - "documentation":"

There was a conflict processing the request. Try your request again.

", - "error":{"httpStatusCode":409}, - "exception":true - }, - "ContributionMatrix":{ - "type":"structure", - "members":{ - "DimensionContributionList":{ - "shape":"DimensionContributionList", - "documentation":"

A list of contributing dimensions.

" - } - }, - "documentation":"

Details about dimensions that contributed to an anomaly.

" - }, - "CreateAlertRequest":{ - "type":"structure", - "required":[ - "AlertName", - "AnomalyDetectorArn", - "Action" - ], - "members":{ - "AlertName":{ - "shape":"AlertName", - "documentation":"

The name of the alert.

" - }, - "AlertSensitivityThreshold":{ - "shape":"SensitivityThreshold", - "documentation":"

An integer from 0 to 100 specifying the alert sensitivity threshold.

" - }, - "AlertDescription":{ - "shape":"AlertDescription", - "documentation":"

A description of the alert.

" - }, - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the detector to which the alert is attached.

" - }, - "Action":{ - "shape":"Action", - "documentation":"

Action that will be triggered when there is an alert.

" - }, - "Tags":{ - "shape":"TagMap", - "documentation":"

A list of tags to apply to the alert.

" - }, - "AlertFilters":{ - "shape":"AlertFilters", - "documentation":"

The configuration of the alert filters, containing MetricList and DimensionFilterList.

" - } - } - }, - "CreateAlertResponse":{ - "type":"structure", - "members":{ - "AlertArn":{ - "shape":"Arn", - "documentation":"

The ARN of the alert.

" - } - } - }, - "CreateAnomalyDetectorRequest":{ - "type":"structure", - "required":[ - "AnomalyDetectorName", - "AnomalyDetectorConfig" - ], - "members":{ - "AnomalyDetectorName":{ - "shape":"AnomalyDetectorName", - "documentation":"

The name of the detector.

" - }, - "AnomalyDetectorDescription":{ - "shape":"AnomalyDetectorDescription", - "documentation":"

A description of the detector.

" - }, - "AnomalyDetectorConfig":{ - "shape":"AnomalyDetectorConfig", - "documentation":"

Contains information about the configuration of the anomaly detector.

" - }, - "KmsKeyArn":{ - "shape":"KmsKeyArn", - "documentation":"

The ARN of the KMS key to use to encrypt your data.

" - }, - "Tags":{ - "shape":"TagMap", - "documentation":"

A list of tags to apply to the anomaly detector.

" - } - } - }, - "CreateAnomalyDetectorResponse":{ - "type":"structure", - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the detector.

" - } - } - }, - "CreateMetricSetRequest":{ - "type":"structure", - "required":[ - "AnomalyDetectorArn", - "MetricSetName", - "MetricList", - "MetricSource" - ], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the anomaly detector that will use the dataset.

" - }, - "MetricSetName":{ - "shape":"MetricSetName", - "documentation":"

The name of the dataset.

" - }, - "MetricSetDescription":{ - "shape":"MetricSetDescription", - "documentation":"

A description of the dataset you are creating.

" - }, - "MetricList":{ - "shape":"MetricList", - "documentation":"

A list of metrics that the dataset will contain.

" - }, - "Offset":{ - "shape":"Offset", - "documentation":"

After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.

", - "box":true - }, - "TimestampColumn":{ - "shape":"TimestampColumn", - "documentation":"

Contains information about the column used for tracking time in your source data.

" - }, - "DimensionList":{ - "shape":"DimensionList", - "documentation":"

A list of the fields you want to treat as dimensions.

" - }, - "MetricSetFrequency":{ - "shape":"Frequency", - "documentation":"

The frequency with which the source data will be analyzed for anomalies.

" - }, - "MetricSource":{ - "shape":"MetricSource", - "documentation":"

Contains information about how the source data should be interpreted.

" - }, - "Timezone":{ - "shape":"Timezone", - "documentation":"

The time zone in which your source data was recorded.

" - }, - "Tags":{ - "shape":"TagMap", - "documentation":"

A list of tags to apply to the dataset.

" - }, - "DimensionFilterList":{ - "shape":"MetricSetDimensionFilterList", - "documentation":"

A list of filters that specify which data is kept for anomaly detection.

" - } - } - }, - "CreateMetricSetResponse":{ - "type":"structure", - "members":{ - "MetricSetArn":{ - "shape":"Arn", - "documentation":"

The ARN of the dataset.

" - } - } - }, - "CsvFormatDescriptor":{ - "type":"structure", - "members":{ - "FileCompression":{ - "shape":"CSVFileCompression", - "documentation":"

The level of compression of the source CSV file.

" - }, - "Charset":{ - "shape":"Charset", - "documentation":"

The character set in which the source CSV file is written.

" - }, - "ContainsHeader":{ - "shape":"Boolean", - "documentation":"

Whether or not the source CSV file contains a header.

" - }, - "Delimiter":{ - "shape":"Delimiter", - "documentation":"

The character used to delimit the source CSV file.

" - }, - "HeaderList":{ - "shape":"HeaderList", - "documentation":"

A list of the source CSV file's headers, if any.

" - }, - "QuoteSymbol":{ - "shape":"QuoteSymbol", - "documentation":"

The character used as a quote character.

" - } - }, - "documentation":"

Contains information about how a source CSV data file should be analyzed.

" - }, - "DataItem":{"type":"string"}, - "DataQualityMetric":{ - "type":"structure", - "members":{ - "MetricType":{ - "shape":"DataQualityMetricType", - "documentation":"

The name of the data quality metric.

" - }, - "MetricDescription":{ - "shape":"DataQualityMetricDescription", - "documentation":"

A description of the data quality metric.

" - }, - "RelatedColumnName":{ - "shape":"RelatedColumnName", - "documentation":"

The column that is being monitored.

" - }, - "MetricValue":{ - "shape":"Double", - "documentation":"

The value of the data quality metric.

" - } - }, - "documentation":"

An array that describes a data quality metric. Each DataQualityMetric object contains the data quality metric name, its value, a description of the metric, and the affected column.

" - }, - "DataQualityMetricDescription":{ - "type":"string", - "max":256, - "min":1, - "pattern":".*\\S.*" - }, - "DataQualityMetricList":{ - "type":"list", - "member":{"shape":"DataQualityMetric"} - }, - "DataQualityMetricType":{ - "type":"string", - "enum":[ - "COLUMN_COMPLETENESS", - "DIMENSION_UNIQUENESS", - "TIME_SERIES_COUNT", - "ROWS_PROCESSED", - "ROWS_PARTIAL_COMPLIANCE", - "INVALID_ROWS_COMPLIANCE", - "BACKTEST_TRAINING_DATA_START_TIME_STAMP", - "BACKTEST_TRAINING_DATA_END_TIME_STAMP", - "BACKTEST_INFERENCE_DATA_START_TIME_STAMP", - "BACKTEST_INFERENCE_DATA_END_TIME_STAMP" - ] - }, - "DatabaseHost":{ - "type":"string", - "max":253, - "min":1, - "pattern":".*\\S.*" - }, - "DatabasePort":{ - "type":"integer", - "max":65535, - "min":1 - }, - "DateTimeFormat":{ - "type":"string", - "max":63, - "pattern":".*\\S.*" - }, - "DeactivateAnomalyDetectorRequest":{ - "type":"structure", - "required":["AnomalyDetectorArn"], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the anomaly detector.

" - } - } - }, - "DeactivateAnomalyDetectorResponse":{ - "type":"structure", - "members":{} - }, - "DeleteAlertRequest":{ - "type":"structure", - "required":["AlertArn"], - "members":{ - "AlertArn":{ - "shape":"Arn", - "documentation":"

The ARN of the alert to delete.

" - } - } - }, - "DeleteAlertResponse":{ - "type":"structure", - "members":{} - }, - "DeleteAnomalyDetectorRequest":{ - "type":"structure", - "required":["AnomalyDetectorArn"], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the detector to delete.

" - } - } - }, - "DeleteAnomalyDetectorResponse":{ - "type":"structure", - "members":{} - }, - "Delimiter":{ - "type":"string", - "max":1, - "pattern":"[^\\r\\n]" - }, - "DescribeAlertRequest":{ - "type":"structure", - "required":["AlertArn"], - "members":{ - "AlertArn":{ - "shape":"Arn", - "documentation":"

The ARN of the alert to describe.

" - } - } - }, - "DescribeAlertResponse":{ - "type":"structure", - "members":{ - "Alert":{ - "shape":"Alert", - "documentation":"

Contains information about an alert.

" - } - } - }, - "DescribeAnomalyDetectionExecutionsRequest":{ - "type":"structure", - "required":["AnomalyDetectorArn"], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the anomaly detector.

" - }, - "Timestamp":{ - "shape":"TimestampString", - "documentation":"

The timestamp of the anomaly detection job.

" - }, - "MaxResults":{ - "shape":"MaxResults", - "documentation":"

The number of items to return in the response.

", - "box":true - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

" - } - } - }, - "DescribeAnomalyDetectionExecutionsResponse":{ - "type":"structure", - "members":{ - "ExecutionList":{ - "shape":"ExecutionList", - "documentation":"

A list of detection jobs.

" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

The pagination token that's included if more results are available.

" - } - } - }, - "DescribeAnomalyDetectorRequest":{ - "type":"structure", - "required":["AnomalyDetectorArn"], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the detector to describe.

" - } - } - }, - "DescribeAnomalyDetectorResponse":{ - "type":"structure", - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the detector.

" - }, - "AnomalyDetectorName":{ - "shape":"AnomalyDetectorName", - "documentation":"

The name of the detector.

" - }, - "AnomalyDetectorDescription":{ - "shape":"AnomalyDetectorDescription", - "documentation":"

A description of the detector.

" - }, - "AnomalyDetectorConfig":{ - "shape":"AnomalyDetectorConfigSummary", - "documentation":"

Contains information about the detector's configuration.

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

The time at which the detector was created.

" - }, - "LastModificationTime":{ - "shape":"Timestamp", - "documentation":"

The time at which the detector was last modified.

" - }, - "Status":{ - "shape":"AnomalyDetectorStatus", - "documentation":"

The status of the detector.

" - }, - "FailureReason":{ - "shape":"ErrorMessage", - "documentation":"

The reason that the detector failed.

" - }, - "KmsKeyArn":{ - "shape":"KmsKeyArn", - "documentation":"

The ARN of the KMS key to use to encrypt your data.

" - }, - "FailureType":{ - "shape":"AnomalyDetectorFailureType", - "documentation":"

The process that caused the detector to fail.

" - } - } - }, - "DescribeMetricSetRequest":{ - "type":"structure", - "required":["MetricSetArn"], - "members":{ - "MetricSetArn":{ - "shape":"Arn", - "documentation":"

The ARN of the dataset.

" - } - } - }, - "DescribeMetricSetResponse":{ - "type":"structure", - "members":{ - "MetricSetArn":{ - "shape":"Arn", - "documentation":"

The ARN of the dataset.

" - }, - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the detector that contains the dataset.

" - }, - "MetricSetName":{ - "shape":"MetricSetName", - "documentation":"

The name of the dataset.

" - }, - "MetricSetDescription":{ - "shape":"MetricSetDescription", - "documentation":"

The dataset's description.

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

The time at which the dataset was created.

" - }, - "LastModificationTime":{ - "shape":"Timestamp", - "documentation":"

The time at which the dataset was last modified.

" - }, - "Offset":{ - "shape":"Offset", - "documentation":"

After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.

", - "box":true - }, - "MetricList":{ - "shape":"MetricList", - "documentation":"

A list of the metrics defined by the dataset.

" - }, - "TimestampColumn":{ - "shape":"TimestampColumn", - "documentation":"

Contains information about the column used for tracking time in your source data.

" - }, - "DimensionList":{ - "shape":"DimensionList", - "documentation":"

A list of the dimensions chosen for analysis.

" - }, - "MetricSetFrequency":{ - "shape":"Frequency", - "documentation":"

The interval at which the data will be analyzed for anomalies.

" - }, - "Timezone":{ - "shape":"Timezone", - "documentation":"

The time zone in which the dataset's data was recorded.

" - }, - "MetricSource":{ - "shape":"MetricSource", - "documentation":"

Contains information about the dataset's source data.

" - }, - "DimensionFilterList":{ - "shape":"MetricSetDimensionFilterList", - "documentation":"

The dimensions and their values that were used to filter the dataset.

" - } - } - }, - "DetectMetricSetConfigRequest":{ - "type":"structure", - "required":[ - "AnomalyDetectorArn", - "AutoDetectionMetricSource" - ], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

An anomaly detector ARN.

" - }, - "AutoDetectionMetricSource":{ - "shape":"AutoDetectionMetricSource", - "documentation":"

A data source.

" - } - } - }, - "DetectMetricSetConfigResponse":{ - "type":"structure", - "members":{ - "DetectedMetricSetConfig":{ - "shape":"DetectedMetricSetConfig", - "documentation":"

The inferred dataset configuration for the datasource.

" - } - } - }, - "DetectedCsvFormatDescriptor":{ - "type":"structure", - "members":{ - "FileCompression":{ - "shape":"DetectedField", - "documentation":"

The format's file compression.

" - }, - "Charset":{ - "shape":"DetectedField", - "documentation":"

The format's charset.

" - }, - "ContainsHeader":{ - "shape":"DetectedField", - "documentation":"

Whether the format includes a header.

" - }, - "Delimiter":{ - "shape":"DetectedField", - "documentation":"

The format's delimiter.

" - }, - "HeaderList":{ - "shape":"DetectedField", - "documentation":"

The format's header list.

" - }, - "QuoteSymbol":{ - "shape":"DetectedField", - "documentation":"

The format's quote symbol.

" - } - }, - "documentation":"

Properties of an inferred CSV format.

" - }, - "DetectedField":{ - "type":"structure", - "members":{ - "Value":{ - "shape":"AttributeValue", - "documentation":"

The field's value.

" - }, - "Confidence":{ - "shape":"Confidence", - "documentation":"

The field's confidence.

" - }, - "Message":{ - "shape":"Message", - "documentation":"

The field's message.

" - } - }, - "documentation":"

An inferred field.

" - }, - "DetectedFileFormatDescriptor":{ - "type":"structure", - "members":{ - "CsvFormatDescriptor":{ - "shape":"DetectedCsvFormatDescriptor", - "documentation":"

Details about a CSV format.

" - }, - "JsonFormatDescriptor":{ - "shape":"DetectedJsonFormatDescriptor", - "documentation":"

Details about a JSON format.

" - } - }, - "documentation":"

Properties of an inferred data format.

" - }, - "DetectedJsonFormatDescriptor":{ - "type":"structure", - "members":{ - "FileCompression":{ - "shape":"DetectedField", - "documentation":"

The format's file compression.

" - }, - "Charset":{ - "shape":"DetectedField", - "documentation":"

The format's character set.

" - } - }, - "documentation":"

A detected JSON format descriptor.

" - }, - "DetectedMetricSetConfig":{ - "type":"structure", - "members":{ - "Offset":{ - "shape":"DetectedField", - "documentation":"

The dataset's offset.

" - }, - "MetricSetFrequency":{ - "shape":"DetectedField", - "documentation":"

The dataset's interval.

" - }, - "MetricSource":{ - "shape":"DetectedMetricSource", - "documentation":"

The dataset's data source.

" - } - }, - "documentation":"

An inferred dataset configuration.

" - }, - "DetectedMetricSource":{ - "type":"structure", - "members":{ - "S3SourceConfig":{ - "shape":"DetectedS3SourceConfig", - "documentation":"

The data source's source configuration.

" - } - }, - "documentation":"

An inferred data source.

" - }, - "DetectedS3SourceConfig":{ - "type":"structure", - "members":{ - "FileFormatDescriptor":{ - "shape":"DetectedFileFormatDescriptor", - "documentation":"

The source's file format descriptor.

" - } - }, - "documentation":"

An inferred source configuration.

" - }, - "DimensionContribution":{ - "type":"structure", - "members":{ - "DimensionName":{ - "shape":"ColumnName", - "documentation":"

The name of the dimension.

" - }, - "DimensionValueContributionList":{ - "shape":"DimensionValueContributionList", - "documentation":"

A list of dimension values that contributed to the anomaly.

" - } - }, - "documentation":"

Details about a dimension that contributed to an anomaly.

" - }, - "DimensionContributionList":{ - "type":"list", - "member":{"shape":"DimensionContribution"} - }, - "DimensionFilter":{ - "type":"structure", - "members":{ - "DimensionName":{ - "shape":"ColumnName", - "documentation":"

The name of the dimension to filter on.

" - }, - "DimensionValueList":{ - "shape":"DimensionValueList", - "documentation":"

The list of values for the dimension specified in DimensionName that you want to filter on.

" - } - }, - "documentation":"

The dimension filter, containing DimensionName and DimensionValueList.

" - }, - "DimensionFilterList":{ - "type":"list", - "member":{"shape":"DimensionFilter"}, - "max":5, - "min":1 - }, - "DimensionList":{ - "type":"list", - "member":{"shape":"ColumnName"}, - "min":1 - }, - "DimensionNameValue":{ - "type":"structure", - "required":[ - "DimensionName", - "DimensionValue" - ], - "members":{ - "DimensionName":{ - "shape":"ColumnName", - "documentation":"

The name of the dimension.

" - }, - "DimensionValue":{ - "shape":"DimensionValue", - "documentation":"

The value of the dimension.

" - } - }, - "documentation":"

A dimension name and value.

" - }, - "DimensionNameValueList":{ - "type":"list", - "member":{"shape":"DimensionNameValue"} - }, - "DimensionValue":{"type":"string"}, - "DimensionValueContribution":{ - "type":"structure", - "members":{ - "DimensionValue":{ - "shape":"DimensionValue", - "documentation":"

The value of the dimension.

" - }, - "ContributionScore":{ - "shape":"Score", - "documentation":"

The severity score of the value.

" - } - }, - "documentation":"

The severity of a value of a dimension that contributed to an anomaly.

" - }, - "DimensionValueContributionList":{ - "type":"list", - "member":{"shape":"DimensionValueContribution"} - }, - "DimensionValueList":{ - "type":"list", - "member":{"shape":"DimensionValue"}, - "max":10, - "min":1 - }, - "Double":{"type":"double"}, - "ErrorMessage":{ - "type":"string", - "max":256 - }, - "ExecutionList":{ - "type":"list", - "member":{"shape":"ExecutionStatus"} - }, - "ExecutionStatus":{ - "type":"structure", - "members":{ - "Timestamp":{ - "shape":"TimestampString", - "documentation":"

The run's timestamp.

" - }, - "Status":{ - "shape":"AnomalyDetectionTaskStatus", - "documentation":"

The run's status.

" - }, - "FailureReason":{ - "shape":"AnomalyDetectionTaskStatusMessage", - "documentation":"

The reason that the run failed, if applicable.

" - } - }, - "documentation":"

The status of an anomaly detector run.

" - }, - "FieldName":{"type":"string"}, - "FileFormatDescriptor":{ - "type":"structure", - "members":{ - "CsvFormatDescriptor":{ - "shape":"CsvFormatDescriptor", - "documentation":"

Contains information about how a source CSV data file should be analyzed.

" - }, - "JsonFormatDescriptor":{ - "shape":"JsonFormatDescriptor", - "documentation":"

Contains information about how a source JSON data file should be analyzed.

" - } - }, - "documentation":"

Contains information about a source file's formatting.

" - }, - "Filter":{ - "type":"structure", - "members":{ - "DimensionValue":{ - "shape":"DimensionValue", - "documentation":"

The value that you want to include in the filter.

" - }, - "FilterOperation":{ - "shape":"FilterOperation", - "documentation":"

The condition to apply.

" - } - }, - "documentation":"

Describes a filter for choosing a subset of dimension values. Each filter consists of the dimension that you want to include and the condition statement. The condition statement is specified in the FilterOperation object.

" - }, - "FilterList":{ - "type":"list", - "member":{"shape":"Filter"}, - "min":1 - }, - "FilterOperation":{ - "type":"string", - "enum":["EQUALS"] - }, - "FlowName":{ - "type":"string", - "max":256, - "pattern":"[a-zA-Z0-9][\\w!@#.-]+" - }, - "Frequency":{ - "type":"string", - "enum":[ - "P1D", - "PT1H", - "PT10M", - "PT5M" - ] - }, - "GetAnomalyGroupRequest":{ - "type":"structure", - "required":[ - "AnomalyGroupId", - "AnomalyDetectorArn" - ], - "members":{ - "AnomalyGroupId":{ - "shape":"UUID", - "documentation":"

The ID of the anomaly group.

" - }, - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the anomaly detector.

" - } - } - }, - "GetAnomalyGroupResponse":{ - "type":"structure", - "members":{ - "AnomalyGroup":{ - "shape":"AnomalyGroup", - "documentation":"

Details about the anomaly group.

" - } - } - }, - "GetDataQualityMetricsRequest":{ - "type":"structure", - "required":["AnomalyDetectorArn"], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the anomaly detector that you want to investigate.

" - }, - "MetricSetArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of a specific data quality metric set.

" - } - } - }, - "GetDataQualityMetricsResponse":{ - "type":"structure", - "members":{ - "AnomalyDetectorDataQualityMetricList":{ - "shape":"AnomalyDetectorDataQualityMetricList", - "documentation":"

A list of the data quality metrics for the AnomalyDetectorArn that you requested.

" - } - } - }, - "GetFeedbackRequest":{ - "type":"structure", - "required":[ - "AnomalyDetectorArn", - "AnomalyGroupTimeSeriesFeedback" - ], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the anomaly detector.

" - }, - "AnomalyGroupTimeSeriesFeedback":{ - "shape":"AnomalyGroupTimeSeries", - "documentation":"

The anomalous metric and group ID.

" - }, - "MaxResults":{ - "shape":"MaxResults", - "documentation":"

The maximum number of results to return.

", - "box":true - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

" - } - } - }, - "GetFeedbackResponse":{ - "type":"structure", - "members":{ - "AnomalyGroupTimeSeriesFeedback":{ - "shape":"TimeSeriesFeedbackList", - "documentation":"

Feedback for an anomalous metric.

" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

The pagination token that's included if more results are available.

" - } - } - }, - "GetSampleDataRequest":{ - "type":"structure", - "members":{ - "S3SourceConfig":{ - "shape":"SampleDataS3SourceConfig", - "documentation":"

A datasource bucket in Amazon S3.

" - } - } - }, - "GetSampleDataResponse":{ - "type":"structure", - "members":{ - "HeaderValues":{ - "shape":"HeaderValueList", - "documentation":"

A list of header labels for the records.

" - }, - "SampleRows":{ - "shape":"SampleRows", - "documentation":"

A list of records.

" - } - } - }, - "HeaderList":{ - "type":"list", - "member":{"shape":"ColumnName"} - }, - "HeaderValue":{"type":"string"}, - "HeaderValueList":{ - "type":"list", - "member":{"shape":"HeaderValue"} - }, - "HistoricalDataPath":{ - "type":"string", - "max":1024, - "pattern":"^s3://[a-z0-9].+$" - }, - "HistoricalDataPathList":{ - "type":"list", - "member":{"shape":"HistoricalDataPath"}, - "max":1, - "min":1 - }, - "Integer":{"type":"integer"}, - "InterMetricImpactDetails":{ - "type":"structure", - "members":{ - "MetricName":{ - "shape":"MetricName", - "documentation":"

The name of the measure.

" - }, - "AnomalyGroupId":{ - "shape":"UUID", - "documentation":"

The ID of the anomaly group.

" - }, - "RelationshipType":{ - "shape":"RelationshipType", - "documentation":"

Whether a measure is a potential cause of the anomaly group (CAUSE_OF_INPUT_ANOMALY_GROUP), or whether the measure is impacted by the anomaly group (EFFECT_OF_INPUT_ANOMALY_GROUP).

" - }, - "ContributionPercentage":{ - "shape":"MetricChangePercentage", - "documentation":"

For potential causes (CAUSE_OF_INPUT_ANOMALY_GROUP), the percentage contribution the measure has in causing the anomalies.

" - } - }, - "documentation":"

Aggregated details about the measures contributing to the anomaly group, and the measures potentially impacted by the anomaly group.

" - }, - "InterMetricImpactList":{ - "type":"list", - "member":{"shape":"InterMetricImpactDetails"} - }, - "InternalServerException":{ - "type":"structure", - "required":["Message"], - "members":{ - "Message":{"shape":"Message"} - }, - "documentation":"

The request processing has failed because of an unknown error, exception, or failure.

", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - }, - "ItemizedMetricStats":{ - "type":"structure", - "members":{ - "MetricName":{ - "shape":"ColumnName", - "documentation":"

The name of the measure.

" - }, - "OccurrenceCount":{ - "shape":"Integer", - "documentation":"

The number of times that the measure appears.

" - } - }, - "documentation":"

Aggregated statistics about a measure affected by an anomaly.

" - }, - "ItemizedMetricStatsList":{ - "type":"list", - "member":{"shape":"ItemizedMetricStats"} - }, - "JsonFileCompression":{ - "type":"string", - "enum":[ - "NONE", - "GZIP" - ] - }, - "JsonFormatDescriptor":{ - "type":"structure", - "members":{ - "FileCompression":{ - "shape":"JsonFileCompression", - "documentation":"

The level of compression of the source CSV file.

" - }, - "Charset":{ - "shape":"Charset", - "documentation":"

The character set in which the source JSON file is written.

" - } - }, - "documentation":"

Contains information about how a source JSON data file should be analyzed.

" - }, - "KmsKeyArn":{ - "type":"string", - "max":2048, - "min":20, - "pattern":"arn:aws.*:kms:.*:[0-9]{12}:key/[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}" - }, - "LambdaConfiguration":{ - "type":"structure", - "required":[ - "RoleArn", - "LambdaArn" - ], - "members":{ - "RoleArn":{ - "shape":"Arn", - "documentation":"

The ARN of an IAM role that has permission to invoke the Lambda function.

" - }, - "LambdaArn":{ - "shape":"Arn", - "documentation":"

The ARN of the Lambda function.

" - } - }, - "documentation":"

Contains information about a Lambda configuration.

" - }, - "ListAlertsRequest":{ - "type":"structure", - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the alert's detector.

" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

If the result of the previous request is truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.

" - }, - "MaxResults":{ - "shape":"MaxResults", - "documentation":"

The maximum number of results that will be displayed by the request.

", - "box":true - } - } - }, - "ListAlertsResponse":{ - "type":"structure", - "members":{ - "AlertSummaryList":{ - "shape":"AlertSummaryList", - "documentation":"

Contains information about an alert.

" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

If the response is truncated, the service returns this token. To retrieve the next set of results, use this token in the next request.

" - } - } - }, - "ListAnomalyDetectorsRequest":{ - "type":"structure", - "members":{ - "MaxResults":{ - "shape":"MaxResults", - "documentation":"

The maximum number of results to return.

", - "box":true - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.

" - } - } - }, - "ListAnomalyDetectorsResponse":{ - "type":"structure", - "members":{ - "AnomalyDetectorSummaryList":{ - "shape":"AnomalyDetectorSummaryList", - "documentation":"

A list of anomaly detectors in the account in the current region.

" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

If the response is truncated, the service returns this token. To retrieve the next set of results, use the token in the next request.

" - } - } - }, - "ListAnomalyGroupRelatedMetricsRequest":{ - "type":"structure", - "required":[ - "AnomalyDetectorArn", - "AnomalyGroupId" - ], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the anomaly detector.

" - }, - "AnomalyGroupId":{ - "shape":"UUID", - "documentation":"

The ID of the anomaly group.

" - }, - "RelationshipTypeFilter":{ - "shape":"RelationshipType", - "documentation":"

Filter for potential causes (CAUSE_OF_INPUT_ANOMALY_GROUP) or downstream effects (EFFECT_OF_INPUT_ANOMALY_GROUP) of the anomaly group.

" - }, - "MaxResults":{ - "shape":"MaxResults", - "documentation":"

The maximum number of results to return.

", - "box":true - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

" - } - } - }, - "ListAnomalyGroupRelatedMetricsResponse":{ - "type":"structure", - "members":{ - "InterMetricImpactList":{ - "shape":"InterMetricImpactList", - "documentation":"

Aggregated details about the measures contributing to the anomaly group, and the measures potentially impacted by the anomaly group.

" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

The pagination token that's included if more results are available.

" - } - } - }, - "ListAnomalyGroupSummariesRequest":{ - "type":"structure", - "required":[ - "AnomalyDetectorArn", - "SensitivityThreshold" - ], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the anomaly detector.

" - }, - "SensitivityThreshold":{ - "shape":"SensitivityThreshold", - "documentation":"

The minimum severity score for inclusion in the output.

" - }, - "MaxResults":{ - "shape":"MaxResults", - "documentation":"

The maximum number of results to return.

", - "box":true - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

" - } - } - }, - "ListAnomalyGroupSummariesResponse":{ - "type":"structure", - "members":{ - "AnomalyGroupSummaryList":{ - "shape":"AnomalyGroupSummaryList", - "documentation":"

A list of anomaly group summaries.

" - }, - "AnomalyGroupStatistics":{ - "shape":"AnomalyGroupStatistics", - "documentation":"

Aggregated details about the anomaly groups.

" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

The pagination token that's included if more results are available.

" - } - } - }, - "ListAnomalyGroupTimeSeriesRequest":{ - "type":"structure", - "required":[ - "AnomalyDetectorArn", - "AnomalyGroupId", - "MetricName" - ], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the anomaly detector.

" - }, - "AnomalyGroupId":{ - "shape":"UUID", - "documentation":"

The ID of the anomaly group.

" - }, - "MetricName":{ - "shape":"MetricName", - "documentation":"

The name of the measure field.

" - }, - "MaxResults":{ - "shape":"MaxResults", - "documentation":"

The maximum number of results to return.

", - "box":true - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

" - } - } - }, - "ListAnomalyGroupTimeSeriesResponse":{ - "type":"structure", - "members":{ - "AnomalyGroupId":{ - "shape":"UUID", - "documentation":"

The ID of the anomaly group.

" - }, - "MetricName":{ - "shape":"MetricName", - "documentation":"

The name of the measure field.

" - }, - "TimestampList":{ - "shape":"TimestampList", - "documentation":"

Timestamps for the anomalous metrics.

" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

The pagination token that's included if more results are available.

" - }, - "TimeSeriesList":{ - "shape":"TimeSeriesList", - "documentation":"

A list of anomalous metrics.

" - } - } - }, - "ListMetricSetsRequest":{ - "type":"structure", - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the anomaly detector containing the metrics sets to list.

" - }, - "MaxResults":{ - "shape":"MaxResults", - "documentation":"

The maximum number of results to return.

", - "box":true - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.

" - } - } - }, - "ListMetricSetsResponse":{ - "type":"structure", - "members":{ - "MetricSetSummaryList":{ - "shape":"MetricSetSummaryList", - "documentation":"

A list of the datasets in the AWS Region, with configuration details for each.

" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

If the response is truncated, the list call returns this token. To retrieve the next set of results, use the token in the next list request.

" - } - } - }, - "ListTagsForResourceRequest":{ - "type":"structure", - "required":["ResourceArn"], - "members":{ - "ResourceArn":{ - "shape":"Arn", - "documentation":"

The resource's Amazon Resource Name (ARN).

", - "location":"uri", - "locationName":"resourceArn" - } - } - }, - "ListTagsForResourceResponse":{ - "type":"structure", - "members":{ - "Tags":{ - "shape":"TagMap", - "documentation":"

The resource's tags.

", - "locationName":"Tags" - } - } - }, - "MaxResults":{ - "type":"integer", - "max":100, - "min":1 - }, - "Message":{"type":"string"}, - "Metric":{ - "type":"structure", - "required":[ - "MetricName", - "AggregationFunction" - ], - "members":{ - "MetricName":{ - "shape":"ColumnName", - "documentation":"

The name of the metric.

" - }, - "AggregationFunction":{ - "shape":"AggregationFunction", - "documentation":"

The function with which the metric is calculated.

" - }, - "Namespace":{ - "shape":"Namespace", - "documentation":"

The namespace for the metric.

" - } - }, - "documentation":"

A calculation made by contrasting a measure and a dimension from your source data.

" - }, - "MetricChangePercentage":{ - "type":"double", - "max":100.0, - "min":0.0 - }, - "MetricLevelImpact":{ - "type":"structure", - "members":{ - "MetricName":{ - "shape":"MetricName", - "documentation":"

The name of the measure.

" - }, - "NumTimeSeries":{ - "shape":"Integer", - "documentation":"

The number of anomalous metrics for the measure.

" - }, - "ContributionMatrix":{ - "shape":"ContributionMatrix", - "documentation":"

Details about the dimensions that contributed to the anomaly.

" - } - }, - "documentation":"

Details about a measure affected by an anomaly.

" - }, - "MetricLevelImpactList":{ - "type":"list", - "member":{"shape":"MetricLevelImpact"} - }, - "MetricList":{ - "type":"list", - "member":{"shape":"Metric"}, - "min":1 - }, - "MetricName":{ - "type":"string", - "max":256, - "pattern":"^[a-zA-Z0-9][a-zA-Z0-9\\-_]*" - }, - "MetricNameList":{ - "type":"list", - "member":{"shape":"MetricName"}, - "max":5, - "min":1 - }, - "MetricSetDataQualityMetric":{ - "type":"structure", - "members":{ - "MetricSetArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the data quality metric array.

" - }, - "DataQualityMetricList":{ - "shape":"DataQualityMetricList", - "documentation":"

The array of data quality metrics contained in the data quality metric set.

" - } - }, - "documentation":"

An array of DataQualityMetric objects that describes one or more data quality metrics.

" - }, - "MetricSetDataQualityMetricList":{ - "type":"list", - "member":{"shape":"MetricSetDataQualityMetric"} - }, - "MetricSetDescription":{ - "type":"string", - "max":256, - "min":1, - "pattern":".*\\S.*" - }, - "MetricSetDimensionFilter":{ - "type":"structure", - "members":{ - "Name":{ - "shape":"ColumnName", - "documentation":"

The dimension that you want to filter on.

" - }, - "FilterList":{ - "shape":"FilterList", - "documentation":"

The list of filters that you are applying.

" - } - }, - "documentation":"

Describes a list of filters for choosing a subset of dimension values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.

" - }, - "MetricSetDimensionFilterList":{ - "type":"list", - "member":{"shape":"MetricSetDimensionFilter"} - }, - "MetricSetName":{ - "type":"string", - "max":63, - "min":1, - "pattern":"^[a-zA-Z0-9][a-zA-Z0-9\\-_]*" - }, - "MetricSetSummary":{ - "type":"structure", - "members":{ - "MetricSetArn":{ - "shape":"Arn", - "documentation":"

The ARN of the dataset.

" - }, - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the detector to which the dataset belongs.

" - }, - "MetricSetDescription":{ - "shape":"MetricSetDescription", - "documentation":"

The description of the dataset.

" - }, - "MetricSetName":{ - "shape":"MetricSetName", - "documentation":"

The name of the dataset.

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

The time at which the dataset was created.

" - }, - "LastModificationTime":{ - "shape":"Timestamp", - "documentation":"

The time at which the dataset was last modified.

" - }, - "Tags":{ - "shape":"TagMap", - "documentation":"

The dataset's tags.

" - } - }, - "documentation":"

Contains information about a dataset.

" - }, - "MetricSetSummaryList":{ - "type":"list", - "member":{"shape":"MetricSetSummary"} - }, - "MetricSource":{ - "type":"structure", - "members":{ - "S3SourceConfig":{"shape":"S3SourceConfig"}, - "AppFlowConfig":{ - "shape":"AppFlowConfig", - "documentation":"

Details about an AppFlow datasource.

" - }, - "CloudWatchConfig":{ - "shape":"CloudWatchConfig", - "documentation":"

Details about an Amazon CloudWatch monitoring datasource.

" - }, - "RDSSourceConfig":{ - "shape":"RDSSourceConfig", - "documentation":"

Details about an Amazon Relational Database Service (RDS) datasource.

" - }, - "RedshiftSourceConfig":{ - "shape":"RedshiftSourceConfig", - "documentation":"

Details about an Amazon Redshift database datasource.

" - }, - "AthenaSourceConfig":{ - "shape":"AthenaSourceConfig", - "documentation":"

Details about an Amazon Athena datasource.

" - } - }, - "documentation":"

Contains information about source data used to generate metrics.

" - }, - "MetricValue":{"type":"double"}, - "MetricValueList":{ - "type":"list", - "member":{"shape":"MetricValue"} - }, - "Namespace":{ - "type":"string", - "max":255, - "min":1, - "pattern":"[^:].*" - }, - "NextToken":{ - "type":"string", - "max":3000, - "min":1, - "pattern":".*\\S.*" - }, - "NumberAttributeValue":{"type":"string"}, - "NumberListAttributeValue":{ - "type":"list", - "member":{"shape":"NumberAttributeValue"} - }, - "Offset":{ - "type":"integer", - "max":432000, - "min":0 - }, - "PoirotSecretManagerArn":{ - "type":"string", - "max":256, - "pattern":"arn:([a-z\\d-]+):.*:.*:secret:AmazonLookoutMetrics-.+" - }, - "PutFeedbackRequest":{ - "type":"structure", - "required":[ - "AnomalyDetectorArn", - "AnomalyGroupTimeSeriesFeedback" - ], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the anomaly detector.

" - }, - "AnomalyGroupTimeSeriesFeedback":{ - "shape":"AnomalyGroupTimeSeriesFeedback", - "documentation":"

Feedback for an anomalous metric.

" - } - } - }, - "PutFeedbackResponse":{ - "type":"structure", - "members":{} - }, - "QuotaCode":{"type":"string"}, - "QuoteSymbol":{ - "type":"string", - "max":1, - "pattern":"[^\\r\\n]|^$" - }, - "RDSDatabaseIdentifier":{ - "type":"string", - "max":63, - "min":1, - "pattern":"^[a-zA-Z](?!.*--)(?!.*-$)[0-9a-zA-Z\\-]*$" - }, - "RDSDatabaseName":{ - "type":"string", - "max":64, - "min":1, - "pattern":"[a-zA-Z0-9_.]+" - }, - "RDSSourceConfig":{ - "type":"structure", - "members":{ - "DBInstanceIdentifier":{ - "shape":"RDSDatabaseIdentifier", - "documentation":"

A string identifying the database instance.

" - }, - "DatabaseHost":{ - "shape":"DatabaseHost", - "documentation":"

The host name of the database.

" - }, - "DatabasePort":{ - "shape":"DatabasePort", - "documentation":"

The port number where the database can be accessed.

", - "box":true - }, - "SecretManagerArn":{ - "shape":"PoirotSecretManagerArn", - "documentation":"

The Amazon Resource Name (ARN) of the AWS Secrets Manager role.

" - }, - "DatabaseName":{ - "shape":"RDSDatabaseName", - "documentation":"

The name of the RDS database.

" - }, - "TableName":{ - "shape":"TableName", - "documentation":"

The name of the table in the database.

" - }, - "RoleArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the role.

" - }, - "VpcConfiguration":{ - "shape":"VpcConfiguration", - "documentation":"

An object containing information about the Amazon Virtual Private Cloud (VPC) configuration.

" - } - }, - "documentation":"

Contains information about the Amazon Relational Database Service (RDS) configuration.

" - }, - "RedshiftClusterIdentifier":{ - "type":"string", - "max":63, - "min":1, - "pattern":"^[a-z](?!.*--)(?!.*-$)[0-9a-z\\-]*$" - }, - "RedshiftDatabaseName":{ - "type":"string", - "max":100, - "min":1, - "pattern":"[a-zA-Z0-9_.]+" - }, - "RedshiftSourceConfig":{ - "type":"structure", - "members":{ - "ClusterIdentifier":{ - "shape":"RedshiftClusterIdentifier", - "documentation":"

A string identifying the Redshift cluster.

" - }, - "DatabaseHost":{ - "shape":"DatabaseHost", - "documentation":"

The name of the database host.

" - }, - "DatabasePort":{ - "shape":"DatabasePort", - "documentation":"

The port number where the database can be accessed.

", - "box":true - }, - "SecretManagerArn":{ - "shape":"PoirotSecretManagerArn", - "documentation":"

The Amazon Resource Name (ARN) of the AWS Secrets Manager role.

" - }, - "DatabaseName":{ - "shape":"RedshiftDatabaseName", - "documentation":"

The Redshift database name.

" - }, - "TableName":{ - "shape":"TableName", - "documentation":"

The table name of the Redshift database.

" - }, - "RoleArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the role providing access to the database.

" - }, - "VpcConfiguration":{ - "shape":"VpcConfiguration", - "documentation":"

Contains information about the Amazon Virtual Private Cloud (VPC) configuration.

" - } - }, - "documentation":"

Provides information about the Amazon Redshift database configuration.

" - }, - "RelatedColumnName":{ - "type":"string", - "max":256, - "min":1, - "pattern":".*\\S.*" - }, - "RelationshipType":{ - "type":"string", - "enum":[ - "CAUSE_OF_INPUT_ANOMALY_GROUP", - "EFFECT_OF_INPUT_ANOMALY_GROUP" - ] - }, - "ResourceId":{"type":"string"}, - "ResourceNotFoundException":{ - "type":"structure", - "required":["Message"], - "members":{ - "Message":{"shape":"Message"}, - "ResourceId":{ - "shape":"ResourceId", - "documentation":"

The ID of the resource.

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

The type of the resource.

" - } - }, - "documentation":"

The specified resource cannot be found. Check the ARN of the resource and try again.

", - "error":{"httpStatusCode":400}, - "exception":true - }, - "ResourceType":{"type":"string"}, - "S3SourceConfig":{ - "type":"structure", - "members":{ - "RoleArn":{ - "shape":"Arn", - "documentation":"

The ARN of an IAM role that has read and write access permissions to the source S3 bucket.

" - }, - "TemplatedPathList":{ - "shape":"TemplatedPathList", - "documentation":"

A list of templated paths to the source files.

" - }, - "HistoricalDataPathList":{ - "shape":"HistoricalDataPathList", - "documentation":"

A list of paths to the historical data files.

" - }, - "FileFormatDescriptor":{ - "shape":"FileFormatDescriptor", - "documentation":"

Contains information about a source file's formatting.

" - } - }, - "documentation":"

Contains information about the configuration of the S3 bucket that contains source files.

" - }, - "SNSConfiguration":{ - "type":"structure", - "required":[ - "RoleArn", - "SnsTopicArn" - ], - "members":{ - "RoleArn":{ - "shape":"Arn", - "documentation":"

The ARN of the IAM role that has access to the target SNS topic.

" - }, - "SnsTopicArn":{ - "shape":"Arn", - "documentation":"

The ARN of the target SNS topic.

" - }, - "SnsFormat":{ - "shape":"SnsFormat", - "documentation":"

The format of the SNS topic.

  • JSON – Send JSON alerts with an anomaly ID and a link to the anomaly detail page. This is the default.

  • LONG_TEXT – Send human-readable alerts with information about the impacted timeseries and a link to the anomaly detail page. We recommend this for email.

  • SHORT_TEXT – Send human-readable alerts with a link to the anomaly detail page. We recommend this for SMS.

" - } - }, - "documentation":"

Contains information about the SNS topic to which you want to send your alerts and the IAM role that has access to that topic.

" - }, - "SampleDataS3SourceConfig":{ - "type":"structure", - "required":[ - "RoleArn", - "FileFormatDescriptor" - ], - "members":{ - "RoleArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the role.

" - }, - "TemplatedPathList":{ - "shape":"TemplatedPathList", - "documentation":"

An array of strings containing the list of templated paths.

" - }, - "HistoricalDataPathList":{ - "shape":"HistoricalDataPathList", - "documentation":"

An array of strings containing the historical set of data paths.

" - }, - "FileFormatDescriptor":{"shape":"FileFormatDescriptor"} - }, - "documentation":"

Contains information about the source configuration in Amazon S3.

" - }, - "SampleRow":{ - "type":"list", - "member":{"shape":"DataItem"} - }, - "SampleRows":{ - "type":"list", - "member":{"shape":"SampleRow"} - }, - "Score":{ - "type":"double", - "max":100.0, - "min":0.0 - }, - "SecurityGroupId":{ - "type":"string", - "max":255, - "min":1, - "pattern":"[-0-9a-zA-Z]+" - }, - "SecurityGroupIdList":{ - "type":"list", - "member":{"shape":"SecurityGroupId"} - }, - "SensitivityThreshold":{ - "type":"integer", - "max":100, - "min":0 - }, - "ServiceCode":{"type":"string"}, - "ServiceQuotaExceededException":{ - "type":"structure", - "required":["Message"], - "members":{ - "Message":{"shape":"Message"}, - "ResourceId":{ - "shape":"ResourceId", - "documentation":"

The ID of the resource.

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

The type of the resource.

" - }, - "QuotaCode":{ - "shape":"QuotaCode", - "documentation":"

The quota code.

" - }, - "ServiceCode":{ - "shape":"ServiceCode", - "documentation":"

The service code.

" - } - }, - "documentation":"

The request exceeded the service's quotas. Check the service quotas and try again.

", - "error":{"httpStatusCode":402}, - "exception":true - }, - "SnsFormat":{ - "type":"string", - "enum":[ - "LONG_TEXT", - "SHORT_TEXT", - "JSON" - ] - }, - "StringAttributeValue":{"type":"string"}, - "StringListAttributeValue":{ - "type":"list", - "member":{"shape":"StringAttributeValue"} - }, - "SubnetId":{ - "type":"string", - "max":255, - "pattern":"[\\-0-9a-zA-Z]+" - }, - "SubnetIdList":{ - "type":"list", - "member":{"shape":"SubnetId"} - }, - "TableName":{ - "type":"string", - "max":100, - "min":1, - "pattern":"^[a-zA-Z][a-zA-Z0-9_.]*$" - }, - "TagKey":{ - "type":"string", - "max":128, - "min":1 - }, - "TagKeyList":{ - "type":"list", - "member":{"shape":"TagKey"}, - "max":50, - "min":1 - }, - "TagMap":{ - "type":"map", - "key":{"shape":"TagKey"}, - "value":{"shape":"TagValue"}, - "max":50, - "min":1 - }, - "TagResourceRequest":{ - "type":"structure", - "required":[ - "ResourceArn", - "Tags" - ], - "members":{ - "ResourceArn":{ - "shape":"Arn", - "documentation":"

The resource's Amazon Resource Name (ARN).

", - "location":"uri", - "locationName":"resourceArn" - }, - "Tags":{ - "shape":"TagMap", - "documentation":"

Tags to apply to the resource. Tag keys and values can contain letters, numbers, spaces, and the following symbols: _.:/=+@-

", - "locationName":"tags" - } - } - }, - "TagResourceResponse":{ - "type":"structure", - "members":{} - }, - "TagValue":{ - "type":"string", - "max":256 - }, - "TemplatedPath":{ - "type":"string", - "max":1024, - "pattern":"^s3://[a-zA-Z0-9_\\-\\/ {}=]+$" - }, - "TemplatedPathList":{ - "type":"list", - "member":{"shape":"TemplatedPath"}, - "max":1, - "min":1 - }, - "TimeSeries":{ - "type":"structure", - "required":[ - "TimeSeriesId", - "DimensionList", - "MetricValueList" - ], - "members":{ - "TimeSeriesId":{ - "shape":"TimeSeriesId", - "documentation":"

The ID of the metric.

" - }, - "DimensionList":{ - "shape":"DimensionNameValueList", - "documentation":"

The dimensions of the metric.

" - }, - "MetricValueList":{ - "shape":"MetricValueList", - "documentation":"

The values for the metric.

" - } - }, - "documentation":"

Details about a metric. A metric is an aggregation of the values of a measure for a dimension value, such as availability in the us-east-1 Region.

" - }, - "TimeSeriesFeedback":{ - "type":"structure", - "members":{ - "TimeSeriesId":{ - "shape":"TimeSeriesId", - "documentation":"

The ID of the metric.

" - }, - "IsAnomaly":{ - "shape":"Boolean", - "documentation":"

Feedback on whether the metric is a legitimate anomaly.

" - } - }, - "documentation":"

Details about feedback submitted for an anomalous metric.

" - }, - "TimeSeriesFeedbackList":{ - "type":"list", - "member":{"shape":"TimeSeriesFeedback"} - }, - "TimeSeriesId":{ - "type":"string", - "max":520, - "pattern":".*\\S.*" - }, - "TimeSeriesList":{ - "type":"list", - "member":{"shape":"TimeSeries"} - }, - "Timestamp":{"type":"timestamp"}, - "TimestampColumn":{ - "type":"structure", - "members":{ - "ColumnName":{ - "shape":"ColumnName", - "documentation":"

The name of the timestamp column.

" - }, - "ColumnFormat":{ - "shape":"DateTimeFormat", - "documentation":"

The format of the timestamp column.

" - } - }, - "documentation":"

Contains information about the column used to track time in a source data file.

" - }, - "TimestampList":{ - "type":"list", - "member":{"shape":"TimestampString"} - }, - "TimestampString":{ - "type":"string", - "max":60, - "pattern":"^([12]\\d{3})-(1[0-2]|0[1-9])-(0[1-9]|[12]\\d|3[01])T([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d)(Z|(\\+|\\-)(0\\d|1[0-2]):([0-5]\\d)(\\[[[:alnum:]\\/\\_]+\\])?)$" - }, - "Timezone":{ - "type":"string", - "max":60, - "pattern":".*\\S.*" - }, - "TooManyRequestsException":{ - "type":"structure", - "required":["Message"], - "members":{ - "Message":{"shape":"Message"} - }, - "documentation":"

The request was denied due to too many requests being submitted at the same time.

", - "error":{"httpStatusCode":429}, - "exception":true - }, - "UUID":{ - "type":"string", - "max":63, - "pattern":"[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}" - }, - "UntagResourceRequest":{ - "type":"structure", - "required":[ - "ResourceArn", - "TagKeys" - ], - "members":{ - "ResourceArn":{ - "shape":"Arn", - "documentation":"

The resource's Amazon Resource Name (ARN).

", - "location":"uri", - "locationName":"resourceArn" - }, - "TagKeys":{ - "shape":"TagKeyList", - "documentation":"

Keys to remove from the resource's tags.

", - "location":"querystring", - "locationName":"tagKeys" - } - } - }, - "UntagResourceResponse":{ - "type":"structure", - "members":{} - }, - "UpdateAlertRequest":{ - "type":"structure", - "required":["AlertArn"], - "members":{ - "AlertArn":{ - "shape":"Arn", - "documentation":"

The ARN of the alert to update.

" - }, - "AlertDescription":{ - "shape":"AlertDescription", - "documentation":"

A description of the alert.

" - }, - "AlertSensitivityThreshold":{ - "shape":"SensitivityThreshold", - "documentation":"

An integer from 0 to 100 specifying the alert sensitivity threshold.

" - }, - "Action":{ - "shape":"Action", - "documentation":"

Action that will be triggered when there is an alert.

" - }, - "AlertFilters":{ - "shape":"AlertFilters", - "documentation":"

The configuration of the alert filters, containing MetricList and DimensionFilterList.

" - } - } - }, - "UpdateAlertResponse":{ - "type":"structure", - "members":{ - "AlertArn":{ - "shape":"Arn", - "documentation":"

The ARN of the updated alert.

" - } - } - }, - "UpdateAnomalyDetectorRequest":{ - "type":"structure", - "required":["AnomalyDetectorArn"], - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the detector to update.

" - }, - "KmsKeyArn":{ - "shape":"KmsKeyArn", - "documentation":"

The Amazon Resource Name (ARN) of an AWS KMS encryption key.

" - }, - "AnomalyDetectorDescription":{ - "shape":"AnomalyDetectorDescription", - "documentation":"

The updated detector description.

" - }, - "AnomalyDetectorConfig":{ - "shape":"AnomalyDetectorConfig", - "documentation":"

Contains information about the configuration to which the detector will be updated.

" - } - } - }, - "UpdateAnomalyDetectorResponse":{ - "type":"structure", - "members":{ - "AnomalyDetectorArn":{ - "shape":"Arn", - "documentation":"

The ARN of the updated detector.

" - } - } - }, - "UpdateMetricSetRequest":{ - "type":"structure", - "required":["MetricSetArn"], - "members":{ - "MetricSetArn":{ - "shape":"Arn", - "documentation":"

The ARN of the dataset to update.

" - }, - "MetricSetDescription":{ - "shape":"MetricSetDescription", - "documentation":"

The dataset's description.

" - }, - "MetricList":{ - "shape":"MetricList", - "documentation":"

The metric list.

" - }, - "Offset":{ - "shape":"Offset", - "documentation":"

After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.

", - "box":true - }, - "TimestampColumn":{ - "shape":"TimestampColumn", - "documentation":"

The timestamp column.

" - }, - "DimensionList":{ - "shape":"DimensionList", - "documentation":"

The dimension list.

" - }, - "MetricSetFrequency":{ - "shape":"Frequency", - "documentation":"

The dataset's interval.

" - }, - "MetricSource":{"shape":"MetricSource"}, - "DimensionFilterList":{ - "shape":"MetricSetDimensionFilterList", - "documentation":"

Describes a list of filters for choosing specific dimensions and specific values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.

" - } - } - }, - "UpdateMetricSetResponse":{ - "type":"structure", - "members":{ - "MetricSetArn":{ - "shape":"Arn", - "documentation":"

The ARN of the dataset.

" - } - } - }, - "ValidationException":{ - "type":"structure", - "required":["Message"], - "members":{ - "Message":{"shape":"Message"}, - "Reason":{ - "shape":"ValidationExceptionReason", - "documentation":"

The reason that validation failed.

" - }, - "Fields":{ - "shape":"ValidationExceptionFieldList", - "documentation":"

Fields that failed validation.

" - } - }, - "documentation":"

The input fails to satisfy the constraints specified by the AWS service. Check your input values and try again.

", - "error":{"httpStatusCode":400}, - "exception":true - }, - "ValidationExceptionField":{ - "type":"structure", - "required":[ - "Name", - "Message" - ], - "members":{ - "Name":{ - "shape":"FieldName", - "documentation":"

The name of the field.

" - }, - "Message":{ - "shape":"Message", - "documentation":"

The message with more information about the validation exception.

" - } - }, - "documentation":"

Contains information about a a field in a validation exception.

" - }, - "ValidationExceptionFieldList":{ - "type":"list", - "member":{"shape":"ValidationExceptionField"} - }, - "ValidationExceptionReason":{ - "type":"string", - "enum":[ - "UNKNOWN_OPERATION", - "CANNOT_PARSE", - "FIELD_VALIDATION_FAILED", - "OTHER" - ] - }, - "VpcConfiguration":{ - "type":"structure", - "required":[ - "SubnetIdList", - "SecurityGroupIdList" - ], - "members":{ - "SubnetIdList":{ - "shape":"SubnetIdList", - "documentation":"

An array of strings containing the Amazon VPC subnet IDs (e.g., subnet-0bb1c79de3EXAMPLE.

" - }, - "SecurityGroupIdList":{ - "shape":"SecurityGroupIdList", - "documentation":"

An array of strings containing the list of security groups.

" - } - }, - "documentation":"

Contains configuration information about the Amazon Virtual Private Cloud (VPC).

" - } - }, - "documentation":"

This is the Amazon Lookout for Metrics API Reference. For an introduction to the service with tutorials for getting started, visit Amazon Lookout for Metrics Developer Guide.

" -} diff --git a/tools/code-generation/api-descriptions/lookoutvision-2020-11-20.normal.json b/tools/code-generation/api-descriptions/lookoutvision-2020-11-20.normal.json deleted file mode 100644 index e0109583304..00000000000 --- a/tools/code-generation/api-descriptions/lookoutvision-2020-11-20.normal.json +++ /dev/null @@ -1,2265 +0,0 @@ -{ - "version":"2.0", - "metadata":{ - "apiVersion":"2020-11-20", - "endpointPrefix":"lookoutvision", - "jsonVersion":"1.1", - "protocol":"rest-json", - "protocols":["rest-json"], - "serviceFullName":"Amazon Lookout for Vision", - "serviceId":"LookoutVision", - "signatureVersion":"v4", - "signingName":"lookoutvision", - "uid":"lookoutvision-2020-11-20", - "auth":["aws.auth#sigv4"] - }, - "operations":{ - "CreateDataset":{ - "name":"CreateDataset", - "http":{ - "method":"POST", - "requestUri":"/2020-11-20/projects/{projectName}/datasets", - "responseCode":202 - }, - "input":{"shape":"CreateDatasetRequest"}, - "output":{"shape":"CreateDatasetResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "documentation":"

Creates a new dataset in an Amazon Lookout for Vision project. CreateDataset can create a training or a test dataset from a valid dataset source (DatasetSource).

If you want a single dataset project, specify train for the value of DatasetType.

To have a project with separate training and test datasets, call CreateDataset twice. On the first call, specify train for the value of DatasetType. On the second call, specify test for the value of DatasetType.

This operation requires permissions to perform the lookoutvision:CreateDataset operation.

" - }, - "CreateModel":{ - "name":"CreateModel", - "http":{ - "method":"POST", - "requestUri":"/2020-11-20/projects/{projectName}/models", - "responseCode":202 - }, - "input":{"shape":"CreateModelRequest"}, - "output":{"shape":"CreateModelResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "documentation":"

Creates a new version of a model within an an Amazon Lookout for Vision project. CreateModel is an asynchronous operation in which Amazon Lookout for Vision trains, tests, and evaluates a new version of a model.

To get the current status, check the Status field returned in the response from DescribeModel.

If the project has a single dataset, Amazon Lookout for Vision internally splits the dataset to create a training and a test dataset. If the project has a training and a test dataset, Lookout for Vision uses the respective datasets to train and test the model.

After training completes, the evaluation metrics are stored at the location specified in OutputConfig.

This operation requires permissions to perform the lookoutvision:CreateModel operation. If you want to tag your model, you also require permission to the lookoutvision:TagResource operation.

" - }, - "CreateProject":{ - "name":"CreateProject", - "http":{ - "method":"POST", - "requestUri":"/2020-11-20/projects" - }, - "input":{"shape":"CreateProjectRequest"}, - "output":{"shape":"CreateProjectResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "documentation":"

Creates an empty Amazon Lookout for Vision project. After you create the project, add a dataset by calling CreateDataset.

This operation requires permissions to perform the lookoutvision:CreateProject operation.

" - }, - "DeleteDataset":{ - "name":"DeleteDataset", - "http":{ - "method":"DELETE", - "requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}", - "responseCode":202 - }, - "input":{"shape":"DeleteDatasetRequest"}, - "output":{"shape":"DeleteDatasetResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Deletes an existing Amazon Lookout for Vision dataset.

If your the project has a single dataset, you must create a new dataset before you can create a model.

If you project has a training dataset and a test dataset consider the following.

  • If you delete the test dataset, your project reverts to a single dataset project. If you then train the model, Amazon Lookout for Vision internally splits the remaining dataset into a training and test dataset.

  • If you delete the training dataset, you must create a training dataset before you can create a model.

This operation requires permissions to perform the lookoutvision:DeleteDataset operation.

" - }, - "DeleteModel":{ - "name":"DeleteModel", - "http":{ - "method":"DELETE", - "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}", - "responseCode":202 - }, - "input":{"shape":"DeleteModelRequest"}, - "output":{"shape":"DeleteModelResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Deletes an Amazon Lookout for Vision model. You can't delete a running model. To stop a running model, use the StopModel operation.

It might take a few seconds to delete a model. To determine if a model has been deleted, call ListModels and check if the version of the model (ModelVersion) is in the Models array.

This operation requires permissions to perform the lookoutvision:DeleteModel operation.

" - }, - "DeleteProject":{ - "name":"DeleteProject", - "http":{ - "method":"DELETE", - "requestUri":"/2020-11-20/projects/{projectName}" - }, - "input":{"shape":"DeleteProjectRequest"}, - "output":{"shape":"DeleteProjectResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Deletes an Amazon Lookout for Vision project.

To delete a project, you must first delete each version of the model associated with the project. To delete a model use the DeleteModel operation.

You also have to delete the dataset(s) associated with the model. For more information, see DeleteDataset. The images referenced by the training and test datasets aren't deleted.

This operation requires permissions to perform the lookoutvision:DeleteProject operation.

" - }, - "DescribeDataset":{ - "name":"DescribeDataset", - "http":{ - "method":"GET", - "requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}" - }, - "input":{"shape":"DescribeDatasetRequest"}, - "output":{"shape":"DescribeDatasetResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Describe an Amazon Lookout for Vision dataset.

This operation requires permissions to perform the lookoutvision:DescribeDataset operation.

" - }, - "DescribeModel":{ - "name":"DescribeModel", - "http":{ - "method":"GET", - "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}" - }, - "input":{"shape":"DescribeModelRequest"}, - "output":{"shape":"DescribeModelResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Describes a version of an Amazon Lookout for Vision model.

This operation requires permissions to perform the lookoutvision:DescribeModel operation.

" - }, - "DescribeModelPackagingJob":{ - "name":"DescribeModelPackagingJob", - "http":{ - "method":"GET", - "requestUri":"/2020-11-20/projects/{projectName}/modelpackagingjobs/{jobName}" - }, - "input":{"shape":"DescribeModelPackagingJobRequest"}, - "output":{"shape":"DescribeModelPackagingJobResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Describes an Amazon Lookout for Vision model packaging job.

This operation requires permissions to perform the lookoutvision:DescribeModelPackagingJob operation.

For more information, see Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.

" - }, - "DescribeProject":{ - "name":"DescribeProject", - "http":{ - "method":"GET", - "requestUri":"/2020-11-20/projects/{projectName}" - }, - "input":{"shape":"DescribeProjectRequest"}, - "output":{"shape":"DescribeProjectResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Describes an Amazon Lookout for Vision project.

This operation requires permissions to perform the lookoutvision:DescribeProject operation.

" - }, - "DetectAnomalies":{ - "name":"DetectAnomalies", - "http":{ - "method":"POST", - "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/detect" - }, - "input":{"shape":"DetectAnomaliesRequest"}, - "output":{"shape":"DetectAnomaliesResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Detects anomalies in an image that you supply.

The response from DetectAnomalies includes a boolean prediction that the image contains one or more anomalies and a confidence value for the prediction. If the model is an image segmentation model, the response also includes segmentation information for each type of anomaly found in the image.

Before calling DetectAnomalies, you must first start your model with the StartModel operation. You are charged for the amount of time, in minutes, that a model runs and for the number of anomaly detection units that your model uses. If you are not using a model, use the StopModel operation to stop your model.

For more information, see Detecting anomalies in an image in the Amazon Lookout for Vision developer guide.

This operation requires permissions to perform the lookoutvision:DetectAnomalies operation.

" - }, - "ListDatasetEntries":{ - "name":"ListDatasetEntries", - "http":{ - "method":"GET", - "requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries" - }, - "input":{"shape":"ListDatasetEntriesRequest"}, - "output":{"shape":"ListDatasetEntriesResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Lists the JSON Lines within a dataset. An Amazon Lookout for Vision JSON Line contains the anomaly information for a single image, including the image location and the assigned label.

This operation requires permissions to perform the lookoutvision:ListDatasetEntries operation.

" - }, - "ListModelPackagingJobs":{ - "name":"ListModelPackagingJobs", - "http":{ - "method":"GET", - "requestUri":"/2020-11-20/projects/{projectName}/modelpackagingjobs" - }, - "input":{"shape":"ListModelPackagingJobsRequest"}, - "output":{"shape":"ListModelPackagingJobsResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Lists the model packaging jobs created for an Amazon Lookout for Vision project.

This operation requires permissions to perform the lookoutvision:ListModelPackagingJobs operation.

For more information, see Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.

" - }, - "ListModels":{ - "name":"ListModels", - "http":{ - "method":"GET", - "requestUri":"/2020-11-20/projects/{projectName}/models" - }, - "input":{"shape":"ListModelsRequest"}, - "output":{"shape":"ListModelsResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Lists the versions of a model in an Amazon Lookout for Vision project.

The ListModels operation is eventually consistent. Recent calls to CreateModel might take a while to appear in the response from ListProjects.

This operation requires permissions to perform the lookoutvision:ListModels operation.

" - }, - "ListProjects":{ - "name":"ListProjects", - "http":{ - "method":"GET", - "requestUri":"/2020-11-20/projects" - }, - "input":{"shape":"ListProjectsRequest"}, - "output":{"shape":"ListProjectsResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Lists the Amazon Lookout for Vision projects in your AWS account that are in the AWS Region in which you call ListProjects.

The ListProjects operation is eventually consistent. Recent calls to CreateProject and DeleteProject might take a while to appear in the response from ListProjects.

This operation requires permissions to perform the lookoutvision:ListProjects operation.

" - }, - "ListTagsForResource":{ - "name":"ListTagsForResource", - "http":{ - "method":"GET", - "requestUri":"/2020-11-20/tags/{resourceArn}" - }, - "input":{"shape":"ListTagsForResourceRequest"}, - "output":{"shape":"ListTagsForResourceResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Returns a list of tags attached to the specified Amazon Lookout for Vision model.

This operation requires permissions to perform the lookoutvision:ListTagsForResource operation.

" - }, - "StartModel":{ - "name":"StartModel", - "http":{ - "method":"POST", - "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/start", - "responseCode":202 - }, - "input":{"shape":"StartModelRequest"}, - "output":{"shape":"StartModelResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "documentation":"

Starts the running of the version of an Amazon Lookout for Vision model. Starting a model takes a while to complete. To check the current state of the model, use DescribeModel.

A model is ready to use when its status is HOSTED.

Once the model is running, you can detect custom labels in new images by calling DetectAnomalies.

You are charged for the amount of time that the model is running. To stop a running model, call StopModel.

This operation requires permissions to perform the lookoutvision:StartModel operation.

" - }, - "StartModelPackagingJob":{ - "name":"StartModelPackagingJob", - "http":{ - "method":"POST", - "requestUri":"/2020-11-20/projects/{projectName}/modelpackagingjobs" - }, - "input":{"shape":"StartModelPackagingJobRequest"}, - "output":{"shape":"StartModelPackagingJobResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "documentation":"

Starts an Amazon Lookout for Vision model packaging job. A model packaging job creates an AWS IoT Greengrass component for a Lookout for Vision model. You can use the component to deploy your model to an edge device managed by Greengrass.

Use the DescribeModelPackagingJob API to determine the current status of the job. The model packaging job is complete if the value of Status is SUCCEEDED.

To deploy the component to the target device, use the component name and component version with the AWS IoT Greengrass CreateDeployment API.

This operation requires the following permissions:

  • lookoutvision:StartModelPackagingJob

  • s3:PutObject

  • s3:GetBucketLocation

  • kms:GenerateDataKey

  • greengrass:CreateComponentVersion

  • greengrass:DescribeComponent

  • (Optional) greengrass:TagResource. Only required if you want to tag the component.

For more information, see Using your Amazon Lookout for Vision model on an edge device in the Amazon Lookout for Vision Developer Guide.

" - }, - "StopModel":{ - "name":"StopModel", - "http":{ - "method":"POST", - "requestUri":"/2020-11-20/projects/{projectName}/models/{modelVersion}/stop", - "responseCode":202 - }, - "input":{"shape":"StopModelRequest"}, - "output":{"shape":"StopModelResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Stops the hosting of a running model. The operation might take a while to complete. To check the current status, call DescribeModel.

After the model hosting stops, the Status of the model is TRAINED.

This operation requires permissions to perform the lookoutvision:StopModel operation.

" - }, - "TagResource":{ - "name":"TagResource", - "http":{ - "method":"POST", - "requestUri":"/2020-11-20/tags/{resourceArn}" - }, - "input":{"shape":"TagResourceRequest"}, - "output":{"shape":"TagResourceResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"ServiceQuotaExceededException"} - ], - "documentation":"

Adds one or more key-value tags to an Amazon Lookout for Vision model. For more information, see Tagging a model in the Amazon Lookout for Vision Developer Guide.

This operation requires permissions to perform the lookoutvision:TagResource operation.

" - }, - "UntagResource":{ - "name":"UntagResource", - "http":{ - "method":"DELETE", - "requestUri":"/2020-11-20/tags/{resourceArn}" - }, - "input":{"shape":"UntagResourceRequest"}, - "output":{"shape":"UntagResourceResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Removes one or more tags from an Amazon Lookout for Vision model. For more information, see Tagging a model in the Amazon Lookout for Vision Developer Guide.

This operation requires permissions to perform the lookoutvision:UntagResource operation.

" - }, - "UpdateDatasetEntries":{ - "name":"UpdateDatasetEntries", - "http":{ - "method":"PATCH", - "requestUri":"/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries", - "responseCode":202 - }, - "input":{"shape":"UpdateDatasetEntriesRequest"}, - "output":{"shape":"UpdateDatasetEntriesResponse"}, - "errors":[ - {"shape":"AccessDeniedException"}, - {"shape":"InternalServerException"}, - {"shape":"ValidationException"}, - {"shape":"ConflictException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

Adds or updates one or more JSON Line entries in a dataset. A JSON Line includes information about an image used for training or testing an Amazon Lookout for Vision model.

To update an existing JSON Line, use the source-ref field to identify the JSON Line. The JSON line that you supply replaces the existing JSON line. Any existing annotations that are not in the new JSON line are removed from the dataset.

For more information, see Defining JSON lines for anomaly classification in the Amazon Lookout for Vision Developer Guide.

The images you reference in the source-ref field of a JSON line, must be in the same S3 bucket as the existing images in the dataset.

Updating a dataset might take a while to complete. To check the current status, call DescribeDataset and check the Status field in the response.

This operation requires permissions to perform the lookoutvision:UpdateDatasetEntries operation.

" - } - }, - "shapes":{ - "AccessDeniedException":{ - "type":"structure", - "required":["Message"], - "members":{ - "Message":{"shape":"ExceptionString"} - }, - "documentation":"

You are not authorized to perform the action.

", - "error":{"httpStatusCode":403}, - "exception":true - }, - "Anomaly":{ - "type":"structure", - "members":{ - "Name":{ - "shape":"AnomalyName", - "documentation":"

The name of an anomaly type found in an image. Name maps to an anomaly type in the training dataset, apart from the anomaly type background. The service automatically inserts the background anomaly type into the response from DetectAnomalies.

" - }, - "PixelAnomaly":{ - "shape":"PixelAnomaly", - "documentation":"

Information about the pixel mask that covers an anomaly type.

" - } - }, - "documentation":"

Information about an anomaly type found on an image by an image segmentation model. For more information, see DetectAnomalies.

" - }, - "AnomalyClassFilter":{ - "type":"string", - "max":10, - "min":1, - "pattern":"(normal|anomaly)" - }, - "AnomalyList":{ - "type":"list", - "member":{"shape":"Anomaly"} - }, - "AnomalyMask":{ - "type":"blob", - "max":5242880, - "min":1 - }, - "AnomalyName":{ - "type":"string", - "max":256, - "min":1, - "pattern":"[a-zA-Z0-9]*" - }, - "Boolean":{"type":"boolean"}, - "ClientToken":{ - "type":"string", - "max":64, - "min":1, - "pattern":"^[a-zA-Z0-9-]+$" - }, - "Color":{ - "type":"string", - "max":7, - "min":7, - "pattern":"\\#[a-zA-Z0-9]{6}" - }, - "CompilerOptions":{ - "type":"string", - "max":1024, - "min":3, - "pattern":".*" - }, - "ComponentDescription":{ - "type":"string", - "max":256, - "min":1, - "pattern":"[a-zA-Z0-9-_. ()':,;?]+" - }, - "ComponentName":{ - "type":"string", - "max":128, - "min":1, - "pattern":"[a-zA-Z0-9-_.]+" - }, - "ComponentVersion":{ - "type":"string", - "max":64, - "min":1, - "pattern":"^([0-9]{1,6})\\.([0-9]{1,6})\\.([0-9]{1,6})$" - }, - "ComponentVersionArn":{ - "type":"string", - "pattern":"arn:[^:]*:greengrass:[^:]*:aws:components:[^:]+" - }, - "ConflictException":{ - "type":"structure", - "required":[ - "Message", - "ResourceId", - "ResourceType" - ], - "members":{ - "Message":{"shape":"ExceptionString"}, - "ResourceId":{ - "shape":"ExceptionString", - "documentation":"

The ID of the resource.

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

The type of the resource.

" - } - }, - "documentation":"

The update or deletion of a resource caused an inconsistent state.

", - "error":{"httpStatusCode":409}, - "exception":true - }, - "ContentType":{ - "type":"string", - "max":255, - "min":1, - "pattern":".*" - }, - "CreateDatasetRequest":{ - "type":"structure", - "required":[ - "ProjectName", - "DatasetType" - ], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project in which you want to create a dataset.

", - "location":"uri", - "locationName":"projectName" - }, - "DatasetType":{ - "shape":"DatasetType", - "documentation":"

The type of the dataset. Specify train for a training dataset. Specify test for a test dataset.

" - }, - "DatasetSource":{ - "shape":"DatasetSource", - "documentation":"

The location of the manifest file that Amazon Lookout for Vision uses to create the dataset.

If you don't specify DatasetSource, an empty dataset is created and the operation synchronously returns. Later, you can add JSON Lines by calling UpdateDatasetEntries.

If you specify a value for DataSource, the manifest at the S3 location is validated and used to create the dataset. The call to CreateDataset is asynchronous and might take a while to complete. To find out the current status, Check the value of Status returned in a call to DescribeDataset.

" - }, - "ClientToken":{ - "shape":"ClientToken", - "documentation":"

ClientToken is an idempotency token that ensures a call to CreateDataset completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from CreateDataset. In this case, safely retry your call to CreateDataset by using the same ClientToken parameter value.

If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple dataset creation requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to CreateDataset. An idempotency token is active for 8 hours.

", - "idempotencyToken":true, - "location":"header", - "locationName":"X-Amzn-Client-Token" - } - } - }, - "CreateDatasetResponse":{ - "type":"structure", - "members":{ - "DatasetMetadata":{ - "shape":"DatasetMetadata", - "documentation":"

Information about the dataset.

" - } - } - }, - "CreateModelRequest":{ - "type":"structure", - "required":[ - "ProjectName", - "OutputConfig" - ], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project in which you want to create a model version.

", - "location":"uri", - "locationName":"projectName" - }, - "Description":{ - "shape":"ModelDescriptionMessage", - "documentation":"

A description for the version of the model.

" - }, - "ClientToken":{ - "shape":"ClientToken", - "documentation":"

ClientToken is an idempotency token that ensures a call to CreateModel completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from CreateModel. In this case, safely retry your call to CreateModel by using the same ClientToken parameter value.

If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from starting multiple training jobs. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to CreateModel. An idempotency token is active for 8 hours.

", - "idempotencyToken":true, - "location":"header", - "locationName":"X-Amzn-Client-Token" - }, - "OutputConfig":{ - "shape":"OutputConfig", - "documentation":"

The location where Amazon Lookout for Vision saves the training results.

" - }, - "KmsKeyId":{ - "shape":"KmsKeyId", - "documentation":"

The identifier for your AWS KMS key. The key is used to encrypt training and test images copied into the service for model training. Your source images are unaffected. If this parameter is not specified, the copied images are encrypted by a key that AWS owns and manages.

" - }, - "Tags":{ - "shape":"TagList", - "documentation":"

A set of tags (key-value pairs) that you want to attach to the model.

" - } - } - }, - "CreateModelResponse":{ - "type":"structure", - "members":{ - "ModelMetadata":{ - "shape":"ModelMetadata", - "documentation":"

The response from a call to CreateModel.

" - } - } - }, - "CreateProjectRequest":{ - "type":"structure", - "required":["ProjectName"], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name for the project.

" - }, - "ClientToken":{ - "shape":"ClientToken", - "documentation":"

ClientToken is an idempotency token that ensures a call to CreateProject completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from CreateProject. In this case, safely retry your call to CreateProject by using the same ClientToken parameter value.

If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple project creation requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to CreateProject. An idempotency token is active for 8 hours.

", - "idempotencyToken":true, - "location":"header", - "locationName":"X-Amzn-Client-Token" - } - } - }, - "CreateProjectResponse":{ - "type":"structure", - "members":{ - "ProjectMetadata":{ - "shape":"ProjectMetadata", - "documentation":"

Information about the project.

" - } - } - }, - "DatasetChanges":{ - "type":"blob", - "max":10485760, - "min":1 - }, - "DatasetDescription":{ - "type":"structure", - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project that contains the dataset.

" - }, - "DatasetType":{ - "shape":"DatasetType", - "documentation":"

The type of the dataset. The value train represents a training dataset or single dataset project. The value test represents a test dataset.

" - }, - "CreationTimestamp":{ - "shape":"DateTime", - "documentation":"

The Unix timestamp for the time and date that the dataset was created.

" - }, - "LastUpdatedTimestamp":{ - "shape":"DateTime", - "documentation":"

The Unix timestamp for the date and time that the dataset was last updated.

" - }, - "Status":{ - "shape":"DatasetStatus", - "documentation":"

The status of the dataset.

" - }, - "StatusMessage":{ - "shape":"DatasetStatusMessage", - "documentation":"

The status message for the dataset.

" - }, - "ImageStats":{ - "shape":"DatasetImageStats", - "documentation":"

Statistics about the images in a dataset.

" - } - }, - "documentation":"

The description for a dataset. For more information, see DescribeDataset.

" - }, - "DatasetEntry":{ - "type":"string", - "max":8192, - "min":2, - "pattern":"^\\{.*\\}$" - }, - "DatasetEntryList":{ - "type":"list", - "member":{"shape":"DatasetEntry"} - }, - "DatasetGroundTruthManifest":{ - "type":"structure", - "members":{ - "S3Object":{ - "shape":"InputS3Object", - "documentation":"

The S3 bucket location for the manifest file.

" - } - }, - "documentation":"

Location information about a manifest file. You can use a manifest file to create a dataset.

" - }, - "DatasetImageStats":{ - "type":"structure", - "members":{ - "Total":{ - "shape":"Integer", - "documentation":"

The total number of images in the dataset.

" - }, - "Labeled":{ - "shape":"Integer", - "documentation":"

The total number of labeled images.

" - }, - "Normal":{ - "shape":"Integer", - "documentation":"

The total number of images labeled as normal.

" - }, - "Anomaly":{ - "shape":"Integer", - "documentation":"

the total number of images labeled as an anomaly.

" - } - }, - "documentation":"

Statistics about the images in a dataset.

" - }, - "DatasetMetadata":{ - "type":"structure", - "members":{ - "DatasetType":{ - "shape":"DatasetType", - "documentation":"

The type of the dataset.

" - }, - "CreationTimestamp":{ - "shape":"DateTime", - "documentation":"

The Unix timestamp for the date and time that the dataset was created.

" - }, - "Status":{ - "shape":"DatasetStatus", - "documentation":"

The status for the dataset.

" - }, - "StatusMessage":{ - "shape":"DatasetStatusMessage", - "documentation":"

The status message for the dataset.

" - } - }, - "documentation":"

Summary information for an Amazon Lookout for Vision dataset. For more information, see DescribeDataset and ProjectDescription.

" - }, - "DatasetMetadataList":{ - "type":"list", - "member":{"shape":"DatasetMetadata"} - }, - "DatasetSource":{ - "type":"structure", - "members":{ - "GroundTruthManifest":{ - "shape":"DatasetGroundTruthManifest", - "documentation":"

Location information for the manifest file.

" - } - }, - "documentation":"

Information about the location of a manifest file that Amazon Lookout for Vision uses to to create a dataset.

" - }, - "DatasetStatus":{ - "type":"string", - "enum":[ - "CREATE_IN_PROGRESS", - "CREATE_COMPLETE", - "CREATE_FAILED", - "UPDATE_IN_PROGRESS", - "UPDATE_COMPLETE", - "UPDATE_FAILED_ROLLBACK_IN_PROGRESS", - "UPDATE_FAILED_ROLLBACK_COMPLETE", - "DELETE_IN_PROGRESS", - "DELETE_COMPLETE", - "DELETE_FAILED" - ] - }, - "DatasetStatusMessage":{"type":"string"}, - "DatasetType":{ - "type":"string", - "max":10, - "min":1, - "pattern":"train|test" - }, - "DateTime":{"type":"timestamp"}, - "DeleteDatasetRequest":{ - "type":"structure", - "required":[ - "ProjectName", - "DatasetType" - ], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project that contains the dataset that you want to delete.

", - "location":"uri", - "locationName":"projectName" - }, - "DatasetType":{ - "shape":"DatasetType", - "documentation":"

The type of the dataset to delete. Specify train to delete the training dataset. Specify test to delete the test dataset. To delete the dataset in a single dataset project, specify train.

", - "location":"uri", - "locationName":"datasetType" - }, - "ClientToken":{ - "shape":"ClientToken", - "documentation":"

ClientToken is an idempotency token that ensures a call to DeleteDataset completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from DeleteDataset. In this case, safely retry your call to DeleteDataset by using the same ClientToken parameter value.

If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple deletetion requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to DeleteDataset. An idempotency token is active for 8 hours.

", - "idempotencyToken":true, - "location":"header", - "locationName":"X-Amzn-Client-Token" - } - } - }, - "DeleteDatasetResponse":{ - "type":"structure", - "members":{} - }, - "DeleteModelRequest":{ - "type":"structure", - "required":[ - "ProjectName", - "ModelVersion" - ], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project that contains the model that you want to delete.

", - "location":"uri", - "locationName":"projectName" - }, - "ModelVersion":{ - "shape":"ModelVersionNoLatest", - "documentation":"

The version of the model that you want to delete.

", - "location":"uri", - "locationName":"modelVersion" - }, - "ClientToken":{ - "shape":"ClientToken", - "documentation":"

ClientToken is an idempotency token that ensures a call to DeleteModel completes only once. You choose the value to pass. For example, an issue might prevent you from getting a response from DeleteModel. In this case, safely retry your call to DeleteModel by using the same ClientToken parameter value.

If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple model deletion requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to DeleteModel. An idempotency token is active for 8 hours.

", - "idempotencyToken":true, - "location":"header", - "locationName":"X-Amzn-Client-Token" - } - } - }, - "DeleteModelResponse":{ - "type":"structure", - "members":{ - "ModelArn":{ - "shape":"ModelArn", - "documentation":"

The Amazon Resource Name (ARN) of the model that was deleted.

" - } - } - }, - "DeleteProjectRequest":{ - "type":"structure", - "required":["ProjectName"], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project to delete.

", - "location":"uri", - "locationName":"projectName" - }, - "ClientToken":{ - "shape":"ClientToken", - "documentation":"

ClientToken is an idempotency token that ensures a call to DeleteProject completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from DeleteProject. In this case, safely retry your call to DeleteProject by using the same ClientToken parameter value.

If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple project deletion requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to DeleteProject. An idempotency token is active for 8 hours.

", - "idempotencyToken":true, - "location":"header", - "locationName":"X-Amzn-Client-Token" - } - } - }, - "DeleteProjectResponse":{ - "type":"structure", - "members":{ - "ProjectArn":{ - "shape":"ProjectArn", - "documentation":"

The Amazon Resource Name (ARN) of the project that was deleted.

" - } - } - }, - "DescribeDatasetRequest":{ - "type":"structure", - "required":[ - "ProjectName", - "DatasetType" - ], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project that contains the dataset that you want to describe.

", - "location":"uri", - "locationName":"projectName" - }, - "DatasetType":{ - "shape":"DatasetType", - "documentation":"

The type of the dataset to describe. Specify train to describe the training dataset. Specify test to describe the test dataset. If you have a single dataset project, specify train

", - "location":"uri", - "locationName":"datasetType" - } - } - }, - "DescribeDatasetResponse":{ - "type":"structure", - "members":{ - "DatasetDescription":{ - "shape":"DatasetDescription", - "documentation":"

The description of the requested dataset.

" - } - } - }, - "DescribeModelPackagingJobRequest":{ - "type":"structure", - "required":[ - "ProjectName", - "JobName" - ], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project that contains the model packaging job that you want to describe.

", - "location":"uri", - "locationName":"projectName" - }, - "JobName":{ - "shape":"ModelPackagingJobName", - "documentation":"

The job name for the model packaging job.

", - "location":"uri", - "locationName":"jobName" - } - } - }, - "DescribeModelPackagingJobResponse":{ - "type":"structure", - "members":{ - "ModelPackagingDescription":{ - "shape":"ModelPackagingDescription", - "documentation":"

The description of the model packaging job.

" - } - } - }, - "DescribeModelRequest":{ - "type":"structure", - "required":[ - "ProjectName", - "ModelVersion" - ], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The project that contains the version of a model that you want to describe.

", - "location":"uri", - "locationName":"projectName" - }, - "ModelVersion":{ - "shape":"ModelVersion", - "documentation":"

The version of the model that you want to describe.

", - "location":"uri", - "locationName":"modelVersion" - } - } - }, - "DescribeModelResponse":{ - "type":"structure", - "members":{ - "ModelDescription":{ - "shape":"ModelDescription", - "documentation":"

Contains the description of the model.

" - } - } - }, - "DescribeProjectRequest":{ - "type":"structure", - "required":["ProjectName"], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project that you want to describe.

", - "location":"uri", - "locationName":"projectName" - } - } - }, - "DescribeProjectResponse":{ - "type":"structure", - "members":{ - "ProjectDescription":{ - "shape":"ProjectDescription", - "documentation":"

The description of the project.

" - } - } - }, - "DetectAnomaliesRequest":{ - "type":"structure", - "required":[ - "ProjectName", - "ModelVersion", - "Body", - "ContentType" - ], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project that contains the model version that you want to use.

", - "location":"uri", - "locationName":"projectName" - }, - "ModelVersion":{ - "shape":"ModelVersion", - "documentation":"

The version of the model that you want to use.

", - "location":"uri", - "locationName":"modelVersion" - }, - "Body":{ - "shape":"Stream", - "documentation":"

The unencrypted image bytes that you want to analyze.

" - }, - "ContentType":{ - "shape":"ContentType", - "documentation":"

The type of the image passed in Body. Valid values are image/png (PNG format images) and image/jpeg (JPG format images).

", - "location":"header", - "locationName":"Content-Type" - } - }, - "payload":"Body" - }, - "DetectAnomaliesResponse":{ - "type":"structure", - "members":{ - "DetectAnomalyResult":{ - "shape":"DetectAnomalyResult", - "documentation":"

The results of the DetectAnomalies operation.

" - } - } - }, - "DetectAnomalyResult":{ - "type":"structure", - "members":{ - "Source":{ - "shape":"ImageSource", - "documentation":"

The source of the image that was analyzed. direct means that the images was supplied from the local computer. No other values are supported.

" - }, - "IsAnomalous":{ - "shape":"Boolean", - "documentation":"

True if Amazon Lookout for Vision classifies the image as containing an anomaly, otherwise false.

" - }, - "Confidence":{ - "shape":"Float", - "documentation":"

The confidence that Lookout for Vision has in the accuracy of the classification in IsAnomalous.

" - }, - "Anomalies":{ - "shape":"AnomalyList", - "documentation":"

If the model is an image segmentation model, Anomalies contains a list of anomaly types found in the image. There is one entry for each type of anomaly found (even if multiple instances of an anomaly type exist on the image). The first element in the list is always an anomaly type representing the image background ('background') and shouldn't be considered an anomaly. Amazon Lookout for Vision automatically add the background anomaly type to the response, and you don't need to declare a background anomaly type in your dataset.

If the list has one entry ('background'), no anomalies were found on the image.

An image classification model doesn't return an Anomalies list.

" - }, - "AnomalyMask":{ - "shape":"AnomalyMask", - "documentation":"

If the model is an image segmentation model, AnomalyMask contains pixel masks that covers all anomaly types found on the image. Each anomaly type has a different mask color. To map a color to an anomaly type, see the color field of the PixelAnomaly object.

An image classification model doesn't return an Anomalies list.

" - } - }, - "documentation":"

The prediction results from a call to DetectAnomalies. DetectAnomalyResult includes classification information for the prediction (IsAnomalous and Confidence). If the model you use is an image segementation model, DetectAnomalyResult also includes segmentation information (Anomalies and AnomalyMask). Classification information is calculated separately from segmentation information and you shouldn't assume a relationship between them.

" - }, - "ExceptionString":{"type":"string"}, - "Float":{"type":"float"}, - "GreengrassConfiguration":{ - "type":"structure", - "required":[ - "S3OutputLocation", - "ComponentName" - ], - "members":{ - "CompilerOptions":{ - "shape":"CompilerOptions", - "documentation":"

Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) and CPU accelerators are supported. If you specify TargetDevice, don't specify CompilerOptions.

For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.

" - }, - "TargetDevice":{ - "shape":"TargetDevice", - "documentation":"

The target device for the model. Currently the only supported value is jetson_xavier. If you specify TargetDevice, you can't specify TargetPlatform.

" - }, - "TargetPlatform":{ - "shape":"TargetPlatform", - "documentation":"

The target platform for the model. If you specify TargetPlatform, you can't specify TargetDevice.

" - }, - "S3OutputLocation":{ - "shape":"S3Location", - "documentation":"

An S3 location in which Lookout for Vision stores the component artifacts.

" - }, - "ComponentName":{ - "shape":"ComponentName", - "documentation":"

A name for the AWS IoT Greengrass component.

" - }, - "ComponentVersion":{ - "shape":"ComponentVersion", - "documentation":"

A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of Model Version.0.0 is used.

" - }, - "ComponentDescription":{ - "shape":"ComponentDescription", - "documentation":"

A description for the AWS IoT Greengrass component.

" - }, - "Tags":{ - "shape":"TagList", - "documentation":"

A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.

" - } - }, - "documentation":"

Configuration information for the AWS IoT Greengrass component created in a model packaging job. For more information, see StartModelPackagingJob.

You can't specify a component with the same ComponentName and Componentversion as an existing component with the same component name and component version.

" - }, - "GreengrassOutputDetails":{ - "type":"structure", - "members":{ - "ComponentVersionArn":{ - "shape":"ComponentVersionArn", - "documentation":"

The Amazon Resource Name (ARN) of the component.

" - }, - "ComponentName":{ - "shape":"ComponentName", - "documentation":"

The name of the component.

" - }, - "ComponentVersion":{ - "shape":"ComponentVersion", - "documentation":"

The version of the component.

" - } - }, - "documentation":"

Information about the AWS IoT Greengrass component created by a model packaging job.

" - }, - "ImageSource":{ - "type":"structure", - "members":{ - "Type":{ - "shape":"ImageSourceType", - "documentation":"

The type of the image.

" - } - }, - "documentation":"

The source for an image.

" - }, - "ImageSourceType":{ - "type":"string", - "pattern":"direct" - }, - "InferenceUnits":{ - "type":"integer", - "min":1 - }, - "InputS3Object":{ - "type":"structure", - "required":[ - "Bucket", - "Key" - ], - "members":{ - "Bucket":{ - "shape":"S3BucketName", - "documentation":"

The Amazon S3 bucket that contains the manifest.

" - }, - "Key":{ - "shape":"S3ObjectKey", - "documentation":"

The name and location of the manifest file withiin the bucket.

" - }, - "VersionId":{ - "shape":"S3ObjectVersion", - "documentation":"

The version ID of the bucket.

" - } - }, - "documentation":"

Amazon S3 Location information for an input manifest file.

" - }, - "Integer":{"type":"integer"}, - "InternalServerException":{ - "type":"structure", - "required":["Message"], - "members":{ - "Message":{"shape":"ExceptionString"}, - "RetryAfterSeconds":{ - "shape":"RetryAfterSeconds", - "documentation":"

The period of time, in seconds, before the operation can be retried.

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

Amazon Lookout for Vision experienced a service issue. Try your call again.

", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - }, - "IsLabeled":{"type":"boolean"}, - "KmsKeyId":{ - "type":"string", - "max":2048, - "min":1, - "pattern":"^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$" - }, - "ListDatasetEntriesRequest":{ - "type":"structure", - "required":[ - "ProjectName", - "DatasetType" - ], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project that contains the dataset that you want to list.

", - "location":"uri", - "locationName":"projectName" - }, - "DatasetType":{ - "shape":"DatasetType", - "documentation":"

The type of the dataset that you want to list. Specify train to list the training dataset. Specify test to list the test dataset. If you have a single dataset project, specify train.

", - "location":"uri", - "locationName":"datasetType" - }, - "Labeled":{ - "shape":"IsLabeled", - "documentation":"

Specify true to include labeled entries, otherwise specify false. If you don't specify a value, Lookout for Vision returns all entries.

", - "location":"querystring", - "locationName":"labeled" - }, - "AnomalyClass":{ - "shape":"AnomalyClassFilter", - "documentation":"

Specify normal to include only normal images. Specify anomaly to only include anomalous entries. If you don't specify a value, Amazon Lookout for Vision returns normal and anomalous images.

", - "location":"querystring", - "locationName":"anomalyClass" - }, - "BeforeCreationDate":{ - "shape":"DateTime", - "documentation":"

Only includes entries before the specified date in the response. For example, 2020-06-23T00:00:00.

", - "location":"querystring", - "locationName":"createdBefore" - }, - "AfterCreationDate":{ - "shape":"DateTime", - "documentation":"

Only includes entries after the specified date in the response. For example, 2020-06-23T00:00:00.

", - "location":"querystring", - "locationName":"createdAfter" - }, - "NextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of dataset entries.

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

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

", - "location":"querystring", - "locationName":"maxResults" - }, - "SourceRefContains":{ - "shape":"QueryString", - "documentation":"

Perform a \"contains\" search on the values of the source-ref key within the dataset. For example a value of \"IMG_17\" returns all JSON Lines where the source-ref key value matches *IMG_17*.

", - "location":"querystring", - "locationName":"sourceRefContains" - } - } - }, - "ListDatasetEntriesResponse":{ - "type":"structure", - "members":{ - "DatasetEntries":{ - "shape":"DatasetEntryList", - "documentation":"

A list of the entries (JSON Lines) within the dataset.

" - }, - "NextToken":{ - "shape":"PaginationToken", - "documentation":"

If the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set ofdataset entries.

" - } - } - }, - "ListModelPackagingJobsRequest":{ - "type":"structure", - "required":["ProjectName"], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project for which you want to list the model packaging jobs.

", - "location":"uri", - "locationName":"projectName" - }, - "NextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous response was incomplete (because there is more results to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

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

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

", - "location":"querystring", - "locationName":"maxResults" - } - } - }, - "ListModelPackagingJobsResponse":{ - "type":"structure", - "members":{ - "ModelPackagingJobs":{ - "shape":"ModelPackagingJobsList", - "documentation":"

A list of the model packaging jobs created for the specified Amazon Lookout for Vision project.

" - }, - "NextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous response was incomplete (because there is more results to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

" - } - } - }, - "ListModelsRequest":{ - "type":"structure", - "required":["ProjectName"], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project that contains the model versions that you want to list.

", - "location":"uri", - "locationName":"projectName" - }, - "NextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of models.

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

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

", - "location":"querystring", - "locationName":"maxResults" - } - } - }, - "ListModelsResponse":{ - "type":"structure", - "members":{ - "Models":{ - "shape":"ModelMetadataList", - "documentation":"

A list of model versions in the specified project.

" - }, - "NextToken":{ - "shape":"PaginationToken", - "documentation":"

If the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set of models.

" - } - } - }, - "ListProjectsRequest":{ - "type":"structure", - "members":{ - "NextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous response was incomplete (because there is more data to retrieve), Amazon Lookout for Vision returns a pagination token in the response. You can use this pagination token to retrieve the next set of projects.

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

The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.

", - "location":"querystring", - "locationName":"maxResults" - } - } - }, - "ListProjectsResponse":{ - "type":"structure", - "members":{ - "Projects":{ - "shape":"ProjectMetadataList", - "documentation":"

A list of projects in your AWS account.

" - }, - "NextToken":{ - "shape":"PaginationToken", - "documentation":"

If the response is truncated, Amazon Lookout for Vision returns this token that you can use in the subsequent request to retrieve the next set of projects.

" - } - } - }, - "ListTagsForResourceRequest":{ - "type":"structure", - "required":["ResourceArn"], - "members":{ - "ResourceArn":{ - "shape":"TagArn", - "documentation":"

The Amazon Resource Name (ARN) of the model for which you want to list tags.

", - "location":"uri", - "locationName":"resourceArn" - } - } - }, - "ListTagsForResourceResponse":{ - "type":"structure", - "members":{ - "Tags":{ - "shape":"TagList", - "documentation":"

A map of tag keys and values attached to the specified model.

" - } - } - }, - "ModelArn":{"type":"string"}, - "ModelDescription":{ - "type":"structure", - "members":{ - "ModelVersion":{ - "shape":"ModelVersion", - "documentation":"

The version of the model

" - }, - "ModelArn":{ - "shape":"ModelArn", - "documentation":"

The Amazon Resource Name (ARN) of the model.

" - }, - "CreationTimestamp":{ - "shape":"DateTime", - "documentation":"

The unix timestamp for the date and time that the model was created.

" - }, - "Description":{ - "shape":"ModelDescriptionMessage", - "documentation":"

The description for the model.

" - }, - "Status":{ - "shape":"ModelStatus", - "documentation":"

The status of the model.

" - }, - "StatusMessage":{ - "shape":"ModelStatusMessage", - "documentation":"

The status message for the model.

" - }, - "Performance":{ - "shape":"ModelPerformance", - "documentation":"

Performance metrics for the model. Created during training.

" - }, - "OutputConfig":{ - "shape":"OutputConfig", - "documentation":"

The S3 location where Amazon Lookout for Vision saves model training files.

" - }, - "EvaluationManifest":{ - "shape":"OutputS3Object", - "documentation":"

The S3 location where Amazon Lookout for Vision saves the manifest file that was used to test the trained model and generate the performance scores.

" - }, - "EvaluationResult":{ - "shape":"OutputS3Object", - "documentation":"

The S3 location where Amazon Lookout for Vision saves the performance metrics.

" - }, - "EvaluationEndTimestamp":{ - "shape":"DateTime", - "documentation":"

The unix timestamp for the date and time that the evaluation ended.

" - }, - "KmsKeyId":{ - "shape":"KmsKeyId", - "documentation":"

The identifer for the AWS Key Management Service (AWS KMS) key that was used to encrypt the model during training.

" - }, - "MinInferenceUnits":{ - "shape":"InferenceUnits", - "documentation":"

The minimum number of inference units used by the model. For more information, see StartModel

" - }, - "MaxInferenceUnits":{ - "shape":"InferenceUnits", - "documentation":"

The maximum number of inference units Amazon Lookout for Vision uses to auto-scale the model. For more information, see StartModel.

" - } - }, - "documentation":"

Describes an Amazon Lookout for Vision model.

" - }, - "ModelDescriptionMessage":{ - "type":"string", - "max":500, - "min":1, - "pattern":"[0-9A-Za-z\\.\\-_]*" - }, - "ModelHostingStatus":{ - "type":"string", - "enum":[ - "STARTING_HOSTING", - "HOSTED", - "HOSTING_FAILED", - "STOPPING_HOSTING", - "SYSTEM_UPDATING" - ] - }, - "ModelMetadata":{ - "type":"structure", - "members":{ - "CreationTimestamp":{ - "shape":"DateTime", - "documentation":"

The unix timestamp for the date and time that the model was created.

" - }, - "ModelVersion":{ - "shape":"ModelVersion", - "documentation":"

The version of the model.

" - }, - "ModelArn":{ - "shape":"ModelArn", - "documentation":"

The Amazon Resource Name (ARN) of the model.

" - }, - "Description":{ - "shape":"ModelDescriptionMessage", - "documentation":"

The description for the model.

" - }, - "Status":{ - "shape":"ModelStatus", - "documentation":"

The status of the model.

" - }, - "StatusMessage":{ - "shape":"ModelStatusMessage", - "documentation":"

The status message for the model.

" - }, - "Performance":{ - "shape":"ModelPerformance", - "documentation":"

Performance metrics for the model. Not available until training has successfully completed.

" - } - }, - "documentation":"

Describes an Amazon Lookout for Vision model.

" - }, - "ModelMetadataList":{ - "type":"list", - "member":{"shape":"ModelMetadata"} - }, - "ModelPackagingConfiguration":{ - "type":"structure", - "required":["Greengrass"], - "members":{ - "Greengrass":{ - "shape":"GreengrassConfiguration", - "documentation":"

Configuration information for the AWS IoT Greengrass component in a model packaging job.

" - } - }, - "documentation":"

Configuration information for a Amazon Lookout for Vision model packaging job. For more information, see StartModelPackagingJob.

" - }, - "ModelPackagingDescription":{ - "type":"structure", - "members":{ - "JobName":{ - "shape":"ModelPackagingJobName", - "documentation":"

The name of the model packaging job.

" - }, - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project that's associated with a model that's in the model package.

" - }, - "ModelVersion":{ - "shape":"ModelVersion", - "documentation":"

The version of the model used in the model packaging job.

" - }, - "ModelPackagingConfiguration":{ - "shape":"ModelPackagingConfiguration", - "documentation":"

The configuration information used in the model packaging job.

" - }, - "ModelPackagingJobDescription":{ - "shape":"ModelPackagingJobDescription", - "documentation":"

The description for the model packaging job.

" - }, - "ModelPackagingMethod":{ - "shape":"ModelPackagingMethod", - "documentation":"

The AWS service used to package the job. Currently Lookout for Vision can package jobs with AWS IoT Greengrass.

" - }, - "ModelPackagingOutputDetails":{ - "shape":"ModelPackagingOutputDetails", - "documentation":"

Information about the output of the model packaging job. For more information, see DescribeModelPackagingJob.

" - }, - "Status":{ - "shape":"ModelPackagingJobStatus", - "documentation":"

The status of the model packaging job.

" - }, - "StatusMessage":{ - "shape":"ModelPackagingStatusMessage", - "documentation":"

The status message for the model packaging job.

" - }, - "CreationTimestamp":{ - "shape":"DateTime", - "documentation":"

The Unix timestamp for the time and date that the model packaging job was created.

" - }, - "LastUpdatedTimestamp":{ - "shape":"DateTime", - "documentation":"

The Unix timestamp for the time and date that the model packaging job was last updated.

" - } - }, - "documentation":"

Information about a model packaging job. For more information, see DescribeModelPackagingJob.

" - }, - "ModelPackagingJobDescription":{ - "type":"string", - "max":256, - "min":1, - "pattern":"[a-zA-Z0-9-_. ()':,;?]+" - }, - "ModelPackagingJobMetadata":{ - "type":"structure", - "members":{ - "JobName":{ - "shape":"ModelPackagingJobName", - "documentation":"

The name of the model packaging job.

" - }, - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The project that contains the model that is in the model package.

" - }, - "ModelVersion":{ - "shape":"ModelVersion", - "documentation":"

The version of the model that is in the model package.

" - }, - "ModelPackagingJobDescription":{ - "shape":"ModelPackagingJobDescription", - "documentation":"

The description for the model packaging job.

" - }, - "ModelPackagingMethod":{ - "shape":"ModelPackagingMethod", - "documentation":"

The AWS service used to package the job. Currently Lookout for Vision can package jobs with AWS IoT Greengrass.

" - }, - "Status":{ - "shape":"ModelPackagingJobStatus", - "documentation":"

The status of the model packaging job.

" - }, - "StatusMessage":{ - "shape":"ModelPackagingStatusMessage", - "documentation":"

The status message for the model packaging job.

" - }, - "CreationTimestamp":{ - "shape":"DateTime", - "documentation":"

The Unix timestamp for the time and date that the model packaging job was created.

" - }, - "LastUpdatedTimestamp":{ - "shape":"DateTime", - "documentation":"

The Unix timestamp for the time and date that the model packaging job was last updated.

" - } - }, - "documentation":"

Metadata for a model packaging job. For more information, see ListModelPackagingJobs.

" - }, - "ModelPackagingJobName":{ - "type":"string", - "max":64, - "min":1, - "pattern":"[a-zA-Z0-9-]+" - }, - "ModelPackagingJobStatus":{ - "type":"string", - "enum":[ - "CREATED", - "RUNNING", - "SUCCEEDED", - "FAILED" - ] - }, - "ModelPackagingJobsList":{ - "type":"list", - "member":{"shape":"ModelPackagingJobMetadata"} - }, - "ModelPackagingMethod":{ - "type":"string", - "max":32, - "min":1, - "pattern":"^[a-zA-Z0-9]+" - }, - "ModelPackagingOutputDetails":{ - "type":"structure", - "members":{ - "Greengrass":{ - "shape":"GreengrassOutputDetails", - "documentation":"

Information about the AWS IoT Greengrass component in a model packaging job.

" - } - }, - "documentation":"

Information about the output from a model packaging job.

" - }, - "ModelPackagingStatusMessage":{"type":"string"}, - "ModelPerformance":{ - "type":"structure", - "members":{ - "F1Score":{ - "shape":"Float", - "documentation":"

The overall F1 score metric for the trained model.

" - }, - "Recall":{ - "shape":"Float", - "documentation":"

The overall recall metric value for the trained model.

" - }, - "Precision":{ - "shape":"Float", - "documentation":"

The overall precision metric value for the trained model.

" - } - }, - "documentation":"

Information about the evaluation performance of a trained model.

" - }, - "ModelStatus":{ - "type":"string", - "enum":[ - "TRAINING", - "TRAINED", - "TRAINING_FAILED", - "STARTING_HOSTING", - "HOSTED", - "HOSTING_FAILED", - "STOPPING_HOSTING", - "SYSTEM_UPDATING", - "DELETING" - ] - }, - "ModelStatusMessage":{"type":"string"}, - "ModelVersion":{ - "type":"string", - "max":10, - "min":1, - "pattern":"([1-9][0-9]*|latest)" - }, - "ModelVersionNoLatest":{ - "type":"string", - "max":10, - "min":1, - "pattern":"([1-9][0-9]*)" - }, - "OutputConfig":{ - "type":"structure", - "required":["S3Location"], - "members":{ - "S3Location":{ - "shape":"S3Location", - "documentation":"

The S3 location for the output.

" - } - }, - "documentation":"

The S3 location where Amazon Lookout for Vision saves model training files.

" - }, - "OutputS3Object":{ - "type":"structure", - "required":[ - "Bucket", - "Key" - ], - "members":{ - "Bucket":{ - "shape":"S3BucketName", - "documentation":"

The bucket that contains the training output.

" - }, - "Key":{ - "shape":"S3ObjectKey", - "documentation":"

The location of the training output in the bucket.

" - } - }, - "documentation":"

The S3 location where Amazon Lookout for Vision saves training output.

" - }, - "PageSize":{ - "type":"integer", - "max":100, - "min":1 - }, - "PaginationToken":{ - "type":"string", - "max":2048, - "pattern":"^[a-zA-Z0-9\\/\\+\\=]{0,2048}$" - }, - "PixelAnomaly":{ - "type":"structure", - "members":{ - "TotalPercentageArea":{ - "shape":"Float", - "documentation":"

The percentage area of the image that the anomaly type covers.

" - }, - "Color":{ - "shape":"Color", - "documentation":"

A hex color value for the mask that covers an anomaly type. Each anomaly type has a different mask color. The color maps to the color of the anomaly type used in the training dataset.

" - } - }, - "documentation":"

Information about the pixels in an anomaly mask. For more information, see Anomaly. PixelAnomaly is only returned by image segmentation models.

" - }, - "ProjectArn":{"type":"string"}, - "ProjectDescription":{ - "type":"structure", - "members":{ - "ProjectArn":{ - "shape":"ProjectArn", - "documentation":"

The Amazon Resource Name (ARN) of the project.

" - }, - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project.

" - }, - "CreationTimestamp":{ - "shape":"DateTime", - "documentation":"

The unix timestamp for the date and time that the project was created.

" - }, - "Datasets":{ - "shape":"DatasetMetadataList", - "documentation":"

A list of datasets in the project.

" - } - }, - "documentation":"

Describe an Amazon Lookout for Vision project. For more information, see DescribeProject.

" - }, - "ProjectMetadata":{ - "type":"structure", - "members":{ - "ProjectArn":{ - "shape":"ProjectArn", - "documentation":"

The Amazon Resource Name (ARN) of the project.

" - }, - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project.

" - }, - "CreationTimestamp":{ - "shape":"DateTime", - "documentation":"

The unix timestamp for the date and time that the project was created.

" - } - }, - "documentation":"

Metadata about an Amazon Lookout for Vision project.

" - }, - "ProjectMetadataList":{ - "type":"list", - "member":{"shape":"ProjectMetadata"} - }, - "ProjectName":{ - "type":"string", - "max":255, - "min":1, - "pattern":"[a-zA-Z0-9][a-zA-Z0-9_\\-]*" - }, - "QueryString":{ - "type":"string", - "max":2048, - "min":1, - "pattern":".*\\S.*" - }, - "ResourceNotFoundException":{ - "type":"structure", - "required":[ - "Message", - "ResourceId", - "ResourceType" - ], - "members":{ - "Message":{"shape":"ExceptionString"}, - "ResourceId":{ - "shape":"ExceptionString", - "documentation":"

The ID of the resource.

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

The type of the resource.

" - } - }, - "documentation":"

The resource could not be found.

", - "error":{"httpStatusCode":404}, - "exception":true - }, - "ResourceType":{ - "type":"string", - "enum":[ - "PROJECT", - "DATASET", - "MODEL", - "TRIAL", - "MODEL_PACKAGE_JOB" - ] - }, - "RetryAfterSeconds":{"type":"integer"}, - "S3BucketName":{ - "type":"string", - "max":63, - "min":3, - "pattern":"[0-9A-Za-z\\.\\-_]*" - }, - "S3KeyPrefix":{ - "type":"string", - "max":1024, - "pattern":"^([a-zA-Z0-9!_.*'()-][/a-zA-Z0-9!_.*'()-]*)?$" - }, - "S3Location":{ - "type":"structure", - "required":["Bucket"], - "members":{ - "Bucket":{ - "shape":"S3BucketName", - "documentation":"

The S3 bucket that contains the training or model packaging job output. If you are training a model, the bucket must in your AWS account. If you use an S3 bucket for a model packaging job, the S3 bucket must be in the same AWS Region and AWS account in which you use AWS IoT Greengrass.

" - }, - "Prefix":{ - "shape":"S3KeyPrefix", - "documentation":"

The path of the folder, within the S3 bucket, that contains the output.

" - } - }, - "documentation":"

Information about the location of training output or the output of a model packaging job.

" - }, - "S3ObjectKey":{ - "type":"string", - "max":1024, - "min":1, - "pattern":"^([a-zA-Z0-9!_.*'()-][/a-zA-Z0-9!_.*'()-]*)?$" - }, - "S3ObjectVersion":{ - "type":"string", - "max":1024, - "min":1, - "pattern":".*" - }, - "ServiceQuotaExceededException":{ - "type":"structure", - "required":[ - "Message", - "QuotaCode", - "ServiceCode" - ], - "members":{ - "Message":{"shape":"ExceptionString"}, - "ResourceId":{ - "shape":"ExceptionString", - "documentation":"

The ID of the resource.

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

The type of the resource.

" - }, - "QuotaCode":{ - "shape":"ExceptionString", - "documentation":"

The quota code.

" - }, - "ServiceCode":{ - "shape":"ExceptionString", - "documentation":"

The service code.

" - } - }, - "documentation":"

A service quota was exceeded the allowed limit. For more information, see Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer Guide.

", - "error":{"httpStatusCode":402}, - "exception":true - }, - "StartModelPackagingJobRequest":{ - "type":"structure", - "required":[ - "ProjectName", - "ModelVersion", - "Configuration" - ], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project which contains the version of the model that you want to package.

", - "location":"uri", - "locationName":"projectName" - }, - "ModelVersion":{ - "shape":"ModelVersion", - "documentation":"

The version of the model within the project that you want to package.

" - }, - "JobName":{ - "shape":"ModelPackagingJobName", - "documentation":"

A name for the model packaging job. If you don't supply a value, the service creates a job name for you.

" - }, - "Configuration":{ - "shape":"ModelPackagingConfiguration", - "documentation":"

The configuration for the model packaging job.

" - }, - "Description":{ - "shape":"ModelPackagingJobDescription", - "documentation":"

A description for the model packaging job.

" - }, - "ClientToken":{ - "shape":"ClientToken", - "documentation":"

ClientToken is an idempotency token that ensures a call to StartModelPackagingJob completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from StartModelPackagingJob. In this case, safely retry your call to StartModelPackagingJob by using the same ClientToken parameter value.

If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple dataset creation requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to StartModelPackagingJob. An idempotency token is active for 8 hours.

", - "idempotencyToken":true, - "location":"header", - "locationName":"X-Amzn-Client-Token" - } - } - }, - "StartModelPackagingJobResponse":{ - "type":"structure", - "members":{ - "JobName":{ - "shape":"ModelPackagingJobName", - "documentation":"

The job name for the model packaging job. If you don't supply a job name in the JobName input parameter, the service creates a job name for you.

" - } - } - }, - "StartModelRequest":{ - "type":"structure", - "required":[ - "ProjectName", - "ModelVersion", - "MinInferenceUnits" - ], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project that contains the model that you want to start.

", - "location":"uri", - "locationName":"projectName" - }, - "ModelVersion":{ - "shape":"ModelVersion", - "documentation":"

The version of the model that you want to start.

", - "location":"uri", - "locationName":"modelVersion" - }, - "MinInferenceUnits":{ - "shape":"InferenceUnits", - "documentation":"

The minimum number of inference units to use. A single inference unit represents 1 hour of processing. Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.

" - }, - "ClientToken":{ - "shape":"ClientToken", - "documentation":"

ClientToken is an idempotency token that ensures a call to StartModel completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from StartModel. In this case, safely retry your call to StartModel by using the same ClientToken parameter value.

If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple start requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to StartModel. An idempotency token is active for 8 hours.

", - "idempotencyToken":true, - "location":"header", - "locationName":"X-Amzn-Client-Token" - }, - "MaxInferenceUnits":{ - "shape":"InferenceUnits", - "documentation":"

The maximum number of inference units to use for auto-scaling the model. If you don't specify a value, Amazon Lookout for Vision doesn't auto-scale the model.

" - } - } - }, - "StartModelResponse":{ - "type":"structure", - "members":{ - "Status":{ - "shape":"ModelHostingStatus", - "documentation":"

The current running status of the model.

" - } - } - }, - "StopModelRequest":{ - "type":"structure", - "required":[ - "ProjectName", - "ModelVersion" - ], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project that contains the model that you want to stop.

", - "location":"uri", - "locationName":"projectName" - }, - "ModelVersion":{ - "shape":"ModelVersion", - "documentation":"

The version of the model that you want to stop.

", - "location":"uri", - "locationName":"modelVersion" - }, - "ClientToken":{ - "shape":"ClientToken", - "documentation":"

ClientToken is an idempotency token that ensures a call to StopModel completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from StopModel. In this case, safely retry your call to StopModel by using the same ClientToken parameter value.

If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple stop requests. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to StopModel. An idempotency token is active for 8 hours.

", - "idempotencyToken":true, - "location":"header", - "locationName":"X-Amzn-Client-Token" - } - } - }, - "StopModelResponse":{ - "type":"structure", - "members":{ - "Status":{ - "shape":"ModelHostingStatus", - "documentation":"

The status of the model.

" - } - } - }, - "Stream":{ - "type":"blob", - "requiresLength":true, - "streaming":true - }, - "Tag":{ - "type":"structure", - "required":[ - "Key", - "Value" - ], - "members":{ - "Key":{ - "shape":"TagKey", - "documentation":"

The key of the tag that is attached to the specified model.

" - }, - "Value":{ - "shape":"TagValue", - "documentation":"

The value of the tag that is attached to the specified model.

" - } - }, - "documentation":"

A key and value pair that is attached to the specified Amazon Lookout for Vision model.

" - }, - "TagArn":{ - "type":"string", - "max":1011, - "min":1 - }, - "TagKey":{ - "type":"string", - "max":128, - "min":1, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" - }, - "TagKeyList":{ - "type":"list", - "member":{"shape":"TagKey"}, - "max":200, - "min":0 - }, - "TagList":{ - "type":"list", - "member":{"shape":"Tag"}, - "max":200, - "min":0 - }, - "TagResourceRequest":{ - "type":"structure", - "required":[ - "ResourceArn", - "Tags" - ], - "members":{ - "ResourceArn":{ - "shape":"TagArn", - "documentation":"

The Amazon Resource Name (ARN) of the model to assign the tags.

", - "location":"uri", - "locationName":"resourceArn" - }, - "Tags":{ - "shape":"TagList", - "documentation":"

The key-value tags to assign to the model.

" - } - } - }, - "TagResourceResponse":{ - "type":"structure", - "members":{} - }, - "TagValue":{ - "type":"string", - "max":256, - "min":0, - "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" - }, - "TargetDevice":{ - "type":"string", - "enum":["jetson_xavier"] - }, - "TargetPlatform":{ - "type":"structure", - "required":[ - "Os", - "Arch" - ], - "members":{ - "Os":{ - "shape":"TargetPlatformOs", - "documentation":"

The target operating system for the model. Linux is the only operating system that is currently supported.

" - }, - "Arch":{ - "shape":"TargetPlatformArch", - "documentation":"

The target architecture for the model. The currently supported architectures are X86_64 (64-bit version of the x86 instruction set) and ARM_64 (ARMv8 64-bit CPU).

" - }, - "Accelerator":{ - "shape":"TargetPlatformAccelerator", - "documentation":"

The target accelerator for the model. Currently, Amazon Lookout for Vision only supports NVIDIA (Nvidia graphics processing unit) and CPU accelerators. If you specify NVIDIA as an accelerator, you must also specify the gpu-code, trt-ver, and cuda-ver compiler options. If you don't specify an accelerator, Lookout for Vision uses the CPU for compilation and we highly recommend that you use the GreengrassConfiguration$CompilerOptions field. For example, you can use the following compiler options for CPU:

  • mcpu: CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'}

  • mattr: CPU flags. For example, {'mattr': ['+neon', '+vfpv4']}

" - } - }, - "documentation":"

The platform on which a model runs on an AWS IoT Greengrass core device.

" - }, - "TargetPlatformAccelerator":{ - "type":"string", - "enum":["NVIDIA"] - }, - "TargetPlatformArch":{ - "type":"string", - "enum":[ - "ARM64", - "X86_64" - ] - }, - "TargetPlatformOs":{ - "type":"string", - "enum":["LINUX"] - }, - "ThrottlingException":{ - "type":"structure", - "required":["Message"], - "members":{ - "Message":{"shape":"ExceptionString"}, - "QuotaCode":{ - "shape":"ExceptionString", - "documentation":"

The quota code.

" - }, - "ServiceCode":{ - "shape":"ExceptionString", - "documentation":"

The service code.

" - }, - "RetryAfterSeconds":{ - "shape":"RetryAfterSeconds", - "documentation":"

The period of time, in seconds, before the operation can be retried.

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

Amazon Lookout for Vision is temporarily unable to process the request. Try your call again.

", - "error":{"httpStatusCode":429}, - "exception":true - }, - "UntagResourceRequest":{ - "type":"structure", - "required":[ - "ResourceArn", - "TagKeys" - ], - "members":{ - "ResourceArn":{ - "shape":"TagArn", - "documentation":"

The Amazon Resource Name (ARN) of the model from which you want to remove tags.

", - "location":"uri", - "locationName":"resourceArn" - }, - "TagKeys":{ - "shape":"TagKeyList", - "documentation":"

A list of the keys of the tags that you want to remove.

", - "location":"querystring", - "locationName":"tagKeys" - } - } - }, - "UntagResourceResponse":{ - "type":"structure", - "members":{} - }, - "UpdateDatasetEntriesRequest":{ - "type":"structure", - "required":[ - "ProjectName", - "DatasetType", - "Changes" - ], - "members":{ - "ProjectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project that contains the dataset that you want to update.

", - "location":"uri", - "locationName":"projectName" - }, - "DatasetType":{ - "shape":"DatasetType", - "documentation":"

The type of the dataset that you want to update. Specify train to update the training dataset. Specify test to update the test dataset. If you have a single dataset project, specify train.

", - "location":"uri", - "locationName":"datasetType" - }, - "Changes":{ - "shape":"DatasetChanges", - "documentation":"

The entries to add to the dataset.

" - }, - "ClientToken":{ - "shape":"ClientToken", - "documentation":"

ClientToken is an idempotency token that ensures a call to UpdateDatasetEntries completes only once. You choose the value to pass. For example, An issue might prevent you from getting a response from UpdateDatasetEntries. In this case, safely retry your call to UpdateDatasetEntries by using the same ClientToken parameter value.

If you don't supply a value for ClientToken, the AWS SDK you are using inserts a value for you. This prevents retries after a network error from making multiple updates with the same dataset entries. You'll need to provide your own value for other use cases.

An error occurs if the other input parameters are not the same as in the first request. Using a different value for ClientToken is considered a new call to UpdateDatasetEntries. An idempotency token is active for 8 hours.

", - "idempotencyToken":true, - "location":"header", - "locationName":"X-Amzn-Client-Token" - } - } - }, - "UpdateDatasetEntriesResponse":{ - "type":"structure", - "members":{ - "Status":{ - "shape":"DatasetStatus", - "documentation":"

The status of the dataset update.

" - } - } - }, - "ValidationException":{ - "type":"structure", - "required":["Message"], - "members":{ - "Message":{"shape":"ExceptionString"} - }, - "documentation":"

An input validation error occured. For example, invalid characters in a project name, or if a pagination token is invalid.

", - "error":{"httpStatusCode":400}, - "exception":true - } - }, - "documentation":"

This is the Amazon Lookout for Vision API Reference. It provides descriptions of actions, data types, common parameters, and common errors.

Amazon Lookout for Vision enables you to find visual defects in industrial products, accurately and at scale. It uses computer vision to identify missing components in an industrial product, damage to vehicles or structures, irregularities in production lines, and even minuscule defects in silicon wafers — or any other physical item where quality is important such as a missing capacitor on printed circuit boards.

" -} diff --git a/tools/code-generation/api-descriptions/qldb-2019-01-02.normal.json b/tools/code-generation/api-descriptions/qldb-2019-01-02.normal.json deleted file mode 100644 index ec41b2555c8..00000000000 --- a/tools/code-generation/api-descriptions/qldb-2019-01-02.normal.json +++ /dev/null @@ -1,1476 +0,0 @@ -{ - "version":"2.0", - "metadata":{ - "apiVersion":"2019-01-02", - "endpointPrefix":"qldb", - "jsonVersion":"1.0", - "protocol":"rest-json", - "protocols":["rest-json"], - "serviceAbbreviation":"QLDB", - "serviceFullName":"Amazon QLDB", - "serviceId":"QLDB", - "signatureVersion":"v4", - "signingName":"qldb", - "uid":"qldb-2019-01-02", - "auth":["aws.auth#sigv4"] - }, - "operations":{ - "CancelJournalKinesisStream":{ - "name":"CancelJournalKinesisStream", - "http":{ - "method":"DELETE", - "requestUri":"/ledgers/{name}/journal-kinesis-streams/{streamId}" - }, - "input":{"shape":"CancelJournalKinesisStreamRequest"}, - "output":{"shape":"CancelJournalKinesisStreamResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ResourcePreconditionNotMetException"} - ], - "documentation":"

Ends a given Amazon QLDB journal stream. Before a stream can be canceled, its current status must be ACTIVE.

You can't restart a stream after you cancel it. Canceled QLDB stream resources are subject to a 7-day retention period, so they are automatically deleted after this limit expires.

" - }, - "CreateLedger":{ - "name":"CreateLedger", - "http":{ - "method":"POST", - "requestUri":"/ledgers" - }, - "input":{"shape":"CreateLedgerRequest"}, - "output":{"shape":"CreateLedgerResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceAlreadyExistsException"}, - {"shape":"LimitExceededException"}, - {"shape":"ResourceInUseException"} - ], - "documentation":"

Creates a new ledger in your Amazon Web Services account in the current Region.

" - }, - "DeleteLedger":{ - "name":"DeleteLedger", - "http":{ - "method":"DELETE", - "requestUri":"/ledgers/{name}" - }, - "input":{"shape":"DeleteLedgerRequest"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ResourceInUseException"}, - {"shape":"ResourcePreconditionNotMetException"} - ], - "documentation":"

Deletes a ledger and all of its contents. This action is irreversible.

If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it by calling the UpdateLedger operation to set this parameter to false.

" - }, - "DescribeJournalKinesisStream":{ - "name":"DescribeJournalKinesisStream", - "http":{ - "method":"GET", - "requestUri":"/ledgers/{name}/journal-kinesis-streams/{streamId}" - }, - "input":{"shape":"DescribeJournalKinesisStreamRequest"}, - "output":{"shape":"DescribeJournalKinesisStreamResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ResourcePreconditionNotMetException"} - ], - "documentation":"

Returns detailed information about a given Amazon QLDB journal stream. The output includes the Amazon Resource Name (ARN), stream name, current status, creation time, and the parameters of the original stream creation request.

This action does not return any expired journal streams. For more information, see Expiration for terminal streams in the Amazon QLDB Developer Guide.

" - }, - "DescribeJournalS3Export":{ - "name":"DescribeJournalS3Export", - "http":{ - "method":"GET", - "requestUri":"/ledgers/{name}/journal-s3-exports/{exportId}" - }, - "input":{"shape":"DescribeJournalS3ExportRequest"}, - "output":{"shape":"DescribeJournalS3ExportResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Returns information about a journal export job, including the ledger name, export ID, creation time, current status, and the parameters of the original export creation request.

This action does not return any expired export jobs. For more information, see Export job expiration in the Amazon QLDB Developer Guide.

If the export job with the given ExportId doesn't exist, then throws ResourceNotFoundException.

If the ledger with the given Name doesn't exist, then throws ResourceNotFoundException.

" - }, - "DescribeLedger":{ - "name":"DescribeLedger", - "http":{ - "method":"GET", - "requestUri":"/ledgers/{name}" - }, - "input":{"shape":"DescribeLedgerRequest"}, - "output":{"shape":"DescribeLedgerResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Returns information about a ledger, including its state, permissions mode, encryption at rest settings, and when it was created.

" - }, - "ExportJournalToS3":{ - "name":"ExportJournalToS3", - "http":{ - "method":"POST", - "requestUri":"/ledgers/{name}/journal-s3-exports" - }, - "input":{"shape":"ExportJournalToS3Request"}, - "output":{"shape":"ExportJournalToS3Response"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ResourcePreconditionNotMetException"} - ], - "documentation":"

Exports journal contents within a date and time range from a ledger into a specified Amazon Simple Storage Service (Amazon S3) bucket. A journal export job can write the data objects in either the text or binary representation of Amazon Ion format, or in JSON Lines text format.

If the ledger with the given Name doesn't exist, then throws ResourceNotFoundException.

If the ledger with the given Name is in CREATING status, then throws ResourcePreconditionNotMetException.

You can initiate up to two concurrent journal export requests for each ledger. Beyond this limit, journal export requests throw LimitExceededException.

" - }, - "GetBlock":{ - "name":"GetBlock", - "http":{ - "method":"POST", - "requestUri":"/ledgers/{name}/block" - }, - "input":{"shape":"GetBlockRequest"}, - "output":{"shape":"GetBlockResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ResourcePreconditionNotMetException"} - ], - "documentation":"

Returns a block object at a specified address in a journal. Also returns a proof of the specified block for verification if DigestTipAddress is provided.

For information about the data contents in a block, see Journal contents in the Amazon QLDB Developer Guide.

If the specified ledger doesn't exist or is in DELETING status, then throws ResourceNotFoundException.

If the specified ledger is in CREATING status, then throws ResourcePreconditionNotMetException.

If no block exists with the specified address, then throws InvalidParameterException.

" - }, - "GetDigest":{ - "name":"GetDigest", - "http":{ - "method":"POST", - "requestUri":"/ledgers/{name}/digest" - }, - "input":{"shape":"GetDigestRequest"}, - "output":{"shape":"GetDigestResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ResourcePreconditionNotMetException"} - ], - "documentation":"

Returns the digest of a ledger at the latest committed block in the journal. The response includes a 256-bit hash value and a block address.

" - }, - "GetRevision":{ - "name":"GetRevision", - "http":{ - "method":"POST", - "requestUri":"/ledgers/{name}/revision" - }, - "input":{"shape":"GetRevisionRequest"}, - "output":{"shape":"GetRevisionResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ResourcePreconditionNotMetException"} - ], - "documentation":"

Returns a revision data object for a specified document ID and block address. Also returns a proof of the specified revision for verification if DigestTipAddress is provided.

" - }, - "ListJournalKinesisStreamsForLedger":{ - "name":"ListJournalKinesisStreamsForLedger", - "http":{ - "method":"GET", - "requestUri":"/ledgers/{name}/journal-kinesis-streams" - }, - "input":{"shape":"ListJournalKinesisStreamsForLedgerRequest"}, - "output":{"shape":"ListJournalKinesisStreamsForLedgerResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ResourcePreconditionNotMetException"} - ], - "documentation":"

Returns all Amazon QLDB journal streams for a given ledger.

This action does not return any expired journal streams. For more information, see Expiration for terminal streams in the Amazon QLDB Developer Guide.

This action returns a maximum of MaxResults items. It is paginated so that you can retrieve all the items by calling ListJournalKinesisStreamsForLedger multiple times.

" - }, - "ListJournalS3Exports":{ - "name":"ListJournalS3Exports", - "http":{ - "method":"GET", - "requestUri":"/journal-s3-exports" - }, - "input":{"shape":"ListJournalS3ExportsRequest"}, - "output":{"shape":"ListJournalS3ExportsResponse"}, - "documentation":"

Returns all journal export jobs for all ledgers that are associated with the current Amazon Web Services account and Region.

This action returns a maximum of MaxResults items, and is paginated so that you can retrieve all the items by calling ListJournalS3Exports multiple times.

This action does not return any expired export jobs. For more information, see Export job expiration in the Amazon QLDB Developer Guide.

" - }, - "ListJournalS3ExportsForLedger":{ - "name":"ListJournalS3ExportsForLedger", - "http":{ - "method":"GET", - "requestUri":"/ledgers/{name}/journal-s3-exports" - }, - "input":{"shape":"ListJournalS3ExportsForLedgerRequest"}, - "output":{"shape":"ListJournalS3ExportsForLedgerResponse"}, - "documentation":"

Returns all journal export jobs for a specified ledger.

This action returns a maximum of MaxResults items, and is paginated so that you can retrieve all the items by calling ListJournalS3ExportsForLedger multiple times.

This action does not return any expired export jobs. For more information, see Export job expiration in the Amazon QLDB Developer Guide.

" - }, - "ListLedgers":{ - "name":"ListLedgers", - "http":{ - "method":"GET", - "requestUri":"/ledgers" - }, - "input":{"shape":"ListLedgersRequest"}, - "output":{"shape":"ListLedgersResponse"}, - "documentation":"

Returns all ledgers that are associated with the current Amazon Web Services account and Region.

This action returns a maximum of MaxResults items and is paginated so that you can retrieve all the items by calling ListLedgers multiple times.

" - }, - "ListTagsForResource":{ - "name":"ListTagsForResource", - "http":{ - "method":"GET", - "requestUri":"/tags/{resourceArn}" - }, - "input":{"shape":"ListTagsForResourceRequest"}, - "output":{"shape":"ListTagsForResourceResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Returns all tags for a specified Amazon QLDB resource.

" - }, - "StreamJournalToKinesis":{ - "name":"StreamJournalToKinesis", - "http":{ - "method":"POST", - "requestUri":"/ledgers/{name}/journal-kinesis-streams" - }, - "input":{"shape":"StreamJournalToKinesisRequest"}, - "output":{"shape":"StreamJournalToKinesisResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ResourcePreconditionNotMetException"} - ], - "documentation":"

Creates a journal stream for a given Amazon QLDB ledger. The stream captures every document revision that is committed to the ledger's journal and delivers the data to a specified Amazon Kinesis Data Streams resource.

" - }, - "TagResource":{ - "name":"TagResource", - "http":{ - "method":"POST", - "requestUri":"/tags/{resourceArn}" - }, - "input":{"shape":"TagResourceRequest"}, - "output":{"shape":"TagResourceResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Adds one or more tags to a specified Amazon QLDB resource.

A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error.

" - }, - "UntagResource":{ - "name":"UntagResource", - "http":{ - "method":"DELETE", - "requestUri":"/tags/{resourceArn}" - }, - "input":{"shape":"UntagResourceRequest"}, - "output":{"shape":"UntagResourceResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Removes one or more tags from a specified Amazon QLDB resource. You can specify up to 50 tag keys to remove.

" - }, - "UpdateLedger":{ - "name":"UpdateLedger", - "http":{ - "method":"PATCH", - "requestUri":"/ledgers/{name}" - }, - "input":{"shape":"UpdateLedgerRequest"}, - "output":{"shape":"UpdateLedgerResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Updates properties on a ledger.

" - }, - "UpdateLedgerPermissionsMode":{ - "name":"UpdateLedgerPermissionsMode", - "http":{ - "method":"PATCH", - "requestUri":"/ledgers/{name}/permissions-mode" - }, - "input":{"shape":"UpdateLedgerPermissionsModeRequest"}, - "output":{"shape":"UpdateLedgerPermissionsModeResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Updates the permissions mode of a ledger.

Before you switch to the STANDARD permissions mode, you must first create all required IAM policies and table tags to avoid disruption to your users. To learn more, see Migrating to the standard permissions mode in the Amazon QLDB Developer Guide.

" - } - }, - "shapes":{ - "Arn":{ - "type":"string", - "max":1600, - "min":20 - }, - "Boolean":{"type":"boolean"}, - "CancelJournalKinesisStreamRequest":{ - "type":"structure", - "required":[ - "LedgerName", - "StreamId" - ], - "members":{ - "LedgerName":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

", - "location":"uri", - "locationName":"name" - }, - "StreamId":{ - "shape":"UniqueId", - "documentation":"

The UUID (represented in Base62-encoded text) of the QLDB journal stream to be canceled.

", - "location":"uri", - "locationName":"streamId" - } - } - }, - "CancelJournalKinesisStreamResponse":{ - "type":"structure", - "members":{ - "StreamId":{ - "shape":"UniqueId", - "documentation":"

The UUID (Base62-encoded text) of the canceled QLDB journal stream.

" - } - } - }, - "CreateLedgerRequest":{ - "type":"structure", - "required":[ - "Name", - "PermissionsMode" - ], - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger that you want to create. The name must be unique among all of the ledgers in your Amazon Web Services account in the current Region.

Naming constraints for ledger names are defined in Quotas in Amazon QLDB in the Amazon QLDB Developer Guide.

" - }, - "Tags":{ - "shape":"Tags", - "documentation":"

The key-value pairs to add as tags to the ledger that you want to create. Tag keys are case sensitive. Tag values are case sensitive and can be null.

" - }, - "PermissionsMode":{ - "shape":"PermissionsMode", - "documentation":"

The permissions mode to assign to the ledger that you want to create. This parameter can have one of the following values:

  • ALLOW_ALL: A legacy permissions mode that enables access control with API-level granularity for ledgers.

    This mode allows users who have the SendCommand API permission for this ledger to run all PartiQL commands (hence, ALLOW_ALL) on any tables in the specified ledger. This mode disregards any table-level or command-level IAM permissions policies that you create for the ledger.

  • STANDARD: (Recommended) A permissions mode that enables access control with finer granularity for ledgers, tables, and PartiQL commands.

    By default, this mode denies all user requests to run any PartiQL commands on any tables in this ledger. To allow PartiQL commands to run, you must create IAM permissions policies for specific table resources and PartiQL actions, in addition to the SendCommand API permission for the ledger. For information, see Getting started with the standard permissions mode in the Amazon QLDB Developer Guide.

We strongly recommend using the STANDARD permissions mode to maximize the security of your ledger data.

" - }, - "DeletionProtection":{ - "shape":"DeletionProtection", - "documentation":"

Specifies whether the ledger is protected from being deleted by any user. If not defined during ledger creation, this feature is enabled (true) by default.

If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it by calling the UpdateLedger operation to set this parameter to false.

" - }, - "KmsKey":{ - "shape":"KmsKey", - "documentation":"

The key in Key Management Service (KMS) to use for encryption of data at rest in the ledger. For more information, see Encryption at rest in the Amazon QLDB Developer Guide.

Use one of the following options to specify this parameter:

  • AWS_OWNED_KMS_KEY: Use an KMS key that is owned and managed by Amazon Web Services on your behalf.

  • Undefined: By default, use an Amazon Web Services owned KMS key.

  • A valid symmetric customer managed KMS key: Use the specified symmetric encryption KMS key in your account that you create, own, and manage.

    Amazon QLDB does not support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer Guide.

To specify a customer managed KMS key, you can use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with \"alias/\". To specify a key in a different Amazon Web Services account, you must use the key ARN or alias ARN.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

  • Alias name: alias/ExampleAlias

  • Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias

For more information, see Key identifiers (KeyId) in the Key Management Service Developer Guide.

" - } - } - }, - "CreateLedgerResponse":{ - "type":"structure", - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

" - }, - "Arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) for the ledger.

" - }, - "State":{ - "shape":"LedgerState", - "documentation":"

The current status of the ledger.

" - }, - "CreationDateTime":{ - "shape":"Timestamp", - "documentation":"

The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

" - }, - "PermissionsMode":{ - "shape":"PermissionsMode", - "documentation":"

The permissions mode of the ledger that you created.

" - }, - "DeletionProtection":{ - "shape":"DeletionProtection", - "documentation":"

Specifies whether the ledger is protected from being deleted by any user. If not defined during ledger creation, this feature is enabled (true) by default.

If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it by calling the UpdateLedger operation to set this parameter to false.

" - }, - "KmsKeyArn":{ - "shape":"Arn", - "documentation":"

The ARN of the customer managed KMS key that the ledger uses for encryption at rest. If this parameter is undefined, the ledger uses an Amazon Web Services owned KMS key for encryption.

" - } - } - }, - "DeleteLedgerRequest":{ - "type":"structure", - "required":["Name"], - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger that you want to delete.

", - "location":"uri", - "locationName":"name" - } - } - }, - "DeletionProtection":{"type":"boolean"}, - "DescribeJournalKinesisStreamRequest":{ - "type":"structure", - "required":[ - "LedgerName", - "StreamId" - ], - "members":{ - "LedgerName":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

", - "location":"uri", - "locationName":"name" - }, - "StreamId":{ - "shape":"UniqueId", - "documentation":"

The UUID (represented in Base62-encoded text) of the QLDB journal stream to describe.

", - "location":"uri", - "locationName":"streamId" - } - } - }, - "DescribeJournalKinesisStreamResponse":{ - "type":"structure", - "members":{ - "Stream":{ - "shape":"JournalKinesisStreamDescription", - "documentation":"

Information about the QLDB journal stream returned by a DescribeJournalS3Export request.

" - } - } - }, - "DescribeJournalS3ExportRequest":{ - "type":"structure", - "required":[ - "Name", - "ExportId" - ], - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

", - "location":"uri", - "locationName":"name" - }, - "ExportId":{ - "shape":"UniqueId", - "documentation":"

The UUID (represented in Base62-encoded text) of the journal export job to describe.

", - "location":"uri", - "locationName":"exportId" - } - } - }, - "DescribeJournalS3ExportResponse":{ - "type":"structure", - "required":["ExportDescription"], - "members":{ - "ExportDescription":{ - "shape":"JournalS3ExportDescription", - "documentation":"

Information about the journal export job returned by a DescribeJournalS3Export request.

" - } - } - }, - "DescribeLedgerRequest":{ - "type":"structure", - "required":["Name"], - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger that you want to describe.

", - "location":"uri", - "locationName":"name" - } - } - }, - "DescribeLedgerResponse":{ - "type":"structure", - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

" - }, - "Arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) for the ledger.

" - }, - "State":{ - "shape":"LedgerState", - "documentation":"

The current status of the ledger.

" - }, - "CreationDateTime":{ - "shape":"Timestamp", - "documentation":"

The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

" - }, - "PermissionsMode":{ - "shape":"PermissionsMode", - "documentation":"

The permissions mode of the ledger.

" - }, - "DeletionProtection":{ - "shape":"DeletionProtection", - "documentation":"

Specifies whether the ledger is protected from being deleted by any user. If not defined during ledger creation, this feature is enabled (true) by default.

If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it by calling the UpdateLedger operation to set this parameter to false.

" - }, - "EncryptionDescription":{ - "shape":"LedgerEncryptionDescription", - "documentation":"

Information about the encryption of data at rest in the ledger. This includes the current status, the KMS key, and when the key became inaccessible (in the case of an error). If this parameter is undefined, the ledger uses an Amazon Web Services owned KMS key for encryption.

" - } - } - }, - "Digest":{ - "type":"blob", - "max":32, - "min":32 - }, - "EncryptionStatus":{ - "type":"string", - "enum":[ - "ENABLED", - "UPDATING", - "KMS_KEY_INACCESSIBLE" - ] - }, - "ErrorCause":{ - "type":"string", - "enum":[ - "KINESIS_STREAM_NOT_FOUND", - "IAM_PERMISSION_REVOKED" - ] - }, - "ErrorMessage":{"type":"string"}, - "ExportJournalToS3Request":{ - "type":"structure", - "required":[ - "Name", - "InclusiveStartTime", - "ExclusiveEndTime", - "S3ExportConfiguration", - "RoleArn" - ], - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

", - "location":"uri", - "locationName":"name" - }, - "InclusiveStartTime":{ - "shape":"Timestamp", - "documentation":"

The inclusive start date and time for the range of journal contents to export.

The InclusiveStartTime must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z.

The InclusiveStartTime must be before ExclusiveEndTime.

If you provide an InclusiveStartTime that is before the ledger's CreationDateTime, Amazon QLDB defaults it to the ledger's CreationDateTime.

" - }, - "ExclusiveEndTime":{ - "shape":"Timestamp", - "documentation":"

The exclusive end date and time for the range of journal contents to export.

The ExclusiveEndTime must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z.

The ExclusiveEndTime must be less than or equal to the current UTC date and time.

" - }, - "S3ExportConfiguration":{ - "shape":"S3ExportConfiguration", - "documentation":"

The configuration settings of the Amazon S3 bucket destination for your export request.

" - }, - "RoleArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:

  • Write objects into your Amazon S3 bucket.

  • (Optional) Use your customer managed key in Key Management Service (KMS) for server-side encryption of your exported data.

To pass a role to QLDB when requesting a journal export, you must have permissions to perform the iam:PassRole action on the IAM role resource. This is required for all journal export requests.

" - }, - "OutputFormat":{ - "shape":"OutputFormat", - "documentation":"

The output format of your exported journal data. A journal export job can write the data objects in either the text or binary representation of Amazon Ion format, or in JSON Lines text format.

Default: ION_TEXT

In JSON Lines format, each journal block in an exported data object is a valid JSON object that is delimited by a newline. You can use this format to directly integrate JSON exports with analytics tools such as Amazon Athena and Glue because these services can parse newline-delimited JSON automatically.

" - } - } - }, - "ExportJournalToS3Response":{ - "type":"structure", - "required":["ExportId"], - "members":{ - "ExportId":{ - "shape":"UniqueId", - "documentation":"

The UUID (represented in Base62-encoded text) that QLDB assigns to each journal export job.

To describe your export request and check the status of the job, you can use ExportId to call DescribeJournalS3Export.

" - } - } - }, - "ExportStatus":{ - "type":"string", - "enum":[ - "IN_PROGRESS", - "COMPLETED", - "CANCELLED" - ] - }, - "GetBlockRequest":{ - "type":"structure", - "required":[ - "Name", - "BlockAddress" - ], - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

", - "location":"uri", - "locationName":"name" - }, - "BlockAddress":{ - "shape":"ValueHolder", - "documentation":"

The location of the block that you want to request. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

For example: {strandId:\"BlFTjlSXze9BIh1KOszcE3\",sequenceNo:14}.

" - }, - "DigestTipAddress":{ - "shape":"ValueHolder", - "documentation":"

The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

For example: {strandId:\"BlFTjlSXze9BIh1KOszcE3\",sequenceNo:49}.

" - } - } - }, - "GetBlockResponse":{ - "type":"structure", - "required":["Block"], - "members":{ - "Block":{ - "shape":"ValueHolder", - "documentation":"

The block data object in Amazon Ion format.

" - }, - "Proof":{ - "shape":"ValueHolder", - "documentation":"

The proof object in Amazon Ion format returned by a GetBlock request. A proof contains the list of hash values required to recalculate the specified digest using a Merkle tree, starting with the specified block.

" - } - } - }, - "GetDigestRequest":{ - "type":"structure", - "required":["Name"], - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

", - "location":"uri", - "locationName":"name" - } - } - }, - "GetDigestResponse":{ - "type":"structure", - "required":[ - "Digest", - "DigestTipAddress" - ], - "members":{ - "Digest":{ - "shape":"Digest", - "documentation":"

The 256-bit hash value representing the digest returned by a GetDigest request.

" - }, - "DigestTipAddress":{ - "shape":"ValueHolder", - "documentation":"

The latest block location covered by the digest that you requested. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

" - } - } - }, - "GetRevisionRequest":{ - "type":"structure", - "required":[ - "Name", - "BlockAddress", - "DocumentId" - ], - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

", - "location":"uri", - "locationName":"name" - }, - "BlockAddress":{ - "shape":"ValueHolder", - "documentation":"

The block location of the document revision to be verified. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

For example: {strandId:\"BlFTjlSXze9BIh1KOszcE3\",sequenceNo:14}.

" - }, - "DocumentId":{ - "shape":"UniqueId", - "documentation":"

The UUID (represented in Base62-encoded text) of the document to be verified.

" - }, - "DigestTipAddress":{ - "shape":"ValueHolder", - "documentation":"

The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

For example: {strandId:\"BlFTjlSXze9BIh1KOszcE3\",sequenceNo:49}.

" - } - } - }, - "GetRevisionResponse":{ - "type":"structure", - "required":["Revision"], - "members":{ - "Proof":{ - "shape":"ValueHolder", - "documentation":"

The proof object in Amazon Ion format returned by a GetRevision request. A proof contains the list of hash values that are required to recalculate the specified digest using a Merkle tree, starting with the specified document revision.

" - }, - "Revision":{ - "shape":"ValueHolder", - "documentation":"

The document revision data object in Amazon Ion format.

" - } - } - }, - "InvalidParameterException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ErrorMessage"}, - "ParameterName":{ - "shape":"ParameterName", - "documentation":"

The name of the invalid parameter.

" - } - }, - "documentation":"

One or more parameters in the request aren't valid.

", - "error":{"httpStatusCode":400}, - "exception":true - }, - "IonText":{ - "type":"string", - "max":1048576, - "min":1, - "sensitive":true - }, - "JournalKinesisStreamDescription":{ - "type":"structure", - "required":[ - "LedgerName", - "RoleArn", - "StreamId", - "Status", - "KinesisConfiguration", - "StreamName" - ], - "members":{ - "LedgerName":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

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

The date and time, in epoch time format, when the QLDB journal stream was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

" - }, - "InclusiveStartTime":{ - "shape":"Timestamp", - "documentation":"

The inclusive start date and time from which to start streaming journal data.

" - }, - "ExclusiveEndTime":{ - "shape":"Timestamp", - "documentation":"

The exclusive date and time that specifies when the stream ends. If this parameter is undefined, the stream runs indefinitely until you cancel it.

" - }, - "RoleArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.

" - }, - "StreamId":{ - "shape":"UniqueId", - "documentation":"

The UUID (represented in Base62-encoded text) of the QLDB journal stream.

" - }, - "Arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the QLDB journal stream.

" - }, - "Status":{ - "shape":"StreamStatus", - "documentation":"

The current state of the QLDB journal stream.

" - }, - "KinesisConfiguration":{ - "shape":"KinesisConfiguration", - "documentation":"

The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal stream.

" - }, - "ErrorCause":{ - "shape":"ErrorCause", - "documentation":"

The error message that describes the reason that a stream has a status of IMPAIRED or FAILED. This is not applicable to streams that have other status values.

" - }, - "StreamName":{ - "shape":"StreamName", - "documentation":"

The user-defined name of the QLDB journal stream.

" - } - }, - "documentation":"

Information about an Amazon QLDB journal stream, including the Amazon Resource Name (ARN), stream name, creation time, current status, and the parameters of the original stream creation request.

" - }, - "JournalKinesisStreamDescriptionList":{ - "type":"list", - "member":{"shape":"JournalKinesisStreamDescription"} - }, - "JournalS3ExportDescription":{ - "type":"structure", - "required":[ - "LedgerName", - "ExportId", - "ExportCreationTime", - "Status", - "InclusiveStartTime", - "ExclusiveEndTime", - "S3ExportConfiguration", - "RoleArn" - ], - "members":{ - "LedgerName":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

" - }, - "ExportId":{ - "shape":"UniqueId", - "documentation":"

The UUID (represented in Base62-encoded text) of the journal export job.

" - }, - "ExportCreationTime":{ - "shape":"Timestamp", - "documentation":"

The date and time, in epoch time format, when the export job was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

" - }, - "Status":{ - "shape":"ExportStatus", - "documentation":"

The current state of the journal export job.

" - }, - "InclusiveStartTime":{ - "shape":"Timestamp", - "documentation":"

The inclusive start date and time for the range of journal contents that was specified in the original export request.

" - }, - "ExclusiveEndTime":{ - "shape":"Timestamp", - "documentation":"

The exclusive end date and time for the range of journal contents that was specified in the original export request.

" - }, - "S3ExportConfiguration":{"shape":"S3ExportConfiguration"}, - "RoleArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:

  • Write objects into your Amazon Simple Storage Service (Amazon S3) bucket.

  • (Optional) Use your customer managed key in Key Management Service (KMS) for server-side encryption of your exported data.

" - }, - "OutputFormat":{ - "shape":"OutputFormat", - "documentation":"

The output format of the exported journal data.

" - } - }, - "documentation":"

Information about a journal export job, including the ledger name, export ID, creation time, current status, and the parameters of the original export creation request.

" - }, - "JournalS3ExportList":{ - "type":"list", - "member":{"shape":"JournalS3ExportDescription"} - }, - "KinesisConfiguration":{ - "type":"structure", - "required":["StreamArn"], - "members":{ - "StreamArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the Kinesis Data Streams resource.

" - }, - "AggregationEnabled":{ - "shape":"Boolean", - "documentation":"

Enables QLDB to publish multiple data records in a single Kinesis Data Streams record, increasing the number of records sent per API call.

Default: True

Record aggregation has important implications for processing records and requires de-aggregation in your stream consumer. To learn more, see KPL Key Concepts and Consumer De-aggregation in the Amazon Kinesis Data Streams Developer Guide.

" - } - }, - "documentation":"

The configuration settings of the Amazon Kinesis Data Streams destination for an Amazon QLDB journal stream.

" - }, - "KmsKey":{ - "type":"string", - "max":1600 - }, - "LedgerEncryptionDescription":{ - "type":"structure", - "required":[ - "KmsKeyArn", - "EncryptionStatus" - ], - "members":{ - "KmsKeyArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the customer managed KMS key that the ledger uses for encryption at rest. If this parameter is undefined, the ledger uses an Amazon Web Services owned KMS key for encryption. It will display AWS_OWNED_KMS_KEY when updating the ledger's encryption configuration to the Amazon Web Services owned KMS key.

" - }, - "EncryptionStatus":{ - "shape":"EncryptionStatus", - "documentation":"

The current state of encryption at rest for the ledger. This can be one of the following values:

  • ENABLED: Encryption is fully enabled using the specified key.

  • UPDATING: The ledger is actively processing the specified key change.

    Key changes in QLDB are asynchronous. The ledger is fully accessible without any performance impact while the key change is being processed. The amount of time it takes to update a key varies depending on the ledger size.

  • KMS_KEY_INACCESSIBLE: The specified customer managed KMS key is not accessible, and the ledger is impaired. Either the key was disabled or deleted, or the grants on the key were revoked. When a ledger is impaired, it is not accessible and does not accept any read or write requests.

    An impaired ledger automatically returns to an active state after you restore the grants on the key, or re-enable the key that was disabled. However, deleting a customer managed KMS key is irreversible. After a key is deleted, you can no longer access the ledgers that are protected with that key, and the data becomes unrecoverable permanently.

" - }, - "InaccessibleKmsKeyDateTime":{ - "shape":"Timestamp", - "documentation":"

The date and time, in epoch time format, when the KMS key first became inaccessible, in the case of an error. (Epoch time format is the number of seconds that have elapsed since 12:00:00 AM January 1, 1970 UTC.)

This parameter is undefined if the KMS key is accessible.

" - } - }, - "documentation":"

Information about the encryption of data at rest in an Amazon QLDB ledger. This includes the current status, the key in Key Management Service (KMS), and when the key became inaccessible (in the case of an error).

For more information, see Encryption at rest in the Amazon QLDB Developer Guide.

" - }, - "LedgerList":{ - "type":"list", - "member":{"shape":"LedgerSummary"} - }, - "LedgerName":{ - "type":"string", - "max":32, - "min":1, - "pattern":"(?!^.*--)(?!^[0-9]+$)(?!^-)(?!.*-$)^[A-Za-z0-9-]+$" - }, - "LedgerState":{ - "type":"string", - "enum":[ - "CREATING", - "ACTIVE", - "DELETING", - "DELETED" - ] - }, - "LedgerSummary":{ - "type":"structure", - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

" - }, - "State":{ - "shape":"LedgerState", - "documentation":"

The current status of the ledger.

" - }, - "CreationDateTime":{ - "shape":"Timestamp", - "documentation":"

The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

" - } - }, - "documentation":"

Information about a ledger, including its name, state, and when it was created.

" - }, - "LimitExceededException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ErrorMessage"}, - "ResourceType":{ - "shape":"ResourceType", - "documentation":"

The type of resource.

" - } - }, - "documentation":"

You have reached the limit on the maximum number of resources allowed.

", - "error":{"httpStatusCode":400}, - "exception":true - }, - "ListJournalKinesisStreamsForLedgerRequest":{ - "type":"structure", - "required":["LedgerName"], - "members":{ - "LedgerName":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

", - "location":"uri", - "locationName":"name" - }, - "MaxResults":{ - "shape":"MaxResults", - "documentation":"

The maximum number of results to return in a single ListJournalKinesisStreamsForLedger request. (The actual number of results returned might be fewer.)

", - "location":"querystring", - "locationName":"max_results" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

A pagination token, indicating that you want to retrieve the next page of results. If you received a value for NextToken in the response from a previous ListJournalKinesisStreamsForLedger call, you should use that value as input here.

", - "location":"querystring", - "locationName":"next_token" - } - } - }, - "ListJournalKinesisStreamsForLedgerResponse":{ - "type":"structure", - "members":{ - "Streams":{ - "shape":"JournalKinesisStreamDescriptionList", - "documentation":"

The QLDB journal streams that are currently associated with the given ledger.

" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"
  • If NextToken is empty, the last page of results has been processed and there are no more results to be retrieved.

  • If NextToken is not empty, more results are available. To retrieve the next page of results, use the value of NextToken in a subsequent ListJournalKinesisStreamsForLedger call.

" - } - } - }, - "ListJournalS3ExportsForLedgerRequest":{ - "type":"structure", - "required":["Name"], - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

", - "location":"uri", - "locationName":"name" - }, - "MaxResults":{ - "shape":"MaxResults", - "documentation":"

The maximum number of results to return in a single ListJournalS3ExportsForLedger request. (The actual number of results returned might be fewer.)

", - "location":"querystring", - "locationName":"max_results" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

A pagination token, indicating that you want to retrieve the next page of results. If you received a value for NextToken in the response from a previous ListJournalS3ExportsForLedger call, then you should use that value as input here.

", - "location":"querystring", - "locationName":"next_token" - } - } - }, - "ListJournalS3ExportsForLedgerResponse":{ - "type":"structure", - "members":{ - "JournalS3Exports":{ - "shape":"JournalS3ExportList", - "documentation":"

The journal export jobs that are currently associated with the specified ledger.

" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"
  • If NextToken is empty, then the last page of results has been processed and there are no more results to be retrieved.

  • If NextToken is not empty, then there are more results available. To retrieve the next page of results, use the value of NextToken in a subsequent ListJournalS3ExportsForLedger call.

" - } - } - }, - "ListJournalS3ExportsRequest":{ - "type":"structure", - "members":{ - "MaxResults":{ - "shape":"MaxResults", - "documentation":"

The maximum number of results to return in a single ListJournalS3Exports request. (The actual number of results returned might be fewer.)

", - "location":"querystring", - "locationName":"max_results" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

A pagination token, indicating that you want to retrieve the next page of results. If you received a value for NextToken in the response from a previous ListJournalS3Exports call, then you should use that value as input here.

", - "location":"querystring", - "locationName":"next_token" - } - } - }, - "ListJournalS3ExportsResponse":{ - "type":"structure", - "members":{ - "JournalS3Exports":{ - "shape":"JournalS3ExportList", - "documentation":"

The journal export jobs for all ledgers that are associated with the current Amazon Web Services account and Region.

" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"
  • If NextToken is empty, then the last page of results has been processed and there are no more results to be retrieved.

  • If NextToken is not empty, then there are more results available. To retrieve the next page of results, use the value of NextToken in a subsequent ListJournalS3Exports call.

" - } - } - }, - "ListLedgersRequest":{ - "type":"structure", - "members":{ - "MaxResults":{ - "shape":"MaxResults", - "documentation":"

The maximum number of results to return in a single ListLedgers request. (The actual number of results returned might be fewer.)

", - "location":"querystring", - "locationName":"max_results" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

A pagination token, indicating that you want to retrieve the next page of results. If you received a value for NextToken in the response from a previous ListLedgers call, then you should use that value as input here.

", - "location":"querystring", - "locationName":"next_token" - } - } - }, - "ListLedgersResponse":{ - "type":"structure", - "members":{ - "Ledgers":{ - "shape":"LedgerList", - "documentation":"

The ledgers that are associated with the current Amazon Web Services account and Region.

" - }, - "NextToken":{ - "shape":"NextToken", - "documentation":"

A pagination token, indicating whether there are more results available:

  • If NextToken is empty, then the last page of results has been processed and there are no more results to be retrieved.

  • If NextToken is not empty, then there are more results available. To retrieve the next page of results, use the value of NextToken in a subsequent ListLedgers call.

" - } - } - }, - "ListTagsForResourceRequest":{ - "type":"structure", - "required":["ResourceArn"], - "members":{ - "ResourceArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) for which to list the tags. For example:

arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger

", - "location":"uri", - "locationName":"resourceArn" - } - } - }, - "ListTagsForResourceResponse":{ - "type":"structure", - "members":{ - "Tags":{ - "shape":"Tags", - "documentation":"

The tags that are currently associated with the specified Amazon QLDB resource.

" - } - } - }, - "MaxResults":{ - "type":"integer", - "max":100, - "min":1 - }, - "NextToken":{ - "type":"string", - "max":1024, - "min":4, - "pattern":"^[A-Za-z-0-9+/=]+$" - }, - "OutputFormat":{ - "type":"string", - "enum":[ - "ION_BINARY", - "ION_TEXT", - "JSON" - ] - }, - "ParameterName":{"type":"string"}, - "PermissionsMode":{ - "type":"string", - "enum":[ - "ALLOW_ALL", - "STANDARD" - ] - }, - "ResourceAlreadyExistsException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ErrorMessage"}, - "ResourceType":{ - "shape":"ResourceType", - "documentation":"

The type of resource.

" - }, - "ResourceName":{ - "shape":"ResourceName", - "documentation":"

The name of the resource.

" - } - }, - "documentation":"

The specified resource already exists.

", - "error":{"httpStatusCode":409}, - "exception":true - }, - "ResourceInUseException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ErrorMessage"}, - "ResourceType":{ - "shape":"ResourceType", - "documentation":"

The type of resource.

" - }, - "ResourceName":{ - "shape":"ResourceName", - "documentation":"

The name of the resource.

" - } - }, - "documentation":"

The specified resource can't be modified at this time.

", - "error":{"httpStatusCode":409}, - "exception":true - }, - "ResourceName":{"type":"string"}, - "ResourceNotFoundException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ErrorMessage"}, - "ResourceType":{ - "shape":"ResourceType", - "documentation":"

The type of resource.

" - }, - "ResourceName":{ - "shape":"ResourceName", - "documentation":"

The name of the resource.

" - } - }, - "documentation":"

The specified resource doesn't exist.

", - "error":{"httpStatusCode":404}, - "exception":true - }, - "ResourcePreconditionNotMetException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ErrorMessage"}, - "ResourceType":{ - "shape":"ResourceType", - "documentation":"

The type of resource.

" - }, - "ResourceName":{ - "shape":"ResourceName", - "documentation":"

The name of the resource.

" - } - }, - "documentation":"

The operation failed because a condition wasn't satisfied in advance.

", - "error":{"httpStatusCode":412}, - "exception":true - }, - "ResourceType":{"type":"string"}, - "S3Bucket":{ - "type":"string", - "max":255, - "min":3, - "pattern":"^[A-Za-z-0-9-_.]+$" - }, - "S3EncryptionConfiguration":{ - "type":"structure", - "required":["ObjectEncryptionType"], - "members":{ - "ObjectEncryptionType":{ - "shape":"S3ObjectEncryptionType", - "documentation":"

The Amazon S3 object encryption type.

To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.

" - }, - "KmsKeyArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.

You must provide a KmsKeyArn if you specify SSE_KMS as the ObjectEncryptionType.

KmsKeyArn is not required if you specify SSE_S3 as the ObjectEncryptionType.

" - } - }, - "documentation":"

The encryption settings that are used by a journal export job to write data in an Amazon Simple Storage Service (Amazon S3) bucket.

" - }, - "S3ExportConfiguration":{ - "type":"structure", - "required":[ - "Bucket", - "Prefix", - "EncryptionConfiguration" - ], - "members":{ - "Bucket":{ - "shape":"S3Bucket", - "documentation":"

The Amazon S3 bucket name in which a journal export job writes the journal contents.

The bucket name must comply with the Amazon S3 bucket naming conventions. For more information, see Bucket Restrictions and Limitations in the Amazon S3 Developer Guide.

" - }, - "Prefix":{ - "shape":"S3Prefix", - "documentation":"

The prefix for the Amazon S3 bucket in which a journal export job writes the journal contents.

The prefix must comply with Amazon S3 key naming rules and restrictions. For more information, see Object Key and Metadata in the Amazon S3 Developer Guide.

The following are examples of valid Prefix values:

  • JournalExports-ForMyLedger/Testing/

  • JournalExports

  • My:Tests/

" - }, - "EncryptionConfiguration":{ - "shape":"S3EncryptionConfiguration", - "documentation":"

The encryption settings that are used by a journal export job to write data in an Amazon S3 bucket.

" - } - }, - "documentation":"

The Amazon Simple Storage Service (Amazon S3) bucket location in which a journal export job writes the journal contents.

" - }, - "S3ObjectEncryptionType":{ - "type":"string", - "enum":[ - "SSE_KMS", - "SSE_S3", - "NO_ENCRYPTION" - ] - }, - "S3Prefix":{ - "type":"string", - "max":128, - "min":0 - }, - "StreamJournalToKinesisRequest":{ - "type":"structure", - "required":[ - "LedgerName", - "RoleArn", - "InclusiveStartTime", - "KinesisConfiguration", - "StreamName" - ], - "members":{ - "LedgerName":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

", - "location":"uri", - "locationName":"name" - }, - "RoleArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal stream to write data records to a Kinesis Data Streams resource.

To pass a role to QLDB when requesting a journal stream, you must have permissions to perform the iam:PassRole action on the IAM role resource. This is required for all journal stream requests.

" - }, - "Tags":{ - "shape":"Tags", - "documentation":"

The key-value pairs to add as tags to the stream that you want to create. Tag keys are case sensitive. Tag values are case sensitive and can be null.

" - }, - "InclusiveStartTime":{ - "shape":"Timestamp", - "documentation":"

The inclusive start date and time from which to start streaming journal data. This parameter must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z.

The InclusiveStartTime cannot be in the future and must be before ExclusiveEndTime.

If you provide an InclusiveStartTime that is before the ledger's CreationDateTime, QLDB effectively defaults it to the ledger's CreationDateTime.

" - }, - "ExclusiveEndTime":{ - "shape":"Timestamp", - "documentation":"

The exclusive date and time that specifies when the stream ends. If you don't define this parameter, the stream runs indefinitely until you cancel it.

The ExclusiveEndTime must be in ISO 8601 date and time format and in Universal Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z.

" - }, - "KinesisConfiguration":{ - "shape":"KinesisConfiguration", - "documentation":"

The configuration settings of the Kinesis Data Streams destination for your stream request.

" - }, - "StreamName":{ - "shape":"StreamName", - "documentation":"

The name that you want to assign to the QLDB journal stream. User-defined names can help identify and indicate the purpose of a stream.

Your stream name must be unique among other active streams for a given ledger. Stream names have the same naming constraints as ledger names, as defined in Quotas in Amazon QLDB in the Amazon QLDB Developer Guide.

" - } - } - }, - "StreamJournalToKinesisResponse":{ - "type":"structure", - "members":{ - "StreamId":{ - "shape":"UniqueId", - "documentation":"

The UUID (represented in Base62-encoded text) that QLDB assigns to each QLDB journal stream.

" - } - } - }, - "StreamName":{ - "type":"string", - "max":32, - "min":1, - "pattern":"(?!^.*--)(?!^[0-9]+$)(?!^-)(?!.*-$)^[A-Za-z0-9-]+$" - }, - "StreamStatus":{ - "type":"string", - "enum":[ - "ACTIVE", - "COMPLETED", - "CANCELED", - "FAILED", - "IMPAIRED" - ] - }, - "TagKey":{ - "type":"string", - "max":128, - "min":1 - }, - "TagKeyList":{ - "type":"list", - "member":{"shape":"TagKey"}, - "max":200, - "min":0 - }, - "TagResourceRequest":{ - "type":"structure", - "required":[ - "ResourceArn", - "Tags" - ], - "members":{ - "ResourceArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) to which you want to add the tags. For example:

arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger

", - "location":"uri", - "locationName":"resourceArn" - }, - "Tags":{ - "shape":"Tags", - "documentation":"

The key-value pairs to add as tags to the specified QLDB resource. Tag keys are case sensitive. If you specify a key that already exists for the resource, your request fails and returns an error. Tag values are case sensitive and can be null.

" - } - } - }, - "TagResourceResponse":{ - "type":"structure", - "members":{} - }, - "TagValue":{ - "type":"string", - "max":256, - "min":0 - }, - "Tags":{ - "type":"map", - "key":{"shape":"TagKey"}, - "value":{"shape":"TagValue"}, - "max":200, - "min":0 - }, - "Timestamp":{"type":"timestamp"}, - "UniqueId":{ - "type":"string", - "max":22, - "min":22, - "pattern":"^[A-Za-z-0-9]+$" - }, - "UntagResourceRequest":{ - "type":"structure", - "required":[ - "ResourceArn", - "TagKeys" - ], - "members":{ - "ResourceArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) from which to remove the tags. For example:

arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger

", - "location":"uri", - "locationName":"resourceArn" - }, - "TagKeys":{ - "shape":"TagKeyList", - "documentation":"

The list of tag keys to remove.

", - "location":"querystring", - "locationName":"tagKeys" - } - } - }, - "UntagResourceResponse":{ - "type":"structure", - "members":{} - }, - "UpdateLedgerPermissionsModeRequest":{ - "type":"structure", - "required":[ - "Name", - "PermissionsMode" - ], - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

", - "location":"uri", - "locationName":"name" - }, - "PermissionsMode":{ - "shape":"PermissionsMode", - "documentation":"

The permissions mode to assign to the ledger. This parameter can have one of the following values:

  • ALLOW_ALL: A legacy permissions mode that enables access control with API-level granularity for ledgers.

    This mode allows users who have the SendCommand API permission for this ledger to run all PartiQL commands (hence, ALLOW_ALL) on any tables in the specified ledger. This mode disregards any table-level or command-level IAM permissions policies that you create for the ledger.

  • STANDARD: (Recommended) A permissions mode that enables access control with finer granularity for ledgers, tables, and PartiQL commands.

    By default, this mode denies all user requests to run any PartiQL commands on any tables in this ledger. To allow PartiQL commands to run, you must create IAM permissions policies for specific table resources and PartiQL actions, in addition to the SendCommand API permission for the ledger. For information, see Getting started with the standard permissions mode in the Amazon QLDB Developer Guide.

We strongly recommend using the STANDARD permissions mode to maximize the security of your ledger data.

" - } - } - }, - "UpdateLedgerPermissionsModeResponse":{ - "type":"structure", - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

" - }, - "Arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) for the ledger.

" - }, - "PermissionsMode":{ - "shape":"PermissionsMode", - "documentation":"

The current permissions mode of the ledger.

" - } - } - }, - "UpdateLedgerRequest":{ - "type":"structure", - "required":["Name"], - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

", - "location":"uri", - "locationName":"name" - }, - "DeletionProtection":{ - "shape":"DeletionProtection", - "documentation":"

Specifies whether the ledger is protected from being deleted by any user. If not defined during ledger creation, this feature is enabled (true) by default.

If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it by calling the UpdateLedger operation to set this parameter to false.

" - }, - "KmsKey":{ - "shape":"KmsKey", - "documentation":"

The key in Key Management Service (KMS) to use for encryption of data at rest in the ledger. For more information, see Encryption at rest in the Amazon QLDB Developer Guide.

Use one of the following options to specify this parameter:

  • AWS_OWNED_KMS_KEY: Use an KMS key that is owned and managed by Amazon Web Services on your behalf.

  • Undefined: Make no changes to the KMS key of the ledger.

  • A valid symmetric customer managed KMS key: Use the specified symmetric encryption KMS key in your account that you create, own, and manage.

    Amazon QLDB does not support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer Guide.

To specify a customer managed KMS key, you can use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. When using an alias name, prefix it with \"alias/\". To specify a key in a different Amazon Web Services account, you must use the key ARN or alias ARN.

For example:

  • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

  • Alias name: alias/ExampleAlias

  • Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias

For more information, see Key identifiers (KeyId) in the Key Management Service Developer Guide.

" - } - } - }, - "UpdateLedgerResponse":{ - "type":"structure", - "members":{ - "Name":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger.

" - }, - "Arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) for the ledger.

" - }, - "State":{ - "shape":"LedgerState", - "documentation":"

The current status of the ledger.

" - }, - "CreationDateTime":{ - "shape":"Timestamp", - "documentation":"

The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

" - }, - "DeletionProtection":{ - "shape":"DeletionProtection", - "documentation":"

Specifies whether the ledger is protected from being deleted by any user. If not defined during ledger creation, this feature is enabled (true) by default.

If deletion protection is enabled, you must first disable it before you can delete the ledger. You can disable it by calling the UpdateLedger operation to set this parameter to false.

" - }, - "EncryptionDescription":{ - "shape":"LedgerEncryptionDescription", - "documentation":"

Information about the encryption of data at rest in the ledger. This includes the current status, the KMS key, and when the key became inaccessible (in the case of an error).

" - } - } - }, - "ValueHolder":{ - "type":"structure", - "members":{ - "IonText":{ - "shape":"IonText", - "documentation":"

An Amazon Ion plaintext value contained in a ValueHolder structure.

" - } - }, - "documentation":"

A structure that can contain a value in multiple encoding formats.

", - "sensitive":true - } - }, - "documentation":"

The resource management API for Amazon QLDB

" -} diff --git a/tools/code-generation/api-descriptions/qldb-session-2019-07-11.normal.json b/tools/code-generation/api-descriptions/qldb-session-2019-07-11.normal.json deleted file mode 100644 index aba14d114df..00000000000 --- a/tools/code-generation/api-descriptions/qldb-session-2019-07-11.normal.json +++ /dev/null @@ -1,456 +0,0 @@ -{ - "version":"2.0", - "metadata":{ - "apiVersion":"2019-07-11", - "endpointPrefix":"session.qldb", - "jsonVersion":"1.0", - "protocol":"json", - "protocols":["json"], - "serviceAbbreviation":"QLDB Session", - "serviceFullName":"Amazon QLDB Session", - "serviceId":"QLDB Session", - "signatureVersion":"v4", - "signingName":"qldb", - "targetPrefix":"QLDBSession", - "uid":"qldb-session-2019-07-11", - "auth":["aws.auth#sigv4"] - }, - "operations":{ - "SendCommand":{ - "name":"SendCommand", - "http":{ - "method":"POST", - "requestUri":"/" - }, - "input":{"shape":"SendCommandRequest"}, - "output":{"shape":"SendCommandResult"}, - "errors":[ - {"shape":"BadRequestException"}, - {"shape":"InvalidSessionException"}, - {"shape":"OccConflictException"}, - {"shape":"RateExceededException"}, - {"shape":"LimitExceededException"}, - {"shape":"CapacityExceededException"} - ], - "documentation":"

Sends a command to an Amazon QLDB ledger.

Instead of interacting directly with this API, we recommend using the QLDB driver or the QLDB shell to execute data transactions on a ledger.

  • If you are working with an AWS SDK, use the QLDB driver. The driver provides a high-level abstraction layer above this QLDB Session data plane and manages SendCommand API calls for you. For information and a list of supported programming languages, see Getting started with the driver in the Amazon QLDB Developer Guide.

  • If you are working with the AWS Command Line Interface (AWS CLI), use the QLDB shell. The shell is a command line interface that uses the QLDB driver to interact with a ledger. For information, see Accessing Amazon QLDB using the QLDB shell.

" - } - }, - "shapes":{ - "AbortTransactionRequest":{ - "type":"structure", - "members":{}, - "documentation":"

Contains the details of the transaction to abort.

" - }, - "AbortTransactionResult":{ - "type":"structure", - "members":{ - "TimingInformation":{ - "shape":"TimingInformation", - "documentation":"

Contains server-side performance information for the command.

" - } - }, - "documentation":"

Contains the details of the aborted transaction.

" - }, - "BadRequestException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ErrorMessage"}, - "Code":{"shape":"ErrorCode"} - }, - "documentation":"

Returned if the request is malformed or contains an error such as an invalid parameter value or a missing required parameter.

", - "exception":true - }, - "CapacityExceededException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ErrorMessage"} - }, - "documentation":"

Returned when the request exceeds the processing capacity of the ledger.

", - "exception":true - }, - "CommitDigest":{"type":"blob"}, - "CommitTransactionRequest":{ - "type":"structure", - "required":[ - "TransactionId", - "CommitDigest" - ], - "members":{ - "TransactionId":{ - "shape":"TransactionId", - "documentation":"

Specifies the transaction ID of the transaction to commit.

" - }, - "CommitDigest":{ - "shape":"CommitDigest", - "documentation":"

Specifies the commit digest for the transaction to commit. For every active transaction, the commit digest must be passed. QLDB validates CommitDigest and rejects the commit with an error if the digest computed on the client does not match the digest computed by QLDB.

The purpose of the CommitDigest parameter is to ensure that QLDB commits a transaction if and only if the server has processed the exact set of statements sent by the client, in the same order that client sent them, and with no duplicates.

" - } - }, - "documentation":"

Contains the details of the transaction to commit.

" - }, - "CommitTransactionResult":{ - "type":"structure", - "members":{ - "TransactionId":{ - "shape":"TransactionId", - "documentation":"

The transaction ID of the committed transaction.

" - }, - "CommitDigest":{ - "shape":"CommitDigest", - "documentation":"

The commit digest of the committed transaction.

" - }, - "TimingInformation":{ - "shape":"TimingInformation", - "documentation":"

Contains server-side performance information for the command.

" - }, - "ConsumedIOs":{ - "shape":"IOUsage", - "documentation":"

Contains metrics about the number of I/O requests that were consumed.

" - } - }, - "documentation":"

Contains the details of the committed transaction.

" - }, - "EndSessionRequest":{ - "type":"structure", - "members":{}, - "documentation":"

Specifies a request to end the session.

" - }, - "EndSessionResult":{ - "type":"structure", - "members":{ - "TimingInformation":{ - "shape":"TimingInformation", - "documentation":"

Contains server-side performance information for the command.

" - } - }, - "documentation":"

Contains the details of the ended session.

" - }, - "ErrorCode":{"type":"string"}, - "ErrorMessage":{"type":"string"}, - "ExecuteStatementRequest":{ - "type":"structure", - "required":[ - "TransactionId", - "Statement" - ], - "members":{ - "TransactionId":{ - "shape":"TransactionId", - "documentation":"

Specifies the transaction ID of the request.

" - }, - "Statement":{ - "shape":"Statement", - "documentation":"

Specifies the statement of the request.

" - }, - "Parameters":{ - "shape":"StatementParameters", - "documentation":"

Specifies the parameters for the parameterized statement in the request.

" - } - }, - "documentation":"

Specifies a request to execute a statement.

" - }, - "ExecuteStatementResult":{ - "type":"structure", - "members":{ - "FirstPage":{ - "shape":"Page", - "documentation":"

Contains the details of the first fetched page.

" - }, - "TimingInformation":{ - "shape":"TimingInformation", - "documentation":"

Contains server-side performance information for the command.

" - }, - "ConsumedIOs":{ - "shape":"IOUsage", - "documentation":"

Contains metrics about the number of I/O requests that were consumed.

" - } - }, - "documentation":"

Contains the details of the executed statement.

" - }, - "FetchPageRequest":{ - "type":"structure", - "required":[ - "TransactionId", - "NextPageToken" - ], - "members":{ - "TransactionId":{ - "shape":"TransactionId", - "documentation":"

Specifies the transaction ID of the page to be fetched.

" - }, - "NextPageToken":{ - "shape":"PageToken", - "documentation":"

Specifies the next page token of the page to be fetched.

" - } - }, - "documentation":"

Specifies the details of the page to be fetched.

" - }, - "FetchPageResult":{ - "type":"structure", - "members":{ - "Page":{ - "shape":"Page", - "documentation":"

Contains details of the fetched page.

" - }, - "TimingInformation":{ - "shape":"TimingInformation", - "documentation":"

Contains server-side performance information for the command.

" - }, - "ConsumedIOs":{ - "shape":"IOUsage", - "documentation":"

Contains metrics about the number of I/O requests that were consumed.

" - } - }, - "documentation":"

Contains the page that was fetched.

" - }, - "IOUsage":{ - "type":"structure", - "members":{ - "ReadIOs":{ - "shape":"ReadIOs", - "documentation":"

The number of read I/O requests that the command made.

" - }, - "WriteIOs":{ - "shape":"WriteIOs", - "documentation":"

The number of write I/O requests that the command made.

" - } - }, - "documentation":"

Contains I/O usage metrics for a command that was invoked.

" - }, - "InvalidSessionException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ErrorMessage"}, - "Code":{"shape":"ErrorCode"} - }, - "documentation":"

Returned if the session doesn't exist anymore because it timed out or expired.

", - "exception":true - }, - "IonBinary":{ - "type":"blob", - "max":131072, - "min":1 - }, - "IonText":{ - "type":"string", - "max":1048576, - "min":1 - }, - "LedgerName":{ - "type":"string", - "max":32, - "min":1, - "pattern":"(?!^.*--)(?!^[0-9]+$)(?!^-)(?!.*-$)^[A-Za-z0-9-]+$" - }, - "LimitExceededException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ErrorMessage"} - }, - "documentation":"

Returned if a resource limit such as number of active sessions is exceeded.

", - "exception":true - }, - "OccConflictException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ErrorMessage"} - }, - "documentation":"

Returned when a transaction cannot be written to the journal due to a failure in the verification phase of optimistic concurrency control (OCC).

", - "exception":true - }, - "Page":{ - "type":"structure", - "members":{ - "Values":{ - "shape":"ValueHolders", - "documentation":"

A structure that contains values in multiple encoding formats.

" - }, - "NextPageToken":{ - "shape":"PageToken", - "documentation":"

The token of the next page.

" - } - }, - "documentation":"

Contains details of the fetched page.

" - }, - "PageToken":{ - "type":"string", - "max":1024, - "min":4, - "pattern":"^[A-Za-z-0-9+/=]+$" - }, - "ProcessingTimeMilliseconds":{"type":"long"}, - "RateExceededException":{ - "type":"structure", - "members":{ - "Message":{"shape":"ErrorMessage"} - }, - "documentation":"

Returned when the rate of requests exceeds the allowed throughput.

", - "exception":true - }, - "ReadIOs":{"type":"long"}, - "SendCommandRequest":{ - "type":"structure", - "members":{ - "SessionToken":{ - "shape":"SessionToken", - "documentation":"

Specifies the session token for the current command. A session token is constant throughout the life of the session.

To obtain a session token, run the StartSession command. This SessionToken is required for every subsequent command that is issued during the current session.

" - }, - "StartSession":{ - "shape":"StartSessionRequest", - "documentation":"

Command to start a new session. A session token is obtained as part of the response.

" - }, - "StartTransaction":{ - "shape":"StartTransactionRequest", - "documentation":"

Command to start a new transaction.

" - }, - "EndSession":{ - "shape":"EndSessionRequest", - "documentation":"

Command to end the current session.

" - }, - "CommitTransaction":{ - "shape":"CommitTransactionRequest", - "documentation":"

Command to commit the specified transaction.

" - }, - "AbortTransaction":{ - "shape":"AbortTransactionRequest", - "documentation":"

Command to abort the current transaction.

" - }, - "ExecuteStatement":{ - "shape":"ExecuteStatementRequest", - "documentation":"

Command to execute a statement in the specified transaction.

" - }, - "FetchPage":{ - "shape":"FetchPageRequest", - "documentation":"

Command to fetch a page.

" - } - } - }, - "SendCommandResult":{ - "type":"structure", - "members":{ - "StartSession":{ - "shape":"StartSessionResult", - "documentation":"

Contains the details of the started session that includes a session token. This SessionToken is required for every subsequent command that is issued during the current session.

" - }, - "StartTransaction":{ - "shape":"StartTransactionResult", - "documentation":"

Contains the details of the started transaction.

" - }, - "EndSession":{ - "shape":"EndSessionResult", - "documentation":"

Contains the details of the ended session.

" - }, - "CommitTransaction":{ - "shape":"CommitTransactionResult", - "documentation":"

Contains the details of the committed transaction.

" - }, - "AbortTransaction":{ - "shape":"AbortTransactionResult", - "documentation":"

Contains the details of the aborted transaction.

" - }, - "ExecuteStatement":{ - "shape":"ExecuteStatementResult", - "documentation":"

Contains the details of the executed statement.

" - }, - "FetchPage":{ - "shape":"FetchPageResult", - "documentation":"

Contains the details of the fetched page.

" - } - } - }, - "SessionToken":{ - "type":"string", - "max":1024, - "min":4, - "pattern":"^[A-Za-z-0-9+/=]+$" - }, - "StartSessionRequest":{ - "type":"structure", - "required":["LedgerName"], - "members":{ - "LedgerName":{ - "shape":"LedgerName", - "documentation":"

The name of the ledger to start a new session against.

" - } - }, - "documentation":"

Specifies a request to start a new session.

" - }, - "StartSessionResult":{ - "type":"structure", - "members":{ - "SessionToken":{ - "shape":"SessionToken", - "documentation":"

Session token of the started session. This SessionToken is required for every subsequent command that is issued during the current session.

" - }, - "TimingInformation":{ - "shape":"TimingInformation", - "documentation":"

Contains server-side performance information for the command.

" - } - }, - "documentation":"

Contains the details of the started session.

" - }, - "StartTransactionRequest":{ - "type":"structure", - "members":{}, - "documentation":"

Specifies a request to start a transaction.

" - }, - "StartTransactionResult":{ - "type":"structure", - "members":{ - "TransactionId":{ - "shape":"TransactionId", - "documentation":"

The transaction ID of the started transaction.

" - }, - "TimingInformation":{ - "shape":"TimingInformation", - "documentation":"

Contains server-side performance information for the command.

" - } - }, - "documentation":"

Contains the details of the started transaction.

" - }, - "Statement":{ - "type":"string", - "max":100000, - "min":1 - }, - "StatementParameters":{ - "type":"list", - "member":{"shape":"ValueHolder"} - }, - "TimingInformation":{ - "type":"structure", - "members":{ - "ProcessingTimeMilliseconds":{ - "shape":"ProcessingTimeMilliseconds", - "documentation":"

The amount of time that QLDB spent on processing the command, measured in milliseconds.

" - } - }, - "documentation":"

Contains server-side performance information for a command. Amazon QLDB captures timing information between the times when it receives the request and when it sends the corresponding response.

" - }, - "TransactionId":{ - "type":"string", - "max":22, - "min":22, - "pattern":"^[A-Za-z-0-9]+$" - }, - "ValueHolder":{ - "type":"structure", - "members":{ - "IonBinary":{ - "shape":"IonBinary", - "documentation":"

An Amazon Ion binary value contained in a ValueHolder structure.

" - }, - "IonText":{ - "shape":"IonText", - "documentation":"

An Amazon Ion plaintext value contained in a ValueHolder structure.

" - } - }, - "documentation":"

A structure that can contain a value in multiple encoding formats.

" - }, - "ValueHolders":{ - "type":"list", - "member":{"shape":"ValueHolder"} - }, - "WriteIOs":{"type":"long"} - }, - "documentation":"

The transactional data APIs for Amazon QLDB

Instead of interacting directly with this API, we recommend using the QLDB driver or the QLDB shell to execute data transactions on a ledger.

  • If you are working with an AWS SDK, use the QLDB driver. The driver provides a high-level abstraction layer above this QLDB Session data plane and manages SendCommand API calls for you. For information and a list of supported programming languages, see Getting started with the driver in the Amazon QLDB Developer Guide.

  • If you are working with the AWS Command Line Interface (AWS CLI), use the QLDB shell. The shell is a command line interface that uses the QLDB driver to interact with a ledger. For information, see Accessing Amazon QLDB using the QLDB shell.

" -} diff --git a/tools/code-generation/api-descriptions/robomaker-2018-06-29.normal.json b/tools/code-generation/api-descriptions/robomaker-2018-06-29.normal.json deleted file mode 100644 index a9612dc85e1..00000000000 --- a/tools/code-generation/api-descriptions/robomaker-2018-06-29.normal.json +++ /dev/null @@ -1,5480 +0,0 @@ -{ - "version":"2.0", - "metadata":{ - "apiVersion":"2018-06-29", - "endpointPrefix":"robomaker", - "jsonVersion":"1.1", - "protocol":"rest-json", - "protocols":["rest-json"], - "serviceAbbreviation":"RoboMaker", - "serviceFullName":"AWS RoboMaker", - "serviceId":"RoboMaker", - "signatureVersion":"v4", - "signingName":"robomaker", - "uid":"robomaker-2018-06-29", - "auth":["aws.auth#sigv4"] - }, - "operations":{ - "BatchDeleteWorlds":{ - "name":"BatchDeleteWorlds", - "http":{ - "method":"POST", - "requestUri":"/batchDeleteWorlds" - }, - "input":{"shape":"BatchDeleteWorldsRequest"}, - "output":{"shape":"BatchDeleteWorldsResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Deletes one or more worlds in a batch operation.

" - }, - "BatchDescribeSimulationJob":{ - "name":"BatchDescribeSimulationJob", - "http":{ - "method":"POST", - "requestUri":"/batchDescribeSimulationJob" - }, - "input":{"shape":"BatchDescribeSimulationJobRequest"}, - "output":{"shape":"BatchDescribeSimulationJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Describes one or more simulation jobs.

" - }, - "CancelDeploymentJob":{ - "name":"CancelDeploymentJob", - "http":{ - "method":"POST", - "requestUri":"/cancelDeploymentJob" - }, - "input":{"shape":"CancelDeploymentJobRequest"}, - "output":{"shape":"CancelDeploymentJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

Cancels the specified deployment job.

", - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "CancelSimulationJob":{ - "name":"CancelSimulationJob", - "http":{ - "method":"POST", - "requestUri":"/cancelSimulationJob" - }, - "input":{"shape":"CancelSimulationJobRequest"}, - "output":{"shape":"CancelSimulationJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Cancels the specified simulation job.

" - }, - "CancelSimulationJobBatch":{ - "name":"CancelSimulationJobBatch", - "http":{ - "method":"POST", - "requestUri":"/cancelSimulationJobBatch" - }, - "input":{"shape":"CancelSimulationJobBatchRequest"}, - "output":{"shape":"CancelSimulationJobBatchResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Cancels a simulation job batch. When you cancel a simulation job batch, you are also cancelling all of the active simulation jobs created as part of the batch.

" - }, - "CancelWorldExportJob":{ - "name":"CancelWorldExportJob", - "http":{ - "method":"POST", - "requestUri":"/cancelWorldExportJob" - }, - "input":{"shape":"CancelWorldExportJobRequest"}, - "output":{"shape":"CancelWorldExportJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Cancels the specified export job.

" - }, - "CancelWorldGenerationJob":{ - "name":"CancelWorldGenerationJob", - "http":{ - "method":"POST", - "requestUri":"/cancelWorldGenerationJob" - }, - "input":{"shape":"CancelWorldGenerationJobRequest"}, - "output":{"shape":"CancelWorldGenerationJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Cancels the specified world generator job.

" - }, - "CreateDeploymentJob":{ - "name":"CreateDeploymentJob", - "http":{ - "method":"POST", - "requestUri":"/createDeploymentJob" - }, - "input":{"shape":"CreateDeploymentJobRequest"}, - "output":{"shape":"CreateDeploymentJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"}, - {"shape":"LimitExceededException"}, - {"shape":"ConcurrentDeploymentException"}, - {"shape":"IdempotentParameterMismatchException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

This API is no longer supported and will throw an error if used. For more information, see the January 31, 2022 update in the Support policy page.

Deploys a specific version of a robot application to robots in a fleet.

The robot application must have a numbered applicationVersion for consistency reasons. To create a new version, use CreateRobotApplicationVersion or see Creating a Robot Application Version.

After 90 days, deployment jobs expire and will be deleted. They will no longer be accessible.

", - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "CreateFleet":{ - "name":"CreateFleet", - "http":{ - "method":"POST", - "requestUri":"/createFleet" - }, - "input":{"shape":"CreateFleetRequest"}, - "output":{"shape":"CreateFleetResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"}, - {"shape":"LimitExceededException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

This API is no longer supported and will throw an error if used. For more information, see the January 31, 2022 update in the Support policy page.

Creates a fleet, a logical group of robots running the same robot application.

", - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "CreateRobot":{ - "name":"CreateRobot", - "http":{ - "method":"POST", - "requestUri":"/createRobot" - }, - "input":{"shape":"CreateRobotRequest"}, - "output":{"shape":"CreateRobotResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"}, - {"shape":"LimitExceededException"}, - {"shape":"ResourceAlreadyExistsException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

This API is no longer supported and will throw an error if used. For more information, see the January 31, 2022 update in the Support policy page.

Creates a robot.

", - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "CreateRobotApplication":{ - "name":"CreateRobotApplication", - "http":{ - "method":"POST", - "requestUri":"/createRobotApplication" - }, - "input":{"shape":"CreateRobotApplicationRequest"}, - "output":{"shape":"CreateRobotApplicationResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceAlreadyExistsException"}, - {"shape":"LimitExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"IdempotentParameterMismatchException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Creates a robot application.

" - }, - "CreateRobotApplicationVersion":{ - "name":"CreateRobotApplicationVersion", - "http":{ - "method":"POST", - "requestUri":"/createRobotApplicationVersion" - }, - "input":{"shape":"CreateRobotApplicationVersionRequest"}, - "output":{"shape":"CreateRobotApplicationVersionResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"IdempotentParameterMismatchException"}, - {"shape":"LimitExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Creates a version of a robot application.

" - }, - "CreateSimulationApplication":{ - "name":"CreateSimulationApplication", - "http":{ - "method":"POST", - "requestUri":"/createSimulationApplication" - }, - "input":{"shape":"CreateSimulationApplicationRequest"}, - "output":{"shape":"CreateSimulationApplicationResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceAlreadyExistsException"}, - {"shape":"LimitExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"}, - {"shape":"IdempotentParameterMismatchException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Creates a simulation application.

" - }, - "CreateSimulationApplicationVersion":{ - "name":"CreateSimulationApplicationVersion", - "http":{ - "method":"POST", - "requestUri":"/createSimulationApplicationVersion" - }, - "input":{"shape":"CreateSimulationApplicationVersionRequest"}, - "output":{"shape":"CreateSimulationApplicationVersionResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"IdempotentParameterMismatchException"}, - {"shape":"LimitExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Creates a simulation application with a specific revision id.

" - }, - "CreateSimulationJob":{ - "name":"CreateSimulationJob", - "http":{ - "method":"POST", - "requestUri":"/createSimulationJob" - }, - "input":{"shape":"CreateSimulationJobRequest"}, - "output":{"shape":"CreateSimulationJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"}, - {"shape":"LimitExceededException"}, - {"shape":"IdempotentParameterMismatchException"}, - {"shape":"ServiceUnavailableException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Creates a simulation job.

After 90 days, simulation jobs expire and will be deleted. They will no longer be accessible.

" - }, - "CreateWorldExportJob":{ - "name":"CreateWorldExportJob", - "http":{ - "method":"POST", - "requestUri":"/createWorldExportJob" - }, - "input":{"shape":"CreateWorldExportJobRequest"}, - "output":{"shape":"CreateWorldExportJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"}, - {"shape":"IdempotentParameterMismatchException"}, - {"shape":"ServiceUnavailableException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Creates a world export job.

" - }, - "CreateWorldGenerationJob":{ - "name":"CreateWorldGenerationJob", - "http":{ - "method":"POST", - "requestUri":"/createWorldGenerationJob" - }, - "input":{"shape":"CreateWorldGenerationJobRequest"}, - "output":{"shape":"CreateWorldGenerationJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"}, - {"shape":"LimitExceededException"}, - {"shape":"IdempotentParameterMismatchException"}, - {"shape":"ServiceUnavailableException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Creates worlds using the specified template.

" - }, - "CreateWorldTemplate":{ - "name":"CreateWorldTemplate", - "http":{ - "method":"POST", - "requestUri":"/createWorldTemplate" - }, - "input":{"shape":"CreateWorldTemplateRequest"}, - "output":{"shape":"CreateWorldTemplateResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceAlreadyExistsException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"LimitExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Creates a world template.

" - }, - "DeleteFleet":{ - "name":"DeleteFleet", - "http":{ - "method":"POST", - "requestUri":"/deleteFleet" - }, - "input":{"shape":"DeleteFleetRequest"}, - "output":{"shape":"DeleteFleetResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

Deletes a fleet.

", - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DeleteRobot":{ - "name":"DeleteRobot", - "http":{ - "method":"POST", - "requestUri":"/deleteRobot" - }, - "input":{"shape":"DeleteRobotRequest"}, - "output":{"shape":"DeleteRobotResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

Deletes a robot.

", - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DeleteRobotApplication":{ - "name":"DeleteRobotApplication", - "http":{ - "method":"POST", - "requestUri":"/deleteRobotApplication" - }, - "input":{"shape":"DeleteRobotApplicationRequest"}, - "output":{"shape":"DeleteRobotApplicationResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Deletes a robot application.

" - }, - "DeleteSimulationApplication":{ - "name":"DeleteSimulationApplication", - "http":{ - "method":"POST", - "requestUri":"/deleteSimulationApplication" - }, - "input":{"shape":"DeleteSimulationApplicationRequest"}, - "output":{"shape":"DeleteSimulationApplicationResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Deletes a simulation application.

" - }, - "DeleteWorldTemplate":{ - "name":"DeleteWorldTemplate", - "http":{ - "method":"POST", - "requestUri":"/deleteWorldTemplate" - }, - "input":{"shape":"DeleteWorldTemplateRequest"}, - "output":{"shape":"DeleteWorldTemplateResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Deletes a world template.

" - }, - "DeregisterRobot":{ - "name":"DeregisterRobot", - "http":{ - "method":"POST", - "requestUri":"/deregisterRobot" - }, - "input":{"shape":"DeregisterRobotRequest"}, - "output":{"shape":"DeregisterRobotResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

Deregisters a robot.

", - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DescribeDeploymentJob":{ - "name":"DescribeDeploymentJob", - "http":{ - "method":"POST", - "requestUri":"/describeDeploymentJob" - }, - "input":{"shape":"DescribeDeploymentJobRequest"}, - "output":{"shape":"DescribeDeploymentJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

Describes a deployment job.

", - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DescribeFleet":{ - "name":"DescribeFleet", - "http":{ - "method":"POST", - "requestUri":"/describeFleet" - }, - "input":{"shape":"DescribeFleetRequest"}, - "output":{"shape":"DescribeFleetResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

Describes a fleet.

", - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DescribeRobot":{ - "name":"DescribeRobot", - "http":{ - "method":"POST", - "requestUri":"/describeRobot" - }, - "input":{"shape":"DescribeRobotRequest"}, - "output":{"shape":"DescribeRobotResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

Describes a robot.

", - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DescribeRobotApplication":{ - "name":"DescribeRobotApplication", - "http":{ - "method":"POST", - "requestUri":"/describeRobotApplication" - }, - "input":{"shape":"DescribeRobotApplicationRequest"}, - "output":{"shape":"DescribeRobotApplicationResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Describes a robot application.

" - }, - "DescribeSimulationApplication":{ - "name":"DescribeSimulationApplication", - "http":{ - "method":"POST", - "requestUri":"/describeSimulationApplication" - }, - "input":{"shape":"DescribeSimulationApplicationRequest"}, - "output":{"shape":"DescribeSimulationApplicationResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Describes a simulation application.

" - }, - "DescribeSimulationJob":{ - "name":"DescribeSimulationJob", - "http":{ - "method":"POST", - "requestUri":"/describeSimulationJob" - }, - "input":{"shape":"DescribeSimulationJobRequest"}, - "output":{"shape":"DescribeSimulationJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Describes a simulation job.

" - }, - "DescribeSimulationJobBatch":{ - "name":"DescribeSimulationJobBatch", - "http":{ - "method":"POST", - "requestUri":"/describeSimulationJobBatch" - }, - "input":{"shape":"DescribeSimulationJobBatchRequest"}, - "output":{"shape":"DescribeSimulationJobBatchResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Describes a simulation job batch.

" - }, - "DescribeWorld":{ - "name":"DescribeWorld", - "http":{ - "method":"POST", - "requestUri":"/describeWorld" - }, - "input":{"shape":"DescribeWorldRequest"}, - "output":{"shape":"DescribeWorldResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Describes a world.

" - }, - "DescribeWorldExportJob":{ - "name":"DescribeWorldExportJob", - "http":{ - "method":"POST", - "requestUri":"/describeWorldExportJob" - }, - "input":{"shape":"DescribeWorldExportJobRequest"}, - "output":{"shape":"DescribeWorldExportJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Describes a world export job.

" - }, - "DescribeWorldGenerationJob":{ - "name":"DescribeWorldGenerationJob", - "http":{ - "method":"POST", - "requestUri":"/describeWorldGenerationJob" - }, - "input":{"shape":"DescribeWorldGenerationJobRequest"}, - "output":{"shape":"DescribeWorldGenerationJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Describes a world generation job.

" - }, - "DescribeWorldTemplate":{ - "name":"DescribeWorldTemplate", - "http":{ - "method":"POST", - "requestUri":"/describeWorldTemplate" - }, - "input":{"shape":"DescribeWorldTemplateRequest"}, - "output":{"shape":"DescribeWorldTemplateResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Describes a world template.

" - }, - "GetWorldTemplateBody":{ - "name":"GetWorldTemplateBody", - "http":{ - "method":"POST", - "requestUri":"/getWorldTemplateBody" - }, - "input":{"shape":"GetWorldTemplateBodyRequest"}, - "output":{"shape":"GetWorldTemplateBodyResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Gets the world template body.

" - }, - "ListDeploymentJobs":{ - "name":"ListDeploymentJobs", - "http":{ - "method":"POST", - "requestUri":"/listDeploymentJobs" - }, - "input":{"shape":"ListDeploymentJobsRequest"}, - "output":{"shape":"ListDeploymentJobsResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

Returns a list of deployment jobs for a fleet. You can optionally provide filters to retrieve specific deployment jobs.

", - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "ListFleets":{ - "name":"ListFleets", - "http":{ - "method":"POST", - "requestUri":"/listFleets" - }, - "input":{"shape":"ListFleetsRequest"}, - "output":{"shape":"ListFleetsResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

Returns a list of fleets. You can optionally provide filters to retrieve specific fleets.

", - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "ListRobotApplications":{ - "name":"ListRobotApplications", - "http":{ - "method":"POST", - "requestUri":"/listRobotApplications" - }, - "input":{"shape":"ListRobotApplicationsRequest"}, - "output":{"shape":"ListRobotApplicationsResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Returns a list of robot application. You can optionally provide filters to retrieve specific robot applications.

" - }, - "ListRobots":{ - "name":"ListRobots", - "http":{ - "method":"POST", - "requestUri":"/listRobots" - }, - "input":{"shape":"ListRobotsRequest"}, - "output":{"shape":"ListRobotsResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

Returns a list of robots. You can optionally provide filters to retrieve specific robots.

", - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "ListSimulationApplications":{ - "name":"ListSimulationApplications", - "http":{ - "method":"POST", - "requestUri":"/listSimulationApplications" - }, - "input":{"shape":"ListSimulationApplicationsRequest"}, - "output":{"shape":"ListSimulationApplicationsResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Returns a list of simulation applications. You can optionally provide filters to retrieve specific simulation applications.

" - }, - "ListSimulationJobBatches":{ - "name":"ListSimulationJobBatches", - "http":{ - "method":"POST", - "requestUri":"/listSimulationJobBatches" - }, - "input":{"shape":"ListSimulationJobBatchesRequest"}, - "output":{"shape":"ListSimulationJobBatchesResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Returns a list simulation job batches. You can optionally provide filters to retrieve specific simulation batch jobs.

" - }, - "ListSimulationJobs":{ - "name":"ListSimulationJobs", - "http":{ - "method":"POST", - "requestUri":"/listSimulationJobs" - }, - "input":{"shape":"ListSimulationJobsRequest"}, - "output":{"shape":"ListSimulationJobsResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Returns a list of simulation jobs. You can optionally provide filters to retrieve specific simulation jobs.

" - }, - "ListTagsForResource":{ - "name":"ListTagsForResource", - "http":{ - "method":"GET", - "requestUri":"/tags/{resourceArn}" - }, - "input":{"shape":"ListTagsForResourceRequest"}, - "output":{"shape":"ListTagsForResourceResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Lists all tags on a AWS RoboMaker resource.

" - }, - "ListWorldExportJobs":{ - "name":"ListWorldExportJobs", - "http":{ - "method":"POST", - "requestUri":"/listWorldExportJobs" - }, - "input":{"shape":"ListWorldExportJobsRequest"}, - "output":{"shape":"ListWorldExportJobsResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Lists world export jobs.

" - }, - "ListWorldGenerationJobs":{ - "name":"ListWorldGenerationJobs", - "http":{ - "method":"POST", - "requestUri":"/listWorldGenerationJobs" - }, - "input":{"shape":"ListWorldGenerationJobsRequest"}, - "output":{"shape":"ListWorldGenerationJobsResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Lists world generator jobs.

" - }, - "ListWorldTemplates":{ - "name":"ListWorldTemplates", - "http":{ - "method":"POST", - "requestUri":"/listWorldTemplates" - }, - "input":{"shape":"ListWorldTemplatesRequest"}, - "output":{"shape":"ListWorldTemplatesResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Lists world templates.

" - }, - "ListWorlds":{ - "name":"ListWorlds", - "http":{ - "method":"POST", - "requestUri":"/listWorlds" - }, - "input":{"shape":"ListWorldsRequest"}, - "output":{"shape":"ListWorldsResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Lists worlds.

" - }, - "RegisterRobot":{ - "name":"RegisterRobot", - "http":{ - "method":"POST", - "requestUri":"/registerRobot" - }, - "input":{"shape":"RegisterRobotRequest"}, - "output":{"shape":"RegisterRobotResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"}, - {"shape":"LimitExceededException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Registers a robot with a fleet.

This API is no longer supported and will throw an error if used. For more information, see the January 31, 2022 update in the Support policy page.

", - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "RestartSimulationJob":{ - "name":"RestartSimulationJob", - "http":{ - "method":"POST", - "requestUri":"/restartSimulationJob" - }, - "input":{"shape":"RestartSimulationJobRequest"}, - "output":{"shape":"RestartSimulationJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"LimitExceededException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Restarts a running simulation job.

" - }, - "StartSimulationJobBatch":{ - "name":"StartSimulationJobBatch", - "http":{ - "method":"POST", - "requestUri":"/startSimulationJobBatch" - }, - "input":{"shape":"StartSimulationJobBatchRequest"}, - "output":{"shape":"StartSimulationJobBatchResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"LimitExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"IdempotentParameterMismatchException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Starts a new simulation job batch. The batch is defined using one or more SimulationJobRequest objects.

" - }, - "SyncDeploymentJob":{ - "name":"SyncDeploymentJob", - "http":{ - "method":"POST", - "requestUri":"/syncDeploymentJob" - }, - "input":{"shape":"SyncDeploymentJobRequest"}, - "output":{"shape":"SyncDeploymentJobResponse"}, - "errors":[ - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"InternalServerException"}, - {"shape":"ThrottlingException"}, - {"shape":"LimitExceededException"}, - {"shape":"ConcurrentDeploymentException"}, - {"shape":"IdempotentParameterMismatchException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

Syncrhonizes robots in a fleet to the latest deployment. This is helpful if robots were added after a deployment.

", - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "TagResource":{ - "name":"TagResource", - "http":{ - "method":"POST", - "requestUri":"/tags/{resourceArn}" - }, - "input":{"shape":"TagResourceRequest"}, - "output":{"shape":"TagResourceResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Adds or edits tags for a AWS RoboMaker resource.

Each tag consists of a tag key and a tag value. Tag keys and tag values are both required, but tag values can be empty strings.

For information about the rules that apply to tag keys and tag values, see User-Defined Tag Restrictions in the AWS Billing and Cost Management User Guide.

" - }, - "UntagResource":{ - "name":"UntagResource", - "http":{ - "method":"DELETE", - "requestUri":"/tags/{resourceArn}" - }, - "input":{"shape":"UntagResourceRequest"}, - "output":{"shape":"UntagResourceResponse"}, - "errors":[ - {"shape":"InternalServerException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterException"}, - {"shape":"ThrottlingException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Removes the specified tags from the specified AWS RoboMaker resource.

To remove a tag, specify the tag key. To change the tag value of an existing tag key, use TagResource .

" - }, - "UpdateRobotApplication":{ - "name":"UpdateRobotApplication", - "http":{ - "method":"POST", - "requestUri":"/updateRobotApplication" - }, - "input":{"shape":"UpdateRobotApplicationRequest"}, - "output":{"shape":"UpdateRobotApplicationResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"LimitExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Updates a robot application.

" - }, - "UpdateSimulationApplication":{ - "name":"UpdateSimulationApplication", - "http":{ - "method":"POST", - "requestUri":"/updateSimulationApplication" - }, - "input":{"shape":"UpdateSimulationApplicationRequest"}, - "output":{"shape":"UpdateSimulationApplicationResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"LimitExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Updates a simulation application.

" - }, - "UpdateWorldTemplate":{ - "name":"UpdateWorldTemplate", - "http":{ - "method":"POST", - "requestUri":"/updateWorldTemplate" - }, - "input":{"shape":"UpdateWorldTemplateRequest"}, - "output":{"shape":"UpdateWorldTemplateResponse"}, - "errors":[ - {"shape":"InvalidParameterException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"ThrottlingException"}, - {"shape":"InternalServerException"} - ], - "documentation":"

End of support notice: On September 10, 2025, Amazon Web Services will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. For more information on transitioning to Batch to help run containerized simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.

Updates a world template.

" - } - }, - "shapes":{ - "Architecture":{ - "type":"string", - "enum":[ - "X86_64", - "ARM64", - "ARMHF" - ] - }, - "Arn":{ - "type":"string", - "max":1224, - "min":1, - "pattern":"arn:.*" - }, - "Arns":{ - "type":"list", - "member":{"shape":"Arn"}, - "max":100, - "min":1 - }, - "BatchDeleteWorldsRequest":{ - "type":"structure", - "required":["worlds"], - "members":{ - "worlds":{ - "shape":"Arns", - "documentation":"

A list of Amazon Resource Names (arns) that correspond to worlds to delete.

" - } - } - }, - "BatchDeleteWorldsResponse":{ - "type":"structure", - "members":{ - "unprocessedWorlds":{ - "shape":"Arns", - "documentation":"

A list of unprocessed worlds associated with the call. These worlds were not deleted.

" - } - } - }, - "BatchDescribeSimulationJobRequest":{ - "type":"structure", - "required":["jobs"], - "members":{ - "jobs":{ - "shape":"Arns", - "documentation":"

A list of Amazon Resource Names (ARNs) of simulation jobs to describe.

" - } - } - }, - "BatchDescribeSimulationJobResponse":{ - "type":"structure", - "members":{ - "jobs":{ - "shape":"SimulationJobs", - "documentation":"

A list of simulation jobs.

" - }, - "unprocessedJobs":{ - "shape":"Arns", - "documentation":"

A list of unprocessed simulation job Amazon Resource Names (ARNs).

" - } - } - }, - "BatchPolicy":{ - "type":"structure", - "members":{ - "timeoutInSeconds":{ - "shape":"BatchTimeoutInSeconds", - "documentation":"

The amount of time, in seconds, to wait for the batch to complete.

If a batch times out, and there are pending requests that were failing due to an internal failure (like InternalServiceError), they will be moved to the failed list and the batch status will be Failed. If the pending requests were failing for any other reason, the failed pending requests will be moved to the failed list and the batch status will be TimedOut.

" - }, - "maxConcurrency":{ - "shape":"MaxConcurrency", - "documentation":"

The number of active simulation jobs create as part of the batch that can be in an active state at the same time.

Active states include: Pending,Preparing, Running, Restarting, RunningFailed and Terminating. All other states are terminal states.

" - } - }, - "documentation":"

Information about the batch policy.

" - }, - "BatchTimeoutInSeconds":{"type":"long"}, - "Boolean":{"type":"boolean"}, - "BoxedBoolean":{"type":"boolean"}, - "CancelDeploymentJobRequest":{ - "type":"structure", - "required":["job"], - "members":{ - "job":{ - "shape":"Arn", - "documentation":"

The deployment job ARN to cancel.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "CancelDeploymentJobResponse":{ - "type":"structure", - "members":{}, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "CancelSimulationJobBatchRequest":{ - "type":"structure", - "required":["batch"], - "members":{ - "batch":{ - "shape":"Arn", - "documentation":"

The id of the batch to cancel.

" - } - } - }, - "CancelSimulationJobBatchResponse":{ - "type":"structure", - "members":{} - }, - "CancelSimulationJobRequest":{ - "type":"structure", - "required":["job"], - "members":{ - "job":{ - "shape":"Arn", - "documentation":"

The simulation job ARN to cancel.

" - } - } - }, - "CancelSimulationJobResponse":{ - "type":"structure", - "members":{} - }, - "CancelWorldExportJobRequest":{ - "type":"structure", - "required":["job"], - "members":{ - "job":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world export job to cancel.

" - } - } - }, - "CancelWorldExportJobResponse":{ - "type":"structure", - "members":{} - }, - "CancelWorldGenerationJobRequest":{ - "type":"structure", - "required":["job"], - "members":{ - "job":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world generator job to cancel.

" - } - } - }, - "CancelWorldGenerationJobResponse":{ - "type":"structure", - "members":{} - }, - "ClientRequestToken":{ - "type":"string", - "max":64, - "min":1, - "pattern":"[a-zA-Z0-9_\\-=]*" - }, - "Command":{ - "type":"string", - "max":1024, - "min":1, - "pattern":"[a-zA-Z0-9_.\\-]*" - }, - "CommandList":{ - "type":"list", - "member":{"shape":"NonEmptyString"} - }, - "Compute":{ - "type":"structure", - "members":{ - "simulationUnitLimit":{ - "shape":"SimulationUnit", - "documentation":"

The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15.

" - }, - "computeType":{ - "shape":"ComputeType", - "documentation":"

Compute type information for the simulation job.

" - }, - "gpuUnitLimit":{ - "shape":"GPUUnit", - "documentation":"

Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.

" - } - }, - "documentation":"

Compute information for the simulation job.

" - }, - "ComputeResponse":{ - "type":"structure", - "members":{ - "simulationUnitLimit":{ - "shape":"SimulationUnit", - "documentation":"

The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15.

" - }, - "computeType":{ - "shape":"ComputeType", - "documentation":"

Compute type response information for the simulation job.

" - }, - "gpuUnitLimit":{ - "shape":"GPUUnit", - "documentation":"

Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.

" - } - }, - "documentation":"

Compute information for the simulation job

" - }, - "ComputeType":{ - "type":"string", - "enum":[ - "CPU", - "GPU_AND_CPU" - ] - }, - "ConcurrentDeploymentException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

The failure percentage threshold percentage was met.

", - "error":{"httpStatusCode":400}, - "exception":true - }, - "CreateDeploymentJobRequest":{ - "type":"structure", - "required":[ - "clientRequestToken", - "fleet", - "deploymentApplicationConfigs" - ], - "members":{ - "deploymentConfig":{ - "shape":"DeploymentConfig", - "documentation":"

The requested deployment configuration.

" - }, - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", - "idempotencyToken":true - }, - "fleet":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet to deploy.

" - }, - "deploymentApplicationConfigs":{ - "shape":"DeploymentApplicationConfigs", - "documentation":"

The deployment application configuration.

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

A map that contains tag keys and tag values that are attached to the deployment job.

" - } - }, - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "CreateDeploymentJobResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the deployment job.

" - }, - "fleet":{ - "shape":"Arn", - "documentation":"

The target fleet for the deployment job.

" - }, - "status":{ - "shape":"DeploymentStatus", - "documentation":"

The status of the deployment job.

" - }, - "deploymentApplicationConfigs":{ - "shape":"DeploymentApplicationConfigs", - "documentation":"

The deployment application configuration.

" - }, - "failureReason":{ - "shape":"GenericString", - "documentation":"

The failure reason of the deployment job if it failed.

" - }, - "failureCode":{ - "shape":"DeploymentJobErrorCode", - "documentation":"

The failure code of the simulation job if it failed:

BadPermissionError

AWS Greengrass requires a service-level role permission to access other services. The role must include the AWSGreengrassResourceAccessRolePolicy managed policy.

ExtractingBundleFailure

The robot application could not be extracted from the bundle.

FailureThresholdBreached

The percentage of robots that could not be updated exceeded the percentage set for the deployment.

GreengrassDeploymentFailed

The robot application could not be deployed to the robot.

GreengrassGroupVersionDoesNotExist

The AWS Greengrass group or version associated with a robot is missing.

InternalServerError

An internal error has occurred. Retry your request, but if the problem persists, contact us with details.

MissingRobotApplicationArchitecture

The robot application does not have a source that matches the architecture of the robot.

MissingRobotDeploymentResource

One or more of the resources specified for the robot application are missing. For example, does the robot application have the correct launch package and launch file?

PostLaunchFileFailure

The post-launch script failed.

PreLaunchFileFailure

The pre-launch script failed.

ResourceNotFound

One or more deployment resources are missing. For example, do robot application source bundles still exist?

RobotDeploymentNoResponse

There is no response from the robot. It might not be powered on or connected to the internet.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the fleet was created.

" - }, - "deploymentConfig":{ - "shape":"DeploymentConfig", - "documentation":"

The deployment configuration.

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

The list of all tags added to the deployment job.

" - } - }, - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "CreateFleetRequest":{ - "type":"structure", - "required":["name"], - "members":{ - "name":{ - "shape":"Name", - "documentation":"

The name of the fleet.

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

A map that contains tag keys and tag values that are attached to the fleet.

" - } - }, - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "CreateFleetResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the fleet.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the fleet was created.

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

The list of all tags added to the fleet.

" - } - }, - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "CreateRobotApplicationRequest":{ - "type":"structure", - "required":[ - "name", - "robotSoftwareSuite" - ], - "members":{ - "name":{ - "shape":"Name", - "documentation":"

The name of the robot application.

" - }, - "sources":{ - "shape":"SourceConfigs", - "documentation":"

The sources of the robot application.

" - }, - "robotSoftwareSuite":{ - "shape":"RobotSoftwareSuite", - "documentation":"

The robot software suite used by the robot application.

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

A map that contains tag keys and tag values that are attached to the robot application.

" - }, - "environment":{ - "shape":"Environment", - "documentation":"

The object that contains that URI of the Docker image that you use for your robot application.

" - } - } - }, - "CreateRobotApplicationResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot application.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the robot application.

" - }, - "version":{ - "shape":"Version", - "documentation":"

The version of the robot application.

" - }, - "sources":{ - "shape":"Sources", - "documentation":"

The sources of the robot application.

" - }, - "robotSoftwareSuite":{ - "shape":"RobotSoftwareSuite", - "documentation":"

The robot software suite used by the robot application.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the robot application was last updated.

" - }, - "revisionId":{ - "shape":"RevisionId", - "documentation":"

The revision id of the robot application.

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

The list of all tags added to the robot application.

" - }, - "environment":{ - "shape":"Environment", - "documentation":"

An object that contains the Docker image URI used to a create your robot application.

" - } - } - }, - "CreateRobotApplicationVersionRequest":{ - "type":"structure", - "required":["application"], - "members":{ - "application":{ - "shape":"Arn", - "documentation":"

The application information for the robot application.

" - }, - "currentRevisionId":{ - "shape":"RevisionId", - "documentation":"

The current revision id for the robot application. If you provide a value and it matches the latest revision ID, a new version will be created.

" - }, - "s3Etags":{ - "shape":"S3Etags", - "documentation":"

The Amazon S3 identifier for the zip file bundle that you use for your robot application.

" - }, - "imageDigest":{ - "shape":"ImageDigest", - "documentation":"

A SHA256 identifier for the Docker image that you use for your robot application.

" - } - } - }, - "CreateRobotApplicationVersionResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot application.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the robot application.

" - }, - "version":{ - "shape":"Version", - "documentation":"

The version of the robot application.

" - }, - "sources":{ - "shape":"Sources", - "documentation":"

The sources of the robot application.

" - }, - "robotSoftwareSuite":{ - "shape":"RobotSoftwareSuite", - "documentation":"

The robot software suite used by the robot application.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the robot application was last updated.

" - }, - "revisionId":{ - "shape":"RevisionId", - "documentation":"

The revision id of the robot application.

" - }, - "environment":{ - "shape":"Environment", - "documentation":"

The object that contains the Docker image URI used to create your robot application.

" - } - } - }, - "CreateRobotRequest":{ - "type":"structure", - "required":[ - "name", - "architecture", - "greengrassGroupId" - ], - "members":{ - "name":{ - "shape":"Name", - "documentation":"

The name for the robot.

" - }, - "architecture":{ - "shape":"Architecture", - "documentation":"

The target architecture of the robot.

" - }, - "greengrassGroupId":{ - "shape":"Id", - "documentation":"

The Greengrass group id.

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

A map that contains tag keys and tag values that are attached to the robot.

" - } - }, - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "CreateRobotResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the robot.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the robot was created.

" - }, - "greengrassGroupId":{ - "shape":"Id", - "documentation":"

The Amazon Resource Name (ARN) of the Greengrass group associated with the robot.

" - }, - "architecture":{ - "shape":"Architecture", - "documentation":"

The target architecture of the robot.

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

The list of all tags added to the robot.

" - } - }, - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "CreateSimulationApplicationRequest":{ - "type":"structure", - "required":[ - "name", - "simulationSoftwareSuite", - "robotSoftwareSuite" - ], - "members":{ - "name":{ - "shape":"Name", - "documentation":"

The name of the simulation application.

" - }, - "sources":{ - "shape":"SourceConfigs", - "documentation":"

The sources of the simulation application.

" - }, - "simulationSoftwareSuite":{ - "shape":"SimulationSoftwareSuite", - "documentation":"

The simulation software suite used by the simulation application.

" - }, - "robotSoftwareSuite":{ - "shape":"RobotSoftwareSuite", - "documentation":"

The robot software suite used by the simulation application.

" - }, - "renderingEngine":{ - "shape":"RenderingEngine", - "documentation":"

The rendering engine for the simulation application.

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

A map that contains tag keys and tag values that are attached to the simulation application.

" - }, - "environment":{ - "shape":"Environment", - "documentation":"

The object that contains the Docker image URI used to create your simulation application.

" - } - } - }, - "CreateSimulationApplicationResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the simulation application.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the simulation application.

" - }, - "version":{ - "shape":"Version", - "documentation":"

The version of the simulation application.

" - }, - "sources":{ - "shape":"Sources", - "documentation":"

The sources of the simulation application.

" - }, - "simulationSoftwareSuite":{ - "shape":"SimulationSoftwareSuite", - "documentation":"

The simulation software suite used by the simulation application.

" - }, - "robotSoftwareSuite":{ - "shape":"RobotSoftwareSuite", - "documentation":"

Information about the robot software suite.

" - }, - "renderingEngine":{ - "shape":"RenderingEngine", - "documentation":"

The rendering engine for the simulation application.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation application was last updated.

" - }, - "revisionId":{ - "shape":"RevisionId", - "documentation":"

The revision id of the simulation application.

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

The list of all tags added to the simulation application.

" - }, - "environment":{ - "shape":"Environment", - "documentation":"

The object that contains the Docker image URI that you used to create your simulation application.

" - } - } - }, - "CreateSimulationApplicationVersionRequest":{ - "type":"structure", - "required":["application"], - "members":{ - "application":{ - "shape":"Arn", - "documentation":"

The application information for the simulation application.

" - }, - "currentRevisionId":{ - "shape":"RevisionId", - "documentation":"

The current revision id for the simulation application. If you provide a value and it matches the latest revision ID, a new version will be created.

" - }, - "s3Etags":{ - "shape":"S3Etags", - "documentation":"

The Amazon S3 eTag identifier for the zip file bundle that you use to create the simulation application.

" - }, - "imageDigest":{ - "shape":"ImageDigest", - "documentation":"

The SHA256 digest used to identify the Docker image URI used to created the simulation application.

" - } - } - }, - "CreateSimulationApplicationVersionResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the simulation application.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the simulation application.

" - }, - "version":{ - "shape":"Version", - "documentation":"

The version of the simulation application.

" - }, - "sources":{ - "shape":"Sources", - "documentation":"

The sources of the simulation application.

" - }, - "simulationSoftwareSuite":{ - "shape":"SimulationSoftwareSuite", - "documentation":"

The simulation software suite used by the simulation application.

" - }, - "robotSoftwareSuite":{ - "shape":"RobotSoftwareSuite", - "documentation":"

Information about the robot software suite.

" - }, - "renderingEngine":{ - "shape":"RenderingEngine", - "documentation":"

The rendering engine for the simulation application.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation application was last updated.

" - }, - "revisionId":{ - "shape":"RevisionId", - "documentation":"

The revision ID of the simulation application.

" - }, - "environment":{ - "shape":"Environment", - "documentation":"

The object that contains the Docker image URI used to create the simulation application.

" - } - } - }, - "CreateSimulationJobRequest":{ - "type":"structure", - "required":[ - "maxJobDurationInSeconds", - "iamRole" - ], - "members":{ - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", - "idempotencyToken":true - }, - "outputLocation":{ - "shape":"OutputLocation", - "documentation":"

Location for output files generated by the simulation job.

" - }, - "loggingConfig":{ - "shape":"LoggingConfig", - "documentation":"

The logging configuration.

" - }, - "maxJobDurationInSeconds":{ - "shape":"JobDuration", - "documentation":"

The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When maxJobDurationInSeconds is reached, the simulation job will status will transition to Completed.

" - }, - "iamRole":{ - "shape":"IamRole", - "documentation":"

The IAM role name that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf. This is how credentials are passed in to your simulation job.

" - }, - "failureBehavior":{ - "shape":"FailureBehavior", - "documentation":"

The failure behavior the simulation job.

Continue

Leaves the instance running for its maximum timeout duration after a 4XX error code.

Fail

Stop the simulation job and terminate the instance.

" - }, - "robotApplications":{ - "shape":"RobotApplicationConfigs", - "documentation":"

The robot application to use in the simulation job.

" - }, - "simulationApplications":{ - "shape":"SimulationApplicationConfigs", - "documentation":"

The simulation application to use in the simulation job.

" - }, - "dataSources":{ - "shape":"DataSourceConfigs", - "documentation":"

Specify data sources to mount read-only files from S3 into your simulation. These files are available under /opt/robomaker/datasources/data_source_name.

There is a limit of 100 files and a combined size of 25GB for all DataSourceConfig objects.

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

A map that contains tag keys and tag values that are attached to the simulation job.

" - }, - "vpcConfig":{ - "shape":"VPCConfig", - "documentation":"

If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.

" - }, - "compute":{ - "shape":"Compute", - "documentation":"

Compute information for the simulation job.

" - } - } - }, - "CreateSimulationJobRequests":{ - "type":"list", - "member":{"shape":"SimulationJobRequest"}, - "max":1000, - "min":1 - }, - "CreateSimulationJobResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the simulation job.

" - }, - "status":{ - "shape":"SimulationJobStatus", - "documentation":"

The status of the simulation job.

" - }, - "lastStartedAt":{ - "shape":"LastStartedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation job was last started.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation job was last updated.

" - }, - "failureBehavior":{ - "shape":"FailureBehavior", - "documentation":"

the failure behavior for the simulation job.

" - }, - "failureCode":{ - "shape":"SimulationJobErrorCode", - "documentation":"

The failure code of the simulation job if it failed:

InternalServiceError

Internal service error.

RobotApplicationCrash

Robot application exited abnormally.

SimulationApplicationCrash

Simulation application exited abnormally.

BadPermissionsRobotApplication

Robot application bundle could not be downloaded.

BadPermissionsSimulationApplication

Simulation application bundle could not be downloaded.

BadPermissionsS3Output

Unable to publish outputs to customer-provided S3 bucket.

BadPermissionsCloudwatchLogs

Unable to publish logs to customer-provided CloudWatch Logs resource.

SubnetIpLimitExceeded

Subnet IP limit exceeded.

ENILimitExceeded

ENI limit exceeded.

BadPermissionsUserCredentials

Unable to use the Role provided.

InvalidBundleRobotApplication

Robot bundle cannot be extracted (invalid format, bundling error, or other issue).

InvalidBundleSimulationApplication

Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).

RobotApplicationVersionMismatchedEtag

Etag for RobotApplication does not match value during version creation.

SimulationApplicationVersionMismatchedEtag

Etag for SimulationApplication does not match value during version creation.

" - }, - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

" - }, - "outputLocation":{ - "shape":"OutputLocation", - "documentation":"

Simulation job output files location.

" - }, - "loggingConfig":{ - "shape":"LoggingConfig", - "documentation":"

The logging configuration.

" - }, - "maxJobDurationInSeconds":{ - "shape":"JobDuration", - "documentation":"

The maximum simulation job duration in seconds.

" - }, - "simulationTimeMillis":{ - "shape":"SimulationTimeMillis", - "documentation":"

The simulation job execution duration in milliseconds.

" - }, - "iamRole":{ - "shape":"IamRole", - "documentation":"

The IAM role that allows the simulation job to call the AWS APIs that are specified in its associated policies on your behalf.

" - }, - "robotApplications":{ - "shape":"RobotApplicationConfigs", - "documentation":"

The robot application used by the simulation job.

" - }, - "simulationApplications":{ - "shape":"SimulationApplicationConfigs", - "documentation":"

The simulation application used by the simulation job.

" - }, - "dataSources":{ - "shape":"DataSources", - "documentation":"

The data sources for the simulation job.

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

The list of all tags added to the simulation job.

" - }, - "vpcConfig":{ - "shape":"VPCConfigResponse", - "documentation":"

Information about the vpc configuration.

" - }, - "compute":{ - "shape":"ComputeResponse", - "documentation":"

Compute information for the simulation job.

" - } - } - }, - "CreateWorldExportJobRequest":{ - "type":"structure", - "required":[ - "worlds", - "outputLocation", - "iamRole" - ], - "members":{ - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", - "idempotencyToken":true - }, - "worlds":{ - "shape":"Arns", - "documentation":"

A list of Amazon Resource Names (arns) that correspond to worlds to export.

" - }, - "outputLocation":{"shape":"OutputLocation"}, - "iamRole":{ - "shape":"IamRole", - "documentation":"

The IAM role that the world export process uses to access the Amazon S3 bucket and put the export.

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

A map that contains tag keys and tag values that are attached to the world export job.

" - } - } - }, - "CreateWorldExportJobResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the world export job.

" - }, - "status":{ - "shape":"WorldExportJobStatus", - "documentation":"

The status of the world export job.

Pending

The world export job request is pending.

Running

The world export job is running.

Completed

The world export job completed.

Failed

The world export job failed. See failureCode for more information.

Canceled

The world export job was cancelled.

Canceling

The world export job is being cancelled.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the world export job was created.

" - }, - "failureCode":{ - "shape":"WorldExportJobErrorCode", - "documentation":"

The failure code of the world export job if it failed:

InternalServiceError

Internal service error.

LimitExceeded

The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

ResourceNotFound

The specified resource could not be found.

RequestThrottled

The request was throttled.

InvalidInput

An input parameter in the request is not valid.

AllWorldGenerationFailed

All of the worlds in the world generation job failed. This can happen if your worldCount is greater than 50 or less than 1.

For more information about troubleshooting WorldForge, see Troubleshooting Simulation WorldForge.

" - }, - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

" - }, - "outputLocation":{"shape":"OutputLocation"}, - "iamRole":{ - "shape":"IamRole", - "documentation":"

The IAM role that the world export process uses to access the Amazon S3 bucket and put the export.

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

A map that contains tag keys and tag values that are attached to the world export job.

" - } - } - }, - "CreateWorldGenerationJobRequest":{ - "type":"structure", - "required":[ - "template", - "worldCount" - ], - "members":{ - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", - "idempotencyToken":true - }, - "template":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world template describing the worlds you want to create.

" - }, - "worldCount":{ - "shape":"WorldCount", - "documentation":"

Information about the world count.

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

A map that contains tag keys and tag values that are attached to the world generator job.

" - }, - "worldTags":{ - "shape":"TagMap", - "documentation":"

A map that contains tag keys and tag values that are attached to the generated worlds.

" - } - } - }, - "CreateWorldGenerationJobResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the world generator job.

" - }, - "status":{ - "shape":"WorldGenerationJobStatus", - "documentation":"

The status of the world generator job.

Pending

The world generator job request is pending.

Running

The world generator job is running.

Completed

The world generator job completed.

Failed

The world generator job failed. See failureCode for more information.

PartialFailed

Some worlds did not generate.

Canceled

The world generator job was cancelled.

Canceling

The world generator job is being cancelled.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the world generator job was created.

" - }, - "failureCode":{ - "shape":"WorldGenerationJobErrorCode", - "documentation":"

The failure code of the world generator job if it failed:

InternalServiceError

Internal service error.

LimitExceeded

The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

ResourceNotFound

The specified resource could not be found.

RequestThrottled

The request was throttled.

InvalidInput

An input parameter in the request is not valid.

" - }, - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

" - }, - "template":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world template.

" - }, - "worldCount":{ - "shape":"WorldCount", - "documentation":"

Information about the world count.

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

A map that contains tag keys and tag values that are attached to the world generator job.

" - }, - "worldTags":{ - "shape":"TagMap", - "documentation":"

A map that contains tag keys and tag values that are attached to the generated worlds.

" - } - } - }, - "CreateWorldTemplateRequest":{ - "type":"structure", - "members":{ - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

" - }, - "name":{ - "shape":"TemplateName", - "documentation":"

The name of the world template.

" - }, - "templateBody":{ - "shape":"Json", - "documentation":"

The world template body.

" - }, - "templateLocation":{ - "shape":"TemplateLocation", - "documentation":"

The location of the world template.

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

A map that contains tag keys and tag values that are attached to the world template.

" - } - } - }, - "CreateWorldTemplateResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the world template.

" - }, - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the world template was created.

" - }, - "name":{ - "shape":"TemplateName", - "documentation":"

The name of the world template.

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

A map that contains tag keys and tag values that are attached to the world template.

" - } - } - }, - "CreatedAt":{"type":"timestamp"}, - "DataSource":{ - "type":"structure", - "members":{ - "name":{ - "shape":"Name", - "documentation":"

The name of the data source.

" - }, - "s3Bucket":{ - "shape":"S3Bucket", - "documentation":"

The S3 bucket where the data files are located.

" - }, - "s3Keys":{ - "shape":"S3KeyOutputs", - "documentation":"

The list of S3 keys identifying the data source files.

" - }, - "type":{ - "shape":"DataSourceType", - "documentation":"

The data type for the data source that you're using for your container image or simulation job. You can use this field to specify whether your data source is an Archive, an Amazon S3 prefix, or a file.

If you don't specify a field, the default value is File.

" - }, - "destination":{ - "shape":"Path", - "documentation":"

The location where your files are mounted in the container image.

If you've specified the type of the data source as an Archive, you must provide an Amazon S3 object key to your archive. The object key must point to either a .zip or .tar.gz file.

If you've specified the type of the data source as a Prefix, you provide the Amazon S3 prefix that points to the files that you are using for your data source.

If you've specified the type of the data source as a File, you provide the Amazon S3 path to the file that you're using as your data source.

" - } - }, - "documentation":"

Information about a data source.

" - }, - "DataSourceConfig":{ - "type":"structure", - "required":[ - "name", - "s3Bucket", - "s3Keys" - ], - "members":{ - "name":{ - "shape":"Name", - "documentation":"

The name of the data source.

" - }, - "s3Bucket":{ - "shape":"S3Bucket", - "documentation":"

The S3 bucket where the data files are located.

" - }, - "s3Keys":{ - "shape":"S3KeysOrPrefixes", - "documentation":"

The list of S3 keys identifying the data source files.

" - }, - "type":{ - "shape":"DataSourceType", - "documentation":"

The data type for the data source that you're using for your container image or simulation job. You can use this field to specify whether your data source is an Archive, an Amazon S3 prefix, or a file.

If you don't specify a field, the default value is File.

" - }, - "destination":{ - "shape":"Path", - "documentation":"

The location where your files are mounted in the container image.

If you've specified the type of the data source as an Archive, you must provide an Amazon S3 object key to your archive. The object key must point to either a .zip or .tar.gz file.

If you've specified the type of the data source as a Prefix, you provide the Amazon S3 prefix that points to the files that you are using for your data source.

If you've specified the type of the data source as a File, you provide the Amazon S3 path to the file that you're using as your data source.

" - } - }, - "documentation":"

Information about a data source.

" - }, - "DataSourceConfigs":{ - "type":"list", - "member":{"shape":"DataSourceConfig"}, - "max":6, - "min":1 - }, - "DataSourceNames":{ - "type":"list", - "member":{"shape":"Name"} - }, - "DataSourceType":{ - "type":"string", - "enum":[ - "Prefix", - "Archive", - "File" - ] - }, - "DataSources":{ - "type":"list", - "member":{"shape":"DataSource"} - }, - "DeleteFleetRequest":{ - "type":"structure", - "required":["fleet"], - "members":{ - "fleet":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DeleteFleetResponse":{ - "type":"structure", - "members":{}, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DeleteRobotApplicationRequest":{ - "type":"structure", - "required":["application"], - "members":{ - "application":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the the robot application.

" - }, - "applicationVersion":{ - "shape":"Version", - "documentation":"

The version of the robot application to delete.

" - } - } - }, - "DeleteRobotApplicationResponse":{ - "type":"structure", - "members":{} - }, - "DeleteRobotRequest":{ - "type":"structure", - "required":["robot"], - "members":{ - "robot":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DeleteRobotResponse":{ - "type":"structure", - "members":{}, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DeleteSimulationApplicationRequest":{ - "type":"structure", - "required":["application"], - "members":{ - "application":{ - "shape":"Arn", - "documentation":"

The application information for the simulation application to delete.

" - }, - "applicationVersion":{ - "shape":"Version", - "documentation":"

The version of the simulation application to delete.

" - } - } - }, - "DeleteSimulationApplicationResponse":{ - "type":"structure", - "members":{} - }, - "DeleteWorldTemplateRequest":{ - "type":"structure", - "required":["template"], - "members":{ - "template":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world template you want to delete.

" - } - } - }, - "DeleteWorldTemplateResponse":{ - "type":"structure", - "members":{} - }, - "DeploymentApplicationConfig":{ - "type":"structure", - "required":[ - "application", - "applicationVersion", - "launchConfig" - ], - "members":{ - "application":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot application.

" - }, - "applicationVersion":{ - "shape":"DeploymentVersion", - "documentation":"

The version of the application.

" - }, - "launchConfig":{ - "shape":"DeploymentLaunchConfig", - "documentation":"

The launch configuration.

" - } - }, - "documentation":"

Information about a deployment application configuration.

" - }, - "DeploymentApplicationConfigs":{ - "type":"list", - "member":{"shape":"DeploymentApplicationConfig"}, - "max":1, - "min":1 - }, - "DeploymentConfig":{ - "type":"structure", - "members":{ - "concurrentDeploymentPercentage":{ - "shape":"Percentage", - "documentation":"

The percentage of robots receiving the deployment at the same time.

" - }, - "failureThresholdPercentage":{ - "shape":"Percentage", - "documentation":"

The percentage of deployments that need to fail before stopping deployment.

" - }, - "robotDeploymentTimeoutInSeconds":{ - "shape":"DeploymentTimeout", - "documentation":"

The amount of time, in seconds, to wait for deployment to a single robot to complete. Choose a time between 1 minute and 7 days. The default is 5 hours.

" - }, - "downloadConditionFile":{ - "shape":"S3Object", - "documentation":"

The download condition file.

" - } - }, - "documentation":"

Information about a deployment configuration.

" - }, - "DeploymentJob":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the deployment job.

" - }, - "fleet":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet.

" - }, - "status":{ - "shape":"DeploymentStatus", - "documentation":"

The status of the deployment job.

" - }, - "deploymentApplicationConfigs":{ - "shape":"DeploymentApplicationConfigs", - "documentation":"

The deployment application configuration.

" - }, - "deploymentConfig":{ - "shape":"DeploymentConfig", - "documentation":"

The deployment configuration.

" - }, - "failureReason":{ - "shape":"GenericString", - "documentation":"

A short description of the reason why the deployment job failed.

" - }, - "failureCode":{ - "shape":"DeploymentJobErrorCode", - "documentation":"

The deployment job failure code.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the deployment job was created.

" - } - }, - "documentation":"

Information about a deployment job.

" - }, - "DeploymentJobErrorCode":{ - "type":"string", - "enum":[ - "ResourceNotFound", - "EnvironmentSetupError", - "EtagMismatch", - "FailureThresholdBreached", - "RobotDeploymentAborted", - "RobotDeploymentNoResponse", - "RobotAgentConnectionTimeout", - "GreengrassDeploymentFailed", - "InvalidGreengrassGroup", - "MissingRobotArchitecture", - "MissingRobotApplicationArchitecture", - "MissingRobotDeploymentResource", - "GreengrassGroupVersionDoesNotExist", - "LambdaDeleted", - "ExtractingBundleFailure", - "PreLaunchFileFailure", - "PostLaunchFileFailure", - "BadPermissionError", - "DownloadConditionFailed", - "BadLambdaAssociated", - "InternalServerError", - "RobotApplicationDoesNotExist", - "DeploymentFleetDoesNotExist", - "FleetDeploymentTimeout" - ] - }, - "DeploymentJobs":{ - "type":"list", - "member":{"shape":"DeploymentJob"}, - "max":200, - "min":0 - }, - "DeploymentLaunchConfig":{ - "type":"structure", - "required":[ - "packageName", - "launchFile" - ], - "members":{ - "packageName":{ - "shape":"Command", - "documentation":"

The package name.

" - }, - "preLaunchFile":{ - "shape":"Path", - "documentation":"

The deployment pre-launch file. This file will be executed prior to the launch file.

" - }, - "launchFile":{ - "shape":"Command", - "documentation":"

The launch file name.

" - }, - "postLaunchFile":{ - "shape":"Path", - "documentation":"

The deployment post-launch file. This file will be executed after the launch file.

" - }, - "environmentVariables":{ - "shape":"EnvironmentVariableMap", - "documentation":"

An array of key/value pairs specifying environment variables for the robot application

" - } - }, - "documentation":"

Configuration information for a deployment launch.

" - }, - "DeploymentStatus":{ - "type":"string", - "enum":[ - "Pending", - "Preparing", - "InProgress", - "Failed", - "Succeeded", - "Canceled" - ] - }, - "DeploymentTimeout":{"type":"long"}, - "DeploymentVersion":{ - "type":"string", - "max":255, - "min":1, - "pattern":"[0-9]*" - }, - "DeregisterRobotRequest":{ - "type":"structure", - "required":[ - "fleet", - "robot" - ], - "members":{ - "fleet":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet.

" - }, - "robot":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DeregisterRobotResponse":{ - "type":"structure", - "members":{ - "fleet":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet.

" - }, - "robot":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DescribeDeploymentJobRequest":{ - "type":"structure", - "required":["job"], - "members":{ - "job":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the deployment job.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DescribeDeploymentJobResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the deployment job.

" - }, - "fleet":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet.

" - }, - "status":{ - "shape":"DeploymentStatus", - "documentation":"

The status of the deployment job.

" - }, - "deploymentConfig":{ - "shape":"DeploymentConfig", - "documentation":"

The deployment configuration.

" - }, - "deploymentApplicationConfigs":{ - "shape":"DeploymentApplicationConfigs", - "documentation":"

The deployment application configuration.

" - }, - "failureReason":{ - "shape":"GenericString", - "documentation":"

A short description of the reason why the deployment job failed.

" - }, - "failureCode":{ - "shape":"DeploymentJobErrorCode", - "documentation":"

The deployment job failure code.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the deployment job was created.

" - }, - "robotDeploymentSummary":{ - "shape":"RobotDeploymentSummary", - "documentation":"

A list of robot deployment summaries.

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

The list of all tags added to the specified deployment job.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DescribeFleetRequest":{ - "type":"structure", - "required":["fleet"], - "members":{ - "fleet":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DescribeFleetResponse":{ - "type":"structure", - "members":{ - "name":{ - "shape":"Name", - "documentation":"

The name of the fleet.

" - }, - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet.

" - }, - "robots":{ - "shape":"Robots", - "documentation":"

A list of robots.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the fleet was created.

" - }, - "lastDeploymentStatus":{ - "shape":"DeploymentStatus", - "documentation":"

The status of the last deployment.

" - }, - "lastDeploymentJob":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the last deployment job.

" - }, - "lastDeploymentTime":{ - "shape":"CreatedAt", - "documentation":"

The time of the last deployment.

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

The list of all tags added to the specified fleet.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DescribeRobotApplicationRequest":{ - "type":"structure", - "required":["application"], - "members":{ - "application":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot application.

" - }, - "applicationVersion":{ - "shape":"Version", - "documentation":"

The version of the robot application to describe.

" - } - } - }, - "DescribeRobotApplicationResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot application.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the robot application.

" - }, - "version":{ - "shape":"Version", - "documentation":"

The version of the robot application.

" - }, - "sources":{ - "shape":"Sources", - "documentation":"

The sources of the robot application.

" - }, - "robotSoftwareSuite":{ - "shape":"RobotSoftwareSuite", - "documentation":"

The robot software suite used by the robot application.

" - }, - "revisionId":{ - "shape":"RevisionId", - "documentation":"

The revision id of the robot application.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the robot application was last updated.

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

The list of all tags added to the specified robot application.

" - }, - "environment":{ - "shape":"Environment", - "documentation":"

The object that contains the Docker image URI used to create the robot application.

" - }, - "imageDigest":{ - "shape":"ImageDigest", - "documentation":"

A SHA256 identifier for the Docker image that you use for your robot application.

" - } - } - }, - "DescribeRobotRequest":{ - "type":"structure", - "required":["robot"], - "members":{ - "robot":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot to be described.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DescribeRobotResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the robot.

" - }, - "fleetArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet.

" - }, - "status":{ - "shape":"RobotStatus", - "documentation":"

The status of the fleet.

" - }, - "greengrassGroupId":{ - "shape":"Id", - "documentation":"

The Greengrass group id.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the robot was created.

" - }, - "architecture":{ - "shape":"Architecture", - "documentation":"

The target architecture of the robot application.

" - }, - "lastDeploymentJob":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the last deployment job.

" - }, - "lastDeploymentTime":{ - "shape":"CreatedAt", - "documentation":"

The time of the last deployment job.

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

The list of all tags added to the specified robot.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "DescribeSimulationApplicationRequest":{ - "type":"structure", - "required":["application"], - "members":{ - "application":{ - "shape":"Arn", - "documentation":"

The application information for the simulation application.

" - }, - "applicationVersion":{ - "shape":"Version", - "documentation":"

The version of the simulation application to describe.

" - } - } - }, - "DescribeSimulationApplicationResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot simulation application.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the simulation application.

" - }, - "version":{ - "shape":"Version", - "documentation":"

The version of the simulation application.

" - }, - "sources":{ - "shape":"Sources", - "documentation":"

The sources of the simulation application.

" - }, - "simulationSoftwareSuite":{ - "shape":"SimulationSoftwareSuite", - "documentation":"

The simulation software suite used by the simulation application.

" - }, - "robotSoftwareSuite":{ - "shape":"RobotSoftwareSuite", - "documentation":"

Information about the robot software suite.

" - }, - "renderingEngine":{ - "shape":"RenderingEngine", - "documentation":"

The rendering engine for the simulation application.

" - }, - "revisionId":{ - "shape":"RevisionId", - "documentation":"

The revision id of the simulation application.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation application was last updated.

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

The list of all tags added to the specified simulation application.

" - }, - "environment":{ - "shape":"Environment", - "documentation":"

The object that contains the Docker image URI used to create the simulation application.

" - }, - "imageDigest":{ - "shape":"ImageDigest", - "documentation":"

A SHA256 identifier for the Docker image that you use for your simulation application.

" - } - } - }, - "DescribeSimulationJobBatchRequest":{ - "type":"structure", - "required":["batch"], - "members":{ - "batch":{ - "shape":"Arn", - "documentation":"

The id of the batch to describe.

" - } - } - }, - "DescribeSimulationJobBatchResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the batch.

" - }, - "status":{ - "shape":"SimulationJobBatchStatus", - "documentation":"

The status of the batch.

Pending

The simulation job batch request is pending.

InProgress

The simulation job batch is in progress.

Failed

The simulation job batch failed. One or more simulation job requests could not be completed due to an internal failure (like InternalServiceError). See failureCode and failureReason for more information.

Completed

The simulation batch job completed. A batch is complete when (1) there are no pending simulation job requests in the batch and none of the failed simulation job requests are due to InternalServiceError and (2) when all created simulation jobs have reached a terminal state (for example, Completed or Failed).

Canceled

The simulation batch job was cancelled.

Canceling

The simulation batch job is being cancelled.

Completing

The simulation batch job is completing.

TimingOut

The simulation job batch is timing out.

If a batch timing out, and there are pending requests that were failing due to an internal failure (like InternalServiceError), the batch status will be Failed. If there are no such failing request, the batch status will be TimedOut.

TimedOut

The simulation batch job timed out.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation job batch was last updated.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation job batch was created.

" - }, - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

" - }, - "batchPolicy":{ - "shape":"BatchPolicy", - "documentation":"

The batch policy.

" - }, - "failureCode":{ - "shape":"SimulationJobBatchErrorCode", - "documentation":"

The failure code of the simulation job batch.

" - }, - "failureReason":{ - "shape":"GenericString", - "documentation":"

The reason the simulation job batch failed.

" - }, - "failedRequests":{ - "shape":"FailedCreateSimulationJobRequests", - "documentation":"

A list of failed create simulation job requests. The request failed to be created into a simulation job. Failed requests do not have a simulation job ID.

" - }, - "pendingRequests":{ - "shape":"CreateSimulationJobRequests", - "documentation":"

A list of pending simulation job requests. These requests have not yet been created into simulation jobs.

" - }, - "createdRequests":{ - "shape":"SimulationJobSummaries", - "documentation":"

A list of created simulation job summaries.

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

A map that contains tag keys and tag values that are attached to the simulation job batch.

" - } - } - }, - "DescribeSimulationJobRequest":{ - "type":"structure", - "required":["job"], - "members":{ - "job":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the simulation job to be described.

" - } - } - }, - "DescribeSimulationJobResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the simulation job.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the simulation job.

" - }, - "status":{ - "shape":"SimulationJobStatus", - "documentation":"

The status of the simulation job.

" - }, - "lastStartedAt":{ - "shape":"LastStartedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation job was last started.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation job was last updated.

" - }, - "failureBehavior":{ - "shape":"FailureBehavior", - "documentation":"

The failure behavior for the simulation job.

" - }, - "failureCode":{ - "shape":"SimulationJobErrorCode", - "documentation":"

The failure code of the simulation job if it failed:

InternalServiceError

Internal service error.

RobotApplicationCrash

Robot application exited abnormally.

SimulationApplicationCrash

Simulation application exited abnormally.

BadPermissionsRobotApplication

Robot application bundle could not be downloaded.

BadPermissionsSimulationApplication

Simulation application bundle could not be downloaded.

BadPermissionsS3Output

Unable to publish outputs to customer-provided S3 bucket.

BadPermissionsCloudwatchLogs

Unable to publish logs to customer-provided CloudWatch Logs resource.

SubnetIpLimitExceeded

Subnet IP limit exceeded.

ENILimitExceeded

ENI limit exceeded.

BadPermissionsUserCredentials

Unable to use the Role provided.

InvalidBundleRobotApplication

Robot bundle cannot be extracted (invalid format, bundling error, or other issue).

InvalidBundleSimulationApplication

Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).

RobotApplicationVersionMismatchedEtag

Etag for RobotApplication does not match value during version creation.

SimulationApplicationVersionMismatchedEtag

Etag for SimulationApplication does not match value during version creation.

" - }, - "failureReason":{ - "shape":"GenericString", - "documentation":"

Details about why the simulation job failed. For more information about troubleshooting, see Troubleshooting.

" - }, - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

" - }, - "outputLocation":{ - "shape":"OutputLocation", - "documentation":"

Location for output files generated by the simulation job.

" - }, - "loggingConfig":{ - "shape":"LoggingConfig", - "documentation":"

The logging configuration.

" - }, - "maxJobDurationInSeconds":{ - "shape":"JobDuration", - "documentation":"

The maximum job duration in seconds. The value must be 8 days (691,200 seconds) or less.

" - }, - "simulationTimeMillis":{ - "shape":"SimulationTimeMillis", - "documentation":"

The simulation job execution duration in milliseconds.

" - }, - "iamRole":{ - "shape":"IamRole", - "documentation":"

The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf.

" - }, - "robotApplications":{ - "shape":"RobotApplicationConfigs", - "documentation":"

A list of robot applications.

" - }, - "simulationApplications":{ - "shape":"SimulationApplicationConfigs", - "documentation":"

A list of simulation applications.

" - }, - "dataSources":{ - "shape":"DataSources", - "documentation":"

The data sources for the simulation job.

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

The list of all tags added to the specified simulation job.

" - }, - "vpcConfig":{ - "shape":"VPCConfigResponse", - "documentation":"

The VPC configuration.

" - }, - "networkInterface":{ - "shape":"NetworkInterface", - "documentation":"

The network interface information for the simulation job.

" - }, - "compute":{ - "shape":"ComputeResponse", - "documentation":"

Compute information for the simulation job.

" - } - } - }, - "DescribeWorldExportJobRequest":{ - "type":"structure", - "required":["job"], - "members":{ - "job":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world export job to describe.

" - } - } - }, - "DescribeWorldExportJobResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the world export job.

" - }, - "status":{ - "shape":"WorldExportJobStatus", - "documentation":"

The status of the world export job.

Pending

The world export job request is pending.

Running

The world export job is running.

Completed

The world export job completed.

Failed

The world export job failed. See failureCode and failureReason for more information.

Canceled

The world export job was cancelled.

Canceling

The world export job is being cancelled.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the world export job was created.

" - }, - "failureCode":{ - "shape":"WorldExportJobErrorCode", - "documentation":"

The failure code of the world export job if it failed:

InternalServiceError

Internal service error.

LimitExceeded

The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

ResourceNotFound

The specified resource could not be found.

RequestThrottled

The request was throttled.

InvalidInput

An input parameter in the request is not valid.

" - }, - "failureReason":{ - "shape":"GenericString", - "documentation":"

The reason why the world export job failed.

" - }, - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

" - }, - "worlds":{ - "shape":"Arns", - "documentation":"

A list of Amazon Resource Names (arns) that correspond to worlds to be exported.

" - }, - "outputLocation":{"shape":"OutputLocation"}, - "iamRole":{ - "shape":"IamRole", - "documentation":"

The IAM role that the world export process uses to access the Amazon S3 bucket and put the export.

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

A map that contains tag keys and tag values that are attached to the world export job.

" - } - } - }, - "DescribeWorldGenerationJobRequest":{ - "type":"structure", - "required":["job"], - "members":{ - "job":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world generation job to describe.

" - } - } - }, - "DescribeWorldGenerationJobResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the world generation job.

" - }, - "status":{ - "shape":"WorldGenerationJobStatus", - "documentation":"

The status of the world generation job:

Pending

The world generation job request is pending.

Running

The world generation job is running.

Completed

The world generation job completed.

Failed

The world generation job failed. See failureCode for more information.

PartialFailed

Some worlds did not generate.

Canceled

The world generation job was cancelled.

Canceling

The world generation job is being cancelled.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the world generation job was created.

" - }, - "failureCode":{ - "shape":"WorldGenerationJobErrorCode", - "documentation":"

The failure code of the world generation job if it failed:

InternalServiceError

Internal service error.

LimitExceeded

The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

ResourceNotFound

The specified resource could not be found.

RequestThrottled

The request was throttled.

InvalidInput

An input parameter in the request is not valid.

" - }, - "failureReason":{ - "shape":"GenericString", - "documentation":"

The reason why the world generation job failed.

" - }, - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

" - }, - "template":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world template.

" - }, - "worldCount":{ - "shape":"WorldCount", - "documentation":"

Information about the world count.

" - }, - "finishedWorldsSummary":{ - "shape":"FinishedWorldsSummary", - "documentation":"

Summary information about finished worlds.

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

A map that contains tag keys and tag values that are attached to the world generation job.

" - }, - "worldTags":{ - "shape":"TagMap", - "documentation":"

A map that contains tag keys and tag values that are attached to the generated worlds.

" - } - } - }, - "DescribeWorldRequest":{ - "type":"structure", - "required":["world"], - "members":{ - "world":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world you want to describe.

" - } - } - }, - "DescribeWorldResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world.

" - }, - "generationJob":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world generation job that generated the world.

" - }, - "template":{ - "shape":"Arn", - "documentation":"

The world template.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the world was created.

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

A map that contains tag keys and tag values that are attached to the world.

" - }, - "worldDescriptionBody":{ - "shape":"Json", - "documentation":"

Returns the JSON formatted string that describes the contents of your world.

" - } - } - }, - "DescribeWorldTemplateRequest":{ - "type":"structure", - "required":["template"], - "members":{ - "template":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world template you want to describe.

" - } - } - }, - "DescribeWorldTemplateResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the world template.

" - }, - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

" - }, - "name":{ - "shape":"TemplateName", - "documentation":"

The name of the world template.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the world template was created.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the world template was last updated.

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

A map that contains tag keys and tag values that are attached to the world template.

" - }, - "version":{ - "shape":"GenericString", - "documentation":"

The version of the world template that you're using.

" - } - } - }, - "Environment":{ - "type":"structure", - "members":{ - "uri":{ - "shape":"RepositoryUrl", - "documentation":"

The Docker image URI for either your robot or simulation applications.

" - } - }, - "documentation":"

The object that contains the Docker image URI for either your robot or simulation applications.

" - }, - "EnvironmentVariableKey":{ - "type":"string", - "max":1024, - "min":1, - "pattern":"[A-Z_][A-Z0-9_]*" - }, - "EnvironmentVariableMap":{ - "type":"map", - "key":{"shape":"EnvironmentVariableKey"}, - "value":{"shape":"EnvironmentVariableValue"}, - "max":20, - "min":0 - }, - "EnvironmentVariableValue":{ - "type":"string", - "max":1024, - "min":1, - "pattern":".*" - }, - "ExitBehavior":{ - "type":"string", - "enum":[ - "FAIL", - "RESTART" - ] - }, - "FailedAt":{"type":"timestamp"}, - "FailedCreateSimulationJobRequest":{ - "type":"structure", - "members":{ - "request":{ - "shape":"SimulationJobRequest", - "documentation":"

The simulation job request.

" - }, - "failureReason":{ - "shape":"GenericString", - "documentation":"

The failure reason of the simulation job request.

" - }, - "failureCode":{ - "shape":"SimulationJobErrorCode", - "documentation":"

The failure code.

" - }, - "failedAt":{ - "shape":"FailedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation job batch failed.

" - } - }, - "documentation":"

Information about a failed create simulation job request.

" - }, - "FailedCreateSimulationJobRequests":{ - "type":"list", - "member":{"shape":"FailedCreateSimulationJobRequest"} - }, - "FailureBehavior":{ - "type":"string", - "enum":[ - "Fail", - "Continue" - ] - }, - "FailureSummary":{ - "type":"structure", - "members":{ - "totalFailureCount":{ - "shape":"Integer", - "documentation":"

The total number of failures.

" - }, - "failures":{ - "shape":"WorldFailures", - "documentation":"

The worlds that failed.

" - } - }, - "documentation":"

Information about worlds that failed.

" - }, - "Filter":{ - "type":"structure", - "members":{ - "name":{ - "shape":"Name", - "documentation":"

The name of the filter.

" - }, - "values":{ - "shape":"FilterValues", - "documentation":"

A list of values.

" - } - }, - "documentation":"

Information about a filter.

" - }, - "FilterValues":{ - "type":"list", - "member":{"shape":"Name"}, - "max":1, - "min":1 - }, - "Filters":{ - "type":"list", - "member":{"shape":"Filter"}, - "max":1, - "min":1 - }, - "FinishedWorldsSummary":{ - "type":"structure", - "members":{ - "finishedCount":{ - "shape":"Integer", - "documentation":"

The total number of finished worlds.

" - }, - "succeededWorlds":{ - "shape":"Arns", - "documentation":"

A list of worlds that succeeded.

" - }, - "failureSummary":{ - "shape":"FailureSummary", - "documentation":"

Information about worlds that failed.

" - } - }, - "documentation":"

Information about worlds that finished.

" - }, - "Fleet":{ - "type":"structure", - "members":{ - "name":{ - "shape":"Name", - "documentation":"

The name of the fleet.

" - }, - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the fleet was created.

" - }, - "lastDeploymentStatus":{ - "shape":"DeploymentStatus", - "documentation":"

The status of the last fleet deployment.

" - }, - "lastDeploymentJob":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the last deployment job.

" - }, - "lastDeploymentTime":{ - "shape":"CreatedAt", - "documentation":"

The time of the last deployment.

" - } - }, - "documentation":"

Information about a fleet.

" - }, - "Fleets":{ - "type":"list", - "member":{"shape":"Fleet"}, - "max":200, - "min":0 - }, - "FloorplanCount":{"type":"integer"}, - "GPUUnit":{ - "type":"integer", - "max":1, - "min":0 - }, - "GenericInteger":{"type":"integer"}, - "GenericString":{ - "type":"string", - "max":1024, - "min":0, - "pattern":".*" - }, - "GetWorldTemplateBodyRequest":{ - "type":"structure", - "members":{ - "template":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world template.

" - }, - "generationJob":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world generator job.

" - } - } - }, - "GetWorldTemplateBodyResponse":{ - "type":"structure", - "members":{ - "templateBody":{ - "shape":"Json", - "documentation":"

The world template body.

" - } - } - }, - "IamRole":{ - "type":"string", - "max":255, - "min":1, - "pattern":"arn:aws:iam::\\w+:role/.*" - }, - "Id":{ - "type":"string", - "max":1224, - "min":1, - "pattern":".*" - }, - "IdempotentParameterMismatchException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.

", - "error":{"httpStatusCode":400}, - "exception":true - }, - "ImageDigest":{ - "type":"string", - "max":72, - "min":0, - "pattern":"[Ss][Hh][Aa]256:[0-9a-fA-F]{64}" - }, - "Integer":{"type":"integer"}, - "InteriorCountPerFloorplan":{"type":"integer"}, - "InternalServerException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

AWS RoboMaker experienced a service issue. Try your call again.

", - "error":{"httpStatusCode":500}, - "exception":true - }, - "InvalidParameterException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

A parameter specified in a request is not valid, is unsupported, or cannot be used. The returned message provides an explanation of the error value.

", - "error":{"httpStatusCode":400}, - "exception":true - }, - "JobDuration":{"type":"long"}, - "Json":{ - "type":"string", - "max":262144, - "min":1, - "pattern":"[\\S\\s]+" - }, - "LastStartedAt":{"type":"timestamp"}, - "LastUpdatedAt":{"type":"timestamp"}, - "LaunchConfig":{ - "type":"structure", - "members":{ - "packageName":{ - "shape":"Command", - "documentation":"

The package name.

" - }, - "launchFile":{ - "shape":"Command", - "documentation":"

The launch file name.

" - }, - "environmentVariables":{ - "shape":"EnvironmentVariableMap", - "documentation":"

The environment variables for the application launch.

" - }, - "portForwardingConfig":{ - "shape":"PortForwardingConfig", - "documentation":"

The port forwarding configuration.

" - }, - "streamUI":{ - "shape":"Boolean", - "documentation":"

Boolean indicating whether a streaming session will be configured for the application. If True, AWS RoboMaker will configure a connection so you can interact with your application as it is running in the simulation. You must configure and launch the component. It must have a graphical user interface.

" - }, - "command":{ - "shape":"CommandList", - "documentation":"

If you've specified General as the value for your RobotSoftwareSuite, you can use this field to specify a list of commands for your container image.

If you've specified SimulationRuntime as the value for your SimulationSoftwareSuite, you can use this field to specify a list of commands for your container image.

" - } - }, - "documentation":"

Information about a launch configuration.

" - }, - "LimitExceededException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

", - "error":{"httpStatusCode":400}, - "exception":true - }, - "ListDeploymentJobsRequest":{ - "type":"structure", - "members":{ - "filters":{ - "shape":"Filters", - "documentation":"

Optional filters to limit results.

The filter names status and fleetName are supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the status InProgress or the status Pending.

" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListDeploymentJobs again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - }, - "maxResults":{ - "shape":"MaxResults", - "documentation":"

When this parameter is used, ListDeploymentJobs only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListDeploymentJobs request with the returned nextToken value. This value can be between 1 and 200. If this parameter is not used, then ListDeploymentJobs returns up to 200 results and a nextToken value if applicable.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "ListDeploymentJobsResponse":{ - "type":"structure", - "members":{ - "deploymentJobs":{ - "shape":"DeploymentJobs", - "documentation":"

A list of deployment jobs that meet the criteria of the request.

" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListDeploymentJobs again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "ListFleetsRequest":{ - "type":"structure", - "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListFleets again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.

" - }, - "maxResults":{ - "shape":"MaxResults", - "documentation":"

When this parameter is used, ListFleets only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListFleets request with the returned nextToken value. This value can be between 1 and 200. If this parameter is not used, then ListFleets returns up to 200 results and a nextToken value if applicable.

" - }, - "filters":{ - "shape":"Filters", - "documentation":"

Optional filters to limit results.

The filter name name is supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "ListFleetsResponse":{ - "type":"structure", - "members":{ - "fleetDetails":{ - "shape":"Fleets", - "documentation":"

A list of fleet details meeting the request criteria.

" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListFleets again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "ListRobotApplicationsRequest":{ - "type":"structure", - "members":{ - "versionQualifier":{ - "shape":"VersionQualifier", - "documentation":"

The version qualifier of the robot application.

" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListRobotApplications again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - }, - "maxResults":{ - "shape":"MaxResults", - "documentation":"

When this parameter is used, ListRobotApplications only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListRobotApplications request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListRobotApplications returns up to 100 results and a nextToken value if applicable.

" - }, - "filters":{ - "shape":"Filters", - "documentation":"

Optional filters to limit results.

The filter name name is supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters.

" - } - } - }, - "ListRobotApplicationsResponse":{ - "type":"structure", - "members":{ - "robotApplicationSummaries":{ - "shape":"RobotApplicationSummaries", - "documentation":"

A list of robot application summaries that meet the criteria of the request.

" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListRobotApplications again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - } - } - }, - "ListRobotsRequest":{ - "type":"structure", - "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListRobots again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - }, - "maxResults":{ - "shape":"MaxResults", - "documentation":"

When this parameter is used, ListRobots only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListRobots request with the returned nextToken value. This value can be between 1 and 200. If this parameter is not used, then ListRobots returns up to 200 results and a nextToken value if applicable.

" - }, - "filters":{ - "shape":"Filters", - "documentation":"

Optional filters to limit results.

The filter names status and fleetName are supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the status Registered or the status Available.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "ListRobotsResponse":{ - "type":"structure", - "members":{ - "robots":{ - "shape":"Robots", - "documentation":"

A list of robots that meet the criteria of the request.

" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListRobots again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "ListSimulationApplicationsRequest":{ - "type":"structure", - "members":{ - "versionQualifier":{ - "shape":"VersionQualifier", - "documentation":"

The version qualifier of the simulation application.

" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListSimulationApplications again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - }, - "maxResults":{ - "shape":"MaxResults", - "documentation":"

When this parameter is used, ListSimulationApplications only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListSimulationApplications request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListSimulationApplications returns up to 100 results and a nextToken value if applicable.

" - }, - "filters":{ - "shape":"Filters", - "documentation":"

Optional list of filters to limit results.

The filter name name is supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters.

" - } - } - }, - "ListSimulationApplicationsResponse":{ - "type":"structure", - "members":{ - "simulationApplicationSummaries":{ - "shape":"SimulationApplicationSummaries", - "documentation":"

A list of simulation application summaries that meet the criteria of the request.

" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListSimulationApplications again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - } - } - }, - "ListSimulationJobBatchesRequest":{ - "type":"structure", - "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListSimulationJobBatches again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - }, - "maxResults":{ - "shape":"MaxResults", - "documentation":"

When this parameter is used, ListSimulationJobBatches only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListSimulationJobBatches request with the returned nextToken value.

" - }, - "filters":{ - "shape":"Filters", - "documentation":"

Optional filters to limit results.

" - } - } - }, - "ListSimulationJobBatchesResponse":{ - "type":"structure", - "members":{ - "simulationJobBatchSummaries":{ - "shape":"SimulationJobBatchSummaries", - "documentation":"

A list of simulation job batch summaries.

" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListSimulationJobBatches again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - } - } - }, - "ListSimulationJobsRequest":{ - "type":"structure", - "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListSimulationJobs again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - }, - "maxResults":{ - "shape":"MaxResults", - "documentation":"

When this parameter is used, ListSimulationJobs only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListSimulationJobs request with the returned nextToken value. This value can be between 1 and 1000. If this parameter is not used, then ListSimulationJobs returns up to 1000 results and a nextToken value if applicable.

" - }, - "filters":{ - "shape":"Filters", - "documentation":"

Optional filters to limit results.

The filter names status and simulationApplicationName and robotApplicationName are supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the status Preparing or the status Running.

" - } - } - }, - "ListSimulationJobsResponse":{ - "type":"structure", - "required":["simulationJobSummaries"], - "members":{ - "simulationJobSummaries":{ - "shape":"SimulationJobSummaries", - "documentation":"

A list of simulation job summaries that meet the criteria of the request.

" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListSimulationJobs again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - } - } - }, - "ListTagsForResourceRequest":{ - "type":"structure", - "required":["resourceArn"], - "members":{ - "resourceArn":{ - "shape":"Arn", - "documentation":"

The AWS RoboMaker Amazon Resource Name (ARN) with tags to be listed.

", - "location":"uri", - "locationName":"resourceArn" - } - } - }, - "ListTagsForResourceResponse":{ - "type":"structure", - "members":{ - "tags":{ - "shape":"TagMap", - "documentation":"

The list of all tags added to the specified resource.

" - } - } - }, - "ListWorldExportJobsRequest":{ - "type":"structure", - "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorldExportJobs again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - }, - "maxResults":{ - "shape":"MaxResults", - "documentation":"

When this parameter is used, ListWorldExportJobs only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListWorldExportJobs request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListWorldExportJobs returns up to 100 results and a nextToken value if applicable.

" - }, - "filters":{ - "shape":"Filters", - "documentation":"

Optional filters to limit results. You can use generationJobId and templateId.

" - } - } - }, - "ListWorldExportJobsResponse":{ - "type":"structure", - "required":["worldExportJobSummaries"], - "members":{ - "worldExportJobSummaries":{ - "shape":"WorldExportJobSummaries", - "documentation":"

Summary information for world export jobs.

" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorldExportJobsRequest again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - } - } - }, - "ListWorldGenerationJobsRequest":{ - "type":"structure", - "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorldGenerationJobsRequest again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - }, - "maxResults":{ - "shape":"MaxResults", - "documentation":"

When this parameter is used, ListWorldGeneratorJobs only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListWorldGeneratorJobs request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListWorldGeneratorJobs returns up to 100 results and a nextToken value if applicable.

" - }, - "filters":{ - "shape":"Filters", - "documentation":"

Optional filters to limit results. You can use status and templateId.

" - } - } - }, - "ListWorldGenerationJobsResponse":{ - "type":"structure", - "required":["worldGenerationJobSummaries"], - "members":{ - "worldGenerationJobSummaries":{ - "shape":"WorldGenerationJobSummaries", - "documentation":"

Summary information for world generator jobs.

" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorldGeneratorJobsRequest again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - } - } - }, - "ListWorldTemplatesRequest":{ - "type":"structure", - "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorldTemplates again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - }, - "maxResults":{ - "shape":"MaxResults", - "documentation":"

When this parameter is used, ListWorldTemplates only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListWorldTemplates request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListWorldTemplates returns up to 100 results and a nextToken value if applicable.

" - } - } - }, - "ListWorldTemplatesResponse":{ - "type":"structure", - "members":{ - "templateSummaries":{ - "shape":"TemplateSummaries", - "documentation":"

Summary information for templates.

" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorldTemplates again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - } - } - }, - "ListWorldsRequest":{ - "type":"structure", - "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorlds again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - }, - "maxResults":{ - "shape":"MaxResults", - "documentation":"

When this parameter is used, ListWorlds only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListWorlds request with the returned nextToken value. This value can be between 1 and 100. If this parameter is not used, then ListWorlds returns up to 100 results and a nextToken value if applicable.

" - }, - "filters":{ - "shape":"Filters", - "documentation":"

Optional filters to limit results. You can use status.

" - } - } - }, - "ListWorldsResponse":{ - "type":"structure", - "members":{ - "worldSummaries":{ - "shape":"WorldSummaries", - "documentation":"

Summary information for worlds.

" - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListWorlds again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

" - } - } - }, - "LoggingConfig":{ - "type":"structure", - "members":{ - "recordAllRosTopics":{ - "shape":"BoxedBoolean", - "documentation":"

A boolean indicating whether to record all ROS topics.

This API is no longer supported and will throw an error if used.

", - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is ending support for ROS software suite. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/software-support-policy.html." - } - }, - "documentation":"

The logging configuration.

" - }, - "MaxConcurrency":{"type":"integer"}, - "MaxResults":{"type":"integer"}, - "Name":{ - "type":"string", - "max":255, - "min":1, - "pattern":"[a-zA-Z0-9_\\-]*" - }, - "NetworkInterface":{ - "type":"structure", - "members":{ - "networkInterfaceId":{ - "shape":"GenericString", - "documentation":"

The ID of the network interface.

" - }, - "privateIpAddress":{ - "shape":"GenericString", - "documentation":"

The IPv4 address of the network interface within the subnet.

" - }, - "publicIpAddress":{ - "shape":"GenericString", - "documentation":"

The IPv4 public address of the network interface.

" - } - }, - "documentation":"

Describes a network interface.

" - }, - "NonEmptyString":{ - "type":"string", - "max":255, - "min":1, - "pattern":".+" - }, - "NonSystemPort":{ - "type":"integer", - "max":65535, - "min":1024 - }, - "OutputLocation":{ - "type":"structure", - "members":{ - "s3Bucket":{ - "shape":"S3Bucket", - "documentation":"

The S3 bucket for output.

" - }, - "s3Prefix":{ - "shape":"S3Key", - "documentation":"

The S3 folder in the s3Bucket where output files will be placed.

" - } - }, - "documentation":"

The output location.

" - }, - "PaginationToken":{ - "type":"string", - "max":2048, - "min":1, - "pattern":"[a-zA-Z0-9_.\\-\\/+=]*" - }, - "Path":{ - "type":"string", - "max":1024, - "min":1, - "pattern":".*" - }, - "PercentDone":{ - "type":"float", - "max":100.0, - "min":0.0 - }, - "Percentage":{ - "type":"integer", - "max":100, - "min":1 - }, - "Port":{ - "type":"integer", - "max":65535, - "min":1 - }, - "PortForwardingConfig":{ - "type":"structure", - "members":{ - "portMappings":{ - "shape":"PortMappingList", - "documentation":"

The port mappings for the configuration.

" - } - }, - "documentation":"

Configuration information for port forwarding.

" - }, - "PortMapping":{ - "type":"structure", - "required":[ - "jobPort", - "applicationPort" - ], - "members":{ - "jobPort":{ - "shape":"Port", - "documentation":"

The port number on the simulation job instance to use as a remote connection point.

" - }, - "applicationPort":{ - "shape":"NonSystemPort", - "documentation":"

The port number on the application.

" - }, - "enableOnPublicIp":{ - "shape":"Boolean", - "documentation":"

A Boolean indicating whether to enable this port mapping on public IP.

" - } - }, - "documentation":"

An object representing a port mapping.

" - }, - "PortMappingList":{ - "type":"list", - "member":{"shape":"PortMapping"}, - "max":10, - "min":0 - }, - "ProgressDetail":{ - "type":"structure", - "members":{ - "currentProgress":{ - "shape":"RobotDeploymentStep", - "documentation":"

The current progress status.

Validating

Validating the deployment.

DownloadingExtracting

Downloading and extracting the bundle on the robot.

ExecutingPreLaunch

Executing pre-launch script(s) if provided.

Launching

Launching the robot application.

ExecutingPostLaunch

Executing post-launch script(s) if provided.

Finished

Deployment is complete.

" - }, - "percentDone":{ - "shape":"PercentDone", - "documentation":"

Precentage of the step that is done. This currently only applies to the Downloading/Extracting step of the deployment. It is empty for other steps.

" - }, - "estimatedTimeRemainingSeconds":{ - "shape":"GenericInteger", - "documentation":"

Estimated amount of time in seconds remaining in the step. This currently only applies to the Downloading/Extracting step of the deployment. It is empty for other steps.

" - }, - "targetResource":{ - "shape":"GenericString", - "documentation":"

The Amazon Resource Name (ARN) of the deployment job.

" - } - }, - "documentation":"

Information about the progress of a deployment job.

" - }, - "RegisterRobotRequest":{ - "type":"structure", - "required":[ - "fleet", - "robot" - ], - "members":{ - "fleet":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet.

" - }, - "robot":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot.

" - } - }, - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "RegisterRobotResponse":{ - "type":"structure", - "members":{ - "fleet":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet that the robot will join.

" - }, - "robot":{ - "shape":"Arn", - "documentation":"

Information about the robot registration.

" - } - }, - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "RenderingEngine":{ - "type":"structure", - "members":{ - "name":{ - "shape":"RenderingEngineType", - "documentation":"

The name of the rendering engine.

" - }, - "version":{ - "shape":"RenderingEngineVersionType", - "documentation":"

The version of the rendering engine.

" - } - }, - "documentation":"

Information about a rendering engine.

" - }, - "RenderingEngineType":{ - "type":"string", - "enum":["OGRE"] - }, - "RenderingEngineVersionType":{ - "type":"string", - "max":4, - "min":1, - "pattern":"1.x" - }, - "RepositoryUrl":{ - "type":"string", - "max":1024, - "min":1, - "pattern":".+" - }, - "ResourceAlreadyExistsException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

The specified resource already exists.

", - "error":{"httpStatusCode":400}, - "exception":true - }, - "ResourceNotFoundException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

The specified resource does not exist.

", - "error":{"httpStatusCode":400}, - "exception":true - }, - "RestartSimulationJobRequest":{ - "type":"structure", - "required":["job"], - "members":{ - "job":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the simulation job.

" - } - } - }, - "RestartSimulationJobResponse":{ - "type":"structure", - "members":{} - }, - "RevisionId":{ - "type":"string", - "max":40, - "min":1, - "pattern":"[a-zA-Z0-9_.\\-]*" - }, - "Robot":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the robot.

" - }, - "fleetArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet.

" - }, - "status":{ - "shape":"RobotStatus", - "documentation":"

The status of the robot.

" - }, - "greenGrassGroupId":{ - "shape":"Id", - "documentation":"

The Greengrass group associated with the robot.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the robot was created.

" - }, - "architecture":{ - "shape":"Architecture", - "documentation":"

The architecture of the robot.

" - }, - "lastDeploymentJob":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the last deployment job.

" - }, - "lastDeploymentTime":{ - "shape":"CreatedAt", - "documentation":"

The time of the last deployment.

" - } - }, - "documentation":"

Information about a robot.

" - }, - "RobotApplicationConfig":{ - "type":"structure", - "required":[ - "application", - "launchConfig" - ], - "members":{ - "application":{ - "shape":"Arn", - "documentation":"

The application information for the robot application.

" - }, - "applicationVersion":{ - "shape":"Version", - "documentation":"

The version of the robot application.

" - }, - "launchConfig":{ - "shape":"LaunchConfig", - "documentation":"

The launch configuration for the robot application.

" - }, - "uploadConfigurations":{ - "shape":"UploadConfigurations", - "documentation":"

The upload configurations for the robot application.

" - }, - "useDefaultUploadConfigurations":{ - "shape":"BoxedBoolean", - "documentation":"

A Boolean indicating whether to use default upload configurations. By default, .ros and .gazebo files are uploaded when the application terminates and all ROS topics will be recorded.

If you set this value, you must specify an outputLocation.

This API is no longer supported and will throw an error if used.

", - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is ending support for ROS software suite. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/software-support-policy.html." - }, - "tools":{ - "shape":"Tools", - "documentation":"

Information about tools configured for the robot application.

" - }, - "useDefaultTools":{ - "shape":"BoxedBoolean", - "documentation":"

A Boolean indicating whether to use default robot application tools. The default tools are rviz, rqt, terminal and rosbag record. The default is False.

This API is no longer supported and will throw an error if used.

", - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is ending support for ROS software suite. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/software-support-policy.html." - } - }, - "documentation":"

Application configuration information for a robot.

" - }, - "RobotApplicationConfigs":{ - "type":"list", - "member":{"shape":"RobotApplicationConfig"}, - "max":1, - "min":1 - }, - "RobotApplicationNames":{ - "type":"list", - "member":{"shape":"Name"} - }, - "RobotApplicationSummaries":{ - "type":"list", - "member":{"shape":"RobotApplicationSummary"}, - "max":100, - "min":0 - }, - "RobotApplicationSummary":{ - "type":"structure", - "members":{ - "name":{ - "shape":"Name", - "documentation":"

The name of the robot application.

" - }, - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the robot.

" - }, - "version":{ - "shape":"Version", - "documentation":"

The version of the robot application.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the robot application was last updated.

" - }, - "robotSoftwareSuite":{ - "shape":"RobotSoftwareSuite", - "documentation":"

Information about a robot software suite.

" - } - }, - "documentation":"

Summary information for a robot application.

" - }, - "RobotDeployment":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The robot deployment Amazon Resource Name (ARN).

" - }, - "deploymentStartTime":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the deployment was started.

" - }, - "deploymentFinishTime":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the deployment finished.

" - }, - "status":{ - "shape":"RobotStatus", - "documentation":"

The status of the robot deployment.

" - }, - "progressDetail":{ - "shape":"ProgressDetail", - "documentation":"

Information about how the deployment is progressing.

" - }, - "failureReason":{ - "shape":"GenericString", - "documentation":"

A short description of the reason why the robot deployment failed.

" - }, - "failureCode":{ - "shape":"DeploymentJobErrorCode", - "documentation":"

The robot deployment failure code.

" - } - }, - "documentation":"

Information about a robot deployment.

" - }, - "RobotDeploymentStep":{ - "type":"string", - "enum":[ - "Validating", - "DownloadingExtracting", - "ExecutingDownloadCondition", - "ExecutingPreLaunch", - "Launching", - "ExecutingPostLaunch", - "Finished" - ] - }, - "RobotDeploymentSummary":{ - "type":"list", - "member":{"shape":"RobotDeployment"} - }, - "RobotSoftwareSuite":{ - "type":"structure", - "members":{ - "name":{ - "shape":"RobotSoftwareSuiteType", - "documentation":"

The name of the robot software suite. General is the only supported value.

" - }, - "version":{ - "shape":"RobotSoftwareSuiteVersionType", - "documentation":"

The version of the robot software suite. Not applicable for General software suite.

" - } - }, - "documentation":"

Information about a robot software suite.

" - }, - "RobotSoftwareSuiteType":{ - "type":"string", - "enum":[ - "ROS", - "ROS2", - "General" - ] - }, - "RobotSoftwareSuiteVersionType":{ - "type":"string", - "enum":[ - "Kinetic", - "Melodic", - "Dashing", - "Foxy" - ] - }, - "RobotStatus":{ - "type":"string", - "enum":[ - "Available", - "Registered", - "PendingNewDeployment", - "Deploying", - "Failed", - "InSync", - "NoResponse" - ] - }, - "Robots":{ - "type":"list", - "member":{"shape":"Robot"}, - "max":1000, - "min":0 - }, - "S3Bucket":{ - "type":"string", - "max":63, - "min":3, - "pattern":"[a-z0-9][a-z0-9.\\-]*[a-z0-9]" - }, - "S3Etag":{"type":"string"}, - "S3Etags":{ - "type":"list", - "member":{"shape":"S3Etag"} - }, - "S3Key":{ - "type":"string", - "max":1024, - "min":1, - "pattern":".*" - }, - "S3KeyOrPrefix":{ - "type":"string", - "max":1024, - "min":0, - "pattern":".*" - }, - "S3KeyOutput":{ - "type":"structure", - "members":{ - "s3Key":{ - "shape":"S3KeyOrPrefix", - "documentation":"

The S3 key.

" - }, - "etag":{ - "shape":"S3Etag", - "documentation":"

The etag for the object.

" - } - }, - "documentation":"

Information about S3 keys.

" - }, - "S3KeyOutputs":{ - "type":"list", - "member":{"shape":"S3KeyOutput"} - }, - "S3KeysOrPrefixes":{ - "type":"list", - "member":{"shape":"S3KeyOrPrefix"}, - "max":100, - "min":1 - }, - "S3Object":{ - "type":"structure", - "required":[ - "bucket", - "key" - ], - "members":{ - "bucket":{ - "shape":"S3Bucket", - "documentation":"

The bucket containing the object.

" - }, - "key":{ - "shape":"S3Key", - "documentation":"

The key of the object.

" - }, - "etag":{ - "shape":"S3Etag", - "documentation":"

The etag of the object.

" - } - }, - "documentation":"

Information about an S3 object.

" - }, - "SecurityGroups":{ - "type":"list", - "member":{"shape":"NonEmptyString"}, - "max":5, - "min":1 - }, - "ServiceUnavailableException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

The request has failed due to a temporary failure of the server.

", - "error":{"httpStatusCode":503}, - "exception":true - }, - "SimulationApplicationConfig":{ - "type":"structure", - "required":[ - "application", - "launchConfig" - ], - "members":{ - "application":{ - "shape":"Arn", - "documentation":"

The application information for the simulation application.

" - }, - "applicationVersion":{ - "shape":"Version", - "documentation":"

The version of the simulation application.

" - }, - "launchConfig":{ - "shape":"LaunchConfig", - "documentation":"

The launch configuration for the simulation application.

" - }, - "uploadConfigurations":{ - "shape":"UploadConfigurations", - "documentation":"

Information about upload configurations for the simulation application.

" - }, - "worldConfigs":{ - "shape":"WorldConfigs", - "documentation":"

A list of world configurations.

This API is no longer supported and will throw an error if used.

" - }, - "useDefaultUploadConfigurations":{ - "shape":"BoxedBoolean", - "documentation":"

A Boolean indicating whether to use default upload configurations. By default, .ros and .gazebo files are uploaded when the application terminates and all ROS topics will be recorded.

If you set this value, you must specify an outputLocation.

This API is no longer supported and will throw an error if used.

", - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is ending support for ROS software suite. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/software-support-policy.html." - }, - "tools":{ - "shape":"Tools", - "documentation":"

Information about tools configured for the simulation application.

" - }, - "useDefaultTools":{ - "shape":"BoxedBoolean", - "documentation":"

A Boolean indicating whether to use default simulation application tools. The default tools are rviz, rqt, terminal and rosbag record. The default is False.

This API is no longer supported and will throw an error if used.

", - "deprecated":true, - "deprecatedMessage":"AWS RoboMaker is ending support for ROS software suite. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/software-support-policy.html." - } - }, - "documentation":"

Information about a simulation application configuration.

" - }, - "SimulationApplicationConfigs":{ - "type":"list", - "member":{"shape":"SimulationApplicationConfig"}, - "max":1, - "min":1 - }, - "SimulationApplicationNames":{ - "type":"list", - "member":{"shape":"Name"} - }, - "SimulationApplicationSummaries":{ - "type":"list", - "member":{"shape":"SimulationApplicationSummary"}, - "max":100, - "min":0 - }, - "SimulationApplicationSummary":{ - "type":"structure", - "members":{ - "name":{ - "shape":"Name", - "documentation":"

The name of the simulation application.

" - }, - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the simulation application.

" - }, - "version":{ - "shape":"Version", - "documentation":"

The version of the simulation application.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation application was last updated.

" - }, - "robotSoftwareSuite":{ - "shape":"RobotSoftwareSuite", - "documentation":"

Information about a robot software suite.

" - }, - "simulationSoftwareSuite":{ - "shape":"SimulationSoftwareSuite", - "documentation":"

Information about a simulation software suite.

" - } - }, - "documentation":"

Summary information for a simulation application.

" - }, - "SimulationJob":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the simulation job.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the simulation job.

" - }, - "status":{ - "shape":"SimulationJobStatus", - "documentation":"

Status of the simulation job.

" - }, - "lastStartedAt":{ - "shape":"LastStartedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation job was last started.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation job was last updated.

" - }, - "failureBehavior":{ - "shape":"FailureBehavior", - "documentation":"

The failure behavior the simulation job.

Continue

Leaves the host running for its maximum timeout duration after a 4XX error code.

Fail

Stop the simulation job and terminate the instance.

" - }, - "failureCode":{ - "shape":"SimulationJobErrorCode", - "documentation":"

The failure code of the simulation job if it failed.

" - }, - "failureReason":{ - "shape":"GenericString", - "documentation":"

The reason why the simulation job failed.

" - }, - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

A unique identifier for this SimulationJob request.

" - }, - "outputLocation":{ - "shape":"OutputLocation", - "documentation":"

Location for output files generated by the simulation job.

" - }, - "loggingConfig":{ - "shape":"LoggingConfig", - "documentation":"

The logging configuration.

" - }, - "maxJobDurationInSeconds":{ - "shape":"JobDuration", - "documentation":"

The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.

" - }, - "simulationTimeMillis":{ - "shape":"SimulationTimeMillis", - "documentation":"

The simulation job execution duration in milliseconds.

" - }, - "iamRole":{ - "shape":"IamRole", - "documentation":"

The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf. This is how credentials are passed in to your simulation job.

" - }, - "robotApplications":{ - "shape":"RobotApplicationConfigs", - "documentation":"

A list of robot applications.

" - }, - "simulationApplications":{ - "shape":"SimulationApplicationConfigs", - "documentation":"

A list of simulation applications.

" - }, - "dataSources":{ - "shape":"DataSources", - "documentation":"

The data sources for the simulation job.

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

A map that contains tag keys and tag values that are attached to the simulation job.

" - }, - "vpcConfig":{ - "shape":"VPCConfigResponse", - "documentation":"

VPC configuration information.

" - }, - "networkInterface":{ - "shape":"NetworkInterface", - "documentation":"

Information about a network interface.

" - }, - "compute":{ - "shape":"ComputeResponse", - "documentation":"

Compute information for the simulation job

" - } - }, - "documentation":"

Information about a simulation job.

" - }, - "SimulationJobBatchErrorCode":{ - "type":"string", - "enum":["InternalServiceError"] - }, - "SimulationJobBatchStatus":{ - "type":"string", - "enum":[ - "Pending", - "InProgress", - "Failed", - "Completed", - "Canceled", - "Canceling", - "Completing", - "TimingOut", - "TimedOut" - ] - }, - "SimulationJobBatchSummaries":{ - "type":"list", - "member":{"shape":"SimulationJobBatchSummary"} - }, - "SimulationJobBatchSummary":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the batch.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation job batch was last updated.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation job batch was created.

" - }, - "status":{ - "shape":"SimulationJobBatchStatus", - "documentation":"

The status of the simulation job batch.

Pending

The simulation job batch request is pending.

InProgress

The simulation job batch is in progress.

Failed

The simulation job batch failed. One or more simulation job requests could not be completed due to an internal failure (like InternalServiceError). See failureCode and failureReason for more information.

Completed

The simulation batch job completed. A batch is complete when (1) there are no pending simulation job requests in the batch and none of the failed simulation job requests are due to InternalServiceError and (2) when all created simulation jobs have reached a terminal state (for example, Completed or Failed).

Canceled

The simulation batch job was cancelled.

Canceling

The simulation batch job is being cancelled.

Completing

The simulation batch job is completing.

TimingOut

The simulation job batch is timing out.

If a batch timing out, and there are pending requests that were failing due to an internal failure (like InternalServiceError), the batch status will be Failed. If there are no such failing request, the batch status will be TimedOut.

TimedOut

The simulation batch job timed out.

" - }, - "failedRequestCount":{ - "shape":"Integer", - "documentation":"

The number of failed simulation job requests.

" - }, - "pendingRequestCount":{ - "shape":"Integer", - "documentation":"

The number of pending simulation job requests.

" - }, - "createdRequestCount":{ - "shape":"Integer", - "documentation":"

The number of created simulation job requests.

" - } - }, - "documentation":"

Information about a simulation job batch.

" - }, - "SimulationJobErrorCode":{ - "type":"string", - "enum":[ - "InternalServiceError", - "RobotApplicationCrash", - "SimulationApplicationCrash", - "RobotApplicationHealthCheckFailure", - "SimulationApplicationHealthCheckFailure", - "BadPermissionsRobotApplication", - "BadPermissionsSimulationApplication", - "BadPermissionsS3Object", - "BadPermissionsS3Output", - "BadPermissionsCloudwatchLogs", - "SubnetIpLimitExceeded", - "ENILimitExceeded", - "BadPermissionsUserCredentials", - "InvalidBundleRobotApplication", - "InvalidBundleSimulationApplication", - "InvalidS3Resource", - "ThrottlingError", - "LimitExceeded", - "MismatchedEtag", - "RobotApplicationVersionMismatchedEtag", - "SimulationApplicationVersionMismatchedEtag", - "ResourceNotFound", - "RequestThrottled", - "BatchTimedOut", - "BatchCanceled", - "InvalidInput", - "WrongRegionS3Bucket", - "WrongRegionS3Output", - "WrongRegionRobotApplication", - "WrongRegionSimulationApplication", - "UploadContentMismatchError" - ] - }, - "SimulationJobRequest":{ - "type":"structure", - "required":["maxJobDurationInSeconds"], - "members":{ - "outputLocation":{"shape":"OutputLocation"}, - "loggingConfig":{"shape":"LoggingConfig"}, - "maxJobDurationInSeconds":{ - "shape":"JobDuration", - "documentation":"

The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.

" - }, - "iamRole":{ - "shape":"IamRole", - "documentation":"

The IAM role name that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf. This is how credentials are passed in to your simulation job.

" - }, - "failureBehavior":{ - "shape":"FailureBehavior", - "documentation":"

The failure behavior the simulation job.

Continue

Leaves the host running for its maximum timeout duration after a 4XX error code.

Fail

Stop the simulation job and terminate the instance.

" - }, - "useDefaultApplications":{ - "shape":"BoxedBoolean", - "documentation":"

A Boolean indicating whether to use default applications in the simulation job. Default applications include Gazebo, rqt, rviz and terminal access.

" - }, - "robotApplications":{ - "shape":"RobotApplicationConfigs", - "documentation":"

The robot applications to use in the simulation job.

" - }, - "simulationApplications":{ - "shape":"SimulationApplicationConfigs", - "documentation":"

The simulation applications to use in the simulation job.

" - }, - "dataSources":{ - "shape":"DataSourceConfigs", - "documentation":"

Specify data sources to mount read-only files from S3 into your simulation. These files are available under /opt/robomaker/datasources/data_source_name.

There is a limit of 100 files and a combined size of 25GB for all DataSourceConfig objects.

" - }, - "vpcConfig":{"shape":"VPCConfig"}, - "compute":{ - "shape":"Compute", - "documentation":"

Compute information for the simulation job

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

A map that contains tag keys and tag values that are attached to the simulation job request.

" - } - }, - "documentation":"

Information about a simulation job request.

" - }, - "SimulationJobStatus":{ - "type":"string", - "enum":[ - "Pending", - "Preparing", - "Running", - "Restarting", - "Completed", - "Failed", - "RunningFailed", - "Terminating", - "Terminated", - "Canceled" - ] - }, - "SimulationJobSummaries":{ - "type":"list", - "member":{"shape":"SimulationJobSummary"}, - "max":100, - "min":0 - }, - "SimulationJobSummary":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the simulation job.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation job was last updated.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the simulation job.

" - }, - "status":{ - "shape":"SimulationJobStatus", - "documentation":"

The status of the simulation job.

" - }, - "simulationApplicationNames":{ - "shape":"SimulationApplicationNames", - "documentation":"

A list of simulation job simulation application names.

" - }, - "robotApplicationNames":{ - "shape":"RobotApplicationNames", - "documentation":"

A list of simulation job robot application names.

" - }, - "dataSourceNames":{ - "shape":"DataSourceNames", - "documentation":"

The names of the data sources.

" - }, - "computeType":{ - "shape":"ComputeType", - "documentation":"

The compute type for the simulation job summary.

" - } - }, - "documentation":"

Summary information for a simulation job.

" - }, - "SimulationJobs":{ - "type":"list", - "member":{"shape":"SimulationJob"} - }, - "SimulationSoftwareSuite":{ - "type":"structure", - "members":{ - "name":{ - "shape":"SimulationSoftwareSuiteType", - "documentation":"

The name of the simulation software suite. SimulationRuntime is the only supported value.

" - }, - "version":{ - "shape":"SimulationSoftwareSuiteVersionType", - "documentation":"

The version of the simulation software suite. Not applicable for SimulationRuntime.

" - } - }, - "documentation":"

Information about a simulation software suite.

" - }, - "SimulationSoftwareSuiteType":{ - "type":"string", - "enum":[ - "Gazebo", - "RosbagPlay", - "SimulationRuntime" - ] - }, - "SimulationSoftwareSuiteVersionType":{ - "type":"string", - "max":1024, - "min":0, - "pattern":"7|9|11|Kinetic|Melodic|Dashing|Foxy" - }, - "SimulationTimeMillis":{"type":"long"}, - "SimulationUnit":{ - "type":"integer", - "max":15, - "min":1 - }, - "Source":{ - "type":"structure", - "members":{ - "s3Bucket":{ - "shape":"S3Bucket", - "documentation":"

The s3 bucket name.

" - }, - "s3Key":{ - "shape":"S3Key", - "documentation":"

The s3 object key.

" - }, - "etag":{ - "shape":"S3Etag", - "documentation":"

A hash of the object specified by s3Bucket and s3Key.

" - }, - "architecture":{ - "shape":"Architecture", - "documentation":"

The taget processor architecture for the application.

" - } - }, - "documentation":"

Information about a source.

" - }, - "SourceConfig":{ - "type":"structure", - "members":{ - "s3Bucket":{ - "shape":"S3Bucket", - "documentation":"

The Amazon S3 bucket name.

" - }, - "s3Key":{ - "shape":"S3Key", - "documentation":"

The s3 object key.

" - }, - "architecture":{ - "shape":"Architecture", - "documentation":"

The target processor architecture for the application.

" - } - }, - "documentation":"

Information about a source configuration.

" - }, - "SourceConfigs":{ - "type":"list", - "member":{"shape":"SourceConfig"} - }, - "Sources":{ - "type":"list", - "member":{"shape":"Source"} - }, - "StartSimulationJobBatchRequest":{ - "type":"structure", - "required":["createSimulationJobRequests"], - "members":{ - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", - "idempotencyToken":true - }, - "batchPolicy":{ - "shape":"BatchPolicy", - "documentation":"

The batch policy.

" - }, - "createSimulationJobRequests":{ - "shape":"CreateSimulationJobRequests", - "documentation":"

A list of simulation job requests to create in the batch.

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

A map that contains tag keys and tag values that are attached to the deployment job batch.

" - } - } - }, - "StartSimulationJobBatchResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the batch.

" - }, - "status":{ - "shape":"SimulationJobBatchStatus", - "documentation":"

The status of the simulation job batch.

Pending

The simulation job batch request is pending.

InProgress

The simulation job batch is in progress.

Failed

The simulation job batch failed. One or more simulation job requests could not be completed due to an internal failure (like InternalServiceError). See failureCode and failureReason for more information.

Completed

The simulation batch job completed. A batch is complete when (1) there are no pending simulation job requests in the batch and none of the failed simulation job requests are due to InternalServiceError and (2) when all created simulation jobs have reached a terminal state (for example, Completed or Failed).

Canceled

The simulation batch job was cancelled.

Canceling

The simulation batch job is being cancelled.

Completing

The simulation batch job is completing.

TimingOut

The simulation job batch is timing out.

If a batch timing out, and there are pending requests that were failing due to an internal failure (like InternalServiceError), the batch status will be Failed. If there are no such failing request, the batch status will be TimedOut.

TimedOut

The simulation batch job timed out.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation job batch was created.

" - }, - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

" - }, - "batchPolicy":{ - "shape":"BatchPolicy", - "documentation":"

The batch policy.

" - }, - "failureCode":{ - "shape":"SimulationJobBatchErrorCode", - "documentation":"

The failure code if the simulation job batch failed.

" - }, - "failureReason":{ - "shape":"GenericString", - "documentation":"

The reason the simulation job batch failed.

" - }, - "failedRequests":{ - "shape":"FailedCreateSimulationJobRequests", - "documentation":"

A list of failed simulation job requests. The request failed to be created into a simulation job. Failed requests do not have a simulation job ID.

" - }, - "pendingRequests":{ - "shape":"CreateSimulationJobRequests", - "documentation":"

A list of pending simulation job requests. These requests have not yet been created into simulation jobs.

" - }, - "createdRequests":{ - "shape":"SimulationJobSummaries", - "documentation":"

A list of created simulation job request summaries.

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

A map that contains tag keys and tag values that are attached to the deployment job batch.

" - } - } - }, - "Subnets":{ - "type":"list", - "member":{"shape":"NonEmptyString"}, - "max":16, - "min":1 - }, - "SyncDeploymentJobRequest":{ - "type":"structure", - "required":[ - "clientRequestToken", - "fleet" - ], - "members":{ - "clientRequestToken":{ - "shape":"ClientRequestToken", - "documentation":"

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", - "idempotencyToken":true - }, - "fleet":{ - "shape":"Arn", - "documentation":"

The target fleet for the synchronization.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "SyncDeploymentJobResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the synchronization request.

" - }, - "fleet":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the fleet.

" - }, - "status":{ - "shape":"DeploymentStatus", - "documentation":"

The status of the synchronization job.

" - }, - "deploymentConfig":{ - "shape":"DeploymentConfig", - "documentation":"

Information about the deployment configuration.

" - }, - "deploymentApplicationConfigs":{ - "shape":"DeploymentApplicationConfigs", - "documentation":"

Information about the deployment application configurations.

" - }, - "failureReason":{ - "shape":"GenericString", - "documentation":"

The failure reason if the job fails.

" - }, - "failureCode":{ - "shape":"DeploymentJobErrorCode", - "documentation":"

The failure code if the job fails:

InternalServiceError

Internal service error.

RobotApplicationCrash

Robot application exited abnormally.

SimulationApplicationCrash

Simulation application exited abnormally.

BadPermissionsRobotApplication

Robot application bundle could not be downloaded.

BadPermissionsSimulationApplication

Simulation application bundle could not be downloaded.

BadPermissionsS3Output

Unable to publish outputs to customer-provided S3 bucket.

BadPermissionsCloudwatchLogs

Unable to publish logs to customer-provided CloudWatch Logs resource.

SubnetIpLimitExceeded

Subnet IP limit exceeded.

ENILimitExceeded

ENI limit exceeded.

BadPermissionsUserCredentials

Unable to use the Role provided.

InvalidBundleRobotApplication

Robot bundle cannot be extracted (invalid format, bundling error, or other issue).

InvalidBundleSimulationApplication

Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).

RobotApplicationVersionMismatchedEtag

Etag for RobotApplication does not match value during version creation.

SimulationApplicationVersionMismatchedEtag

Etag for SimulationApplication does not match value during version creation.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the fleet was created.

" - } - }, - "deprecated":true, - "deprecatedMessage":"Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "TagKey":{ - "type":"string", - "max":128, - "min":1, - "pattern":"[a-zA-Z0-9 _.\\-\\/+=:]*" - }, - "TagKeyList":{ - "type":"list", - "member":{"shape":"TagKey"} - }, - "TagMap":{ - "type":"map", - "key":{"shape":"TagKey"}, - "value":{"shape":"TagValue"}, - "max":50, - "min":0 - }, - "TagResourceRequest":{ - "type":"structure", - "required":[ - "resourceArn", - "tags" - ], - "members":{ - "resourceArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are tagging.

", - "location":"uri", - "locationName":"resourceArn" - }, - "tags":{ - "shape":"TagMap", - "documentation":"

A map that contains tag keys and tag values that are attached to the resource.

" - } - } - }, - "TagResourceResponse":{ - "type":"structure", - "members":{} - }, - "TagValue":{ - "type":"string", - "max":256, - "min":0, - "pattern":"[a-zA-Z0-9 _.\\-\\/+=:]*" - }, - "TemplateLocation":{ - "type":"structure", - "required":[ - "s3Bucket", - "s3Key" - ], - "members":{ - "s3Bucket":{ - "shape":"S3Bucket", - "documentation":"

The Amazon S3 bucket name.

" - }, - "s3Key":{ - "shape":"S3Key", - "documentation":"

The list of S3 keys identifying the data source files.

" - } - }, - "documentation":"

Information about a template location.

" - }, - "TemplateName":{ - "type":"string", - "max":255, - "min":0, - "pattern":".*" - }, - "TemplateSummaries":{ - "type":"list", - "member":{"shape":"TemplateSummary"} - }, - "TemplateSummary":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the template.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the template was created.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the template was last updated.

" - }, - "name":{ - "shape":"TemplateName", - "documentation":"

The name of the template.

" - }, - "version":{ - "shape":"GenericString", - "documentation":"

The version of the template that you're using.

" - } - }, - "documentation":"

Summary information for a template.

" - }, - "ThrottlingException":{ - "type":"structure", - "members":{ - "message":{"shape":"errorMessage"} - }, - "documentation":"

AWS RoboMaker is temporarily unable to process the request. Try your call again.

", - "error":{"httpStatusCode":400}, - "exception":true - }, - "Tool":{ - "type":"structure", - "required":[ - "name", - "command" - ], - "members":{ - "streamUI":{ - "shape":"BoxedBoolean", - "documentation":"

Boolean indicating whether a streaming session will be configured for the tool. If True, AWS RoboMaker will configure a connection so you can interact with the tool as it is running in the simulation. It must have a graphical user interface. The default is False.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the tool.

" - }, - "command":{ - "shape":"UnrestrictedCommand", - "documentation":"

Command-line arguments for the tool. It must include the tool executable name.

" - }, - "streamOutputToCloudWatch":{ - "shape":"BoxedBoolean", - "documentation":"

Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False.

" - }, - "exitBehavior":{ - "shape":"ExitBehavior", - "documentation":"

Exit behavior determines what happens when your tool quits running. RESTART will cause your tool to be restarted. FAIL will cause your job to exit. The default is RESTART.

" - } - }, - "documentation":"

Information about a tool. Tools are used in a simulation job.

" - }, - "Tools":{ - "type":"list", - "member":{"shape":"Tool"}, - "max":10, - "min":0 - }, - "UnrestrictedCommand":{ - "type":"string", - "max":1024, - "min":1, - "pattern":".*" - }, - "UntagResourceRequest":{ - "type":"structure", - "required":[ - "resourceArn", - "tagKeys" - ], - "members":{ - "resourceArn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are removing tags.

", - "location":"uri", - "locationName":"resourceArn" - }, - "tagKeys":{ - "shape":"TagKeyList", - "documentation":"

A map that contains tag keys and tag values that will be unattached from the resource.

", - "location":"querystring", - "locationName":"tagKeys" - } - } - }, - "UntagResourceResponse":{ - "type":"structure", - "members":{} - }, - "UpdateRobotApplicationRequest":{ - "type":"structure", - "required":[ - "application", - "robotSoftwareSuite" - ], - "members":{ - "application":{ - "shape":"Arn", - "documentation":"

The application information for the robot application.

" - }, - "sources":{ - "shape":"SourceConfigs", - "documentation":"

The sources of the robot application.

" - }, - "robotSoftwareSuite":{ - "shape":"RobotSoftwareSuite", - "documentation":"

The robot software suite used by the robot application.

" - }, - "currentRevisionId":{ - "shape":"RevisionId", - "documentation":"

The revision id for the robot application.

" - }, - "environment":{ - "shape":"Environment", - "documentation":"

The object that contains the Docker image URI for your robot application.

" - } - } - }, - "UpdateRobotApplicationResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the updated robot application.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the robot application.

" - }, - "version":{ - "shape":"Version", - "documentation":"

The version of the robot application.

" - }, - "sources":{ - "shape":"Sources", - "documentation":"

The sources of the robot application.

" - }, - "robotSoftwareSuite":{ - "shape":"RobotSoftwareSuite", - "documentation":"

The robot software suite used by the robot application.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the robot application was last updated.

" - }, - "revisionId":{ - "shape":"RevisionId", - "documentation":"

The revision id of the robot application.

" - }, - "environment":{ - "shape":"Environment", - "documentation":"

The object that contains the Docker image URI for your robot application.

" - } - } - }, - "UpdateSimulationApplicationRequest":{ - "type":"structure", - "required":[ - "application", - "simulationSoftwareSuite", - "robotSoftwareSuite" - ], - "members":{ - "application":{ - "shape":"Arn", - "documentation":"

The application information for the simulation application.

" - }, - "sources":{ - "shape":"SourceConfigs", - "documentation":"

The sources of the simulation application.

" - }, - "simulationSoftwareSuite":{ - "shape":"SimulationSoftwareSuite", - "documentation":"

The simulation software suite used by the simulation application.

" - }, - "robotSoftwareSuite":{ - "shape":"RobotSoftwareSuite", - "documentation":"

Information about the robot software suite.

" - }, - "renderingEngine":{ - "shape":"RenderingEngine", - "documentation":"

The rendering engine for the simulation application.

" - }, - "currentRevisionId":{ - "shape":"RevisionId", - "documentation":"

The revision id for the robot application.

" - }, - "environment":{ - "shape":"Environment", - "documentation":"

The object that contains the Docker image URI for your simulation application.

" - } - } - }, - "UpdateSimulationApplicationResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the updated simulation application.

" - }, - "name":{ - "shape":"Name", - "documentation":"

The name of the simulation application.

" - }, - "version":{ - "shape":"Version", - "documentation":"

The version of the robot application.

" - }, - "sources":{ - "shape":"Sources", - "documentation":"

The sources of the simulation application.

" - }, - "simulationSoftwareSuite":{ - "shape":"SimulationSoftwareSuite", - "documentation":"

The simulation software suite used by the simulation application.

" - }, - "robotSoftwareSuite":{ - "shape":"RobotSoftwareSuite", - "documentation":"

Information about the robot software suite.

" - }, - "renderingEngine":{ - "shape":"RenderingEngine", - "documentation":"

The rendering engine for the simulation application.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the simulation application was last updated.

" - }, - "revisionId":{ - "shape":"RevisionId", - "documentation":"

The revision id of the simulation application.

" - }, - "environment":{ - "shape":"Environment", - "documentation":"

The object that contains the Docker image URI used for your simulation application.

" - } - } - }, - "UpdateWorldTemplateRequest":{ - "type":"structure", - "required":["template"], - "members":{ - "template":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world template to update.

" - }, - "name":{ - "shape":"TemplateName", - "documentation":"

The name of the template.

" - }, - "templateBody":{ - "shape":"Json", - "documentation":"

The world template body.

" - }, - "templateLocation":{ - "shape":"TemplateLocation", - "documentation":"

The location of the world template.

" - } - } - }, - "UpdateWorldTemplateResponse":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world template.

" - }, - "name":{ - "shape":"TemplateName", - "documentation":"

The name of the world template.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the world template was created.

" - }, - "lastUpdatedAt":{ - "shape":"LastUpdatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the world template was last updated.

" - } - } - }, - "UploadBehavior":{ - "type":"string", - "enum":[ - "UPLOAD_ON_TERMINATE", - "UPLOAD_ROLLING_AUTO_REMOVE" - ] - }, - "UploadConfiguration":{ - "type":"structure", - "required":[ - "name", - "path", - "uploadBehavior" - ], - "members":{ - "name":{ - "shape":"Name", - "documentation":"

A prefix that specifies where files will be uploaded in Amazon S3. It is appended to the simulation output location to determine the final path.

For example, if your simulation output location is s3://amzn-s3-demo-bucket and your upload configuration name is robot-test, your files will be uploaded to s3://amzn-s3-demo-bucket/<simid>/<runid>/robot-test.

" - }, - "path":{ - "shape":"Path", - "documentation":"

Specifies the path of the file(s) to upload. Standard Unix glob matching rules are accepted, with the addition of ** as a super asterisk. For example, specifying /var/log/**.log causes all .log files in the /var/log directory tree to be collected. For more examples, see Glob Library.

" - }, - "uploadBehavior":{ - "shape":"UploadBehavior", - "documentation":"

Specifies when to upload the files:

UPLOAD_ON_TERMINATE

Matching files are uploaded once the simulation enters the TERMINATING state. Matching files are not uploaded until all of your code (including tools) have stopped.

If there is a problem uploading a file, the upload is retried. If problems persist, no further upload attempts will be made.

UPLOAD_ROLLING_AUTO_REMOVE

Matching files are uploaded as they are created. They are deleted after they are uploaded. The specified path is checked every 5 seconds. A final check is made when all of your code (including tools) have stopped.

" - } - }, - "documentation":"

Provides upload configuration information. Files are uploaded from the simulation job to a location you specify.

" - }, - "UploadConfigurations":{ - "type":"list", - "member":{"shape":"UploadConfiguration"}, - "max":10, - "min":0 - }, - "VPCConfig":{ - "type":"structure", - "required":["subnets"], - "members":{ - "subnets":{ - "shape":"Subnets", - "documentation":"

A list of one or more subnet IDs in your VPC.

" - }, - "securityGroups":{ - "shape":"SecurityGroups", - "documentation":"

A list of one or more security groups IDs in your VPC.

" - }, - "assignPublicIp":{ - "shape":"Boolean", - "documentation":"

A boolean indicating whether to assign a public IP address.

" - } - }, - "documentation":"

If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and two subnet IDs.

" - }, - "VPCConfigResponse":{ - "type":"structure", - "members":{ - "subnets":{ - "shape":"Subnets", - "documentation":"

A list of subnet IDs associated with the simulation job.

" - }, - "securityGroups":{ - "shape":"SecurityGroups", - "documentation":"

A list of security group IDs associated with the simulation job.

" - }, - "vpcId":{ - "shape":"GenericString", - "documentation":"

The VPC ID associated with your simulation job.

" - }, - "assignPublicIp":{ - "shape":"Boolean", - "documentation":"

A boolean indicating if a public IP was assigned.

" - } - }, - "documentation":"

VPC configuration associated with your simulation job.

" - }, - "Version":{ - "type":"string", - "max":255, - "min":1, - "pattern":"(\\$LATEST)|[0-9]*" - }, - "VersionQualifier":{ - "type":"string", - "max":255, - "min":1, - "pattern":"ALL" - }, - "WorldConfig":{ - "type":"structure", - "members":{ - "world":{ - "shape":"Arn", - "documentation":"

The world generated by Simulation WorldForge.

" - } - }, - "documentation":"

Configuration information for a world.

" - }, - "WorldConfigs":{ - "type":"list", - "member":{"shape":"WorldConfig"}, - "max":1, - "min":0 - }, - "WorldCount":{ - "type":"structure", - "members":{ - "floorplanCount":{ - "shape":"FloorplanCount", - "documentation":"

The number of unique floorplans.

" - }, - "interiorCountPerFloorplan":{ - "shape":"InteriorCountPerFloorplan", - "documentation":"

The number of unique interiors per floorplan.

" - } - }, - "documentation":"

The number of worlds that will be created. You can configure the number of unique floorplans and the number of unique interiors for each floor plan. For example, if you want 1 world with 20 unique interiors, you set floorplanCount = 1 and interiorCountPerFloorplan = 20. This will result in 20 worlds (floorplanCount * interiorCountPerFloorplan).

If you set floorplanCount = 4 and interiorCountPerFloorplan = 5, there will be 20 worlds with 5 unique floor plans.

" - }, - "WorldExportJobErrorCode":{ - "type":"string", - "enum":[ - "InternalServiceError", - "LimitExceeded", - "ResourceNotFound", - "RequestThrottled", - "InvalidInput", - "AccessDenied" - ] - }, - "WorldExportJobStatus":{ - "type":"string", - "enum":[ - "Pending", - "Running", - "Completed", - "Failed", - "Canceling", - "Canceled" - ] - }, - "WorldExportJobSummaries":{ - "type":"list", - "member":{"shape":"WorldExportJobSummary"}, - "max":100, - "min":0 - }, - "WorldExportJobSummary":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the world export job.

" - }, - "status":{ - "shape":"WorldExportJobStatus", - "documentation":"

The status of the world export job.

Pending

The world export job request is pending.

Running

The world export job is running.

Completed

The world export job completed.

Failed

The world export job failed. See failureCode for more information.

Canceled

The world export job was cancelled.

Canceling

The world export job is being cancelled.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the world export job was created.

" - }, - "worlds":{ - "shape":"Arns", - "documentation":"

A list of worlds.

" - }, - "outputLocation":{"shape":"OutputLocation"} - }, - "documentation":"

Information about a world export job.

" - }, - "WorldFailure":{ - "type":"structure", - "members":{ - "failureCode":{ - "shape":"WorldGenerationJobErrorCode", - "documentation":"

The failure code of the world export job if it failed:

InternalServiceError

Internal service error.

LimitExceeded

The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

ResourceNotFound

The specified resource could not be found.

RequestThrottled

The request was throttled.

InvalidInput

An input parameter in the request is not valid.

" - }, - "sampleFailureReason":{ - "shape":"GenericString", - "documentation":"

The sample reason why the world failed. World errors are aggregated. A sample is used as the sampleFailureReason.

" - }, - "failureCount":{ - "shape":"Integer", - "documentation":"

The number of failed worlds.

" - } - }, - "documentation":"

Information about a failed world.

" - }, - "WorldFailures":{ - "type":"list", - "member":{"shape":"WorldFailure"}, - "max":100, - "min":0 - }, - "WorldGenerationJobErrorCode":{ - "type":"string", - "enum":[ - "InternalServiceError", - "LimitExceeded", - "ResourceNotFound", - "RequestThrottled", - "InvalidInput", - "AllWorldGenerationFailed" - ] - }, - "WorldGenerationJobStatus":{ - "type":"string", - "enum":[ - "Pending", - "Running", - "Completed", - "Failed", - "PartialFailed", - "Canceling", - "Canceled" - ] - }, - "WorldGenerationJobSummaries":{ - "type":"list", - "member":{"shape":"WorldGenerationJobSummary"}, - "max":100, - "min":0 - }, - "WorldGenerationJobSummary":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the world generator job.

" - }, - "template":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world template.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the world generator job was created.

" - }, - "status":{ - "shape":"WorldGenerationJobStatus", - "documentation":"

The status of the world generator job:

Pending

The world generator job request is pending.

Running

The world generator job is running.

Completed

The world generator job completed.

Failed

The world generator job failed. See failureCode for more information.

PartialFailed

Some worlds did not generate.

Canceled

The world generator job was cancelled.

Canceling

The world generator job is being cancelled.

" - }, - "worldCount":{ - "shape":"WorldCount", - "documentation":"

Information about the world count.

" - }, - "succeededWorldCount":{ - "shape":"Integer", - "documentation":"

The number of worlds that were generated.

" - }, - "failedWorldCount":{ - "shape":"Integer", - "documentation":"

The number of worlds that failed.

" - } - }, - "documentation":"

Information about a world generator job.

" - }, - "WorldSummaries":{ - "type":"list", - "member":{"shape":"WorldSummary"} - }, - "WorldSummary":{ - "type":"structure", - "members":{ - "arn":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (ARN) of the world.

" - }, - "createdAt":{ - "shape":"CreatedAt", - "documentation":"

The time, in milliseconds since the epoch, when the world was created.

" - }, - "generationJob":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world generation job.

" - }, - "template":{ - "shape":"Arn", - "documentation":"

The Amazon Resource Name (arn) of the world template.

" - } - }, - "documentation":"

Information about a world.

" - }, - "errorMessage":{"type":"string"} - }, - "documentation":"

This section provides documentation for the AWS RoboMaker API operations.

" -} diff --git a/tools/code-generation/endpoints/apptest-2022-12-06.endpoint-rule-set.json b/tools/code-generation/endpoints/apptest-2022-12-06.endpoint-rule-set.json deleted file mode 100644 index f09500ef382..00000000000 --- a/tools/code-generation/endpoints/apptest-2022-12-06.endpoint-rule-set.json +++ /dev/null @@ -1,350 +0,0 @@ -{ - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "string" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "string" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://apptest-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://apptest-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://apptest.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://apptest.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ], - "type": "tree" - } - ] -} \ No newline at end of file diff --git a/tools/code-generation/endpoints/apptest-2022-12-06.endpoint-tests.json b/tools/code-generation/endpoints/apptest-2022-12-06.endpoint-tests.json deleted file mode 100644 index 1fe03a3816f..00000000000 --- a/tools/code-generation/endpoints/apptest-2022-12-06.endpoint-tests.json +++ /dev/null @@ -1,270 +0,0 @@ -{ - "testCases": [ - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://apptest.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://apptest.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://apptest.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" -} \ No newline at end of file diff --git a/tools/code-generation/endpoints/iotfleethub-2020-11-03.endpoint-rule-set.json b/tools/code-generation/endpoints/iotfleethub-2020-11-03.endpoint-rule-set.json deleted file mode 100644 index bd6d7696a90..00000000000 --- a/tools/code-generation/endpoints/iotfleethub-2020-11-03.endpoint-rule-set.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.fleethub.iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.fleethub.iot-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, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.fleethub.iot.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://api.fleethub.iot.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] -} \ No newline at end of file diff --git a/tools/code-generation/endpoints/iotfleethub-2020-11-03.endpoint-tests.json b/tools/code-generation/endpoints/iotfleethub-2020-11-03.endpoint-tests.json deleted file mode 100644 index b9231fa4d8a..00000000000 --- a/tools/code-generation/endpoints/iotfleethub-2020-11-03.endpoint-tests.json +++ /dev/null @@ -1,465 +0,0 @@ -{ - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.ap-south-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-south-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.eu-north-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.eu-west-2.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" -} \ No newline at end of file diff --git a/tools/code-generation/endpoints/lookoutmetrics-2017-07-25.endpoint-rule-set.json b/tools/code-generation/endpoints/lookoutmetrics-2017-07-25.endpoint-rule-set.json deleted file mode 100644 index a8cbb5728ea..00000000000 --- a/tools/code-generation/endpoints/lookoutmetrics-2017-07-25.endpoint-rule-set.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://lookoutmetrics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://lookoutmetrics-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, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://lookoutmetrics.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://lookoutmetrics.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] -} \ No newline at end of file diff --git a/tools/code-generation/endpoints/lookoutmetrics-2017-07-25.endpoint-tests.json b/tools/code-generation/endpoints/lookoutmetrics-2017-07-25.endpoint-tests.json deleted file mode 100644 index 96bbefe170e..00000000000 --- a/tools/code-generation/endpoints/lookoutmetrics-2017-07-25.endpoint-tests.json +++ /dev/null @@ -1,374 +0,0 @@ -{ - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.eu-north-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" -} \ No newline at end of file diff --git a/tools/code-generation/endpoints/lookoutvision-2020-11-20.endpoint-rule-set.json b/tools/code-generation/endpoints/lookoutvision-2020-11-20.endpoint-rule-set.json deleted file mode 100644 index 8d77b964b6e..00000000000 --- a/tools/code-generation/endpoints/lookoutvision-2020-11-20.endpoint-rule-set.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "string" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "string" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://lookoutvision-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://lookoutvision-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, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://lookoutvision.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://lookoutvision.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] -} \ No newline at end of file diff --git a/tools/code-generation/endpoints/lookoutvision-2020-11-20.endpoint-tests.json b/tools/code-generation/endpoints/lookoutvision-2020-11-20.endpoint-tests.json deleted file mode 100644 index ba8b7b50384..00000000000 --- a/tools/code-generation/endpoints/lookoutvision-2020-11-20.endpoint-tests.json +++ /dev/null @@ -1,348 +0,0 @@ -{ - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutvision.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" -} \ No newline at end of file diff --git a/tools/code-generation/endpoints/qldb-2019-01-02.endpoint-rule-set.json b/tools/code-generation/endpoints/qldb-2019-01-02.endpoint-rule-set.json deleted file mode 100644 index 8368f18b076..00000000000 --- a/tools/code-generation/endpoints/qldb-2019-01-02.endpoint-rule-set.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "string" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "string" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://qldb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://qldb-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, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://qldb.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://qldb.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] -} \ No newline at end of file diff --git a/tools/code-generation/endpoints/qldb-2019-01-02.endpoint-tests.json b/tools/code-generation/endpoints/qldb-2019-01-02.endpoint-tests.json deleted file mode 100644 index a59b9869777..00000000000 --- a/tools/code-generation/endpoints/qldb-2019-01-02.endpoint-tests.json +++ /dev/null @@ -1,439 +0,0 @@ -{ - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.eu-west-2.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://qldb.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" -} \ No newline at end of file diff --git a/tools/code-generation/endpoints/qldb-session-2019-07-11.endpoint-rule-set.json b/tools/code-generation/endpoints/qldb-session-2019-07-11.endpoint-rule-set.json deleted file mode 100644 index 1268667b114..00000000000 --- a/tools/code-generation/endpoints/qldb-session-2019-07-11.endpoint-rule-set.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "string" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "string" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://session.qldb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://session.qldb-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, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://session.qldb.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://session.qldb.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] -} \ No newline at end of file diff --git a/tools/code-generation/endpoints/qldb-session-2019-07-11.endpoint-tests.json b/tools/code-generation/endpoints/qldb-session-2019-07-11.endpoint-tests.json deleted file mode 100644 index 142274efb61..00000000000 --- a/tools/code-generation/endpoints/qldb-session-2019-07-11.endpoint-tests.json +++ /dev/null @@ -1,426 +0,0 @@ -{ - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.eu-west-2.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" -} \ No newline at end of file diff --git a/tools/code-generation/endpoints/robomaker-2018-06-29.endpoint-rule-set.json b/tools/code-generation/endpoints/robomaker-2018-06-29.endpoint-rule-set.json deleted file mode 100644 index 314b80feea2..00000000000 --- a/tools/code-generation/endpoints/robomaker-2018-06-29.endpoint-rule-set.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "string" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "string" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://robomaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://robomaker-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, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://robomaker.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://robomaker.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] -} \ No newline at end of file diff --git a/tools/code-generation/endpoints/robomaker-2018-06-29.endpoint-tests.json b/tools/code-generation/endpoints/robomaker-2018-06-29.endpoint-tests.json deleted file mode 100644 index 462b76dd59a..00000000000 --- a/tools/code-generation/endpoints/robomaker-2018-06-29.endpoint-tests.json +++ /dev/null @@ -1,361 +0,0 @@ -{ - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://robomaker.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-gov-west-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" -} \ No newline at end of file diff --git a/tools/code-generation/smithy/api-descriptions/apptest.json b/tools/code-generation/smithy/api-descriptions/apptest.json deleted file mode 100644 index 2b3d5696f97..00000000000 --- a/tools/code-generation/smithy/api-descriptions/apptest.json +++ /dev/null @@ -1,6244 +0,0 @@ -{ - "smithy": "2.0", - "shapes": { - "com.amazonaws.apptest#AccessDeniedException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The account or role doesn't have the right permissions to make the request.

", - "smithy.api#error": "client", - "smithy.api#httpError": 403 - } - }, - "com.amazonaws.apptest#Arn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9/][A-Za-z0-9:_/+=,@.-]{0,1023}$" - } - }, - "com.amazonaws.apptest#AwsApptestControlPlaneService": { - "type": "service", - "version": "2022-12-06", - "operations": [ - { - "target": "com.amazonaws.apptest#ListTagsForResource" - }, - { - "target": "com.amazonaws.apptest#TagResource" - }, - { - "target": "com.amazonaws.apptest#UntagResource" - } - ], - "resources": [ - { - "target": "com.amazonaws.apptest#TestCase" - }, - { - "target": "com.amazonaws.apptest#TestConfiguration" - }, - { - "target": "com.amazonaws.apptest#TestRun" - }, - { - "target": "com.amazonaws.apptest#TestSuite" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "AppTest", - "cloudFormationName": "AppTest", - "cloudTrailEventSource": "apptest.amazonaws.com", - "arnNamespace": "apptest", - "endpointPrefix": "apptest" - }, - "aws.auth#sigv4": { - "name": "apptest" - }, - "aws.iam#defineConditionKeys": { - "aws:ResourceTag/${TagKey}": { - "type": "String", - "documentation": "Filters access by a tag key and value pair of a resource", - "externalDocumentation": "${DocHomeURL}IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag" - }, - "aws:RequestTag/${TagKey}": { - "type": "String", - "documentation": "Filters access by a tag key and value pair that is allowed in the request", - "externalDocumentation": "${DocHomeURL}IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag" - }, - "aws:TagKeys": { - "type": "ArrayOfString", - "documentation": "Filters access by a list of tag keys that are allowed in the request", - "externalDocumentation": "${DocHomeURL}IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys" - } - }, - "aws.iam#supportedPrincipalTypes": [ - "Root", - "IAMUser", - "IAMRole", - "FederatedUser" - ], - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "*,authorization,date,x-amz-date,x-amz-security-token,x-amz-target,content-type,x-amz-content-sha256,x-amz-user-agent,x-amzn-platform-id,x-amzn-trace-id,amz-sdk-invocation-id,amz-sdk-request" - ] - }, - "smithy.api#documentation": "

AWS Mainframe Modernization Application Testing provides tools and resources for automated functional equivalence testing for your migration projects.

", - "smithy.api#title": "AWS Mainframe Modernization Application Testing", - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "string" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "string" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://apptest-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://apptest-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://apptest.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://apptest.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ], - "type": "tree" - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://apptest.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://apptest.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://apptest.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://apptest.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" - } - } - }, - "com.amazonaws.apptest#Batch": { - "type": "structure", - "members": { - "batchJobName": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The job name of the batch.

", - "smithy.api#required": {} - } - }, - "batchJobParameters": { - "target": "com.amazonaws.apptest#BatchJobParameters", - "traits": { - "smithy.api#documentation": "

The batch job parameters of the batch.

" - } - }, - "exportDataSetNames": { - "target": "com.amazonaws.apptest#ExportDataSetNames", - "traits": { - "smithy.api#documentation": "

The export data set names of the batch.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Defines a batch.

" - } - }, - "com.amazonaws.apptest#BatchJobParameters": { - "type": "map", - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "smithy.api#String" - } - }, - "com.amazonaws.apptest#BatchStepInput": { - "type": "structure", - "members": { - "resource": { - "target": "com.amazonaws.apptest#MainframeResourceSummary", - "traits": { - "smithy.api#documentation": "

The resource of the batch step input.

", - "smithy.api#required": {} - } - }, - "batchJobName": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The batch job name of the batch step input.

", - "smithy.api#required": {} - } - }, - "batchJobParameters": { - "target": "com.amazonaws.apptest#BatchJobParameters", - "traits": { - "smithy.api#documentation": "

The batch job parameters of the batch step input.

" - } - }, - "exportDataSetNames": { - "target": "com.amazonaws.apptest#ExportDataSetNames", - "traits": { - "smithy.api#documentation": "

The export data set names of the batch step input.

" - } - }, - "properties": { - "target": "com.amazonaws.apptest#MainframeActionProperties", - "traits": { - "smithy.api#documentation": "

The properties of the batch step input.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Defines a batch step input.

" - } - }, - "com.amazonaws.apptest#BatchStepOutput": { - "type": "structure", - "members": { - "dataSetExportLocation": { - "target": "com.amazonaws.apptest#S3Uri", - "traits": { - "smithy.api#documentation": "

The data set export location of the batch step output.

" - } - }, - "dmsOutputLocation": { - "target": "com.amazonaws.apptest#S3Uri", - "traits": { - "smithy.api#documentation": "

The Database Migration Service (DMS) output location of the batch step output.

" - } - }, - "dataSetDetails": { - "target": "com.amazonaws.apptest#DataSetList", - "traits": { - "smithy.api#documentation": "

The data set details of the batch step output.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Defines a batch step output.

" - } - }, - "com.amazonaws.apptest#BatchSummary": { - "type": "structure", - "members": { - "stepInput": { - "target": "com.amazonaws.apptest#BatchStepInput", - "traits": { - "smithy.api#documentation": "

The step input of the batch summary.

", - "smithy.api#required": {} - } - }, - "stepOutput": { - "target": "com.amazonaws.apptest#BatchStepOutput", - "traits": { - "smithy.api#documentation": "

The step output of the batch summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Summarizes a batch job.

" - } - }, - "com.amazonaws.apptest#CaptureTool": { - "type": "enum", - "members": { - "PRECISELY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Precisely" - } - }, - "AWS_DMS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AWS DMS" - } - } - } - }, - "com.amazonaws.apptest#CloudFormation": { - "type": "structure", - "members": { - "templateLocation": { - "target": "com.amazonaws.apptest#S3Uri", - "traits": { - "smithy.api#documentation": "

The template location of the CloudFormation template.

", - "smithy.api#required": {} - } - }, - "parameters": { - "target": "com.amazonaws.apptest#Properties", - "traits": { - "smithy.api#documentation": "

The CloudFormation properties in the CloudFormation template.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the CloudFormation template and its parameters.

" - } - }, - "com.amazonaws.apptest#CloudFormationAction": { - "type": "structure", - "members": { - "resource": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The resource of the CloudFormation action.

", - "smithy.api#required": {} - } - }, - "actionType": { - "target": "com.amazonaws.apptest#CloudFormationActionType", - "traits": { - "smithy.api#documentation": "

The action type of the CloudFormation action.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the CloudFormation action.

" - } - }, - "com.amazonaws.apptest#CloudFormationActionType": { - "type": "enum", - "members": { - "CREATE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Create" - } - }, - "DELETE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Delete" - } - } - } - }, - "com.amazonaws.apptest#CloudFormationStepSummary": { - "type": "union", - "members": { - "createCloudformation": { - "target": "com.amazonaws.apptest#CreateCloudFormationSummary", - "traits": { - "smithy.api#documentation": "

Creates the CloudFormation summary of the step.

" - } - }, - "deleteCloudformation": { - "target": "com.amazonaws.apptest#DeleteCloudFormationSummary", - "traits": { - "smithy.api#documentation": "

Deletes the CloudFormation summary of the CloudFormation step summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the CloudFormation step summary.

" - } - }, - "com.amazonaws.apptest#CompareAction": { - "type": "structure", - "members": { - "input": { - "target": "com.amazonaws.apptest#Input", - "traits": { - "smithy.api#documentation": "

The input of the compare action.

", - "smithy.api#required": {} - } - }, - "output": { - "target": "com.amazonaws.apptest#Output", - "traits": { - "smithy.api#documentation": "

The output of the compare action.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Compares the action.

" - } - }, - "com.amazonaws.apptest#CompareActionSummary": { - "type": "structure", - "members": { - "type": { - "target": "com.amazonaws.apptest#File", - "traits": { - "smithy.api#documentation": "

The type of the compare action summary.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the compare action summary.

" - } - }, - "com.amazonaws.apptest#CompareDataSetsStepInput": { - "type": "structure", - "members": { - "sourceLocation": { - "target": "com.amazonaws.apptest#S3Uri", - "traits": { - "smithy.api#documentation": "

The source location of the compare data sets step input location.

", - "smithy.api#required": {} - } - }, - "targetLocation": { - "target": "com.amazonaws.apptest#S3Uri", - "traits": { - "smithy.api#documentation": "

The target location of the compare data sets step input location.

", - "smithy.api#required": {} - } - }, - "sourceDataSets": { - "target": "com.amazonaws.apptest#DataSetList", - "traits": { - "smithy.api#documentation": "

The source data sets of the compare data sets step input location.

", - "smithy.api#required": {} - } - }, - "targetDataSets": { - "target": "com.amazonaws.apptest#DataSetList", - "traits": { - "smithy.api#documentation": "

The target data sets of the compare data sets step input location.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the compare data sets step input.

" - } - }, - "com.amazonaws.apptest#CompareDataSetsStepOutput": { - "type": "structure", - "members": { - "comparisonOutputLocation": { - "target": "com.amazonaws.apptest#S3Uri", - "traits": { - "smithy.api#documentation": "

The comparison output location of the compare data sets step output.

", - "smithy.api#required": {} - } - }, - "comparisonStatus": { - "target": "com.amazonaws.apptest#ComparisonStatusEnum", - "traits": { - "smithy.api#documentation": "

The comparison status of the compare data sets step output.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the compare data sets step output.

" - } - }, - "com.amazonaws.apptest#CompareDataSetsSummary": { - "type": "structure", - "members": { - "stepInput": { - "target": "com.amazonaws.apptest#CompareDataSetsStepInput", - "traits": { - "smithy.api#documentation": "

The step input of the compare data sets summary.

", - "smithy.api#required": {} - } - }, - "stepOutput": { - "target": "com.amazonaws.apptest#CompareDataSetsStepOutput", - "traits": { - "smithy.api#documentation": "

The step output of the compare data sets summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Compares data sets summary.

" - } - }, - "com.amazonaws.apptest#CompareDatabaseCDCStepInput": { - "type": "structure", - "members": { - "sourceLocation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The source location of the compare database CDC step input.

", - "smithy.api#required": {} - } - }, - "targetLocation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The target location of the compare database CDC step input.

", - "smithy.api#required": {} - } - }, - "outputLocation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The output location of the compare database CDC step input.

" - } - }, - "sourceMetadata": { - "target": "com.amazonaws.apptest#SourceDatabaseMetadata", - "traits": { - "smithy.api#documentation": "

The source metadata of the compare database CDC step input.

", - "smithy.api#required": {} - } - }, - "targetMetadata": { - "target": "com.amazonaws.apptest#TargetDatabaseMetadata", - "traits": { - "smithy.api#documentation": "

The target metadata location of the compare database CDC step input.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Compares the database Change Data Capture (CDC) step input.

" - } - }, - "com.amazonaws.apptest#CompareDatabaseCDCStepOutput": { - "type": "structure", - "members": { - "comparisonOutputLocation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The comparison output of the compare database CDC step output.

", - "smithy.api#required": {} - } - }, - "comparisonStatus": { - "target": "com.amazonaws.apptest#ComparisonStatusEnum", - "traits": { - "smithy.api#documentation": "

The comparison status of the compare database CDC step output.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Compares the database CDC step output.

" - } - }, - "com.amazonaws.apptest#CompareDatabaseCDCSummary": { - "type": "structure", - "members": { - "stepInput": { - "target": "com.amazonaws.apptest#CompareDatabaseCDCStepInput", - "traits": { - "smithy.api#documentation": "

The step input of the compare database CDC summary.

", - "smithy.api#required": {} - } - }, - "stepOutput": { - "target": "com.amazonaws.apptest#CompareDatabaseCDCStepOutput", - "traits": { - "smithy.api#documentation": "

The step output of the compare database CDC summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Compares the database CDC summary.

" - } - }, - "com.amazonaws.apptest#CompareFileType": { - "type": "union", - "members": { - "datasets": { - "target": "com.amazonaws.apptest#CompareDataSetsSummary", - "traits": { - "smithy.api#documentation": "

The data sets in the compare file type.

" - } - }, - "databaseCDC": { - "target": "com.amazonaws.apptest#CompareDatabaseCDCSummary", - "traits": { - "smithy.api#documentation": "

The database CDC of the compare file type.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Compares the file type.

" - } - }, - "com.amazonaws.apptest#ComparisonStatusEnum": { - "type": "enum", - "members": { - "DIFFERENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Different" - } - }, - "EQUIVALENT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Equivalent" - } - }, - "EQUAL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Equal" - } - } - } - }, - "com.amazonaws.apptest#ConflictException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "resourceId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The resource ID of the conflicts with existing resources.

" - } - }, - "resourceType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The resource type of the conflicts with existing resources.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The parameters provided in the request conflict with existing resources.

", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, - "com.amazonaws.apptest#CreateCloudFormationStepInput": { - "type": "structure", - "members": { - "templateLocation": { - "target": "com.amazonaws.apptest#S3Uri", - "traits": { - "smithy.api#documentation": "

The template location of the CloudFormation step input.

", - "smithy.api#required": {} - } - }, - "parameters": { - "target": "com.amazonaws.apptest#Properties", - "traits": { - "smithy.api#documentation": "

The CloudFormation properties of the CloudFormation step input.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Creates the CloudFormation step input.

" - } - }, - "com.amazonaws.apptest#CreateCloudFormationStepOutput": { - "type": "structure", - "members": { - "stackId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The stack ID of the CloudFormation step output.

", - "smithy.api#required": {} - } - }, - "exports": { - "target": "com.amazonaws.apptest#Properties", - "traits": { - "smithy.api#documentation": "

The exports of the CloudFormation step output.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Creates a CloudFormation step output.

" - } - }, - "com.amazonaws.apptest#CreateCloudFormationSummary": { - "type": "structure", - "members": { - "stepInput": { - "target": "com.amazonaws.apptest#CreateCloudFormationStepInput", - "traits": { - "smithy.api#documentation": "

The step input of the CloudFormation summary.

", - "smithy.api#required": {} - } - }, - "stepOutput": { - "target": "com.amazonaws.apptest#CreateCloudFormationStepOutput", - "traits": { - "smithy.api#documentation": "

The step output of the CloudFormation summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Creates a CloudFormation summary.

" - } - }, - "com.amazonaws.apptest#CreateTestCase": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#CreateTestCaseRequest" - }, - "output": { - "target": "com.amazonaws.apptest#CreateTestCaseResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#ConflictException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#conditionKeys": [ - "aws:RequestTag/${TagKey}", - "aws:TagKeys" - ], - "aws.iam#iamAction": { - "name": "CreateTestCase", - "documentation": "Grants permission to create a test case", - "createsResources": [ - "TestCase" - ] - }, - "smithy.api#documentation": "

Creates a test case.

", - "smithy.api#http": { - "method": "POST", - "uri": "/testcase", - "code": 201 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.apptest#CreateTestCaseRequest": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the test case.

", - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.apptest#ResourceDescription", - "traits": { - "smithy.api#documentation": "

The description of the test case.

" - } - }, - "steps": { - "target": "com.amazonaws.apptest#StepList", - "traits": { - "smithy.api#documentation": "

The steps in the test case.

", - "smithy.api#required": {} - } - }, - "clientToken": { - "target": "com.amazonaws.apptest#IdempotencyTokenString", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The client token of the test case.

", - "smithy.api#idempotencyToken": {} - } - }, - "tags": { - "target": "com.amazonaws.apptest#TagMap", - "traits": { - "smithy.api#documentation": "

The specified tags of the test case.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#CreateTestCaseResponse": { - "type": "structure", - "members": { - "testCaseId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test case ID of the test case.

", - "smithy.api#required": {} - } - }, - "testCaseVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The test case version of the test case.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#CreateTestConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#CreateTestConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.apptest#CreateTestConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#ConflictException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#conditionKeys": [ - "aws:RequestTag/${TagKey}", - "aws:TagKeys" - ], - "aws.iam#iamAction": { - "name": "CreateTestConfiguration", - "documentation": "Grants permission to create a test configuration", - "createsResources": [ - "TestConfiguration" - ] - }, - "smithy.api#documentation": "

Creates a test configuration.

", - "smithy.api#http": { - "method": "POST", - "uri": "/testconfiguration", - "code": 201 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.apptest#CreateTestConfigurationRequest": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the test configuration.

", - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.apptest#ResourceDescription", - "traits": { - "smithy.api#documentation": "

The description of the test configuration.

" - } - }, - "resources": { - "target": "com.amazonaws.apptest#ResourceList", - "traits": { - "smithy.api#documentation": "

The defined resources of the test configuration.

", - "smithy.api#required": {} - } - }, - "properties": { - "target": "com.amazonaws.apptest#Properties", - "traits": { - "smithy.api#documentation": "

The properties of the test configuration.

" - } - }, - "clientToken": { - "target": "com.amazonaws.apptest#IdempotencyTokenString", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The client token of the test configuration.

", - "smithy.api#idempotencyToken": {} - } - }, - "tags": { - "target": "com.amazonaws.apptest#TagMap", - "traits": { - "smithy.api#documentation": "

The tags of the test configuration.

" - } - }, - "serviceSettings": { - "target": "com.amazonaws.apptest#ServiceSettings", - "traits": { - "smithy.api#documentation": "

The service settings of the test configuration.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#CreateTestConfigurationResponse": { - "type": "structure", - "members": { - "testConfigurationId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test configuration ID.

", - "smithy.api#required": {} - } - }, - "testConfigurationVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The test configuration version.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#CreateTestSuite": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#CreateTestSuiteRequest" - }, - "output": { - "target": "com.amazonaws.apptest#CreateTestSuiteResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#ConflictException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#conditionKeys": [ - "aws:RequestTag/${TagKey}", - "aws:TagKeys" - ], - "aws.iam#iamAction": { - "name": "CreateTestSuite", - "documentation": "Grants permission to create a test suite", - "createsResources": [ - "TestSuite" - ] - }, - "smithy.api#documentation": "

Creates a test suite.

", - "smithy.api#http": { - "method": "POST", - "uri": "/testsuite", - "code": 201 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.apptest#CreateTestSuiteRequest": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the test suite.

", - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.apptest#ResourceDescription", - "traits": { - "smithy.api#documentation": "

The description of the test suite.

" - } - }, - "beforeSteps": { - "target": "com.amazonaws.apptest#StepList", - "traits": { - "smithy.api#documentation": "

The before steps of the test suite.

" - } - }, - "afterSteps": { - "target": "com.amazonaws.apptest#StepList", - "traits": { - "smithy.api#documentation": "

The after steps of the test suite.

" - } - }, - "testCases": { - "target": "com.amazonaws.apptest#TestCases", - "traits": { - "smithy.api#documentation": "

The test cases in the test suite.

", - "smithy.api#required": {} - } - }, - "clientToken": { - "target": "com.amazonaws.apptest#IdempotencyTokenString", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The client token of the test suite.

", - "smithy.api#idempotencyToken": {} - } - }, - "tags": { - "target": "com.amazonaws.apptest#TagMap", - "traits": { - "smithy.api#documentation": "

The tags of the test suite.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#CreateTestSuiteResponse": { - "type": "structure", - "members": { - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The suite ID of the test suite.

", - "smithy.api#required": {} - } - }, - "testSuiteVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The suite version of the test suite.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#DataSet": { - "type": "structure", - "members": { - "type": { - "target": "com.amazonaws.apptest#DataSetType", - "traits": { - "smithy.api#documentation": "

The type of the data set.

", - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.apptest#String100", - "traits": { - "smithy.api#documentation": "

The name of the data set.

", - "smithy.api#required": {} - } - }, - "ccsid": { - "target": "com.amazonaws.apptest#String50", - "traits": { - "smithy.api#documentation": "

The CCSID of the data set.

", - "smithy.api#required": {} - } - }, - "format": { - "target": "com.amazonaws.apptest#Format", - "traits": { - "smithy.api#documentation": "

The format of the data set.

", - "smithy.api#required": {} - } - }, - "length": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The length of the data set.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Defines a data set.

" - } - }, - "com.amazonaws.apptest#DataSetList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#DataSet" - } - }, - "com.amazonaws.apptest#DataSetType": { - "type": "enum", - "members": { - "PS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PS" - } - } - } - }, - "com.amazonaws.apptest#DatabaseCDC": { - "type": "structure", - "members": { - "sourceMetadata": { - "target": "com.amazonaws.apptest#SourceDatabaseMetadata", - "traits": { - "smithy.api#documentation": "

The source metadata of the database CDC.

", - "smithy.api#required": {} - } - }, - "targetMetadata": { - "target": "com.amazonaws.apptest#TargetDatabaseMetadata", - "traits": { - "smithy.api#documentation": "

The target metadata of the database CDC.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Defines the Change Data Capture (CDC) of the database.

" - } - }, - "com.amazonaws.apptest#DeleteCloudFormationStepInput": { - "type": "structure", - "members": { - "stackId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The stack ID of the deleted CloudFormation step input.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Deletes the CloudFormation step input.

" - } - }, - "com.amazonaws.apptest#DeleteCloudFormationStepOutput": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "

Deletes the CloudFormation summary step output.

" - } - }, - "com.amazonaws.apptest#DeleteCloudFormationSummary": { - "type": "structure", - "members": { - "stepInput": { - "target": "com.amazonaws.apptest#DeleteCloudFormationStepInput", - "traits": { - "smithy.api#documentation": "

The step input of the deleted CloudFormation summary.

", - "smithy.api#required": {} - } - }, - "stepOutput": { - "target": "com.amazonaws.apptest#DeleteCloudFormationStepOutput", - "traits": { - "smithy.api#documentation": "

The step output of the deleted CloudFormation summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Deletes the CloudFormation summary.

" - } - }, - "com.amazonaws.apptest#DeleteTestCase": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#DeleteTestCaseRequest" - }, - "output": { - "target": "com.amazonaws.apptest#DeleteTestCaseResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#ConflictException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "DeleteTestCase", - "documentation": "Grants permission to delete a test case" - }, - "smithy.api#documentation": "

Deletes a test case.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/testcases/{testCaseId}", - "code": 204 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.apptest#DeleteTestCaseRequest": { - "type": "structure", - "members": { - "testCaseId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test case ID of the test case.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#DeleteTestCaseResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#DeleteTestConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#DeleteTestConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.apptest#DeleteTestConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#ConflictException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "DeleteTestConfiguration", - "documentation": "Grants permission to delete a test configuration" - }, - "smithy.api#documentation": "

Deletes a test configuration.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/testconfigurations/{testConfigurationId}", - "code": 204 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.apptest#DeleteTestConfigurationRequest": { - "type": "structure", - "members": { - "testConfigurationId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test ID of the test configuration.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#DeleteTestConfigurationResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#DeleteTestRun": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#DeleteTestRunRequest" - }, - "output": { - "target": "com.amazonaws.apptest#DeleteTestRunResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#ConflictException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "DeleteTestRun", - "documentation": "Grants permission to delete a test run", - "requiredActions": [ - "s3:DeleteObjects", - "s3:ListObjectsV2" - ] - }, - "smithy.api#documentation": "

Deletes a test run.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/testruns/{testRunId}", - "code": 204 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.apptest#DeleteTestRunRequest": { - "type": "structure", - "members": { - "testRunId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The run ID of the test run.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#DeleteTestRunResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#DeleteTestSuite": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#DeleteTestSuiteRequest" - }, - "output": { - "target": "com.amazonaws.apptest#DeleteTestSuiteResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#ConflictException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "DeleteTestSuite", - "documentation": "Grants permission to delete a test suite" - }, - "smithy.api#documentation": "

Deletes a test suite.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/testsuites/{testSuiteId}", - "code": 204 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.apptest#DeleteTestSuiteRequest": { - "type": "structure", - "members": { - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test ID of the test suite.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#DeleteTestSuiteResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#ExportDataSetNames": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#String100" - } - }, - "com.amazonaws.apptest#File": { - "type": "union", - "members": { - "fileType": { - "target": "com.amazonaws.apptest#CompareFileType", - "traits": { - "smithy.api#documentation": "

The file type of the file.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Defines a file.

" - } - }, - "com.amazonaws.apptest#FileMetadata": { - "type": "union", - "members": { - "dataSets": { - "target": "com.amazonaws.apptest#DataSetList", - "traits": { - "smithy.api#documentation": "

The data sets of the file metadata.

" - } - }, - "databaseCDC": { - "target": "com.amazonaws.apptest#DatabaseCDC", - "traits": { - "smithy.api#documentation": "

The database CDC of the file metadata.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a file metadata.

" - } - }, - "com.amazonaws.apptest#Format": { - "type": "enum", - "members": { - "FIXED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FIXED" - } - }, - "VARIABLE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "VARIABLE" - } - }, - "LINE_SEQUENTIAL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LINE_SEQUENTIAL" - } - } - } - }, - "com.amazonaws.apptest#GetTestCase": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#GetTestCaseRequest" - }, - "output": { - "target": "com.amazonaws.apptest#GetTestCaseResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "GetTestCase", - "documentation": "Grants permission to get a test case" - }, - "smithy.api#documentation": "

Gets a test case.

", - "smithy.api#http": { - "method": "GET", - "uri": "/testcases/{testCaseId}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.apptest#GetTestCaseRequest": { - "type": "structure", - "members": { - "testCaseId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The request test ID of the test case.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "testCaseVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The test case version of the test case.

", - "smithy.api#httpQuery": "testCaseVersion" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#GetTestCaseResponse": { - "type": "structure", - "members": { - "testCaseId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The response test ID of the test case.

", - "smithy.api#required": {} - } - }, - "testCaseArn": { - "target": "com.amazonaws.apptest#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the test case.

", - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the test case.

", - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.apptest#ResourceDescription", - "traits": { - "smithy.api#documentation": "

The description of the test case.

" - } - }, - "latestVersion": { - "target": "com.amazonaws.apptest#TestCaseLatestVersion", - "traits": { - "smithy.api#documentation": "

The latest version of the test case.

", - "smithy.api#required": {} - } - }, - "testCaseVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The case version of the test case.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.apptest#TestCaseLifecycle", - "traits": { - "smithy.api#documentation": "

The status of the test case.

", - "smithy.api#required": {} - } - }, - "statusReason": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status reason of the test case.

" - } - }, - "creationTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The creation time of the test case.

", - "smithy.api#required": {} - } - }, - "lastUpdateTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The last update time of the test case.

", - "smithy.api#required": {} - } - }, - "steps": { - "target": "com.amazonaws.apptest#StepList", - "traits": { - "smithy.api#documentation": "

The steps of the test case.

", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.apptest#TagMap", - "traits": { - "smithy.api#documentation": "

The tags of the test case.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#GetTestConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#GetTestConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.apptest#GetTestConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "GetTestConfiguration", - "documentation": "Grants permission to get a test configuration" - }, - "smithy.api#documentation": "

Gets a test configuration.

", - "smithy.api#http": { - "method": "GET", - "uri": "/testconfigurations/{testConfigurationId}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.apptest#GetTestConfigurationRequest": { - "type": "structure", - "members": { - "testConfigurationId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The request test configuration ID.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "testConfigurationVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The test configuration version.

", - "smithy.api#httpQuery": "testConfigurationVersion" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#GetTestConfigurationResponse": { - "type": "structure", - "members": { - "testConfigurationId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The response test configuration ID.

", - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The test configuration name

", - "smithy.api#required": {} - } - }, - "testConfigurationArn": { - "target": "com.amazonaws.apptest#Arn", - "traits": { - "smithy.api#documentation": "

The test configuration Amazon Resource Name (ARN).

", - "smithy.api#required": {} - } - }, - "latestVersion": { - "target": "com.amazonaws.apptest#TestConfigurationLatestVersion", - "traits": { - "smithy.api#documentation": "

The latest version of the test configuration.

", - "smithy.api#required": {} - } - }, - "testConfigurationVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The test configuration version.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.apptest#TestConfigurationLifecycle", - "traits": { - "smithy.api#documentation": "

The status of the test configuration.

", - "smithy.api#required": {} - } - }, - "statusReason": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status reason of the test configuration.

" - } - }, - "creationTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The creation time of the test configuration.

", - "smithy.api#required": {} - } - }, - "lastUpdateTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The last update time of the test configuration.

", - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.apptest#ResourceDescription", - "traits": { - "smithy.api#documentation": "

The description of the test configuration.

" - } - }, - "resources": { - "target": "com.amazonaws.apptest#ResourceList", - "traits": { - "smithy.api#documentation": "

The resources of the test configuration.

", - "smithy.api#required": {} - } - }, - "properties": { - "target": "com.amazonaws.apptest#Properties", - "traits": { - "smithy.api#documentation": "

The properties of the test configuration.

", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.apptest#TagMap", - "traits": { - "smithy.api#documentation": "

The tags of the test configuration.

" - } - }, - "serviceSettings": { - "target": "com.amazonaws.apptest#ServiceSettings", - "traits": { - "smithy.api#documentation": "

The service settings of the test configuration.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#GetTestRunStep": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#GetTestRunStepRequest" - }, - "output": { - "target": "com.amazonaws.apptest#GetTestRunStepResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "GetTestRunStep", - "documentation": "Grants permission to get test run step" - }, - "smithy.api#documentation": "

Gets a test run step.

", - "smithy.api#http": { - "method": "GET", - "uri": "/testruns/{testRunId}/steps/{stepName}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.apptest#GetTestRunStepRequest": { - "type": "structure", - "members": { - "testRunId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test run ID of the test run step.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "stepName": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The step name of the test run step.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "testCaseId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test case ID of a test run step.

", - "smithy.api#httpQuery": "testCaseId" - } - }, - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test suite ID of a test run step.

", - "smithy.api#httpQuery": "testSuiteId" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#GetTestRunStepResponse": { - "type": "structure", - "members": { - "stepName": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The step name of the test run step.

", - "smithy.api#required": {} - } - }, - "testRunId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test run ID of the test run step.

", - "smithy.api#required": {} - } - }, - "testCaseId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test case ID of the test run step.

" - } - }, - "testCaseVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The test case version of the test run step.

" - } - }, - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test suite ID of the test run step.

" - } - }, - "testSuiteVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The test suite version of the test run step.

" - } - }, - "beforeStep": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "

The before steps of the test run step.

" - } - }, - "afterStep": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "

The after steps of the test run step.

" - } - }, - "status": { - "target": "com.amazonaws.apptest#StepRunStatus", - "traits": { - "smithy.api#documentation": "

The status of the test run step.

", - "smithy.api#required": {} - } - }, - "statusReason": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status reason of the test run step.

" - } - }, - "runStartTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The run start time of the test run step.

", - "smithy.api#required": {} - } - }, - "runEndTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The run end time of the test run step.

" - } - }, - "stepRunSummary": { - "target": "com.amazonaws.apptest#StepRunSummary", - "traits": { - "smithy.api#documentation": "

The step run summary of the test run step.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#GetTestSuite": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#GetTestSuiteRequest" - }, - "output": { - "target": "com.amazonaws.apptest#GetTestSuiteResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "GetTestSuite", - "documentation": "Grants permission to get a test suite" - }, - "smithy.api#documentation": "

Gets a test suite.

", - "smithy.api#http": { - "method": "GET", - "uri": "/testsuites/{testSuiteId}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.apptest#GetTestSuiteRequest": { - "type": "structure", - "members": { - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The ID of the test suite.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "testSuiteVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The version of the test suite.

", - "smithy.api#httpQuery": "testSuiteVersion" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#GetTestSuiteResponse": { - "type": "structure", - "members": { - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The response ID of the test suite.

", - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the test suite.

", - "smithy.api#required": {} - } - }, - "latestVersion": { - "target": "com.amazonaws.apptest#TestSuiteLatestVersion", - "traits": { - "smithy.api#documentation": "

The latest version of the test suite.

", - "smithy.api#required": {} - } - }, - "testSuiteVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The version of the test suite.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.apptest#TestSuiteLifecycle", - "traits": { - "smithy.api#documentation": "

The status of the test suite.

" - } - }, - "statusReason": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status reason of the test suite.

" - } - }, - "testSuiteArn": { - "target": "com.amazonaws.apptest#Arn", - "traits": { - "smithy.api#documentation": "

The test suite Amazon Resource Name (ARN).

", - "smithy.api#required": {} - } - }, - "creationTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The creation time of the test suite.

", - "smithy.api#required": {} - } - }, - "lastUpdateTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The last update time of the test suite.

", - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.apptest#ResourceDescription", - "traits": { - "smithy.api#documentation": "

The description of the test suite.

" - } - }, - "beforeSteps": { - "target": "com.amazonaws.apptest#StepList", - "traits": { - "smithy.api#documentation": "

The before steps of the test suite.

", - "smithy.api#required": {} - } - }, - "afterSteps": { - "target": "com.amazonaws.apptest#StepList", - "traits": { - "smithy.api#documentation": "

The after steps of the test suite.

", - "smithy.api#required": {} - } - }, - "testCases": { - "target": "com.amazonaws.apptest#TestCases", - "traits": { - "smithy.api#documentation": "

The test cases of the test suite.

", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.apptest#TagMap", - "traits": { - "smithy.api#documentation": "

The tags of the test suite.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#IdempotencyTokenString": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[A-Za-z0-9\\-]{1,64}$" - } - }, - "com.amazonaws.apptest#Identifier": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[A-Za-z0-9:/\\-]{1,100}$" - } - }, - "com.amazonaws.apptest#Input": { - "type": "union", - "members": { - "file": { - "target": "com.amazonaws.apptest#InputFile", - "traits": { - "smithy.api#documentation": "

The file in the input.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the input.

" - } - }, - "com.amazonaws.apptest#InputFile": { - "type": "structure", - "members": { - "sourceLocation": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The source location of the input file.

", - "smithy.api#required": {} - } - }, - "targetLocation": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The target location of the input file.

", - "smithy.api#required": {} - } - }, - "fileMetadata": { - "target": "com.amazonaws.apptest#FileMetadata", - "traits": { - "smithy.api#documentation": "

The file metadata of the input file.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the input file.

" - } - }, - "com.amazonaws.apptest#InternalServerException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "retryAfterSeconds": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The number of seconds to retry the query.

", - "smithy.api#httpHeader": "Retry-After" - } - } - }, - "traits": { - "smithy.api#documentation": "

An unexpected error occurred during the processing of the request.

", - "smithy.api#error": "server", - "smithy.api#httpError": 500, - "smithy.api#retryable": {} - } - }, - "com.amazonaws.apptest#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#ListTagsForResourceRequest" - }, - "output": { - "target": "com.amazonaws.apptest#ListTagsForResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "documentation": "Grants permission to list tags for a resource" - }, - "smithy.api#documentation": "

Lists tags for a resource.

", - "smithy.api#http": { - "method": "GET", - "uri": "/tags/{resourceArn}", - "code": 200 - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.apptest#ListTagsForResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.apptest#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#ListTagsForResourceResponse": { - "type": "structure", - "members": { - "tags": { - "target": "com.amazonaws.apptest#TagMap", - "traits": { - "smithy.api#documentation": "

The tags of the resource.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#ListTestCases": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#ListTestCasesRequest" - }, - "output": { - "target": "com.amazonaws.apptest#ListTestCasesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "ListTestCases", - "documentation": "Grants permission to list test cases" - }, - "smithy.api#documentation": "

Lists test cases.

", - "smithy.api#http": { - "method": "GET", - "uri": "/testcases", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "testCases" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.apptest#ListTestCasesRequest": { - "type": "structure", - "members": { - "testCaseIds": { - "target": "com.amazonaws.apptest#TestCaseIdList", - "traits": { - "smithy.api#documentation": "

The IDs of the test cases.

", - "smithy.api#httpQuery": "testCaseIds" - } - }, - "nextToken": { - "target": "com.amazonaws.apptest#NextToken", - "traits": { - "smithy.api#documentation": "

The next token of the test cases.

", - "smithy.api#httpQuery": "nextToken" - } - }, - "maxResults": { - "target": "com.amazonaws.apptest#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum results of the test case.

", - "smithy.api#httpQuery": "maxResults" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#ListTestCasesResponse": { - "type": "structure", - "members": { - "testCases": { - "target": "com.amazonaws.apptest#TestCaseSummaryList", - "traits": { - "smithy.api#documentation": "

The test cases in an application.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.apptest#NextToken", - "traits": { - "smithy.api#documentation": "

The next token in test cases.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#ListTestConfigurations": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#ListTestConfigurationsRequest" - }, - "output": { - "target": "com.amazonaws.apptest#ListTestConfigurationsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "ListTestConfigurations", - "documentation": "Grants permission to list test configurations" - }, - "smithy.api#documentation": "

Lists test configurations.

", - "smithy.api#http": { - "method": "GET", - "uri": "/testconfigurations", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "testConfigurations" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.apptest#ListTestConfigurationsRequest": { - "type": "structure", - "members": { - "testConfigurationIds": { - "target": "com.amazonaws.apptest#TestConfigurationIdList", - "traits": { - "smithy.api#documentation": "

The configuration IDs of the test configurations.

", - "smithy.api#httpQuery": "testConfigurationIds" - } - }, - "nextToken": { - "target": "com.amazonaws.apptest#NextToken", - "traits": { - "smithy.api#documentation": "

The next token for the test configurations.

", - "smithy.api#httpQuery": "nextToken" - } - }, - "maxResults": { - "target": "com.amazonaws.apptest#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum results of the test configuration.

", - "smithy.api#httpQuery": "maxResults" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#ListTestConfigurationsResponse": { - "type": "structure", - "members": { - "testConfigurations": { - "target": "com.amazonaws.apptest#TestConfigurationList", - "traits": { - "smithy.api#documentation": "

The test configurations.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.apptest#NextToken", - "traits": { - "smithy.api#documentation": "

The next token in the test configurations.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#ListTestRunSteps": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#ListTestRunStepsRequest" - }, - "output": { - "target": "com.amazonaws.apptest#ListTestRunStepsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "ListTestRunSteps", - "documentation": "Grants permission to list steps for a test run" - }, - "smithy.api#documentation": "

Lists test run steps.

", - "smithy.api#http": { - "method": "GET", - "uri": "/testruns/{testRunId}/steps", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "testRunSteps" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.apptest#ListTestRunStepsRequest": { - "type": "structure", - "members": { - "testRunId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test run ID of the test run steps.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "testCaseId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test case ID of the test run steps.

", - "smithy.api#httpQuery": "testCaseId" - } - }, - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test suite ID of the test run steps.

", - "smithy.api#httpQuery": "testSuiteId" - } - }, - "nextToken": { - "target": "com.amazonaws.apptest#NextToken", - "traits": { - "smithy.api#documentation": "

The token from a previous step to retrieve the next page of results.

", - "smithy.api#httpQuery": "nextToken" - } - }, - "maxResults": { - "target": "com.amazonaws.apptest#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of test run steps to return in one page of results.

", - "smithy.api#httpQuery": "maxResults" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#ListTestRunStepsResponse": { - "type": "structure", - "members": { - "testRunSteps": { - "target": "com.amazonaws.apptest#TestRunStepSummaryList", - "traits": { - "smithy.api#documentation": "

The test run steps of the response query.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.apptest#NextToken", - "traits": { - "smithy.api#documentation": "

The token from a previous request to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#ListTestRunTestCases": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#ListTestRunTestCasesRequest" - }, - "output": { - "target": "com.amazonaws.apptest#ListTestRunTestCasesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "ListTestRunTestCases", - "documentation": "Grants permission to list test cases for a test run" - }, - "smithy.api#documentation": "

Lists test run test cases.

", - "smithy.api#http": { - "method": "GET", - "uri": "/testruns/{testRunId}/testcases", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "testRunTestCases" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.apptest#ListTestRunTestCasesRequest": { - "type": "structure", - "members": { - "testRunId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test run ID of the test cases.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.apptest#NextToken", - "traits": { - "smithy.api#documentation": "

The token from a previous request to retrieve the next page of results.

", - "smithy.api#httpQuery": "nextToken" - } - }, - "maxResults": { - "target": "com.amazonaws.apptest#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of test run test cases to return in one page of results.

", - "smithy.api#httpQuery": "maxResults" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#ListTestRunTestCasesResponse": { - "type": "structure", - "members": { - "testRunTestCases": { - "target": "com.amazonaws.apptest#TestCaseRunSummaryList", - "traits": { - "smithy.api#documentation": "

The test run of the test cases.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.apptest#NextToken", - "traits": { - "smithy.api#documentation": "

The token from a previous request to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#ListTestRuns": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#ListTestRunsRequest" - }, - "output": { - "target": "com.amazonaws.apptest#ListTestRunsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "ListTestRuns", - "documentation": "Grants permission to list test runs" - }, - "smithy.api#documentation": "

Lists test runs.

", - "smithy.api#http": { - "method": "GET", - "uri": "/testruns", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "testRuns" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.apptest#ListTestRunsRequest": { - "type": "structure", - "members": { - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test suite ID of the test runs.

", - "smithy.api#httpQuery": "testSuiteId" - } - }, - "testRunIds": { - "target": "com.amazonaws.apptest#TestRunIdList", - "traits": { - "smithy.api#documentation": "

The test run IDs of the test runs.

", - "smithy.api#httpQuery": "testrunIds" - } - }, - "nextToken": { - "target": "com.amazonaws.apptest#NextToken", - "traits": { - "smithy.api#documentation": "

The token from the previous request to retrieve the next page of test run results.

", - "smithy.api#httpQuery": "nextToken" - } - }, - "maxResults": { - "target": "com.amazonaws.apptest#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of test runs to return in one page of results.

", - "smithy.api#httpQuery": "maxResults" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#ListTestRunsResponse": { - "type": "structure", - "members": { - "testRuns": { - "target": "com.amazonaws.apptest#TestRunSummaryList", - "traits": { - "smithy.api#documentation": "

The test runs of the response query.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.apptest#NextToken", - "traits": { - "smithy.api#documentation": "

The token from the previous request to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#ListTestSuites": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#ListTestSuitesRequest" - }, - "output": { - "target": "com.amazonaws.apptest#ListTestSuitesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "ListTestSuites", - "documentation": "Grants permission to list test suites" - }, - "smithy.api#documentation": "

Lists test suites.

", - "smithy.api#http": { - "method": "GET", - "uri": "/testsuites", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "testSuites" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.apptest#ListTestSuitesRequest": { - "type": "structure", - "members": { - "testSuiteIds": { - "target": "com.amazonaws.apptest#TestSuiteIdList", - "traits": { - "smithy.api#documentation": "

The suite ID of the test suites.

", - "smithy.api#httpQuery": "testSuiteIds" - } - }, - "nextToken": { - "target": "com.amazonaws.apptest#NextToken", - "traits": { - "smithy.api#documentation": "

The token from a previous request to retrieve the next page of results.

", - "smithy.api#httpQuery": "nextToken" - } - }, - "maxResults": { - "target": "com.amazonaws.apptest#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of test suites to return in one page of results.

", - "smithy.api#httpQuery": "maxResults" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#ListTestSuitesResponse": { - "type": "structure", - "members": { - "testSuites": { - "target": "com.amazonaws.apptest#TestSuiteList", - "traits": { - "smithy.api#documentation": "

The test suites returned with the response query.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.apptest#NextToken", - "traits": { - "smithy.api#documentation": "

The token from a previous request to retrieve the next page of test suites results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#M2ManagedActionProperties": { - "type": "structure", - "members": { - "forceStop": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "

Force stops the AWS Mainframe Modernization managed action properties.

" - } - }, - "importDataSetLocation": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The import data set location of the AWS Mainframe Modernization managed action properties.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the AWS Mainframe Modernization managed action properties.

" - } - }, - "com.amazonaws.apptest#M2ManagedActionType": { - "type": "enum", - "members": { - "CONFIGURE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Configure" - } - }, - "DECONFIGURE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Deconfigure" - } - } - } - }, - "com.amazonaws.apptest#M2ManagedApplication": { - "type": "structure", - "members": { - "applicationId": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The application ID of the AWS Mainframe Modernization managed application.

", - "smithy.api#required": {} - } - }, - "runtime": { - "target": "com.amazonaws.apptest#M2ManagedRuntime", - "traits": { - "smithy.api#documentation": "

The runtime of the AWS Mainframe Modernization managed application.

", - "smithy.api#required": {} - } - }, - "vpcEndpointServiceName": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The VPC endpoint service name of the AWS Mainframe Modernization managed application.

" - } - }, - "listenerPort": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The listener port of the AWS Mainframe Modernization managed application.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the AWS Mainframe Modernization managed application.

" - } - }, - "com.amazonaws.apptest#M2ManagedApplicationAction": { - "type": "structure", - "members": { - "resource": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The resource of the AWS Mainframe Modernization managed application action.

", - "smithy.api#required": {} - } - }, - "actionType": { - "target": "com.amazonaws.apptest#M2ManagedActionType", - "traits": { - "smithy.api#documentation": "

The action type of the AWS Mainframe Modernization managed application action.

", - "smithy.api#required": {} - } - }, - "properties": { - "target": "com.amazonaws.apptest#M2ManagedActionProperties", - "traits": { - "smithy.api#documentation": "

The properties of the AWS Mainframe Modernization managed application action.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the AWS Mainframe Modernization managed application action.

" - } - }, - "com.amazonaws.apptest#M2ManagedApplicationStepInput": { - "type": "structure", - "members": { - "applicationId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The application ID of the AWS Mainframe Modernization managed application step input.

", - "smithy.api#required": {} - } - }, - "runtime": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The runtime of the AWS Mainframe Modernization managed application step input.

", - "smithy.api#required": {} - } - }, - "vpcEndpointServiceName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The VPC endpoint service name of the AWS Mainframe Modernization managed application step input.

" - } - }, - "listenerPort": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The listener port of the AWS Mainframe Modernization managed application step input.

" - } - }, - "actionType": { - "target": "com.amazonaws.apptest#M2ManagedActionType", - "traits": { - "smithy.api#documentation": "

The action type of the AWS Mainframe Modernization managed application step input.

", - "smithy.api#required": {} - } - }, - "properties": { - "target": "com.amazonaws.apptest#M2ManagedActionProperties", - "traits": { - "smithy.api#documentation": "

The properties of the AWS Mainframe Modernization managed application step input.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the AWS Mainframe Modernization managed application step input.

" - } - }, - "com.amazonaws.apptest#M2ManagedApplicationStepOutput": { - "type": "structure", - "members": { - "importDataSetSummary": { - "target": "com.amazonaws.apptest#Properties", - "traits": { - "smithy.api#documentation": "

The import data set summary of the AWS Mainframe Modernization managed application step output.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the AWS Mainframe Modernization managed application step output.

" - } - }, - "com.amazonaws.apptest#M2ManagedApplicationStepSummary": { - "type": "structure", - "members": { - "stepInput": { - "target": "com.amazonaws.apptest#M2ManagedApplicationStepInput", - "traits": { - "smithy.api#documentation": "

The step input of the AWS Mainframe Modernization managed application step summary.

", - "smithy.api#required": {} - } - }, - "stepOutput": { - "target": "com.amazonaws.apptest#M2ManagedApplicationStepOutput", - "traits": { - "smithy.api#documentation": "

The step output of the AWS Mainframe Modernization managed application step summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the AWS Mainframe Modernization managed application step summary.

" - } - }, - "com.amazonaws.apptest#M2ManagedApplicationSummary": { - "type": "structure", - "members": { - "applicationId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The application ID of the AWS Mainframe Modernization managed application summary.

", - "smithy.api#required": {} - } - }, - "runtime": { - "target": "com.amazonaws.apptest#M2ManagedRuntime", - "traits": { - "smithy.api#documentation": "

The runtime of the AWS Mainframe Modernization managed application summary.

", - "smithy.api#required": {} - } - }, - "listenerPort": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The listener port of the AWS Mainframe Modernization managed application summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the AWS Mainframe Modernization managed application summary.

" - } - }, - "com.amazonaws.apptest#M2ManagedRuntime": { - "type": "enum", - "members": { - "MICROFOCUS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "MicroFocus" - } - } - } - }, - "com.amazonaws.apptest#M2NonManagedActionType": { - "type": "enum", - "members": { - "CONFIGURE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Configure" - } - }, - "DECONFIGURE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Deconfigure" - } - } - } - }, - "com.amazonaws.apptest#M2NonManagedApplication": { - "type": "structure", - "members": { - "vpcEndpointServiceName": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The VPC endpoint service name of the AWS Mainframe Modernization non-managed application.

", - "smithy.api#required": {} - } - }, - "listenerPort": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The listener port of the AWS Mainframe Modernization non-managed application.

", - "smithy.api#required": {} - } - }, - "runtime": { - "target": "com.amazonaws.apptest#M2NonManagedRuntime", - "traits": { - "smithy.api#documentation": "

The runtime of the AWS Mainframe Modernization non-managed application.

", - "smithy.api#required": {} - } - }, - "webAppName": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The web application name of the AWS Mainframe Modernization non-managed application.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the AWS Mainframe Modernization non-managed application.

" - } - }, - "com.amazonaws.apptest#M2NonManagedApplicationAction": { - "type": "structure", - "members": { - "resource": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The resource of the AWS Mainframe Modernization non-managed application action.

", - "smithy.api#required": {} - } - }, - "actionType": { - "target": "com.amazonaws.apptest#M2NonManagedActionType", - "traits": { - "smithy.api#documentation": "

The action type of the AWS Mainframe Modernization non-managed application action.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the AWS Mainframe Modernization non-managed application action.

" - } - }, - "com.amazonaws.apptest#M2NonManagedApplicationStepInput": { - "type": "structure", - "members": { - "vpcEndpointServiceName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The VPC endpoint service name of the AWS Mainframe Modernization non-managed application step input.

", - "smithy.api#required": {} - } - }, - "listenerPort": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The listener port of the AWS Mainframe Modernization non-managed application step input.

", - "smithy.api#required": {} - } - }, - "runtime": { - "target": "com.amazonaws.apptest#M2NonManagedRuntime", - "traits": { - "smithy.api#documentation": "

The runtime of the AWS Mainframe Modernization non-managed application step input.

", - "smithy.api#required": {} - } - }, - "webAppName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The web app name of the AWS Mainframe Modernization non-managed application step input.

" - } - }, - "actionType": { - "target": "com.amazonaws.apptest#M2NonManagedActionType", - "traits": { - "smithy.api#documentation": "

The action type of the AWS Mainframe Modernization non-managed application step input.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the AWS Mainframe Modernization non-managed application step input.

" - } - }, - "com.amazonaws.apptest#M2NonManagedApplicationStepOutput": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "

Specifies the AWS Mainframe Modernization non-managed application step output.

" - } - }, - "com.amazonaws.apptest#M2NonManagedApplicationStepSummary": { - "type": "structure", - "members": { - "stepInput": { - "target": "com.amazonaws.apptest#M2NonManagedApplicationStepInput", - "traits": { - "smithy.api#documentation": "

The step input of the AWS Mainframe Modernization non-managed application step summary.

", - "smithy.api#required": {} - } - }, - "stepOutput": { - "target": "com.amazonaws.apptest#M2NonManagedApplicationStepOutput", - "traits": { - "smithy.api#documentation": "

The step output of the AWS Mainframe Modernization non-managed application step summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the AWS Mainframe Modernization non-managed application step summary.

" - } - }, - "com.amazonaws.apptest#M2NonManagedApplicationSummary": { - "type": "structure", - "members": { - "vpcEndpointServiceName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The VPC endpoint service name of the AWS Mainframe Modernization non-managed application summary.

", - "smithy.api#required": {} - } - }, - "listenerPort": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The listener port of the AWS Mainframe Modernization non-managed application summary.

", - "smithy.api#required": {} - } - }, - "runtime": { - "target": "com.amazonaws.apptest#M2NonManagedRuntime", - "traits": { - "smithy.api#documentation": "

The runtime of the AWS Mainframe Modernization non-managed application summary.

", - "smithy.api#required": {} - } - }, - "webAppName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The web application name of the AWS Mainframe Modernization non-managed application summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the AWS Mainframe Modernization non-managed application summary.

" - } - }, - "com.amazonaws.apptest#M2NonManagedRuntime": { - "type": "enum", - "members": { - "BLUAGE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BluAge" - } - } - } - }, - "com.amazonaws.apptest#MainframeAction": { - "type": "structure", - "members": { - "resource": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The resource of the mainframe action.

", - "smithy.api#required": {} - } - }, - "actionType": { - "target": "com.amazonaws.apptest#MainframeActionType", - "traits": { - "smithy.api#documentation": "

The action type of the mainframe action.

", - "smithy.api#required": {} - } - }, - "properties": { - "target": "com.amazonaws.apptest#MainframeActionProperties", - "traits": { - "smithy.api#documentation": "

The properties of the mainframe action.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the mainframe action.

" - } - }, - "com.amazonaws.apptest#MainframeActionProperties": { - "type": "structure", - "members": { - "dmsTaskArn": { - "target": "com.amazonaws.apptest#Variable", - "traits": { - "smithy.api#documentation": "

The DMS task ARN of the mainframe action properties.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the mainframe action properties.

" - } - }, - "com.amazonaws.apptest#MainframeActionSummary": { - "type": "union", - "members": { - "batch": { - "target": "com.amazonaws.apptest#BatchSummary", - "traits": { - "smithy.api#documentation": "

The batch of the mainframe action summary.

" - } - }, - "tn3270": { - "target": "com.amazonaws.apptest#TN3270Summary", - "traits": { - "smithy.api#documentation": "

The tn3270 port of the mainframe action summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the mainframe action summary.

" - } - }, - "com.amazonaws.apptest#MainframeActionType": { - "type": "union", - "members": { - "batch": { - "target": "com.amazonaws.apptest#Batch", - "traits": { - "smithy.api#documentation": "

The batch of the mainframe action type.

" - } - }, - "tn3270": { - "target": "com.amazonaws.apptest#TN3270", - "traits": { - "smithy.api#documentation": "

The tn3270 port of the mainframe action type.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the mainframe action type.

" - } - }, - "com.amazonaws.apptest#MainframeResourceSummary": { - "type": "union", - "members": { - "m2ManagedApplication": { - "target": "com.amazonaws.apptest#M2ManagedApplicationSummary", - "traits": { - "smithy.api#documentation": "

The AWS Mainframe Modernization managed application in the mainframe resource summary.

" - } - }, - "m2NonManagedApplication": { - "target": "com.amazonaws.apptest#M2NonManagedApplicationSummary", - "traits": { - "smithy.api#documentation": "

The AWS Mainframe Modernization non-managed application in the mainframe resource summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the mainframe resource summary.

" - } - }, - "com.amazonaws.apptest#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.apptest#NextToken": { - "type": "string", - "traits": { - "smithy.api#pattern": "^\\S{1,2000}$" - } - }, - "com.amazonaws.apptest#Output": { - "type": "union", - "members": { - "file": { - "target": "com.amazonaws.apptest#OutputFile", - "traits": { - "smithy.api#documentation": "

The file of the output.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies an output.

" - } - }, - "com.amazonaws.apptest#OutputFile": { - "type": "structure", - "members": { - "fileLocation": { - "target": "com.amazonaws.apptest#S3Uri", - "traits": { - "smithy.api#documentation": "

The file location of the output file.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies an output file.

" - } - }, - "com.amazonaws.apptest#Properties": { - "type": "map", - "key": { - "target": "smithy.api#String" - }, - "value": { - "target": "smithy.api#String" - } - }, - "com.amazonaws.apptest#Resource": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the resource.

", - "smithy.api#required": {} - } - }, - "type": { - "target": "com.amazonaws.apptest#ResourceType", - "traits": { - "smithy.api#documentation": "

The type of the resource.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a resource.

" - } - }, - "com.amazonaws.apptest#ResourceAction": { - "type": "union", - "members": { - "m2ManagedApplicationAction": { - "target": "com.amazonaws.apptest#M2ManagedApplicationAction", - "traits": { - "smithy.api#documentation": "

The AWS Mainframe Modernization managed application action of the resource action.

" - } - }, - "m2NonManagedApplicationAction": { - "target": "com.amazonaws.apptest#M2NonManagedApplicationAction", - "traits": { - "smithy.api#documentation": "

The AWS Mainframe Modernization non-managed application action of the resource action.

" - } - }, - "cloudFormationAction": { - "target": "com.amazonaws.apptest#CloudFormationAction", - "traits": { - "smithy.api#documentation": "

The CloudFormation action of the resource action.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a resource action.

" - } - }, - "com.amazonaws.apptest#ResourceActionSummary": { - "type": "union", - "members": { - "cloudFormation": { - "target": "com.amazonaws.apptest#CloudFormationStepSummary", - "traits": { - "smithy.api#documentation": "

The CloudFormation template of the resource action summary.

" - } - }, - "m2ManagedApplication": { - "target": "com.amazonaws.apptest#M2ManagedApplicationStepSummary", - "traits": { - "smithy.api#documentation": "

The AWS Mainframe Modernization managed application of the resource action summary.

" - } - }, - "m2NonManagedApplication": { - "target": "com.amazonaws.apptest#M2NonManagedApplicationStepSummary", - "traits": { - "smithy.api#documentation": "

The AWS Mainframe Modernization non-managed application of the resource action summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the resource action summary.

" - } - }, - "com.amazonaws.apptest#ResourceDescription": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1000 - } - } - }, - "com.amazonaws.apptest#ResourceList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#Resource" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 20 - } - } - }, - "com.amazonaws.apptest#ResourceName": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[A-Za-z][A-Za-z0-9_\\-]{1,59}$" - } - }, - "com.amazonaws.apptest#ResourceNotFoundException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "resourceId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The resource ID of the resource not found.

" - } - }, - "resourceType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The resource type of the resource not found.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The specified resource was not found.

", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.apptest#ResourceType": { - "type": "union", - "members": { - "cloudFormation": { - "target": "com.amazonaws.apptest#CloudFormation", - "traits": { - "smithy.api#documentation": "

The CloudFormation template of the resource type.

" - } - }, - "m2ManagedApplication": { - "target": "com.amazonaws.apptest#M2ManagedApplication", - "traits": { - "smithy.api#documentation": "

The AWS Mainframe Modernization managed application of the resource type.

" - } - }, - "m2NonManagedApplication": { - "target": "com.amazonaws.apptest#M2NonManagedApplication", - "traits": { - "smithy.api#documentation": "

The AWS Mainframe Modernization non-managed application of the resource type.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the resource type.

" - } - }, - "com.amazonaws.apptest#S3Uri": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1024 - } - } - }, - "com.amazonaws.apptest#Script": { - "type": "structure", - "members": { - "scriptLocation": { - "target": "com.amazonaws.apptest#S3Uri", - "traits": { - "smithy.api#documentation": "

The script location of the scripts.

", - "smithy.api#required": {} - } - }, - "type": { - "target": "com.amazonaws.apptest#ScriptType", - "traits": { - "smithy.api#documentation": "

The type of the scripts.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the script.

" - } - }, - "com.amazonaws.apptest#ScriptSummary": { - "type": "structure", - "members": { - "scriptLocation": { - "target": "com.amazonaws.apptest#S3Uri", - "traits": { - "smithy.api#documentation": "

The script location of the script summary.

", - "smithy.api#required": {} - } - }, - "type": { - "target": "com.amazonaws.apptest#ScriptType", - "traits": { - "smithy.api#documentation": "

The type of the script summary.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the scripts summary.

" - } - }, - "com.amazonaws.apptest#ScriptType": { - "type": "enum", - "members": { - "SELENIUM": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Selenium" - } - } - } - }, - "com.amazonaws.apptest#ServiceQuotaExceededException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "resourceId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The resource ID of AWS Application Testing that exceeded the limit.

" - } - }, - "resourceType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The resource type of AWS Application Testing that exceeded the limit.

" - } - }, - "serviceCode": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The service code of AWS Application Testing that exceeded the limit.

" - } - }, - "quotaCode": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The quote codes of AWS Application Testing that exceeded the limit.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

One or more quotas for AWS Application Testing exceeds the limit.

", - "smithy.api#error": "client", - "smithy.api#httpError": 402 - } - }, - "com.amazonaws.apptest#ServiceSettings": { - "type": "structure", - "members": { - "kmsKeyId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The KMS key ID of the service settings.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the service settings.

" - } - }, - "com.amazonaws.apptest#SourceDatabase": { - "type": "enum", - "members": { - "Z_OS_DB2": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "z/OS-DB2" - } - } - } - }, - "com.amazonaws.apptest#SourceDatabaseMetadata": { - "type": "structure", - "members": { - "type": { - "target": "com.amazonaws.apptest#SourceDatabase", - "traits": { - "smithy.api#documentation": "

The type of the source database metadata.

", - "smithy.api#required": {} - } - }, - "captureTool": { - "target": "com.amazonaws.apptest#CaptureTool", - "traits": { - "smithy.api#documentation": "

The capture tool of the source database metadata.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the source database metadata.

" - } - }, - "com.amazonaws.apptest#StartTestRun": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#StartTestRunRequest" - }, - "output": { - "target": "com.amazonaws.apptest#StartTestRunResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#ConflictException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#conditionKeys": [ - "aws:RequestTag/${TagKey}", - "aws:TagKeys" - ], - "aws.iam#iamAction": { - "name": "StartTestRun", - "documentation": "Grants permission to start a test run", - "createsResources": [ - "TestRun" - ], - "requiredActions": [ - "cloudformation:CreateStack", - "cloudformation:DeleteStack", - "cloudformation:DescribeStacks", - "dms:DescribeReplicationTasks", - "dms:StartReplicationTask", - "dms:StopReplicationTask", - "ec2:DescribeAvailabilityZones", - "ec2:DescribeVpcEndpointServiceConfigurations", - "ec2:DescribeVpcEndpointServices", - "m2:CreateDataSetImportTask", - "m2:GetApplication", - "m2:GetBatchJobExecution", - "m2:GetDataSetDetails", - "m2:GetDataSetImportTask", - "m2:StartApplication", - "m2:StartBatchJob", - "m2:StopApplication", - "s3:DeleteObject", - "s3:DeleteObjects", - "s3:CopyObject", - "s3:HeadBucket", - "s3:CreateBucket", - "s3:UploadPart", - "s3:HeadObject", - "s3:CreateMultipartUpload", - "s3:CompleteMultipartUpload", - "s3:GetObject", - "s3:ListBucket", - "s3:PutObject", - "s3:ListObjectsV2" - ] - }, - "smithy.api#documentation": "

Starts a test run.

", - "smithy.api#http": { - "method": "POST", - "uri": "/testrun", - "code": 200 - } - } - }, - "com.amazonaws.apptest#StartTestRunRequest": { - "type": "structure", - "members": { - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test suite ID of the test run.

", - "smithy.api#required": {} - } - }, - "testConfigurationId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The configuration ID of the test run.

" - } - }, - "clientToken": { - "target": "com.amazonaws.apptest#IdempotencyTokenString", - "traits": { - "aws.cloudformation#cfnExcludeProperty": {}, - "smithy.api#documentation": "

The client token of the test run.

", - "smithy.api#idempotencyToken": {} - } - }, - "tags": { - "target": "com.amazonaws.apptest#TagMap", - "traits": { - "smithy.api#documentation": "

The tags of the test run.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#StartTestRunResponse": { - "type": "structure", - "members": { - "testRunId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test run ID of the test run.

", - "smithy.api#required": {} - } - }, - "testRunStatus": { - "target": "com.amazonaws.apptest#TestRunStatus", - "traits": { - "smithy.api#documentation": "

The test run status of the test run.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#Step": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the step.

", - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.apptest#ResourceDescription", - "traits": { - "smithy.api#documentation": "

The description of the step.

" - } - }, - "action": { - "target": "com.amazonaws.apptest#StepAction", - "traits": { - "smithy.api#documentation": "

The action of the step.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Defines a step.

" - } - }, - "com.amazonaws.apptest#StepAction": { - "type": "union", - "members": { - "resourceAction": { - "target": "com.amazonaws.apptest#ResourceAction", - "traits": { - "smithy.api#documentation": "

The resource action of the step action.

" - } - }, - "mainframeAction": { - "target": "com.amazonaws.apptest#MainframeAction", - "traits": { - "smithy.api#documentation": "

The mainframe action of the step action.

" - } - }, - "compareAction": { - "target": "com.amazonaws.apptest#CompareAction", - "traits": { - "smithy.api#documentation": "

The compare action of the step action.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a step action.

" - } - }, - "com.amazonaws.apptest#StepList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#Step" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 20 - } - } - }, - "com.amazonaws.apptest#StepRunStatus": { - "type": "enum", - "members": { - "SUCCESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Success" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - }, - "RUNNING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Running" - } - } - } - }, - "com.amazonaws.apptest#StepRunSummary": { - "type": "union", - "members": { - "mainframeAction": { - "target": "com.amazonaws.apptest#MainframeActionSummary", - "traits": { - "smithy.api#documentation": "

The mainframe action of the step run summary.

" - } - }, - "compareAction": { - "target": "com.amazonaws.apptest#CompareActionSummary", - "traits": { - "smithy.api#documentation": "

The compare action of the step run summary.

" - } - }, - "resourceAction": { - "target": "com.amazonaws.apptest#ResourceActionSummary", - "traits": { - "smithy.api#documentation": "

The resource action of the step run summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Defines the step run summary.

" - } - }, - "com.amazonaws.apptest#String100": { - "type": "string", - "traits": { - "smithy.api#pattern": "^\\S{1,100}$" - } - }, - "com.amazonaws.apptest#String50": { - "type": "string", - "traits": { - "smithy.api#pattern": "^\\S{1,50}$" - } - }, - "com.amazonaws.apptest#TN3270": { - "type": "structure", - "members": { - "script": { - "target": "com.amazonaws.apptest#Script", - "traits": { - "smithy.api#documentation": "

The script of the TN3270 protocol.

", - "smithy.api#required": {} - } - }, - "exportDataSetNames": { - "target": "com.amazonaws.apptest#ExportDataSetNames", - "traits": { - "smithy.api#documentation": "

The data set names of the TN3270 protocol.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the TN3270 protocol.

" - } - }, - "com.amazonaws.apptest#TN3270StepInput": { - "type": "structure", - "members": { - "resource": { - "target": "com.amazonaws.apptest#MainframeResourceSummary", - "traits": { - "smithy.api#documentation": "

The resource of the TN3270 step input.

", - "smithy.api#required": {} - } - }, - "script": { - "target": "com.amazonaws.apptest#ScriptSummary", - "traits": { - "smithy.api#documentation": "

The script of the TN3270 step input.

", - "smithy.api#required": {} - } - }, - "exportDataSetNames": { - "target": "com.amazonaws.apptest#ExportDataSetNames", - "traits": { - "smithy.api#documentation": "

The export data set names of the TN3270 step input.

" - } - }, - "properties": { - "target": "com.amazonaws.apptest#MainframeActionProperties", - "traits": { - "smithy.api#documentation": "

The properties of the TN3270 step input.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a TN3270 step input.

" - } - }, - "com.amazonaws.apptest#TN3270StepOutput": { - "type": "structure", - "members": { - "dataSetExportLocation": { - "target": "com.amazonaws.apptest#S3Uri", - "traits": { - "smithy.api#documentation": "

The data set export location of the TN3270 step output.

" - } - }, - "dmsOutputLocation": { - "target": "com.amazonaws.apptest#S3Uri", - "traits": { - "smithy.api#documentation": "

The output location of the TN3270 step output.

" - } - }, - "dataSetDetails": { - "target": "com.amazonaws.apptest#DataSetList", - "traits": { - "smithy.api#documentation": "

The data set details of the TN3270 step output.

" - } - }, - "scriptOutputLocation": { - "target": "com.amazonaws.apptest#S3Uri", - "traits": { - "smithy.api#documentation": "

The script output location of the TN3270 step output.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a TN3270 step output.

" - } - }, - "com.amazonaws.apptest#TN3270Summary": { - "type": "structure", - "members": { - "stepInput": { - "target": "com.amazonaws.apptest#TN3270StepInput", - "traits": { - "smithy.api#documentation": "

The step input of the TN3270 summary.

", - "smithy.api#required": {} - } - }, - "stepOutput": { - "target": "com.amazonaws.apptest#TN3270StepOutput", - "traits": { - "smithy.api#documentation": "

The step output of the TN3270 summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a TN3270 summary.

" - } - }, - "com.amazonaws.apptest#TagKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^(?!aws:).+$" - } - }, - "com.amazonaws.apptest#TagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#TagKey" - } - }, - "com.amazonaws.apptest#TagMap": { - "type": "map", - "key": { - "target": "com.amazonaws.apptest#TagKey" - }, - "value": { - "target": "com.amazonaws.apptest#TagValue" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 200 - } - } - }, - "com.amazonaws.apptest#TagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#TagResourceRequest" - }, - "output": { - "target": "com.amazonaws.apptest#TagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#conditionKeys": [ - "aws:RequestTag/${TagKey}", - "aws:TagKeys" - ], - "aws.iam#iamAction": { - "name": "TagResource", - "documentation": "Grants permission to tag a resource", - "requiredActions": [], - "resources": { - "required": {}, - "optional": {} - } - }, - "smithy.api#documentation": "

Specifies tags of a resource.

", - "smithy.api#http": { - "method": "POST", - "uri": "/tags/{resourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.apptest#TagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.apptest#Arn", - "traits": { - "smithy.api#documentation": "

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

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.apptest#TagMap", - "traits": { - "smithy.api#documentation": "

The tags of the resource.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "aws.api#data": "tagging", - "smithy.api#input": {}, - "smithy.api#references": [ - { - "resource": "com.amazonaws.apptest#TestCase", - "ids": { - "testCaseId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.apptest#TestSuite", - "ids": { - "testSuiteId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.apptest#TestConfiguration", - "ids": { - "testConfigurationId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.apptest#TestRun", - "ids": { - "testRunId": "resourceArn" - } - } - ] - } - }, - "com.amazonaws.apptest#TagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#TagValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - } - } - }, - "com.amazonaws.apptest#TargetDatabase": { - "type": "enum", - "members": { - "POSTGRESQL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PostgreSQL" - } - } - } - }, - "com.amazonaws.apptest#TargetDatabaseMetadata": { - "type": "structure", - "members": { - "type": { - "target": "com.amazonaws.apptest#TargetDatabase", - "traits": { - "smithy.api#documentation": "

The type of the target database metadata.

", - "smithy.api#required": {} - } - }, - "captureTool": { - "target": "com.amazonaws.apptest#CaptureTool", - "traits": { - "smithy.api#documentation": "

The capture tool of the target database metadata.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a target database metadata.

" - } - }, - "com.amazonaws.apptest#TestCase": { - "type": "resource", - "identifiers": { - "testCaseId": { - "target": "com.amazonaws.apptest#Identifier" - } - }, - "create": { - "target": "com.amazonaws.apptest#CreateTestCase" - }, - "read": { - "target": "com.amazonaws.apptest#GetTestCase" - }, - "update": { - "target": "com.amazonaws.apptest#UpdateTestCase" - }, - "delete": { - "target": "com.amazonaws.apptest#DeleteTestCase" - }, - "list": { - "target": "com.amazonaws.apptest#ListTestCases" - }, - "traits": { - "aws.api#arn": { - "template": "testcase/{testCaseId}" - }, - "aws.iam#conditionKeys": [ - "aws:ResourceTag/${TagKey}" - ], - "aws.iam#disableConditionKeyInference": {} - } - }, - "com.amazonaws.apptest#TestCaseIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#Identifier" - } - }, - "com.amazonaws.apptest#TestCaseLatestVersion": { - "type": "structure", - "members": { - "version": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The version of the test case latest version.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.apptest#TestCaseLifecycle", - "traits": { - "smithy.api#documentation": "

The status of the test case latest version.

", - "smithy.api#required": {} - } - }, - "statusReason": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status reason of the test case latest version.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the latest version of a test case.

" - } - }, - "com.amazonaws.apptest#TestCaseLifecycle": { - "type": "enum", - "members": { - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Active" - } - }, - "DELETING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Deleting" - } - } - } - }, - "com.amazonaws.apptest#TestCaseList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#Identifier" - } - }, - "com.amazonaws.apptest#TestCaseRunStatus": { - "type": "enum", - "members": { - "SUCCESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Success" - } - }, - "RUNNING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Running" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - } - } - }, - "com.amazonaws.apptest#TestCaseRunSummary": { - "type": "structure", - "members": { - "testCaseId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test case id of the test case run summary.

", - "smithy.api#required": {} - } - }, - "testCaseVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The test case version of the test case run summary.

", - "smithy.api#required": {} - } - }, - "testRunId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test run id of the test case run summary.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.apptest#TestCaseRunStatus", - "traits": { - "smithy.api#documentation": "

The status of the test case run summary.

", - "smithy.api#required": {} - } - }, - "statusReason": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status reason of the test case run summary.

" - } - }, - "runStartTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The run start time of the test case run summary.

", - "smithy.api#required": {} - } - }, - "runEndTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The run end time of the test case run summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the test case run summary.

" - } - }, - "com.amazonaws.apptest#TestCaseRunSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#TestCaseRunSummary" - } - }, - "com.amazonaws.apptest#TestCaseSummary": { - "type": "structure", - "members": { - "testCaseId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test case ID of the test case summary.

", - "smithy.api#required": {} - } - }, - "testCaseArn": { - "target": "com.amazonaws.apptest#Arn", - "traits": { - "smithy.api#documentation": "

The test case Amazon Resource Name (ARN) of the test case summary.

", - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the test case summary.

", - "smithy.api#required": {} - } - }, - "statusReason": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status reason of the test case summary.

" - } - }, - "latestVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The latest version of the test case summary.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.apptest#TestCaseLifecycle", - "traits": { - "smithy.api#documentation": "

The status of the test case summary.

", - "smithy.api#required": {} - } - }, - "creationTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The creation time of the test case summary.

", - "smithy.api#required": {} - } - }, - "lastUpdateTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The last update time of the test case summary.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a test case summary.

" - } - }, - "com.amazonaws.apptest#TestCaseSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#TestCaseSummary" - } - }, - "com.amazonaws.apptest#TestCases": { - "type": "union", - "members": { - "sequential": { - "target": "com.amazonaws.apptest#TestCaseList", - "traits": { - "smithy.api#documentation": "

The sequential of the test case.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies test cases.

" - } - }, - "com.amazonaws.apptest#TestConfiguration": { - "type": "resource", - "identifiers": { - "testConfigurationId": { - "target": "com.amazonaws.apptest#Identifier" - } - }, - "create": { - "target": "com.amazonaws.apptest#CreateTestConfiguration" - }, - "read": { - "target": "com.amazonaws.apptest#GetTestConfiguration" - }, - "update": { - "target": "com.amazonaws.apptest#UpdateTestConfiguration" - }, - "delete": { - "target": "com.amazonaws.apptest#DeleteTestConfiguration" - }, - "list": { - "target": "com.amazonaws.apptest#ListTestConfigurations" - }, - "traits": { - "aws.api#arn": { - "template": "testconfiguration/{testConfigurationId}" - }, - "aws.iam#conditionKeys": [ - "aws:ResourceTag/${TagKey}" - ], - "aws.iam#disableConditionKeyInference": {} - } - }, - "com.amazonaws.apptest#TestConfigurationIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#Identifier" - } - }, - "com.amazonaws.apptest#TestConfigurationLatestVersion": { - "type": "structure", - "members": { - "version": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The version of the test configuration latest version.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.apptest#TestConfigurationLifecycle", - "traits": { - "smithy.api#documentation": "

The status of the test configuration latest version.

", - "smithy.api#required": {} - } - }, - "statusReason": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status reason of the test configuration latest version.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the latest version of the test configuration.

" - } - }, - "com.amazonaws.apptest#TestConfigurationLifecycle": { - "type": "enum", - "members": { - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Active" - } - }, - "DELETING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Deleting" - } - } - } - }, - "com.amazonaws.apptest#TestConfigurationList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#TestConfigurationSummary" - } - }, - "com.amazonaws.apptest#TestConfigurationSummary": { - "type": "structure", - "members": { - "testConfigurationId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test configuration ID of the test configuration summary.

", - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the test configuration summary.

", - "smithy.api#required": {} - } - }, - "statusReason": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status reason of the test configuration summary.

" - } - }, - "latestVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The latest version of the test configuration summary.

", - "smithy.api#required": {} - } - }, - "testConfigurationArn": { - "target": "com.amazonaws.apptest#Arn", - "traits": { - "smithy.api#documentation": "

The test configuration ARN of the test configuration summary.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.apptest#TestConfigurationLifecycle", - "traits": { - "smithy.api#documentation": "

The status of the test configuration summary.

", - "smithy.api#required": {} - } - }, - "creationTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The creation time of the test configuration summary.

", - "smithy.api#required": {} - } - }, - "lastUpdateTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The last update time of the test configuration summary.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a test configuration summary.

" - } - }, - "com.amazonaws.apptest#TestRun": { - "type": "resource", - "identifiers": { - "testRunId": { - "target": "com.amazonaws.apptest#Identifier" - } - }, - "create": { - "target": "com.amazonaws.apptest#StartTestRun" - }, - "delete": { - "target": "com.amazonaws.apptest#DeleteTestRun" - }, - "list": { - "target": "com.amazonaws.apptest#ListTestRuns" - }, - "operations": [ - { - "target": "com.amazonaws.apptest#GetTestRunStep" - }, - { - "target": "com.amazonaws.apptest#ListTestRunSteps" - }, - { - "target": "com.amazonaws.apptest#ListTestRunTestCases" - } - ], - "traits": { - "aws.api#arn": { - "template": "testrun/{testRunId}" - }, - "aws.iam#conditionKeys": [ - "aws:ResourceTag/${TagKey}" - ], - "aws.iam#disableConditionKeyInference": {} - } - }, - "com.amazonaws.apptest#TestRunIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#Identifier" - } - }, - "com.amazonaws.apptest#TestRunStatus": { - "type": "enum", - "members": { - "SUCCESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Success" - } - }, - "RUNNING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Running" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - }, - "DELETING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Deleting" - } - } - } - }, - "com.amazonaws.apptest#TestRunStepSummary": { - "type": "structure", - "members": { - "stepName": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The step name of the test run step summary.

", - "smithy.api#required": {} - } - }, - "testRunId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test run ID of the test run step summary.

", - "smithy.api#required": {} - } - }, - "testCaseId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test case ID of the test run step summary.

" - } - }, - "testCaseVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The test case version of the test run step summary.

" - } - }, - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test suite ID of the test run step summary.

" - } - }, - "testSuiteVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The test suite version of the test run step summary.

" - } - }, - "beforeStep": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "

The before step of the test run step summary.

" - } - }, - "afterStep": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "

The after step of the test run step summary.

" - } - }, - "status": { - "target": "com.amazonaws.apptest#StepRunStatus", - "traits": { - "smithy.api#documentation": "

The status of the test run step summary.

", - "smithy.api#required": {} - } - }, - "statusReason": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status reason of the test run step summary.

" - } - }, - "runStartTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The run start time of the test run step summary.

", - "smithy.api#required": {} - } - }, - "runEndTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The run end time of the test run step summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a test run step summary.

" - } - }, - "com.amazonaws.apptest#TestRunStepSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#TestRunStepSummary" - } - }, - "com.amazonaws.apptest#TestRunSummary": { - "type": "structure", - "members": { - "testRunId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test run ID of the test run summary.

", - "smithy.api#required": {} - } - }, - "testRunArn": { - "target": "com.amazonaws.apptest#Arn", - "traits": { - "smithy.api#documentation": "

The test run ARN of the test run summary.

", - "smithy.api#required": {} - } - }, - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test suite ID of the test run summary.

", - "smithy.api#required": {} - } - }, - "testSuiteVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The test suite version of the test run summary.

", - "smithy.api#required": {} - } - }, - "testConfigurationId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test configuration ID of the test run summary.

" - } - }, - "testConfigurationVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The test configuration version of the test run summary.

" - } - }, - "status": { - "target": "com.amazonaws.apptest#TestRunStatus", - "traits": { - "smithy.api#documentation": "

The status of the test run summary.

", - "smithy.api#required": {} - } - }, - "statusReason": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status reason of the test run summary.

" - } - }, - "runStartTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The run start time of the test run summary.

", - "smithy.api#required": {} - } - }, - "runEndTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The run end time of the test run summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a test run summary.

" - } - }, - "com.amazonaws.apptest#TestRunSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#TestRunSummary" - } - }, - "com.amazonaws.apptest#TestSuite": { - "type": "resource", - "identifiers": { - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier" - } - }, - "create": { - "target": "com.amazonaws.apptest#CreateTestSuite" - }, - "read": { - "target": "com.amazonaws.apptest#GetTestSuite" - }, - "update": { - "target": "com.amazonaws.apptest#UpdateTestSuite" - }, - "delete": { - "target": "com.amazonaws.apptest#DeleteTestSuite" - }, - "list": { - "target": "com.amazonaws.apptest#ListTestSuites" - }, - "traits": { - "aws.api#arn": { - "template": "testsuite/{testSuiteId}" - }, - "aws.iam#conditionKeys": [ - "aws:ResourceTag/${TagKey}" - ], - "aws.iam#disableConditionKeyInference": {} - } - }, - "com.amazonaws.apptest#TestSuiteIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#Identifier" - } - }, - "com.amazonaws.apptest#TestSuiteLatestVersion": { - "type": "structure", - "members": { - "version": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The version of the test suite latest version.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.apptest#TestSuiteLifecycle", - "traits": { - "smithy.api#documentation": "

The status of the test suite latest version.

", - "smithy.api#required": {} - } - }, - "statusReason": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status reason of the test suite latest version.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the latest version of a test suite.

" - } - }, - "com.amazonaws.apptest#TestSuiteLifecycle": { - "type": "enum", - "members": { - "CREATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Creating" - } - }, - "UPDATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Updating" - } - }, - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Active" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - }, - "DELETING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Deleting" - } - } - } - }, - "com.amazonaws.apptest#TestSuiteList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#TestSuiteSummary" - } - }, - "com.amazonaws.apptest#TestSuiteSummary": { - "type": "structure", - "members": { - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test suite ID of the test suite summary.

", - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.apptest#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the test suite summary.

", - "smithy.api#required": {} - } - }, - "statusReason": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The status reason of the test suite summary.

" - } - }, - "latestVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The latest version of the test suite summary.

", - "smithy.api#required": {} - } - }, - "testSuiteArn": { - "target": "com.amazonaws.apptest#Arn", - "traits": { - "smithy.api#documentation": "

The test suite Amazon Resource Name (ARN) of the test suite summary.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.apptest#TestSuiteLifecycle", - "traits": { - "smithy.api#documentation": "

The status of the test suite summary.

", - "smithy.api#required": {} - } - }, - "creationTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The creation time of the test suite summary.

", - "smithy.api#required": {} - } - }, - "lastUpdateTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The last update time of the test suite summary.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the test suite summary.

" - } - }, - "com.amazonaws.apptest#ThrottlingException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "serviceCode": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The service code of requests that exceed the limit.

" - } - }, - "quotaCode": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The quota code of requests that exceed the limit.

" - } - }, - "retryAfterSeconds": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The number of seconds to retry after for requests that exceed the limit.

", - "smithy.api#httpHeader": "Retry-After" - } - } - }, - "traits": { - "smithy.api#documentation": "

The number of requests made exceeds the limit.

", - "smithy.api#error": "client", - "smithy.api#httpError": 429, - "smithy.api#retryable": { - "throttling": true - } - } - }, - "com.amazonaws.apptest#UntagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#UntagResourceRequest" - }, - "output": { - "target": "com.amazonaws.apptest#UntagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#conditionKeys": [ - "aws:TagKeys" - ], - "aws.iam#iamAction": { - "documentation": "Grants permission to untag a resource" - }, - "smithy.api#documentation": "

Untags a resource.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/tags/{resourceArn}", - "code": 200 - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.apptest#UntagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.apptest#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tagKeys": { - "target": "com.amazonaws.apptest#TagKeyList", - "traits": { - "smithy.api#documentation": "

The tag keys of the resource.

", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#required": {} - } - } - }, - "traits": { - "aws.api#data": "tagging", - "smithy.api#input": {}, - "smithy.api#references": [ - { - "resource": "com.amazonaws.apptest#TestCase", - "ids": { - "testCaseId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.apptest#TestSuite", - "ids": { - "testSuiteId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.apptest#TestConfiguration", - "ids": { - "testConfigurationId": "resourceArn" - } - }, - { - "resource": "com.amazonaws.apptest#TestRun", - "ids": { - "testRunId": "resourceArn" - } - } - ] - } - }, - "com.amazonaws.apptest#UntagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#UpdateTestCase": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#UpdateTestCaseRequest" - }, - "output": { - "target": "com.amazonaws.apptest#UpdateTestCaseResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#ConflictException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "UpdateTestCase", - "documentation": "Grants permission to update a test case" - }, - "smithy.api#documentation": "

Updates a test case.

", - "smithy.api#http": { - "method": "PATCH", - "uri": "/testcases/{testCaseId}", - "code": 200 - } - } - }, - "com.amazonaws.apptest#UpdateTestCaseRequest": { - "type": "structure", - "members": { - "testCaseId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test case ID of the test case.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.apptest#ResourceDescription", - "traits": { - "smithy.api#documentation": "

The description of the test case.

" - } - }, - "steps": { - "target": "com.amazonaws.apptest#StepList", - "traits": { - "smithy.api#documentation": "

The steps of the test case.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#UpdateTestCaseResponse": { - "type": "structure", - "members": { - "testCaseId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test case ID of the test case.

", - "smithy.api#required": {} - } - }, - "testCaseVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The test case version of the test case.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#UpdateTestConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#UpdateTestConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.apptest#UpdateTestConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#ConflictException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "UpdateTestConfiguration", - "documentation": "Grants permission to update a test configuration" - }, - "smithy.api#documentation": "

Updates a test configuration.

", - "smithy.api#http": { - "method": "PATCH", - "uri": "/testconfigurations/{testConfigurationId}", - "code": 200 - } - } - }, - "com.amazonaws.apptest#UpdateTestConfigurationRequest": { - "type": "structure", - "members": { - "testConfigurationId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test configuration ID of the test configuration.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.apptest#ResourceDescription", - "traits": { - "smithy.api#documentation": "

The description of the test configuration.

" - } - }, - "resources": { - "target": "com.amazonaws.apptest#ResourceList", - "traits": { - "smithy.api#documentation": "

The resources of the test configuration.

" - } - }, - "properties": { - "target": "com.amazonaws.apptest#Properties", - "traits": { - "smithy.api#documentation": "

The properties of the test configuration.

" - } - }, - "serviceSettings": { - "target": "com.amazonaws.apptest#ServiceSettings", - "traits": { - "smithy.api#documentation": "

The service settings of the test configuration.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#UpdateTestConfigurationResponse": { - "type": "structure", - "members": { - "testConfigurationId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The configuration ID of the test configuration.

", - "smithy.api#required": {} - } - }, - "testConfigurationVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The configuration version of the test configuration.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#UpdateTestSuite": { - "type": "operation", - "input": { - "target": "com.amazonaws.apptest#UpdateTestSuiteRequest" - }, - "output": { - "target": "com.amazonaws.apptest#UpdateTestSuiteResponse" - }, - "errors": [ - { - "target": "com.amazonaws.apptest#AccessDeniedException" - }, - { - "target": "com.amazonaws.apptest#ConflictException" - }, - { - "target": "com.amazonaws.apptest#InternalServerException" - }, - { - "target": "com.amazonaws.apptest#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.apptest#ThrottlingException" - }, - { - "target": "com.amazonaws.apptest#ValidationException" - } - ], - "traits": { - "aws.iam#iamAction": { - "name": "UpdateTestSuite", - "documentation": "Grants permission to update a test suite" - }, - "smithy.api#documentation": "

Updates a test suite.

", - "smithy.api#http": { - "method": "PATCH", - "uri": "/testsuites/{testSuiteId}", - "code": 200 - } - } - }, - "com.amazonaws.apptest#UpdateTestSuiteRequest": { - "type": "structure", - "members": { - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test suite ID of the test suite.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.apptest#ResourceDescription", - "traits": { - "smithy.api#documentation": "

The description of the test suite.

" - } - }, - "beforeSteps": { - "target": "com.amazonaws.apptest#StepList", - "traits": { - "smithy.api#documentation": "

The before steps for the test suite.

" - } - }, - "afterSteps": { - "target": "com.amazonaws.apptest#StepList", - "traits": { - "smithy.api#documentation": "

The after steps of the test suite.

" - } - }, - "testCases": { - "target": "com.amazonaws.apptest#TestCases", - "traits": { - "smithy.api#documentation": "

The test cases in the test suite.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.apptest#UpdateTestSuiteResponse": { - "type": "structure", - "members": { - "testSuiteId": { - "target": "com.amazonaws.apptest#Identifier", - "traits": { - "smithy.api#documentation": "

The test suite ID of the test suite.

", - "smithy.api#required": {} - } - }, - "testSuiteVersion": { - "target": "com.amazonaws.apptest#Version", - "traits": { - "smithy.api#documentation": "

The test suite version of the test suite.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.apptest#ValidationException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "reason": { - "target": "com.amazonaws.apptest#ValidationExceptionReason", - "traits": { - "smithy.api#documentation": "

The reason for the validation exception.

" - } - }, - "fieldList": { - "target": "com.amazonaws.apptest#ValidationExceptionFieldList", - "traits": { - "smithy.api#documentation": "

The field list of the validation exception.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

One or more parameter provided in the request is not valid.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.apptest#ValidationExceptionField": { - "type": "structure", - "members": { - "name": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The name of the validation exception field.

", - "smithy.api#required": {} - } - }, - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The message stating reason for why service validation failed.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a validation exception field.

" - } - }, - "com.amazonaws.apptest#ValidationExceptionFieldList": { - "type": "list", - "member": { - "target": "com.amazonaws.apptest#ValidationExceptionField" - } - }, - "com.amazonaws.apptest#ValidationExceptionReason": { - "type": "enum", - "members": { - "UNKNOWN_OPERATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "unknownOperation" - } - }, - "CANNOT_PARSE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "cannotParse" - } - }, - "FIELD_VALIDATION_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "fieldValidationFailed" - } - }, - "OTHER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "other" - } - } - } - }, - "com.amazonaws.apptest#Variable": { - "type": "string", - "traits": { - "smithy.api#pattern": "^\\S{1,1000}$" - } - }, - "com.amazonaws.apptest#Version": { - "type": "integer" - } - } -} \ No newline at end of file diff --git a/tools/code-generation/smithy/api-descriptions/iotfleethub.json b/tools/code-generation/smithy/api-descriptions/iotfleethub.json deleted file mode 100644 index e81218fd4d0..00000000000 --- a/tools/code-generation/smithy/api-descriptions/iotfleethub.json +++ /dev/null @@ -1,1768 +0,0 @@ -{ - "smithy": "2.0", - "metadata": { - "suppressions": [ - { - "id": "HttpMethodSemantics", - "namespace": "*" - }, - { - "id": "HttpResponseCodeSemantics", - "namespace": "*" - }, - { - "id": "PaginatedTrait", - "namespace": "*" - }, - { - "id": "HttpHeaderTrait", - "namespace": "*" - }, - { - "id": "HttpUriConflict", - "namespace": "*" - }, - { - "id": "Service", - "namespace": "*" - } - ] - }, - "shapes": { - "com.amazonaws.iotfleethub#AWSIoTFleetHub": { - "type": "service", - "version": "2020-11-03", - "operations": [ - { - "target": "com.amazonaws.iotfleethub#CreateApplication" - }, - { - "target": "com.amazonaws.iotfleethub#DeleteApplication" - }, - { - "target": "com.amazonaws.iotfleethub#DescribeApplication" - }, - { - "target": "com.amazonaws.iotfleethub#ListApplications" - }, - { - "target": "com.amazonaws.iotfleethub#ListTagsForResource" - }, - { - "target": "com.amazonaws.iotfleethub#TagResource" - }, - { - "target": "com.amazonaws.iotfleethub#UntagResource" - }, - { - "target": "com.amazonaws.iotfleethub#UpdateApplication" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "IoTFleetHub", - "arnNamespace": "iotfleethub", - "cloudFormationName": "IoTFleetHub", - "cloudTrailEventSource": "iotfleethub.amazonaws.com", - "endpointPrefix": "api.fleethub.iot" - }, - "aws.auth#sigv4": { - "name": "iotfleethub" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

With Fleet Hub for IoT Device Management you can build stand-alone web applications for monitoring the health of your device fleets.

", - "smithy.api#title": "AWS IoT Fleet Hub", - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.fleethub.iot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.fleethub.iot-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, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.fleethub.iot.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://api.fleethub.iot.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.ap-south-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-south-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.eu-north-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.eu-west-2.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.fleethub.iot.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" - } - } - }, - "com.amazonaws.iotfleethub#ApplicationState": { - "type": "enum", - "members": { - "CREATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATING" - } - }, - "DELETING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETING" - } - }, - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVE" - } - }, - "CREATE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATE_FAILED" - } - }, - "DELETE_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETE_FAILED" - } - } - } - }, - "com.amazonaws.iotfleethub#ApplicationSummaries": { - "type": "list", - "member": { - "target": "com.amazonaws.iotfleethub#ApplicationSummary" - } - }, - "com.amazonaws.iotfleethub#ApplicationSummary": { - "type": "structure", - "members": { - "applicationId": { - "target": "com.amazonaws.iotfleethub#Id", - "traits": { - "smithy.api#documentation": "

The unique Id of the web application.

", - "smithy.api#required": {} - } - }, - "applicationName": { - "target": "com.amazonaws.iotfleethub#Name", - "traits": { - "smithy.api#documentation": "

The name of the web application.

", - "smithy.api#required": {} - } - }, - "applicationDescription": { - "target": "com.amazonaws.iotfleethub#Description", - "traits": { - "smithy.api#documentation": "

An optional description of the web application.

" - } - }, - "applicationUrl": { - "target": "com.amazonaws.iotfleethub#Url", - "traits": { - "smithy.api#documentation": "

The URL of the web application.

", - "smithy.api#required": {} - } - }, - "applicationCreationDate": { - "target": "com.amazonaws.iotfleethub#Timestamp", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The date (in Unix epoch time) when the web application was created.

" - } - }, - "applicationLastUpdateDate": { - "target": "com.amazonaws.iotfleethub#Timestamp", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The date (in Unix epoch time) when the web application was last updated.

" - } - }, - "applicationState": { - "target": "com.amazonaws.iotfleethub#ApplicationState", - "traits": { - "smithy.api#documentation": "

The current state of the web application.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A summary of information about a Fleet Hub for IoT Device Management web application.

" - } - }, - "com.amazonaws.iotfleethub#Arn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1600 - }, - "smithy.api#pattern": "^arn:[!-~]+$" - } - }, - "com.amazonaws.iotfleethub#ClientRequestToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - }, - "smithy.api#pattern": "^[a-zA-Z0-9-_]+$" - } - }, - "com.amazonaws.iotfleethub#ConflictException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.iotfleethub#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The request conflicts with the current state of the resource.

", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, - "com.amazonaws.iotfleethub#CreateApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotfleethub#CreateApplicationRequest" - }, - "output": { - "target": "com.amazonaws.iotfleethub#CreateApplicationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotfleethub#InternalFailureException" - }, - { - "target": "com.amazonaws.iotfleethub#InvalidRequestException" - }, - { - "target": "com.amazonaws.iotfleethub#LimitExceededException" - }, - { - "target": "com.amazonaws.iotfleethub#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "

Creates a Fleet Hub for IoT Device Management web application.

\n

When creating a Fleet Hub application, you must create an organization instance of\n IAM Identity Center if you don't already have one. The Fleet Hub application you create must also be in\n the same Amazon Web Services Region of the organization instance of IAM Identity Center. For more information see Enabling\n IAM Identity Center and Organization instances of IAM Identity Center.

", - "smithy.api#http": { - "method": "POST", - "uri": "/applications", - "code": 201 - } - } - }, - "com.amazonaws.iotfleethub#CreateApplicationRequest": { - "type": "structure", - "members": { - "applicationName": { - "target": "com.amazonaws.iotfleethub#Name", - "traits": { - "smithy.api#documentation": "

The name of the web application.

", - "smithy.api#required": {} - } - }, - "applicationDescription": { - "target": "com.amazonaws.iotfleethub#Description", - "traits": { - "smithy.api#documentation": "

An optional description of the web application.

" - } - }, - "clientToken": { - "target": "com.amazonaws.iotfleethub#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. \n Don't reuse this client token if a new idempotent request is required.

", - "smithy.api#idempotencyToken": {} - } - }, - "roleArn": { - "target": "com.amazonaws.iotfleethub#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the role that the web application assumes when it interacts with Amazon Web Services IoT Core.

\n \n

The name of the role must be in the form AWSIotFleetHub_random_string\n .

\n
", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.iotfleethub#TagMap", - "traits": { - "smithy.api#documentation": "

A set of key/value pairs that you can use to manage the web application resource.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.iotfleethub#CreateApplicationResponse": { - "type": "structure", - "members": { - "applicationId": { - "target": "com.amazonaws.iotfleethub#Id", - "traits": { - "smithy.api#documentation": "

The unique Id of the web application.

", - "smithy.api#required": {} - } - }, - "applicationArn": { - "target": "com.amazonaws.iotfleethub#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the web application.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.iotfleethub#DeleteApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotfleethub#DeleteApplicationRequest" - }, - "output": { - "target": "com.amazonaws.iotfleethub#DeleteApplicationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotfleethub#InternalFailureException" - }, - { - "target": "com.amazonaws.iotfleethub#InvalidRequestException" - }, - { - "target": "com.amazonaws.iotfleethub#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotfleethub#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "

Deletes a Fleet Hub for IoT Device Management web application.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/applications/{applicationId}", - "code": 204 - } - } - }, - "com.amazonaws.iotfleethub#DeleteApplicationRequest": { - "type": "structure", - "members": { - "applicationId": { - "target": "com.amazonaws.iotfleethub#Id", - "traits": { - "smithy.api#documentation": "

The unique Id of the web application.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "clientToken": { - "target": "com.amazonaws.iotfleethub#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. \n Don't reuse this client token if a new idempotent request is required.

", - "smithy.api#httpQuery": "clientToken", - "smithy.api#idempotencyToken": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.iotfleethub#DeleteApplicationResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.iotfleethub#DescribeApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotfleethub#DescribeApplicationRequest" - }, - "output": { - "target": "com.amazonaws.iotfleethub#DescribeApplicationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotfleethub#InternalFailureException" - }, - { - "target": "com.amazonaws.iotfleethub#InvalidRequestException" - }, - { - "target": "com.amazonaws.iotfleethub#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotfleethub#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets information about a Fleet Hub for IoT Device Management web application.

", - "smithy.api#http": { - "method": "GET", - "uri": "/applications/{applicationId}", - "code": 200 - } - } - }, - "com.amazonaws.iotfleethub#DescribeApplicationRequest": { - "type": "structure", - "members": { - "applicationId": { - "target": "com.amazonaws.iotfleethub#Id", - "traits": { - "smithy.api#documentation": "

The unique Id of the web application.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.iotfleethub#DescribeApplicationResponse": { - "type": "structure", - "members": { - "applicationId": { - "target": "com.amazonaws.iotfleethub#Id", - "traits": { - "smithy.api#documentation": "

The unique Id of the web application.

", - "smithy.api#required": {} - } - }, - "applicationArn": { - "target": "com.amazonaws.iotfleethub#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the web application.

", - "smithy.api#required": {} - } - }, - "applicationName": { - "target": "com.amazonaws.iotfleethub#Name", - "traits": { - "smithy.api#documentation": "

The name of the web application.

", - "smithy.api#required": {} - } - }, - "applicationDescription": { - "target": "com.amazonaws.iotfleethub#Description", - "traits": { - "smithy.api#documentation": "

An optional description of the web application.

" - } - }, - "applicationUrl": { - "target": "com.amazonaws.iotfleethub#Url", - "traits": { - "smithy.api#documentation": "

The URL of the web application.

", - "smithy.api#required": {} - } - }, - "applicationState": { - "target": "com.amazonaws.iotfleethub#ApplicationState", - "traits": { - "smithy.api#documentation": "

The current state of the web application.

", - "smithy.api#required": {} - } - }, - "applicationCreationDate": { - "target": "com.amazonaws.iotfleethub#Timestamp", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The date (in Unix epoch time) when the application was created.

", - "smithy.api#required": {} - } - }, - "applicationLastUpdateDate": { - "target": "com.amazonaws.iotfleethub#Timestamp", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The date (in Unix epoch time) when the application was last updated.

", - "smithy.api#required": {} - } - }, - "roleArn": { - "target": "com.amazonaws.iotfleethub#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the role that the web application assumes when it interacts with Amazon Web Services IoT Core.

", - "smithy.api#required": {} - } - }, - "ssoClientId": { - "target": "com.amazonaws.iotfleethub#SsoClientId", - "traits": { - "smithy.api#documentation": "

The Id of the single sign-on client that you use to authenticate and authorize users on the web application.

" - } - }, - "errorMessage": { - "target": "com.amazonaws.iotfleethub#ErrorMessage", - "traits": { - "smithy.api#documentation": "

A message that explains any failures included in the applicationState response field. This message \n explains failures in the CreateApplication and DeleteApplication actions.

" - } - }, - "tags": { - "target": "com.amazonaws.iotfleethub#TagMap", - "traits": { - "smithy.api#documentation": "

A set of key/value pairs that you can use to manage the web application resource.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.iotfleethub#Description": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 2048 - }, - "smithy.api#pattern": "^[ -~]*$" - } - }, - "com.amazonaws.iotfleethub#ErrorMessage": { - "type": "string" - }, - "com.amazonaws.iotfleethub#Id": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 36, - "max": 36 - }, - "smithy.api#pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" - } - }, - "com.amazonaws.iotfleethub#InternalFailureException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.iotfleethub#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

An unexpected error has occurred.

", - "smithy.api#error": "server", - "smithy.api#httpError": 500 - } - }, - "com.amazonaws.iotfleethub#InvalidRequestException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.iotfleethub#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The request is not valid.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.iotfleethub#LimitExceededException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.iotfleethub#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

A limit has been exceeded.

", - "smithy.api#error": "client", - "smithy.api#httpError": 410 - } - }, - "com.amazonaws.iotfleethub#ListApplications": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotfleethub#ListApplicationsRequest" - }, - "output": { - "target": "com.amazonaws.iotfleethub#ListApplicationsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotfleethub#InternalFailureException" - }, - { - "target": "com.amazonaws.iotfleethub#InvalidRequestException" - }, - { - "target": "com.amazonaws.iotfleethub#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets a list of Fleet Hub for IoT Device Management web applications for the current account.

", - "smithy.api#http": { - "method": "GET", - "uri": "/applications", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "applicationSummaries" - } - } - }, - "com.amazonaws.iotfleethub#ListApplicationsRequest": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.iotfleethub#NextToken", - "traits": { - "smithy.api#documentation": "

A token used to get the next set of results.

", - "smithy.api#httpQuery": "nextToken" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.iotfleethub#ListApplicationsResponse": { - "type": "structure", - "members": { - "applicationSummaries": { - "target": "com.amazonaws.iotfleethub#ApplicationSummaries", - "traits": { - "smithy.api#documentation": "

An array of objects that provide summaries of information about the web applications in the list.

" - } - }, - "nextToken": { - "target": "com.amazonaws.iotfleethub#NextToken", - "traits": { - "smithy.api#documentation": "

A token used to get the next set of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.iotfleethub#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotfleethub#ListTagsForResourceRequest" - }, - "output": { - "target": "com.amazonaws.iotfleethub#ListTagsForResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotfleethub#InternalFailureException" - }, - { - "target": "com.amazonaws.iotfleethub#InvalidRequestException" - }, - { - "target": "com.amazonaws.iotfleethub#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the tags for the specified resource.

", - "smithy.api#http": { - "method": "GET", - "uri": "/tags/{resourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.iotfleethub#ListTagsForResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.iotfleethub#ResourceArn", - "traits": { - "smithy.api#documentation": "

The ARN of the resource.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.iotfleethub#ListTagsForResourceResponse": { - "type": "structure", - "members": { - "tags": { - "target": "com.amazonaws.iotfleethub#TagMap", - "traits": { - "smithy.api#documentation": "

The list of tags assigned to the resource.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.iotfleethub#Name": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - }, - "smithy.api#pattern": "^[ -~]*$" - } - }, - "com.amazonaws.iotfleethub#NextToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 2048 - }, - "smithy.api#pattern": "^[A-Za-z0-9+/=]+$" - } - }, - "com.amazonaws.iotfleethub#ResourceArn": { - "type": "string" - }, - "com.amazonaws.iotfleethub#ResourceNotFoundException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.iotfleethub#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The specified resource does not exist.

", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.iotfleethub#SsoClientId": { - "type": "string" - }, - "com.amazonaws.iotfleethub#TagKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" - } - }, - "com.amazonaws.iotfleethub#TagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.iotfleethub#TagKey" - } - }, - "com.amazonaws.iotfleethub#TagMap": { - "type": "map", - "key": { - "target": "com.amazonaws.iotfleethub#TagKey" - }, - "value": { - "target": "com.amazonaws.iotfleethub#TagValue" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.iotfleethub#TagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotfleethub#TagResourceRequest" - }, - "output": { - "target": "com.amazonaws.iotfleethub#TagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotfleethub#InternalFailureException" - }, - { - "target": "com.amazonaws.iotfleethub#InvalidRequestException" - }, - { - "target": "com.amazonaws.iotfleethub#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "

Adds to or modifies the tags of the specified resource. Tags are metadata which can be used to manage a resource.

", - "smithy.api#http": { - "method": "POST", - "uri": "/tags/{resourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.iotfleethub#TagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.iotfleethub#ResourceArn", - "traits": { - "smithy.api#documentation": "

The ARN of the resource.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.iotfleethub#TagMap", - "traits": { - "smithy.api#documentation": "

The new or modified tags for the resource.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.iotfleethub#TagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.iotfleethub#TagValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.iotfleethub#ThrottlingException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.iotfleethub#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The rate exceeds the limit.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.iotfleethub#Timestamp": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.iotfleethub#UntagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotfleethub#UntagResourceRequest" - }, - "output": { - "target": "com.amazonaws.iotfleethub#UntagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotfleethub#InternalFailureException" - }, - { - "target": "com.amazonaws.iotfleethub#InvalidRequestException" - }, - { - "target": "com.amazonaws.iotfleethub#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "

Removes the specified tags (metadata) from the resource.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/tags/{resourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.iotfleethub#UntagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.iotfleethub#ResourceArn", - "traits": { - "smithy.api#documentation": "

The ARN of the resource.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tagKeys": { - "target": "com.amazonaws.iotfleethub#TagKeyList", - "traits": { - "smithy.api#documentation": "

A list of the keys of the tags to be removed from the resource.

", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.iotfleethub#UntagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.iotfleethub#UpdateApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.iotfleethub#UpdateApplicationRequest" - }, - "output": { - "target": "com.amazonaws.iotfleethub#UpdateApplicationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.iotfleethub#ConflictException" - }, - { - "target": "com.amazonaws.iotfleethub#InternalFailureException" - }, - { - "target": "com.amazonaws.iotfleethub#InvalidRequestException" - }, - { - "target": "com.amazonaws.iotfleethub#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.iotfleethub#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates information about a Fleet Hub for IoT Device Management web application.

", - "smithy.api#http": { - "method": "PATCH", - "uri": "/applications/{applicationId}", - "code": 202 - } - } - }, - "com.amazonaws.iotfleethub#UpdateApplicationRequest": { - "type": "structure", - "members": { - "applicationId": { - "target": "com.amazonaws.iotfleethub#Id", - "traits": { - "smithy.api#documentation": "

The unique Id of the web application.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "applicationName": { - "target": "com.amazonaws.iotfleethub#Name", - "traits": { - "smithy.api#documentation": "

The name of the web application.

" - } - }, - "applicationDescription": { - "target": "com.amazonaws.iotfleethub#Description", - "traits": { - "smithy.api#documentation": "

An optional description of the web application.

" - } - }, - "clientToken": { - "target": "com.amazonaws.iotfleethub#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. \n Don't reuse this client token if a new idempotent request is required.

", - "smithy.api#idempotencyToken": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.iotfleethub#UpdateApplicationResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.iotfleethub#Url": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - }, - "smithy.api#pattern": "^https\\://\\S+$" - } - } - } -} diff --git a/tools/code-generation/smithy/api-descriptions/lookoutmetrics.json b/tools/code-generation/smithy/api-descriptions/lookoutmetrics.json deleted file mode 100644 index 4a9c3f0d81e..00000000000 --- a/tools/code-generation/smithy/api-descriptions/lookoutmetrics.json +++ /dev/null @@ -1,6373 +0,0 @@ -{ - "smithy": "2.0", - "metadata": { - "suppressions": [ - { - "id": "HttpMethodSemantics", - "namespace": "*" - }, - { - "id": "HttpResponseCodeSemantics", - "namespace": "*" - }, - { - "id": "PaginatedTrait", - "namespace": "*" - }, - { - "id": "HttpHeaderTrait", - "namespace": "*" - }, - { - "id": "HttpUriConflict", - "namespace": "*" - }, - { - "id": "Service", - "namespace": "*" - } - ] - }, - "shapes": { - "com.amazonaws.lookoutmetrics#AccessDeniedException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.lookoutmetrics#Message", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

You do not have sufficient permissions to perform this action.

", - "smithy.api#error": "client", - "smithy.api#httpError": 403 - } - }, - "com.amazonaws.lookoutmetrics#Action": { - "type": "structure", - "members": { - "SNSConfiguration": { - "target": "com.amazonaws.lookoutmetrics#SNSConfiguration", - "traits": { - "smithy.api#documentation": "

A configuration for an Amazon SNS channel.

" - } - }, - "LambdaConfiguration": { - "target": "com.amazonaws.lookoutmetrics#LambdaConfiguration", - "traits": { - "smithy.api#documentation": "

A configuration for an AWS Lambda channel.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A configuration that specifies the action to perform when anomalies are detected.

" - } - }, - "com.amazonaws.lookoutmetrics#ActivateAnomalyDetector": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#ActivateAnomalyDetectorRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#ActivateAnomalyDetectorResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ConflictException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Activates an anomaly detector.

", - "smithy.api#http": { - "method": "POST", - "uri": "/ActivateAnomalyDetector", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#ActivateAnomalyDetectorRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the anomaly detector.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#ActivateAnomalyDetectorResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#AggregationFunction": { - "type": "enum", - "members": { - "AVG": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AVG" - } - }, - "SUM": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SUM" - } - } - } - }, - "com.amazonaws.lookoutmetrics#Alert": { - "type": "structure", - "members": { - "Action": { - "target": "com.amazonaws.lookoutmetrics#Action", - "traits": { - "smithy.api#documentation": "

Action that will be triggered when there is an alert.

" - } - }, - "AlertDescription": { - "target": "com.amazonaws.lookoutmetrics#AlertDescription", - "traits": { - "smithy.api#documentation": "

A description of the alert.

" - } - }, - "AlertArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the alert.

" - } - }, - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the detector to which the alert is attached.

" - } - }, - "AlertName": { - "target": "com.amazonaws.lookoutmetrics#AlertName", - "traits": { - "smithy.api#documentation": "

The name of the alert.

" - } - }, - "AlertSensitivityThreshold": { - "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The minimum severity for an anomaly to trigger the alert.

" - } - }, - "AlertType": { - "target": "com.amazonaws.lookoutmetrics#AlertType", - "traits": { - "smithy.api#documentation": "

The type of the alert.

" - } - }, - "AlertStatus": { - "target": "com.amazonaws.lookoutmetrics#AlertStatus", - "traits": { - "smithy.api#documentation": "

The status of the alert.

" - } - }, - "LastModificationTime": { - "target": "com.amazonaws.lookoutmetrics#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the alert was last modified.

" - } - }, - "CreationTime": { - "target": "com.amazonaws.lookoutmetrics#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the alert was created.

" - } - }, - "AlertFilters": { - "target": "com.amazonaws.lookoutmetrics#AlertFilters", - "traits": { - "smithy.api#documentation": "

The configuration of the alert filters, containing MetricList and DimensionFilter.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A configuration for Amazon SNS-integrated notifications.

" - } - }, - "com.amazonaws.lookoutmetrics#AlertDescription": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - }, - "smithy.api#pattern": "\\S" - } - }, - "com.amazonaws.lookoutmetrics#AlertFilters": { - "type": "structure", - "members": { - "MetricList": { - "target": "com.amazonaws.lookoutmetrics#MetricNameList", - "traits": { - "smithy.api#documentation": "

The list of measures that you want to get alerts for.

" - } - }, - "DimensionFilterList": { - "target": "com.amazonaws.lookoutmetrics#DimensionFilterList", - "traits": { - "smithy.api#documentation": "

The list of DimensionFilter objects that are used for dimension-based filtering.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The configuration of the alert filters.

" - } - }, - "com.amazonaws.lookoutmetrics#AlertName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 63 - }, - "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]*$" - } - }, - "com.amazonaws.lookoutmetrics#AlertStatus": { - "type": "enum", - "members": { - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVE" - } - }, - "INACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INACTIVE" - } - } - } - }, - "com.amazonaws.lookoutmetrics#AlertSummary": { - "type": "structure", - "members": { - "AlertArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the alert.

" - } - }, - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the detector to which the alert is attached.

" - } - }, - "AlertName": { - "target": "com.amazonaws.lookoutmetrics#AlertName", - "traits": { - "smithy.api#documentation": "

The name of the alert.

" - } - }, - "AlertSensitivityThreshold": { - "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The minimum severity for an anomaly to trigger the alert.

" - } - }, - "AlertType": { - "target": "com.amazonaws.lookoutmetrics#AlertType", - "traits": { - "smithy.api#documentation": "

The type of the alert.

" - } - }, - "AlertStatus": { - "target": "com.amazonaws.lookoutmetrics#AlertStatus", - "traits": { - "smithy.api#documentation": "

The status of the alert.

" - } - }, - "LastModificationTime": { - "target": "com.amazonaws.lookoutmetrics#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the alert was last modified.

" - } - }, - "CreationTime": { - "target": "com.amazonaws.lookoutmetrics#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the alert was created.

" - } - }, - "Tags": { - "target": "com.amazonaws.lookoutmetrics#TagMap", - "traits": { - "smithy.api#documentation": "

The alert's tags.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Provides a summary of an alert's configuration.

" - } - }, - "com.amazonaws.lookoutmetrics#AlertSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#AlertSummary" - } - }, - "com.amazonaws.lookoutmetrics#AlertType": { - "type": "enum", - "members": { - "SNS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SNS" - } - }, - "LAMBDA": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LAMBDA" - } - } - } - }, - "com.amazonaws.lookoutmetrics#AnomalyDetectionTaskStatus": { - "type": "enum", - "members": { - "PENDING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PENDING" - } - }, - "IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "IN_PROGRESS" - } - }, - "COMPLETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "COMPLETED" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED" - } - }, - "FAILED_TO_SCHEDULE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED_TO_SCHEDULE" - } - } - } - }, - "com.amazonaws.lookoutmetrics#AnomalyDetectionTaskStatusMessage": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - }, - "smithy.api#pattern": "\\S" - } - }, - "com.amazonaws.lookoutmetrics#AnomalyDetectorConfig": { - "type": "structure", - "members": { - "AnomalyDetectorFrequency": { - "target": "com.amazonaws.lookoutmetrics#Frequency", - "traits": { - "smithy.api#documentation": "

The frequency at which the detector analyzes its source data.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about a detector's configuration.

" - } - }, - "com.amazonaws.lookoutmetrics#AnomalyDetectorConfigSummary": { - "type": "structure", - "members": { - "AnomalyDetectorFrequency": { - "target": "com.amazonaws.lookoutmetrics#Frequency", - "traits": { - "smithy.api#documentation": "

The interval at which the detector analyzes its source data.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about a detector's configuration.

" - } - }, - "com.amazonaws.lookoutmetrics#AnomalyDetectorDataQualityMetric": { - "type": "structure", - "members": { - "StartTimestamp": { - "target": "com.amazonaws.lookoutmetrics#Timestamp", - "traits": { - "smithy.api#documentation": "

The start time for the data quality metrics collection.

" - } - }, - "MetricSetDataQualityMetricList": { - "target": "com.amazonaws.lookoutmetrics#MetricSetDataQualityMetricList", - "traits": { - "smithy.api#documentation": "

An array of DataQualityMetricList objects. Each object in the array contains information about a data quality metric.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Aggregated details about the data quality metrics collected for the AnomalyDetectorArn provided in the GetDataQualityMetrics object.

" - } - }, - "com.amazonaws.lookoutmetrics#AnomalyDetectorDataQualityMetricList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorDataQualityMetric" - } - }, - "com.amazonaws.lookoutmetrics#AnomalyDetectorDescription": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - }, - "smithy.api#pattern": "\\S" - } - }, - "com.amazonaws.lookoutmetrics#AnomalyDetectorFailureType": { - "type": "enum", - "members": { - "ACTIVATION_FAILURE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVATION_FAILURE" - } - }, - "BACK_TEST_ACTIVATION_FAILURE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BACK_TEST_ACTIVATION_FAILURE" - } - }, - "DELETION_FAILURE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETION_FAILURE" - } - }, - "DEACTIVATION_FAILURE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DEACTIVATION_FAILURE" - } - } - } - }, - "com.amazonaws.lookoutmetrics#AnomalyDetectorName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 63 - }, - "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]*$" - } - }, - "com.amazonaws.lookoutmetrics#AnomalyDetectorStatus": { - "type": "enum", - "members": { - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVE" - } - }, - "ACTIVATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVATING" - } - }, - "DELETING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETING" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED" - } - }, - "INACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INACTIVE" - } - }, - "LEARNING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LEARNING" - } - }, - "BACK_TEST_ACTIVATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BACK_TEST_ACTIVATING" - } - }, - "BACK_TEST_ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BACK_TEST_ACTIVE" - } - }, - "BACK_TEST_COMPLETE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BACK_TEST_COMPLETE" - } - }, - "DEACTIVATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DEACTIVATED" - } - }, - "DEACTIVATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DEACTIVATING" - } - } - } - }, - "com.amazonaws.lookoutmetrics#AnomalyDetectorSummary": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the detector.

" - } - }, - "AnomalyDetectorName": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorName", - "traits": { - "smithy.api#documentation": "

The name of the detector.

" - } - }, - "AnomalyDetectorDescription": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorDescription", - "traits": { - "smithy.api#documentation": "

A description of the detector.

" - } - }, - "CreationTime": { - "target": "com.amazonaws.lookoutmetrics#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the detector was created.

" - } - }, - "LastModificationTime": { - "target": "com.amazonaws.lookoutmetrics#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the detector was last modified.

" - } - }, - "Status": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorStatus", - "traits": { - "smithy.api#documentation": "

The status of detector.

" - } - }, - "Tags": { - "target": "com.amazonaws.lookoutmetrics#TagMap", - "traits": { - "smithy.api#documentation": "

The detector's tags.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about an an anomaly detector.

" - } - }, - "com.amazonaws.lookoutmetrics#AnomalyDetectorSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorSummary" - } - }, - "com.amazonaws.lookoutmetrics#AnomalyGroup": { - "type": "structure", - "members": { - "StartTime": { - "target": "com.amazonaws.lookoutmetrics#TimestampString", - "traits": { - "smithy.api#documentation": "

The start time for the group.

" - } - }, - "EndTime": { - "target": "com.amazonaws.lookoutmetrics#TimestampString", - "traits": { - "smithy.api#documentation": "

The end time for the group.

" - } - }, - "AnomalyGroupId": { - "target": "com.amazonaws.lookoutmetrics#UUID", - "traits": { - "smithy.api#documentation": "

The ID of the anomaly group.

" - } - }, - "AnomalyGroupScore": { - "target": "com.amazonaws.lookoutmetrics#Score", - "traits": { - "smithy.api#documentation": "

The severity score of the group.

" - } - }, - "PrimaryMetricName": { - "target": "com.amazonaws.lookoutmetrics#MetricName", - "traits": { - "smithy.api#documentation": "

The name of the primary affected measure for the group.

" - } - }, - "MetricLevelImpactList": { - "target": "com.amazonaws.lookoutmetrics#MetricLevelImpactList", - "traits": { - "smithy.api#documentation": "

A list of measures affected by the anomaly.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A group of anomalous metrics

" - } - }, - "com.amazonaws.lookoutmetrics#AnomalyGroupStatistics": { - "type": "structure", - "members": { - "EvaluationStartDate": { - "target": "com.amazonaws.lookoutmetrics#TimestampString", - "traits": { - "smithy.api#documentation": "

The start of the time range that was searched.

" - } - }, - "TotalCount": { - "target": "com.amazonaws.lookoutmetrics#Integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The number of groups found.

" - } - }, - "ItemizedMetricStatsList": { - "target": "com.amazonaws.lookoutmetrics#ItemizedMetricStatsList", - "traits": { - "smithy.api#documentation": "

Statistics for individual metrics within the group.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Aggregated statistics for a group of anomalous metrics.

" - } - }, - "com.amazonaws.lookoutmetrics#AnomalyGroupSummary": { - "type": "structure", - "members": { - "StartTime": { - "target": "com.amazonaws.lookoutmetrics#TimestampString", - "traits": { - "smithy.api#documentation": "

The start time for the group.

" - } - }, - "EndTime": { - "target": "com.amazonaws.lookoutmetrics#TimestampString", - "traits": { - "smithy.api#documentation": "

The end time for the group.

" - } - }, - "AnomalyGroupId": { - "target": "com.amazonaws.lookoutmetrics#UUID", - "traits": { - "smithy.api#documentation": "

The ID of the anomaly group.

" - } - }, - "AnomalyGroupScore": { - "target": "com.amazonaws.lookoutmetrics#Score", - "traits": { - "smithy.api#documentation": "

The severity score of the group.

" - } - }, - "PrimaryMetricName": { - "target": "com.amazonaws.lookoutmetrics#MetricName", - "traits": { - "smithy.api#documentation": "

The name of the primary affected measure for the group.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about a group of anomalous metrics.

" - } - }, - "com.amazonaws.lookoutmetrics#AnomalyGroupSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#AnomalyGroupSummary" - } - }, - "com.amazonaws.lookoutmetrics#AnomalyGroupTimeSeries": { - "type": "structure", - "members": { - "AnomalyGroupId": { - "target": "com.amazonaws.lookoutmetrics#UUID", - "traits": { - "smithy.api#documentation": "

The ID of the anomaly group.

", - "smithy.api#required": {} - } - }, - "TimeSeriesId": { - "target": "com.amazonaws.lookoutmetrics#TimeSeriesId", - "traits": { - "smithy.api#documentation": "

The ID of the metric.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An anomalous metric in an anomaly group.

" - } - }, - "com.amazonaws.lookoutmetrics#AnomalyGroupTimeSeriesFeedback": { - "type": "structure", - "members": { - "AnomalyGroupId": { - "target": "com.amazonaws.lookoutmetrics#UUID", - "traits": { - "smithy.api#documentation": "

The ID of the anomaly group.

", - "smithy.api#required": {} - } - }, - "TimeSeriesId": { - "target": "com.amazonaws.lookoutmetrics#TimeSeriesId", - "traits": { - "smithy.api#documentation": "

The ID of the metric.

", - "smithy.api#required": {} - } - }, - "IsAnomaly": { - "target": "com.amazonaws.lookoutmetrics#Boolean", - "traits": { - "smithy.api#documentation": "

Feedback on whether the metric is a legitimate anomaly.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Feedback for an anomalous metric.

" - } - }, - "com.amazonaws.lookoutmetrics#AppFlowConfig": { - "type": "structure", - "members": { - "RoleArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

An IAM role that gives Amazon Lookout for Metrics permission to access the flow.

" - } - }, - "FlowName": { - "target": "com.amazonaws.lookoutmetrics#FlowName", - "traits": { - "smithy.api#documentation": "

name of the flow.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about an Amazon AppFlow flow datasource.

" - } - }, - "com.amazonaws.lookoutmetrics#Arn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - }, - "smithy.api#pattern": "^arn:([a-z\\d-]+):.*:.*:.*:.+$" - } - }, - "com.amazonaws.lookoutmetrics#AthenaDataCatalog": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - }, - "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*$" - } - }, - "com.amazonaws.lookoutmetrics#AthenaDatabaseName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_]+$" - } - }, - "com.amazonaws.lookoutmetrics#AthenaS3ResultsPath": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1024 - }, - "smithy.api#pattern": "^s3://[a-z0-9].+$" - } - }, - "com.amazonaws.lookoutmetrics#AthenaSourceConfig": { - "type": "structure", - "members": { - "RoleArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

An IAM role that gives Amazon Lookout for Metrics permission to access the data.

" - } - }, - "DatabaseName": { - "target": "com.amazonaws.lookoutmetrics#AthenaDatabaseName", - "traits": { - "smithy.api#documentation": "

The database's name.

" - } - }, - "DataCatalog": { - "target": "com.amazonaws.lookoutmetrics#AthenaDataCatalog", - "traits": { - "smithy.api#documentation": "

The database's data catalog.

" - } - }, - "TableName": { - "target": "com.amazonaws.lookoutmetrics#AthenaTableName", - "traits": { - "smithy.api#documentation": "

The database's table name.

" - } - }, - "WorkGroupName": { - "target": "com.amazonaws.lookoutmetrics#AthenaWorkGroupName", - "traits": { - "smithy.api#documentation": "

The database's work group name.

" - } - }, - "S3ResultsPath": { - "target": "com.amazonaws.lookoutmetrics#AthenaS3ResultsPath", - "traits": { - "smithy.api#documentation": "

The database's results path.

" - } - }, - "BackTestConfiguration": { - "target": "com.amazonaws.lookoutmetrics#BackTestConfiguration", - "traits": { - "smithy.api#documentation": "

Settings for backtest mode.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about an Amazon Athena datasource.

" - } - }, - "com.amazonaws.lookoutmetrics#AthenaTableName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_]+$" - } - }, - "com.amazonaws.lookoutmetrics#AthenaWorkGroupName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^[a-zA-Z0-9._-]{1,128}$" - } - }, - "com.amazonaws.lookoutmetrics#AttributeValue": { - "type": "structure", - "members": { - "S": { - "target": "com.amazonaws.lookoutmetrics#StringAttributeValue", - "traits": { - "smithy.api#documentation": "

A string.

" - } - }, - "N": { - "target": "com.amazonaws.lookoutmetrics#NumberAttributeValue", - "traits": { - "smithy.api#documentation": "

A number.

" - } - }, - "B": { - "target": "com.amazonaws.lookoutmetrics#BinaryAttributeValue", - "traits": { - "smithy.api#documentation": "

A binary value.

" - } - }, - "SS": { - "target": "com.amazonaws.lookoutmetrics#StringListAttributeValue", - "traits": { - "smithy.api#documentation": "

A list of strings.

" - } - }, - "NS": { - "target": "com.amazonaws.lookoutmetrics#NumberListAttributeValue", - "traits": { - "smithy.api#documentation": "

A list of numbers.

" - } - }, - "BS": { - "target": "com.amazonaws.lookoutmetrics#BinaryListAttributeValue", - "traits": { - "smithy.api#documentation": "

A list of binary values.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An attribute value.

" - } - }, - "com.amazonaws.lookoutmetrics#AutoDetectionMetricSource": { - "type": "structure", - "members": { - "S3SourceConfig": { - "target": "com.amazonaws.lookoutmetrics#AutoDetectionS3SourceConfig", - "traits": { - "smithy.api#documentation": "

The source's source config.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An auto detection metric source.

" - } - }, - "com.amazonaws.lookoutmetrics#AutoDetectionS3SourceConfig": { - "type": "structure", - "members": { - "TemplatedPathList": { - "target": "com.amazonaws.lookoutmetrics#TemplatedPathList", - "traits": { - "smithy.api#documentation": "

The config's templated path list.

" - } - }, - "HistoricalDataPathList": { - "target": "com.amazonaws.lookoutmetrics#HistoricalDataPathList", - "traits": { - "smithy.api#documentation": "

The config's historical data path list.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An auto detection source config.

" - } - }, - "com.amazonaws.lookoutmetrics#BackTestAnomalyDetector": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#BackTestAnomalyDetectorRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#BackTestAnomalyDetectorResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Runs a backtest for anomaly detection for the specified resource.

", - "smithy.api#http": { - "method": "POST", - "uri": "/BackTestAnomalyDetector", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#BackTestAnomalyDetectorRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the anomaly detector.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#BackTestAnomalyDetectorResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#BackTestConfiguration": { - "type": "structure", - "members": { - "RunBackTestMode": { - "target": "com.amazonaws.lookoutmetrics#Boolean", - "traits": { - "smithy.api#documentation": "

Run a backtest instead of monitoring new data.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Settings for backtest mode.

" - } - }, - "com.amazonaws.lookoutmetrics#BinaryAttributeValue": { - "type": "string" - }, - "com.amazonaws.lookoutmetrics#BinaryListAttributeValue": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#BinaryAttributeValue" - } - }, - "com.amazonaws.lookoutmetrics#Boolean": { - "type": "boolean" - }, - "com.amazonaws.lookoutmetrics#CSVFileCompression": { - "type": "enum", - "members": { - "NONE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NONE" - } - }, - "GZIP": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GZIP" - } - } - } - }, - "com.amazonaws.lookoutmetrics#Charset": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 63 - }, - "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]*$" - } - }, - "com.amazonaws.lookoutmetrics#CloudWatchConfig": { - "type": "structure", - "members": { - "RoleArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

An IAM role that gives Amazon Lookout for Metrics permission to access data in Amazon CloudWatch.

" - } - }, - "BackTestConfiguration": { - "target": "com.amazonaws.lookoutmetrics#BackTestConfiguration", - "traits": { - "smithy.api#documentation": "

Settings for backtest mode.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about an Amazon CloudWatch datasource.

" - } - }, - "com.amazonaws.lookoutmetrics#ColumnName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 63 - }, - "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]*$" - } - }, - "com.amazonaws.lookoutmetrics#Confidence": { - "type": "enum", - "members": { - "HIGH": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "HIGH" - } - }, - "LOW": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LOW" - } - }, - "NONE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NONE" - } - } - } - }, - "com.amazonaws.lookoutmetrics#ConflictException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.lookoutmetrics#Message", - "traits": { - "smithy.api#required": {} - } - }, - "ResourceId": { - "target": "com.amazonaws.lookoutmetrics#ResourceId", - "traits": { - "smithy.api#documentation": "

The ID of the resource.

" - } - }, - "ResourceType": { - "target": "com.amazonaws.lookoutmetrics#ResourceType", - "traits": { - "smithy.api#documentation": "

The type of the resource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

There was a conflict processing the request. Try your request again.

", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, - "com.amazonaws.lookoutmetrics#ContributionMatrix": { - "type": "structure", - "members": { - "DimensionContributionList": { - "target": "com.amazonaws.lookoutmetrics#DimensionContributionList", - "traits": { - "smithy.api#documentation": "

A list of contributing dimensions.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about dimensions that contributed to an anomaly.

" - } - }, - "com.amazonaws.lookoutmetrics#CreateAlert": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#CreateAlertRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#CreateAlertResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ConflictException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Creates an alert for an anomaly detector.

", - "smithy.api#http": { - "method": "POST", - "uri": "/CreateAlert", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#CreateAlertRequest": { - "type": "structure", - "members": { - "AlertName": { - "target": "com.amazonaws.lookoutmetrics#AlertName", - "traits": { - "smithy.api#documentation": "

The name of the alert.

", - "smithy.api#required": {} - } - }, - "AlertSensitivityThreshold": { - "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

An integer from 0 to 100 specifying the alert sensitivity threshold.

" - } - }, - "AlertDescription": { - "target": "com.amazonaws.lookoutmetrics#AlertDescription", - "traits": { - "smithy.api#documentation": "

A description of the alert.

" - } - }, - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the detector to which the alert is attached.

", - "smithy.api#required": {} - } - }, - "Action": { - "target": "com.amazonaws.lookoutmetrics#Action", - "traits": { - "smithy.api#documentation": "

Action that will be triggered when there is an alert.

", - "smithy.api#required": {} - } - }, - "Tags": { - "target": "com.amazonaws.lookoutmetrics#TagMap", - "traits": { - "smithy.api#documentation": "

A list of tags to apply to the alert.

" - } - }, - "AlertFilters": { - "target": "com.amazonaws.lookoutmetrics#AlertFilters", - "traits": { - "smithy.api#documentation": "

The configuration of the alert filters, containing MetricList and DimensionFilterList.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#CreateAlertResponse": { - "type": "structure", - "members": { - "AlertArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the alert.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#CreateAnomalyDetector": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#CreateAnomalyDetectorRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#CreateAnomalyDetectorResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ConflictException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Creates an anomaly detector.

", - "smithy.api#http": { - "method": "POST", - "uri": "/CreateAnomalyDetector", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#CreateAnomalyDetectorRequest": { - "type": "structure", - "members": { - "AnomalyDetectorName": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorName", - "traits": { - "smithy.api#documentation": "

The name of the detector.

", - "smithy.api#required": {} - } - }, - "AnomalyDetectorDescription": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorDescription", - "traits": { - "smithy.api#documentation": "

A description of the detector.

" - } - }, - "AnomalyDetectorConfig": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorConfig", - "traits": { - "smithy.api#documentation": "

Contains information about the configuration of the anomaly detector.

", - "smithy.api#required": {} - } - }, - "KmsKeyArn": { - "target": "com.amazonaws.lookoutmetrics#KmsKeyArn", - "traits": { - "smithy.api#documentation": "

The ARN of the KMS key to use to encrypt your data.

" - } - }, - "Tags": { - "target": "com.amazonaws.lookoutmetrics#TagMap", - "traits": { - "smithy.api#documentation": "

A list of tags to apply to the anomaly detector.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#CreateAnomalyDetectorResponse": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the detector.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#CreateMetricSet": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#CreateMetricSetRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#CreateMetricSetResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ConflictException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Creates a dataset.

", - "smithy.api#http": { - "method": "POST", - "uri": "/CreateMetricSet", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#CreateMetricSetRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the anomaly detector that will use the dataset.

", - "smithy.api#required": {} - } - }, - "MetricSetName": { - "target": "com.amazonaws.lookoutmetrics#MetricSetName", - "traits": { - "smithy.api#documentation": "

The name of the dataset.

", - "smithy.api#required": {} - } - }, - "MetricSetDescription": { - "target": "com.amazonaws.lookoutmetrics#MetricSetDescription", - "traits": { - "smithy.api#documentation": "

A description of the dataset you are creating.

" - } - }, - "MetricList": { - "target": "com.amazonaws.lookoutmetrics#MetricList", - "traits": { - "smithy.api#documentation": "

A list of metrics that the dataset will contain.

", - "smithy.api#required": {} - } - }, - "Offset": { - "target": "com.amazonaws.lookoutmetrics#Offset", - "traits": { - "smithy.api#default": null, - "smithy.api#documentation": "

After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.

" - } - }, - "TimestampColumn": { - "target": "com.amazonaws.lookoutmetrics#TimestampColumn", - "traits": { - "smithy.api#documentation": "

Contains information about the column used for tracking time in your source data.

" - } - }, - "DimensionList": { - "target": "com.amazonaws.lookoutmetrics#DimensionList", - "traits": { - "smithy.api#documentation": "

A list of the fields you want to treat as dimensions.

" - } - }, - "MetricSetFrequency": { - "target": "com.amazonaws.lookoutmetrics#Frequency", - "traits": { - "smithy.api#documentation": "

The frequency with which the source data will be analyzed for anomalies.

" - } - }, - "MetricSource": { - "target": "com.amazonaws.lookoutmetrics#MetricSource", - "traits": { - "smithy.api#documentation": "

Contains information about how the source data should be interpreted.

", - "smithy.api#required": {} - } - }, - "Timezone": { - "target": "com.amazonaws.lookoutmetrics#Timezone", - "traits": { - "smithy.api#documentation": "

The time zone in which your source data was recorded.

" - } - }, - "Tags": { - "target": "com.amazonaws.lookoutmetrics#TagMap", - "traits": { - "smithy.api#documentation": "

A list of tags to apply to the dataset.

" - } - }, - "DimensionFilterList": { - "target": "com.amazonaws.lookoutmetrics#MetricSetDimensionFilterList", - "traits": { - "smithy.api#documentation": "

A list of filters that specify which data is kept for anomaly detection.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#CreateMetricSetResponse": { - "type": "structure", - "members": { - "MetricSetArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the dataset.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#CsvFormatDescriptor": { - "type": "structure", - "members": { - "FileCompression": { - "target": "com.amazonaws.lookoutmetrics#CSVFileCompression", - "traits": { - "smithy.api#documentation": "

The level of compression of the source CSV file.

" - } - }, - "Charset": { - "target": "com.amazonaws.lookoutmetrics#Charset", - "traits": { - "smithy.api#documentation": "

The character set in which the source CSV file is written.

" - } - }, - "ContainsHeader": { - "target": "com.amazonaws.lookoutmetrics#Boolean", - "traits": { - "smithy.api#documentation": "

Whether or not the source CSV file contains a header.

" - } - }, - "Delimiter": { - "target": "com.amazonaws.lookoutmetrics#Delimiter", - "traits": { - "smithy.api#documentation": "

The character used to delimit the source CSV file.

" - } - }, - "HeaderList": { - "target": "com.amazonaws.lookoutmetrics#HeaderList", - "traits": { - "smithy.api#documentation": "

A list of the source CSV file's headers, if any.

" - } - }, - "QuoteSymbol": { - "target": "com.amazonaws.lookoutmetrics#QuoteSymbol", - "traits": { - "smithy.api#documentation": "

The character used as a quote character.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about how a source CSV data file should be analyzed.

" - } - }, - "com.amazonaws.lookoutmetrics#DataItem": { - "type": "string" - }, - "com.amazonaws.lookoutmetrics#DataQualityMetric": { - "type": "structure", - "members": { - "MetricType": { - "target": "com.amazonaws.lookoutmetrics#DataQualityMetricType", - "traits": { - "smithy.api#documentation": "

The name of the data quality metric.

" - } - }, - "MetricDescription": { - "target": "com.amazonaws.lookoutmetrics#DataQualityMetricDescription", - "traits": { - "smithy.api#documentation": "

A description of the data quality metric.

" - } - }, - "RelatedColumnName": { - "target": "com.amazonaws.lookoutmetrics#RelatedColumnName", - "traits": { - "smithy.api#documentation": "

The column that is being monitored.

" - } - }, - "MetricValue": { - "target": "com.amazonaws.lookoutmetrics#Double", - "traits": { - "smithy.api#documentation": "

The value of the data quality metric.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An array that describes a data quality metric. Each DataQualityMetric object contains the data quality metric name, its value, a description of the metric, and the affected column.

" - } - }, - "com.amazonaws.lookoutmetrics#DataQualityMetricDescription": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - }, - "smithy.api#pattern": "\\S" - } - }, - "com.amazonaws.lookoutmetrics#DataQualityMetricList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#DataQualityMetric" - } - }, - "com.amazonaws.lookoutmetrics#DataQualityMetricType": { - "type": "enum", - "members": { - "COLUMN_COMPLETENESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "COLUMN_COMPLETENESS" - } - }, - "DIMENSION_UNIQUENESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DIMENSION_UNIQUENESS" - } - }, - "TIME_SERIES_COUNT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "TIME_SERIES_COUNT" - } - }, - "ROWS_PROCESSED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ROWS_PROCESSED" - } - }, - "ROWS_PARTIAL_COMPLIANCE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ROWS_PARTIAL_COMPLIANCE" - } - }, - "INVALID_ROWS_COMPLIANCE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INVALID_ROWS_COMPLIANCE" - } - }, - "BACKTEST_TRAINING_DATA_START_TIME_STAMP": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BACKTEST_TRAINING_DATA_START_TIME_STAMP" - } - }, - "BACKTEST_TRAINING_DATA_END_TIME_STAMP": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BACKTEST_TRAINING_DATA_END_TIME_STAMP" - } - }, - "BACKTEST_INFERENCE_DATA_START_TIME_STAMP": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BACKTEST_INFERENCE_DATA_START_TIME_STAMP" - } - }, - "BACKTEST_INFERENCE_DATA_END_TIME_STAMP": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BACKTEST_INFERENCE_DATA_END_TIME_STAMP" - } - } - } - }, - "com.amazonaws.lookoutmetrics#DatabaseHost": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 253 - }, - "smithy.api#pattern": "\\S" - } - }, - "com.amazonaws.lookoutmetrics#DatabasePort": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 65535 - } - } - }, - "com.amazonaws.lookoutmetrics#DateTimeFormat": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 63 - }, - "smithy.api#pattern": "\\S" - } - }, - "com.amazonaws.lookoutmetrics#DeactivateAnomalyDetector": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#DeactivateAnomalyDetectorRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#DeactivateAnomalyDetectorResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ConflictException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Deactivates an anomaly detector.

", - "smithy.api#http": { - "method": "POST", - "uri": "/DeactivateAnomalyDetector", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#DeactivateAnomalyDetectorRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the anomaly detector.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#DeactivateAnomalyDetectorResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#DeleteAlert": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#DeleteAlertRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#DeleteAlertResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Deletes an alert.

", - "smithy.api#http": { - "method": "POST", - "uri": "/DeleteAlert", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#DeleteAlertRequest": { - "type": "structure", - "members": { - "AlertArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the alert to delete.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#DeleteAlertResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#DeleteAnomalyDetector": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#DeleteAnomalyDetectorRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#DeleteAnomalyDetectorResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ConflictException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Deletes a detector. Deleting an anomaly detector will delete all of its corresponding resources including any\n configured datasets and alerts.

", - "smithy.api#http": { - "method": "POST", - "uri": "/DeleteAnomalyDetector", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#DeleteAnomalyDetectorRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the detector to delete.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#DeleteAnomalyDetectorResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#Delimiter": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1 - }, - "smithy.api#pattern": "^[^\\r\\n]$" - } - }, - "com.amazonaws.lookoutmetrics#DescribeAlert": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#DescribeAlertRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#DescribeAlertResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Describes an alert.

\n

Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource\n immediately after creating or modifying it, use retries to allow time for the write operation to complete.

", - "smithy.api#http": { - "method": "POST", - "uri": "/DescribeAlert", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#DescribeAlertRequest": { - "type": "structure", - "members": { - "AlertArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the alert to describe.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#DescribeAlertResponse": { - "type": "structure", - "members": { - "Alert": { - "target": "com.amazonaws.lookoutmetrics#Alert", - "traits": { - "smithy.api#documentation": "

Contains information about an alert.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#DescribeAnomalyDetectionExecutions": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#DescribeAnomalyDetectionExecutionsRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#DescribeAnomalyDetectionExecutionsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns information about the status of the specified anomaly detection jobs.

", - "smithy.api#http": { - "method": "POST", - "uri": "/DescribeAnomalyDetectionExecutions", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.lookoutmetrics#DescribeAnomalyDetectionExecutionsRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the anomaly detector.

", - "smithy.api#required": {} - } - }, - "Timestamp": { - "target": "com.amazonaws.lookoutmetrics#TimestampString", - "traits": { - "smithy.api#documentation": "

The timestamp of the anomaly detection job.

" - } - }, - "MaxResults": { - "target": "com.amazonaws.lookoutmetrics#MaxResults", - "traits": { - "smithy.api#documentation": "

The number of items to return in the response.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#DescribeAnomalyDetectionExecutionsResponse": { - "type": "structure", - "members": { - "ExecutionList": { - "target": "com.amazonaws.lookoutmetrics#ExecutionList", - "traits": { - "smithy.api#documentation": "

A list of detection jobs.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token that's included if more results are available.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#DescribeAnomalyDetector": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#DescribeAnomalyDetectorRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#DescribeAnomalyDetectorResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Describes a detector.

\n

Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource\n immediately after creating or modifying it, use retries to allow time for the write operation to complete.

", - "smithy.api#http": { - "method": "POST", - "uri": "/DescribeAnomalyDetector", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#DescribeAnomalyDetectorRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the detector to describe.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#DescribeAnomalyDetectorResponse": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the detector.

" - } - }, - "AnomalyDetectorName": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorName", - "traits": { - "smithy.api#documentation": "

The name of the detector.

" - } - }, - "AnomalyDetectorDescription": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorDescription", - "traits": { - "smithy.api#documentation": "

A description of the detector.

" - } - }, - "AnomalyDetectorConfig": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorConfigSummary", - "traits": { - "smithy.api#documentation": "

Contains information about the detector's configuration.

" - } - }, - "CreationTime": { - "target": "com.amazonaws.lookoutmetrics#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the detector was created.

" - } - }, - "LastModificationTime": { - "target": "com.amazonaws.lookoutmetrics#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the detector was last modified.

" - } - }, - "Status": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorStatus", - "traits": { - "smithy.api#documentation": "

The status of the detector.

" - } - }, - "FailureReason": { - "target": "com.amazonaws.lookoutmetrics#ErrorMessage", - "traits": { - "smithy.api#documentation": "

The reason that the detector failed.

" - } - }, - "KmsKeyArn": { - "target": "com.amazonaws.lookoutmetrics#KmsKeyArn", - "traits": { - "smithy.api#documentation": "

The ARN of the KMS key to use to encrypt your data.

" - } - }, - "FailureType": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorFailureType", - "traits": { - "smithy.api#documentation": "

The process that caused the detector to fail.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#DescribeMetricSet": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#DescribeMetricSetRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#DescribeMetricSetResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Describes a dataset.

\n

Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource\n immediately after creating or modifying it, use retries to allow time for the write operation to complete.

", - "smithy.api#http": { - "method": "POST", - "uri": "/DescribeMetricSet", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#DescribeMetricSetRequest": { - "type": "structure", - "members": { - "MetricSetArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the dataset.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#DescribeMetricSetResponse": { - "type": "structure", - "members": { - "MetricSetArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the dataset.

" - } - }, - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the detector that contains the dataset.

" - } - }, - "MetricSetName": { - "target": "com.amazonaws.lookoutmetrics#MetricSetName", - "traits": { - "smithy.api#documentation": "

The name of the dataset.

" - } - }, - "MetricSetDescription": { - "target": "com.amazonaws.lookoutmetrics#MetricSetDescription", - "traits": { - "smithy.api#documentation": "

The dataset's description.

" - } - }, - "CreationTime": { - "target": "com.amazonaws.lookoutmetrics#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the dataset was created.

" - } - }, - "LastModificationTime": { - "target": "com.amazonaws.lookoutmetrics#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the dataset was last modified.

" - } - }, - "Offset": { - "target": "com.amazonaws.lookoutmetrics#Offset", - "traits": { - "smithy.api#default": null, - "smithy.api#documentation": "

After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.

" - } - }, - "MetricList": { - "target": "com.amazonaws.lookoutmetrics#MetricList", - "traits": { - "smithy.api#documentation": "

A list of the metrics defined by the dataset.

" - } - }, - "TimestampColumn": { - "target": "com.amazonaws.lookoutmetrics#TimestampColumn", - "traits": { - "smithy.api#documentation": "

Contains information about the column used for tracking time in your source data.

" - } - }, - "DimensionList": { - "target": "com.amazonaws.lookoutmetrics#DimensionList", - "traits": { - "smithy.api#documentation": "

A list of the dimensions chosen for analysis.

" - } - }, - "MetricSetFrequency": { - "target": "com.amazonaws.lookoutmetrics#Frequency", - "traits": { - "smithy.api#documentation": "

The interval at which the data will be analyzed for anomalies.

" - } - }, - "Timezone": { - "target": "com.amazonaws.lookoutmetrics#Timezone", - "traits": { - "smithy.api#documentation": "

The time zone in which the dataset's data was recorded.

" - } - }, - "MetricSource": { - "target": "com.amazonaws.lookoutmetrics#MetricSource", - "traits": { - "smithy.api#documentation": "

Contains information about the dataset's source data.

" - } - }, - "DimensionFilterList": { - "target": "com.amazonaws.lookoutmetrics#MetricSetDimensionFilterList", - "traits": { - "smithy.api#documentation": "

The dimensions and their values that were used to filter the dataset.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#DetectMetricSetConfig": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#DetectMetricSetConfigRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#DetectMetricSetConfigResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Detects an Amazon S3 dataset's file format, interval, and offset.

", - "smithy.api#http": { - "method": "POST", - "uri": "/DetectMetricSetConfig", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#DetectMetricSetConfigRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

An anomaly detector ARN.

", - "smithy.api#required": {} - } - }, - "AutoDetectionMetricSource": { - "target": "com.amazonaws.lookoutmetrics#AutoDetectionMetricSource", - "traits": { - "smithy.api#documentation": "

A data source.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#DetectMetricSetConfigResponse": { - "type": "structure", - "members": { - "DetectedMetricSetConfig": { - "target": "com.amazonaws.lookoutmetrics#DetectedMetricSetConfig", - "traits": { - "smithy.api#documentation": "

The inferred dataset configuration for the datasource.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#DetectedCsvFormatDescriptor": { - "type": "structure", - "members": { - "FileCompression": { - "target": "com.amazonaws.lookoutmetrics#DetectedField", - "traits": { - "smithy.api#documentation": "

The format's file compression.

" - } - }, - "Charset": { - "target": "com.amazonaws.lookoutmetrics#DetectedField", - "traits": { - "smithy.api#documentation": "

The format's charset.

" - } - }, - "ContainsHeader": { - "target": "com.amazonaws.lookoutmetrics#DetectedField", - "traits": { - "smithy.api#documentation": "

Whether the format includes a header.

" - } - }, - "Delimiter": { - "target": "com.amazonaws.lookoutmetrics#DetectedField", - "traits": { - "smithy.api#documentation": "

The format's delimiter.

" - } - }, - "HeaderList": { - "target": "com.amazonaws.lookoutmetrics#DetectedField", - "traits": { - "smithy.api#documentation": "

The format's header list.

" - } - }, - "QuoteSymbol": { - "target": "com.amazonaws.lookoutmetrics#DetectedField", - "traits": { - "smithy.api#documentation": "

The format's quote symbol.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Properties of an inferred CSV format.

" - } - }, - "com.amazonaws.lookoutmetrics#DetectedField": { - "type": "structure", - "members": { - "Value": { - "target": "com.amazonaws.lookoutmetrics#AttributeValue", - "traits": { - "smithy.api#documentation": "

The field's value.

" - } - }, - "Confidence": { - "target": "com.amazonaws.lookoutmetrics#Confidence", - "traits": { - "smithy.api#documentation": "

The field's confidence.

" - } - }, - "Message": { - "target": "com.amazonaws.lookoutmetrics#Message", - "traits": { - "smithy.api#documentation": "

The field's message.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An inferred field.

" - } - }, - "com.amazonaws.lookoutmetrics#DetectedFileFormatDescriptor": { - "type": "structure", - "members": { - "CsvFormatDescriptor": { - "target": "com.amazonaws.lookoutmetrics#DetectedCsvFormatDescriptor", - "traits": { - "smithy.api#documentation": "

Details about a CSV format.

" - } - }, - "JsonFormatDescriptor": { - "target": "com.amazonaws.lookoutmetrics#DetectedJsonFormatDescriptor", - "traits": { - "smithy.api#documentation": "

Details about a JSON format.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Properties of an inferred data format.

" - } - }, - "com.amazonaws.lookoutmetrics#DetectedJsonFormatDescriptor": { - "type": "structure", - "members": { - "FileCompression": { - "target": "com.amazonaws.lookoutmetrics#DetectedField", - "traits": { - "smithy.api#documentation": "

The format's file compression.

" - } - }, - "Charset": { - "target": "com.amazonaws.lookoutmetrics#DetectedField", - "traits": { - "smithy.api#documentation": "

The format's character set.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A detected JSON format descriptor.

" - } - }, - "com.amazonaws.lookoutmetrics#DetectedMetricSetConfig": { - "type": "structure", - "members": { - "Offset": { - "target": "com.amazonaws.lookoutmetrics#DetectedField", - "traits": { - "smithy.api#documentation": "

The dataset's offset.

" - } - }, - "MetricSetFrequency": { - "target": "com.amazonaws.lookoutmetrics#DetectedField", - "traits": { - "smithy.api#documentation": "

The dataset's interval.

" - } - }, - "MetricSource": { - "target": "com.amazonaws.lookoutmetrics#DetectedMetricSource", - "traits": { - "smithy.api#documentation": "

The dataset's data source.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An inferred dataset configuration.

" - } - }, - "com.amazonaws.lookoutmetrics#DetectedMetricSource": { - "type": "structure", - "members": { - "S3SourceConfig": { - "target": "com.amazonaws.lookoutmetrics#DetectedS3SourceConfig", - "traits": { - "smithy.api#documentation": "

The data source's source configuration.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An inferred data source.

" - } - }, - "com.amazonaws.lookoutmetrics#DetectedS3SourceConfig": { - "type": "structure", - "members": { - "FileFormatDescriptor": { - "target": "com.amazonaws.lookoutmetrics#DetectedFileFormatDescriptor", - "traits": { - "smithy.api#documentation": "

The source's file format descriptor.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An inferred source configuration.

" - } - }, - "com.amazonaws.lookoutmetrics#DimensionContribution": { - "type": "structure", - "members": { - "DimensionName": { - "target": "com.amazonaws.lookoutmetrics#ColumnName", - "traits": { - "smithy.api#documentation": "

The name of the dimension.

" - } - }, - "DimensionValueContributionList": { - "target": "com.amazonaws.lookoutmetrics#DimensionValueContributionList", - "traits": { - "smithy.api#documentation": "

A list of dimension values that contributed to the anomaly.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about a dimension that contributed to an anomaly.

" - } - }, - "com.amazonaws.lookoutmetrics#DimensionContributionList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#DimensionContribution" - } - }, - "com.amazonaws.lookoutmetrics#DimensionFilter": { - "type": "structure", - "members": { - "DimensionName": { - "target": "com.amazonaws.lookoutmetrics#ColumnName", - "traits": { - "smithy.api#documentation": "

The name of the dimension to filter on.

" - } - }, - "DimensionValueList": { - "target": "com.amazonaws.lookoutmetrics#DimensionValueList", - "traits": { - "smithy.api#documentation": "

The list of values for the dimension specified in DimensionName that you want to filter on.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The dimension filter, containing DimensionName and DimensionValueList.

" - } - }, - "com.amazonaws.lookoutmetrics#DimensionFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#DimensionFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 5 - } - } - }, - "com.amazonaws.lookoutmetrics#DimensionList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#ColumnName" - }, - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazonaws.lookoutmetrics#DimensionNameValue": { - "type": "structure", - "members": { - "DimensionName": { - "target": "com.amazonaws.lookoutmetrics#ColumnName", - "traits": { - "smithy.api#documentation": "

The name of the dimension.

", - "smithy.api#required": {} - } - }, - "DimensionValue": { - "target": "com.amazonaws.lookoutmetrics#DimensionValue", - "traits": { - "smithy.api#documentation": "

The value of the dimension.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

A dimension name and value.

" - } - }, - "com.amazonaws.lookoutmetrics#DimensionNameValueList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#DimensionNameValue" - } - }, - "com.amazonaws.lookoutmetrics#DimensionValue": { - "type": "string" - }, - "com.amazonaws.lookoutmetrics#DimensionValueContribution": { - "type": "structure", - "members": { - "DimensionValue": { - "target": "com.amazonaws.lookoutmetrics#DimensionValue", - "traits": { - "smithy.api#documentation": "

The value of the dimension.

" - } - }, - "ContributionScore": { - "target": "com.amazonaws.lookoutmetrics#Score", - "traits": { - "smithy.api#documentation": "

The severity score of the value.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The severity of a value of a dimension that contributed to an anomaly.

" - } - }, - "com.amazonaws.lookoutmetrics#DimensionValueContributionList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#DimensionValueContribution" - } - }, - "com.amazonaws.lookoutmetrics#DimensionValueList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#DimensionValue" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.lookoutmetrics#Double": { - "type": "double" - }, - "com.amazonaws.lookoutmetrics#ErrorMessage": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - } - } - }, - "com.amazonaws.lookoutmetrics#ExecutionList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#ExecutionStatus" - } - }, - "com.amazonaws.lookoutmetrics#ExecutionStatus": { - "type": "structure", - "members": { - "Timestamp": { - "target": "com.amazonaws.lookoutmetrics#TimestampString", - "traits": { - "smithy.api#documentation": "

The run's timestamp.

" - } - }, - "Status": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectionTaskStatus", - "traits": { - "smithy.api#documentation": "

The run's status.

" - } - }, - "FailureReason": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectionTaskStatusMessage", - "traits": { - "smithy.api#documentation": "

The reason that the run failed, if applicable.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The status of an anomaly detector run.

" - } - }, - "com.amazonaws.lookoutmetrics#FieldName": { - "type": "string" - }, - "com.amazonaws.lookoutmetrics#FileFormatDescriptor": { - "type": "structure", - "members": { - "CsvFormatDescriptor": { - "target": "com.amazonaws.lookoutmetrics#CsvFormatDescriptor", - "traits": { - "smithy.api#documentation": "

Contains information about how a source CSV data file should be analyzed.

" - } - }, - "JsonFormatDescriptor": { - "target": "com.amazonaws.lookoutmetrics#JsonFormatDescriptor", - "traits": { - "smithy.api#documentation": "

Contains information about how a source JSON data file should be analyzed.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about a source file's formatting.

" - } - }, - "com.amazonaws.lookoutmetrics#Filter": { - "type": "structure", - "members": { - "DimensionValue": { - "target": "com.amazonaws.lookoutmetrics#DimensionValue", - "traits": { - "smithy.api#documentation": "

The value that you want to include in the filter.

" - } - }, - "FilterOperation": { - "target": "com.amazonaws.lookoutmetrics#FilterOperation", - "traits": { - "smithy.api#documentation": "

The condition to apply.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Describes a filter for choosing a subset of dimension values. Each filter consists of the dimension that you want to include and the condition statement. The condition statement is specified in the FilterOperation object.

" - } - }, - "com.amazonaws.lookoutmetrics#FilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#Filter" - }, - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazonaws.lookoutmetrics#FilterOperation": { - "type": "enum", - "members": { - "EQUALS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "EQUALS" - } - } - } - }, - "com.amazonaws.lookoutmetrics#FlowName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - }, - "smithy.api#pattern": "^[a-zA-Z0-9][\\w!@#.-]+$" - } - }, - "com.amazonaws.lookoutmetrics#Frequency": { - "type": "enum", - "members": { - "P1D": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "P1D" - } - }, - "PT1H": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PT1H" - } - }, - "PT10M": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PT10M" - } - }, - "PT5M": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PT5M" - } - } - } - }, - "com.amazonaws.lookoutmetrics#GetAnomalyGroup": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#GetAnomalyGroupRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#GetAnomalyGroupResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns details about a group of anomalous metrics.

", - "smithy.api#http": { - "method": "POST", - "uri": "/GetAnomalyGroup", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#GetAnomalyGroupRequest": { - "type": "structure", - "members": { - "AnomalyGroupId": { - "target": "com.amazonaws.lookoutmetrics#UUID", - "traits": { - "smithy.api#documentation": "

The ID of the anomaly group.

", - "smithy.api#required": {} - } - }, - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the anomaly detector.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#GetAnomalyGroupResponse": { - "type": "structure", - "members": { - "AnomalyGroup": { - "target": "com.amazonaws.lookoutmetrics#AnomalyGroup", - "traits": { - "smithy.api#documentation": "

Details about the anomaly group.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#GetDataQualityMetrics": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#GetDataQualityMetricsRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#GetDataQualityMetricsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns details about the requested data quality metrics.

", - "smithy.api#http": { - "method": "POST", - "uri": "/GetDataQualityMetrics", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#GetDataQualityMetricsRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the anomaly detector that you want to investigate.

", - "smithy.api#required": {} - } - }, - "MetricSetArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a specific data quality metric set.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#GetDataQualityMetricsResponse": { - "type": "structure", - "members": { - "AnomalyDetectorDataQualityMetricList": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorDataQualityMetricList", - "traits": { - "smithy.api#documentation": "

A list of the data quality metrics for the AnomalyDetectorArn that you requested.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#GetFeedback": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#GetFeedbackRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#GetFeedbackResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Get feedback for an anomaly group.

", - "smithy.api#http": { - "method": "POST", - "uri": "/GetFeedback", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.lookoutmetrics#GetFeedbackRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the anomaly detector.

", - "smithy.api#required": {} - } - }, - "AnomalyGroupTimeSeriesFeedback": { - "target": "com.amazonaws.lookoutmetrics#AnomalyGroupTimeSeries", - "traits": { - "smithy.api#documentation": "

The anomalous metric and group ID.

", - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.lookoutmetrics#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#GetFeedbackResponse": { - "type": "structure", - "members": { - "AnomalyGroupTimeSeriesFeedback": { - "target": "com.amazonaws.lookoutmetrics#TimeSeriesFeedbackList", - "traits": { - "smithy.api#documentation": "

Feedback for an anomalous metric.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token that's included if more results are available.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#GetSampleData": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#GetSampleDataRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#GetSampleDataResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns a selection of sample records from an Amazon S3 datasource.

", - "smithy.api#http": { - "method": "POST", - "uri": "/GetSampleData", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#GetSampleDataRequest": { - "type": "structure", - "members": { - "S3SourceConfig": { - "target": "com.amazonaws.lookoutmetrics#SampleDataS3SourceConfig", - "traits": { - "smithy.api#documentation": "

A datasource bucket in Amazon S3.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#GetSampleDataResponse": { - "type": "structure", - "members": { - "HeaderValues": { - "target": "com.amazonaws.lookoutmetrics#HeaderValueList", - "traits": { - "smithy.api#documentation": "

A list of header labels for the records.

" - } - }, - "SampleRows": { - "target": "com.amazonaws.lookoutmetrics#SampleRows", - "traits": { - "smithy.api#documentation": "

A list of records.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#HeaderList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#ColumnName" - } - }, - "com.amazonaws.lookoutmetrics#HeaderValue": { - "type": "string" - }, - "com.amazonaws.lookoutmetrics#HeaderValueList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#HeaderValue" - } - }, - "com.amazonaws.lookoutmetrics#HistoricalDataPath": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1024 - }, - "smithy.api#pattern": "^s3://[a-z0-9].+$" - } - }, - "com.amazonaws.lookoutmetrics#HistoricalDataPathList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#HistoricalDataPath" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } - } - }, - "com.amazonaws.lookoutmetrics#Integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.lookoutmetrics#InterMetricImpactDetails": { - "type": "structure", - "members": { - "MetricName": { - "target": "com.amazonaws.lookoutmetrics#MetricName", - "traits": { - "smithy.api#documentation": "

The name of the measure.

" - } - }, - "AnomalyGroupId": { - "target": "com.amazonaws.lookoutmetrics#UUID", - "traits": { - "smithy.api#documentation": "

The ID of the anomaly group.

" - } - }, - "RelationshipType": { - "target": "com.amazonaws.lookoutmetrics#RelationshipType", - "traits": { - "smithy.api#documentation": "

Whether a measure is a potential cause of the anomaly group\n (CAUSE_OF_INPUT_ANOMALY_GROUP), or whether the measure is impacted by the\n anomaly group (EFFECT_OF_INPUT_ANOMALY_GROUP).

" - } - }, - "ContributionPercentage": { - "target": "com.amazonaws.lookoutmetrics#MetricChangePercentage", - "traits": { - "smithy.api#documentation": "

For potential causes (CAUSE_OF_INPUT_ANOMALY_GROUP), the percentage\n contribution the measure has in causing the anomalies.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Aggregated details about the measures contributing to the anomaly group, and the measures\n potentially impacted by the anomaly group.

\n

" - } - }, - "com.amazonaws.lookoutmetrics#InterMetricImpactList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#InterMetricImpactDetails" - } - }, - "com.amazonaws.lookoutmetrics#InternalServerException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.lookoutmetrics#Message", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The request processing has failed because of an unknown error, exception, or failure.

", - "smithy.api#error": "server", - "smithy.api#httpError": 500 - } - }, - "com.amazonaws.lookoutmetrics#ItemizedMetricStats": { - "type": "structure", - "members": { - "MetricName": { - "target": "com.amazonaws.lookoutmetrics#ColumnName", - "traits": { - "smithy.api#documentation": "

The name of the measure.

" - } - }, - "OccurrenceCount": { - "target": "com.amazonaws.lookoutmetrics#Integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The number of times that the measure appears.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Aggregated statistics about a measure affected by an anomaly.

" - } - }, - "com.amazonaws.lookoutmetrics#ItemizedMetricStatsList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#ItemizedMetricStats" - } - }, - "com.amazonaws.lookoutmetrics#JsonFileCompression": { - "type": "enum", - "members": { - "NONE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NONE" - } - }, - "GZIP": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GZIP" - } - } - } - }, - "com.amazonaws.lookoutmetrics#JsonFormatDescriptor": { - "type": "structure", - "members": { - "FileCompression": { - "target": "com.amazonaws.lookoutmetrics#JsonFileCompression", - "traits": { - "smithy.api#documentation": "

The level of compression of the source CSV file.

" - } - }, - "Charset": { - "target": "com.amazonaws.lookoutmetrics#Charset", - "traits": { - "smithy.api#documentation": "

The character set in which the source JSON file is written.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about how a source JSON data file should be analyzed.

" - } - }, - "com.amazonaws.lookoutmetrics#KmsKeyArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 20, - "max": 2048 - }, - "smithy.api#pattern": "^arn:aws.*:kms:.*:[0-9]{12}:key/[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}$" - } - }, - "com.amazonaws.lookoutmetrics#LambdaConfiguration": { - "type": "structure", - "members": { - "RoleArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of an IAM role that has permission to invoke the Lambda function.

", - "smithy.api#required": {} - } - }, - "LambdaArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the Lambda function.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about a Lambda configuration.

" - } - }, - "com.amazonaws.lookoutmetrics#ListAlerts": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#ListAlertsRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#ListAlertsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the alerts attached to a detector.

\n

Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource\n immediately after creating or modifying it, use retries to allow time for the write operation to complete.

", - "smithy.api#http": { - "method": "POST", - "uri": "/ListAlerts", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.lookoutmetrics#ListAlertsRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the alert's detector.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

If the result of the previous request is truncated, the response includes a NextToken. To\n retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.

" - } - }, - "MaxResults": { - "target": "com.amazonaws.lookoutmetrics#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results that will be displayed by the request.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#ListAlertsResponse": { - "type": "structure", - "members": { - "AlertSummaryList": { - "target": "com.amazonaws.lookoutmetrics#AlertSummaryList", - "traits": { - "smithy.api#documentation": "

Contains information about an alert.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

If the response is truncated, the service returns this token. To retrieve the next set of results, use this\n token in the next request.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#ListAnomalyDetectors": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#ListAnomalyDetectorsRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#ListAnomalyDetectorsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the detectors in the current AWS Region.

\n

Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource\n immediately after creating or modifying it, use retries to allow time for the write operation to complete.

", - "smithy.api#http": { - "method": "POST", - "uri": "/ListAnomalyDetectors", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.lookoutmetrics#ListAnomalyDetectorsRequest": { - "type": "structure", - "members": { - "MaxResults": { - "target": "com.amazonaws.lookoutmetrics#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a NextToken. To\n retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#ListAnomalyDetectorsResponse": { - "type": "structure", - "members": { - "AnomalyDetectorSummaryList": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorSummaryList", - "traits": { - "smithy.api#documentation": "

A list of anomaly detectors in the account in the current region.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

If the response is truncated, the service returns this token. To retrieve the next set of results, use the\n token in the next request.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#ListAnomalyGroupRelatedMetrics": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#ListAnomalyGroupRelatedMetricsRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#ListAnomalyGroupRelatedMetricsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns a list of measures that are potential causes or effects of an\n anomaly group.

", - "smithy.api#http": { - "method": "POST", - "uri": "/ListAnomalyGroupRelatedMetrics", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.lookoutmetrics#ListAnomalyGroupRelatedMetricsRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the anomaly detector.

", - "smithy.api#required": {} - } - }, - "AnomalyGroupId": { - "target": "com.amazonaws.lookoutmetrics#UUID", - "traits": { - "smithy.api#documentation": "

The ID of the anomaly group.

", - "smithy.api#required": {} - } - }, - "RelationshipTypeFilter": { - "target": "com.amazonaws.lookoutmetrics#RelationshipType", - "traits": { - "smithy.api#documentation": "

Filter for potential causes (CAUSE_OF_INPUT_ANOMALY_GROUP) or\n downstream effects (EFFECT_OF_INPUT_ANOMALY_GROUP) of the anomaly group.

" - } - }, - "MaxResults": { - "target": "com.amazonaws.lookoutmetrics#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

Specify the pagination token that's returned by a previous request to retrieve the next\n page of results.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#ListAnomalyGroupRelatedMetricsResponse": { - "type": "structure", - "members": { - "InterMetricImpactList": { - "target": "com.amazonaws.lookoutmetrics#InterMetricImpactList", - "traits": { - "smithy.api#documentation": "

Aggregated details about the measures contributing to the anomaly group, and the measures\n potentially impacted by the anomaly group.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token that's included if more results are available.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#ListAnomalyGroupSummaries": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#ListAnomalyGroupSummariesRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#ListAnomalyGroupSummariesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns a list of anomaly groups.

", - "smithy.api#http": { - "method": "POST", - "uri": "/ListAnomalyGroupSummaries", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.lookoutmetrics#ListAnomalyGroupSummariesRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the anomaly detector.

", - "smithy.api#required": {} - } - }, - "SensitivityThreshold": { - "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The minimum severity score for inclusion in the output.

", - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.lookoutmetrics#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#ListAnomalyGroupSummariesResponse": { - "type": "structure", - "members": { - "AnomalyGroupSummaryList": { - "target": "com.amazonaws.lookoutmetrics#AnomalyGroupSummaryList", - "traits": { - "smithy.api#documentation": "

A list of anomaly group summaries.

" - } - }, - "AnomalyGroupStatistics": { - "target": "com.amazonaws.lookoutmetrics#AnomalyGroupStatistics", - "traits": { - "smithy.api#documentation": "

Aggregated details about the anomaly groups.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token that's included if more results are available.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#ListAnomalyGroupTimeSeries": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#ListAnomalyGroupTimeSeriesRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#ListAnomalyGroupTimeSeriesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets a list of anomalous metrics for a measure in an anomaly group.

", - "smithy.api#http": { - "method": "POST", - "uri": "/ListAnomalyGroupTimeSeries", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.lookoutmetrics#ListAnomalyGroupTimeSeriesRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the anomaly detector.

", - "smithy.api#required": {} - } - }, - "AnomalyGroupId": { - "target": "com.amazonaws.lookoutmetrics#UUID", - "traits": { - "smithy.api#documentation": "

The ID of the anomaly group.

", - "smithy.api#required": {} - } - }, - "MetricName": { - "target": "com.amazonaws.lookoutmetrics#MetricName", - "traits": { - "smithy.api#documentation": "

The name of the measure field.

", - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.lookoutmetrics#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#ListAnomalyGroupTimeSeriesResponse": { - "type": "structure", - "members": { - "AnomalyGroupId": { - "target": "com.amazonaws.lookoutmetrics#UUID", - "traits": { - "smithy.api#documentation": "

The ID of the anomaly group.

" - } - }, - "MetricName": { - "target": "com.amazonaws.lookoutmetrics#MetricName", - "traits": { - "smithy.api#documentation": "

The name of the measure field.

" - } - }, - "TimestampList": { - "target": "com.amazonaws.lookoutmetrics#TimestampList", - "traits": { - "smithy.api#documentation": "

Timestamps for the anomalous metrics.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token that's included if more results are available.

" - } - }, - "TimeSeriesList": { - "target": "com.amazonaws.lookoutmetrics#TimeSeriesList", - "traits": { - "smithy.api#documentation": "

A list of anomalous metrics.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#ListMetricSets": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#ListMetricSetsRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#ListMetricSetsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the datasets in the current AWS Region.

\n

Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource\n immediately after creating or modifying it, use retries to allow time for the write operation to complete.

", - "smithy.api#http": { - "method": "POST", - "uri": "/ListMetricSets", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.lookoutmetrics#ListMetricSetsRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the anomaly detector containing the metrics sets to list.

" - } - }, - "MaxResults": { - "target": "com.amazonaws.lookoutmetrics#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

If the result of the previous request was truncated, the response includes a\n NextToken. To retrieve the next set of results, use the token in the next\n request. Tokens expire after 24 hours.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#ListMetricSetsResponse": { - "type": "structure", - "members": { - "MetricSetSummaryList": { - "target": "com.amazonaws.lookoutmetrics#MetricSetSummaryList", - "traits": { - "smithy.api#documentation": "

A list of the datasets in the AWS Region, with configuration details for each.

" - } - }, - "NextToken": { - "target": "com.amazonaws.lookoutmetrics#NextToken", - "traits": { - "smithy.api#documentation": "

If the response is truncated, the list call returns this token. To retrieve the next set\n of results, use the token in the next list request.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#ListTagsForResourceRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#ListTagsForResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets a list of tags for a detector, dataset, or alert.

", - "smithy.api#http": { - "method": "GET", - "uri": "/tags/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#ListTagsForResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The resource's Amazon Resource Name (ARN).

", - "smithy.api#httpLabel": {}, - "smithy.api#jsonName": "resourceArn", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#ListTagsForResourceResponse": { - "type": "structure", - "members": { - "Tags": { - "target": "com.amazonaws.lookoutmetrics#TagMap", - "traits": { - "smithy.api#documentation": "

The resource's tags.

", - "smithy.api#jsonName": "Tags" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#LookoutMetrics": { - "type": "service", - "version": "2017-07-25", - "operations": [ - { - "target": "com.amazonaws.lookoutmetrics#ActivateAnomalyDetector" - }, - { - "target": "com.amazonaws.lookoutmetrics#BackTestAnomalyDetector" - }, - { - "target": "com.amazonaws.lookoutmetrics#CreateAlert" - }, - { - "target": "com.amazonaws.lookoutmetrics#CreateAnomalyDetector" - }, - { - "target": "com.amazonaws.lookoutmetrics#CreateMetricSet" - }, - { - "target": "com.amazonaws.lookoutmetrics#DeactivateAnomalyDetector" - }, - { - "target": "com.amazonaws.lookoutmetrics#DeleteAlert" - }, - { - "target": "com.amazonaws.lookoutmetrics#DeleteAnomalyDetector" - }, - { - "target": "com.amazonaws.lookoutmetrics#DescribeAlert" - }, - { - "target": "com.amazonaws.lookoutmetrics#DescribeAnomalyDetectionExecutions" - }, - { - "target": "com.amazonaws.lookoutmetrics#DescribeAnomalyDetector" - }, - { - "target": "com.amazonaws.lookoutmetrics#DescribeMetricSet" - }, - { - "target": "com.amazonaws.lookoutmetrics#DetectMetricSetConfig" - }, - { - "target": "com.amazonaws.lookoutmetrics#GetAnomalyGroup" - }, - { - "target": "com.amazonaws.lookoutmetrics#GetDataQualityMetrics" - }, - { - "target": "com.amazonaws.lookoutmetrics#GetFeedback" - }, - { - "target": "com.amazonaws.lookoutmetrics#GetSampleData" - }, - { - "target": "com.amazonaws.lookoutmetrics#ListAlerts" - }, - { - "target": "com.amazonaws.lookoutmetrics#ListAnomalyDetectors" - }, - { - "target": "com.amazonaws.lookoutmetrics#ListAnomalyGroupRelatedMetrics" - }, - { - "target": "com.amazonaws.lookoutmetrics#ListAnomalyGroupSummaries" - }, - { - "target": "com.amazonaws.lookoutmetrics#ListAnomalyGroupTimeSeries" - }, - { - "target": "com.amazonaws.lookoutmetrics#ListMetricSets" - }, - { - "target": "com.amazonaws.lookoutmetrics#ListTagsForResource" - }, - { - "target": "com.amazonaws.lookoutmetrics#PutFeedback" - }, - { - "target": "com.amazonaws.lookoutmetrics#TagResource" - }, - { - "target": "com.amazonaws.lookoutmetrics#UntagResource" - }, - { - "target": "com.amazonaws.lookoutmetrics#UpdateAlert" - }, - { - "target": "com.amazonaws.lookoutmetrics#UpdateAnomalyDetector" - }, - { - "target": "com.amazonaws.lookoutmetrics#UpdateMetricSet" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "LookoutMetrics", - "arnNamespace": "lookoutmetrics", - "cloudFormationName": "LookoutMetrics", - "cloudTrailEventSource": "lookoutmetrics.amazonaws.com", - "endpointPrefix": "lookoutmetrics" - }, - "aws.auth#sigv4": { - "name": "lookoutmetrics" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

This is the Amazon Lookout for Metrics API Reference. For an introduction to the service\n with tutorials for getting started, visit Amazon\n Lookout for Metrics Developer Guide.

", - "smithy.api#title": "Amazon Lookout for Metrics", - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://lookoutmetrics-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://lookoutmetrics-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, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://lookoutmetrics.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://lookoutmetrics.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.eu-north-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lookoutmetrics.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" - } - } - }, - "com.amazonaws.lookoutmetrics#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.lookoutmetrics#Message": { - "type": "string" - }, - "com.amazonaws.lookoutmetrics#Metric": { - "type": "structure", - "members": { - "MetricName": { - "target": "com.amazonaws.lookoutmetrics#ColumnName", - "traits": { - "smithy.api#documentation": "

The name of the metric.

", - "smithy.api#required": {} - } - }, - "AggregationFunction": { - "target": "com.amazonaws.lookoutmetrics#AggregationFunction", - "traits": { - "smithy.api#documentation": "

The function with which the metric is calculated.

", - "smithy.api#required": {} - } - }, - "Namespace": { - "target": "com.amazonaws.lookoutmetrics#Namespace", - "traits": { - "smithy.api#documentation": "

The namespace for the metric.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A calculation made by contrasting a measure and a dimension from your source data.

" - } - }, - "com.amazonaws.lookoutmetrics#MetricChangePercentage": { - "type": "double", - "traits": { - "smithy.api#range": { - "min": 0.0, - "max": 100.0 - } - } - }, - "com.amazonaws.lookoutmetrics#MetricLevelImpact": { - "type": "structure", - "members": { - "MetricName": { - "target": "com.amazonaws.lookoutmetrics#MetricName", - "traits": { - "smithy.api#documentation": "

The name of the measure.

" - } - }, - "NumTimeSeries": { - "target": "com.amazonaws.lookoutmetrics#Integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The number of anomalous metrics for the measure.

" - } - }, - "ContributionMatrix": { - "target": "com.amazonaws.lookoutmetrics#ContributionMatrix", - "traits": { - "smithy.api#documentation": "

Details about the dimensions that contributed to the anomaly.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about a measure affected by an anomaly.

" - } - }, - "com.amazonaws.lookoutmetrics#MetricLevelImpactList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#MetricLevelImpact" - } - }, - "com.amazonaws.lookoutmetrics#MetricList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#Metric" - }, - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazonaws.lookoutmetrics#MetricName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - }, - "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]*$" - } - }, - "com.amazonaws.lookoutmetrics#MetricNameList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#MetricName" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 5 - } - } - }, - "com.amazonaws.lookoutmetrics#MetricSetDataQualityMetric": { - "type": "structure", - "members": { - "MetricSetArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the data quality metric array.

" - } - }, - "DataQualityMetricList": { - "target": "com.amazonaws.lookoutmetrics#DataQualityMetricList", - "traits": { - "smithy.api#documentation": "

The array of data quality metrics contained in the data quality metric set.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An array of DataQualityMetric objects that describes one or more data quality metrics.

" - } - }, - "com.amazonaws.lookoutmetrics#MetricSetDataQualityMetricList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#MetricSetDataQualityMetric" - } - }, - "com.amazonaws.lookoutmetrics#MetricSetDescription": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - }, - "smithy.api#pattern": "\\S" - } - }, - "com.amazonaws.lookoutmetrics#MetricSetDimensionFilter": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.lookoutmetrics#ColumnName", - "traits": { - "smithy.api#documentation": "

The dimension that you want to filter on.

" - } - }, - "FilterList": { - "target": "com.amazonaws.lookoutmetrics#FilterList", - "traits": { - "smithy.api#documentation": "

The list of filters that you are applying.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Describes a list of filters for choosing a subset of dimension values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.

" - } - }, - "com.amazonaws.lookoutmetrics#MetricSetDimensionFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#MetricSetDimensionFilter" - } - }, - "com.amazonaws.lookoutmetrics#MetricSetName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 63 - }, - "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]*$" - } - }, - "com.amazonaws.lookoutmetrics#MetricSetSummary": { - "type": "structure", - "members": { - "MetricSetArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the dataset.

" - } - }, - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the detector to which the dataset belongs.

" - } - }, - "MetricSetDescription": { - "target": "com.amazonaws.lookoutmetrics#MetricSetDescription", - "traits": { - "smithy.api#documentation": "

The description of the dataset.

" - } - }, - "MetricSetName": { - "target": "com.amazonaws.lookoutmetrics#MetricSetName", - "traits": { - "smithy.api#documentation": "

The name of the dataset.

" - } - }, - "CreationTime": { - "target": "com.amazonaws.lookoutmetrics#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the dataset was created.

" - } - }, - "LastModificationTime": { - "target": "com.amazonaws.lookoutmetrics#Timestamp", - "traits": { - "smithy.api#documentation": "

The time at which the dataset was last modified.

" - } - }, - "Tags": { - "target": "com.amazonaws.lookoutmetrics#TagMap", - "traits": { - "smithy.api#documentation": "

The dataset's tags.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about a dataset.

" - } - }, - "com.amazonaws.lookoutmetrics#MetricSetSummaryList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#MetricSetSummary" - } - }, - "com.amazonaws.lookoutmetrics#MetricSource": { - "type": "structure", - "members": { - "S3SourceConfig": { - "target": "com.amazonaws.lookoutmetrics#S3SourceConfig" - }, - "AppFlowConfig": { - "target": "com.amazonaws.lookoutmetrics#AppFlowConfig", - "traits": { - "smithy.api#documentation": "

Details about an AppFlow datasource.

" - } - }, - "CloudWatchConfig": { - "target": "com.amazonaws.lookoutmetrics#CloudWatchConfig", - "traits": { - "smithy.api#documentation": "

Details about an Amazon CloudWatch monitoring datasource.

" - } - }, - "RDSSourceConfig": { - "target": "com.amazonaws.lookoutmetrics#RDSSourceConfig", - "traits": { - "smithy.api#documentation": "

Details about an Amazon Relational Database Service (RDS) datasource.

" - } - }, - "RedshiftSourceConfig": { - "target": "com.amazonaws.lookoutmetrics#RedshiftSourceConfig", - "traits": { - "smithy.api#documentation": "

Details about an Amazon Redshift database datasource.

" - } - }, - "AthenaSourceConfig": { - "target": "com.amazonaws.lookoutmetrics#AthenaSourceConfig", - "traits": { - "smithy.api#documentation": "

Details about an Amazon Athena datasource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about source data used to generate metrics.

" - } - }, - "com.amazonaws.lookoutmetrics#MetricValue": { - "type": "double" - }, - "com.amazonaws.lookoutmetrics#MetricValueList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#MetricValue" - } - }, - "com.amazonaws.lookoutmetrics#Namespace": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - }, - "smithy.api#pattern": "^[^:]" - } - }, - "com.amazonaws.lookoutmetrics#NextToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 3000 - }, - "smithy.api#pattern": "\\S" - } - }, - "com.amazonaws.lookoutmetrics#NumberAttributeValue": { - "type": "string" - }, - "com.amazonaws.lookoutmetrics#NumberListAttributeValue": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#NumberAttributeValue" - } - }, - "com.amazonaws.lookoutmetrics#Offset": { - "type": "integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#range": { - "min": 0, - "max": 432000 - } - } - }, - "com.amazonaws.lookoutmetrics#PoirotSecretManagerArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - }, - "smithy.api#pattern": "^arn:([a-z\\d-]+):.*:.*:secret:AmazonLookoutMetrics-.+$" - } - }, - "com.amazonaws.lookoutmetrics#PutFeedback": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#PutFeedbackRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#PutFeedbackResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Add feedback for an anomalous metric.

", - "smithy.api#http": { - "method": "POST", - "uri": "/PutFeedback", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#PutFeedbackRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the anomaly detector.

", - "smithy.api#required": {} - } - }, - "AnomalyGroupTimeSeriesFeedback": { - "target": "com.amazonaws.lookoutmetrics#AnomalyGroupTimeSeriesFeedback", - "traits": { - "smithy.api#documentation": "

Feedback for an anomalous metric.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#PutFeedbackResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#QuotaCode": { - "type": "string" - }, - "com.amazonaws.lookoutmetrics#QuoteSymbol": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1 - }, - "smithy.api#pattern": "^[^\\r\\n]|^$" - } - }, - "com.amazonaws.lookoutmetrics#RDSDatabaseIdentifier": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 63 - }, - "smithy.api#pattern": "^[a-zA-Z](?!.*--)(?!.*-$)[0-9a-zA-Z\\-]*$" - } - }, - "com.amazonaws.lookoutmetrics#RDSDatabaseName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_.]+$" - } - }, - "com.amazonaws.lookoutmetrics#RDSSourceConfig": { - "type": "structure", - "members": { - "DBInstanceIdentifier": { - "target": "com.amazonaws.lookoutmetrics#RDSDatabaseIdentifier", - "traits": { - "smithy.api#documentation": "

A string identifying the database instance.

" - } - }, - "DatabaseHost": { - "target": "com.amazonaws.lookoutmetrics#DatabaseHost", - "traits": { - "smithy.api#documentation": "

The host name of the database.

" - } - }, - "DatabasePort": { - "target": "com.amazonaws.lookoutmetrics#DatabasePort", - "traits": { - "smithy.api#documentation": "

The port number where the database can be accessed.

" - } - }, - "SecretManagerArn": { - "target": "com.amazonaws.lookoutmetrics#PoirotSecretManagerArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Secrets Manager role.

" - } - }, - "DatabaseName": { - "target": "com.amazonaws.lookoutmetrics#RDSDatabaseName", - "traits": { - "smithy.api#documentation": "

The name of the RDS database.

" - } - }, - "TableName": { - "target": "com.amazonaws.lookoutmetrics#TableName", - "traits": { - "smithy.api#documentation": "

The name of the table in the database.

" - } - }, - "RoleArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role.

" - } - }, - "VpcConfiguration": { - "target": "com.amazonaws.lookoutmetrics#VpcConfiguration", - "traits": { - "smithy.api#documentation": "

An object containing information about the Amazon Virtual Private Cloud (VPC) configuration.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about the Amazon Relational Database Service (RDS) configuration.

" - } - }, - "com.amazonaws.lookoutmetrics#RedshiftClusterIdentifier": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 63 - }, - "smithy.api#pattern": "^[a-z](?!.*--)(?!.*-$)[0-9a-z\\-]*$" - } - }, - "com.amazonaws.lookoutmetrics#RedshiftDatabaseName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_.]+$" - } - }, - "com.amazonaws.lookoutmetrics#RedshiftSourceConfig": { - "type": "structure", - "members": { - "ClusterIdentifier": { - "target": "com.amazonaws.lookoutmetrics#RedshiftClusterIdentifier", - "traits": { - "smithy.api#documentation": "

A string identifying the Redshift cluster.

" - } - }, - "DatabaseHost": { - "target": "com.amazonaws.lookoutmetrics#DatabaseHost", - "traits": { - "smithy.api#documentation": "

The name of the database host.

" - } - }, - "DatabasePort": { - "target": "com.amazonaws.lookoutmetrics#DatabasePort", - "traits": { - "smithy.api#documentation": "

The port number where the database can be accessed.

" - } - }, - "SecretManagerArn": { - "target": "com.amazonaws.lookoutmetrics#PoirotSecretManagerArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Secrets Manager role.

" - } - }, - "DatabaseName": { - "target": "com.amazonaws.lookoutmetrics#RedshiftDatabaseName", - "traits": { - "smithy.api#documentation": "

The Redshift database name.

" - } - }, - "TableName": { - "target": "com.amazonaws.lookoutmetrics#TableName", - "traits": { - "smithy.api#documentation": "

The table name of the Redshift database.

" - } - }, - "RoleArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role providing access to the database.

" - } - }, - "VpcConfiguration": { - "target": "com.amazonaws.lookoutmetrics#VpcConfiguration", - "traits": { - "smithy.api#documentation": "

Contains information about the Amazon Virtual Private Cloud (VPC) configuration.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Provides information about the Amazon Redshift database configuration.

" - } - }, - "com.amazonaws.lookoutmetrics#RelatedColumnName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - }, - "smithy.api#pattern": "\\S" - } - }, - "com.amazonaws.lookoutmetrics#RelationshipType": { - "type": "enum", - "members": { - "CAUSE_OF_INPUT_ANOMALY_GROUP": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CAUSE_OF_INPUT_ANOMALY_GROUP" - } - }, - "EFFECT_OF_INPUT_ANOMALY_GROUP": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "EFFECT_OF_INPUT_ANOMALY_GROUP" - } - } - } - }, - "com.amazonaws.lookoutmetrics#ResourceId": { - "type": "string" - }, - "com.amazonaws.lookoutmetrics#ResourceNotFoundException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.lookoutmetrics#Message", - "traits": { - "smithy.api#required": {} - } - }, - "ResourceId": { - "target": "com.amazonaws.lookoutmetrics#ResourceId", - "traits": { - "smithy.api#documentation": "

The ID of the resource.

" - } - }, - "ResourceType": { - "target": "com.amazonaws.lookoutmetrics#ResourceType", - "traits": { - "smithy.api#documentation": "

The type of the resource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The specified resource cannot be found. Check the ARN of the resource and try again.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.lookoutmetrics#ResourceType": { - "type": "string" - }, - "com.amazonaws.lookoutmetrics#S3SourceConfig": { - "type": "structure", - "members": { - "RoleArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of an IAM role that has read and write access permissions to the source S3 bucket.

" - } - }, - "TemplatedPathList": { - "target": "com.amazonaws.lookoutmetrics#TemplatedPathList", - "traits": { - "smithy.api#documentation": "

A list of templated paths to the source files.

" - } - }, - "HistoricalDataPathList": { - "target": "com.amazonaws.lookoutmetrics#HistoricalDataPathList", - "traits": { - "smithy.api#documentation": "

A list of paths to the historical data files.

" - } - }, - "FileFormatDescriptor": { - "target": "com.amazonaws.lookoutmetrics#FileFormatDescriptor", - "traits": { - "smithy.api#documentation": "

Contains information about a source file's formatting.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about the configuration of the S3 bucket that contains source files.

" - } - }, - "com.amazonaws.lookoutmetrics#SNSConfiguration": { - "type": "structure", - "members": { - "RoleArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the IAM role that has access to the target SNS topic.

", - "smithy.api#required": {} - } - }, - "SnsTopicArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the target SNS topic.

", - "smithy.api#required": {} - } - }, - "SnsFormat": { - "target": "com.amazonaws.lookoutmetrics#SnsFormat", - "traits": { - "smithy.api#documentation": "

The format of the SNS topic.

\n
    \n
  • \n

    \n JSON – Send JSON alerts with an anomaly ID and a link to the anomaly detail page. This is the default.

    \n
  • \n
  • \n

    \n LONG_TEXT – Send human-readable alerts with information about the impacted timeseries and a link to the anomaly detail page. We recommend this for email.

    \n
  • \n
  • \n

    \n SHORT_TEXT – Send human-readable alerts with a link to the anomaly detail page. We recommend this for SMS.

    \n
  • \n
" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about the SNS topic to which you want to send your alerts and the IAM role that has\n access to that topic.

" - } - }, - "com.amazonaws.lookoutmetrics#SampleDataS3SourceConfig": { - "type": "structure", - "members": { - "RoleArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role.

", - "smithy.api#required": {} - } - }, - "TemplatedPathList": { - "target": "com.amazonaws.lookoutmetrics#TemplatedPathList", - "traits": { - "smithy.api#documentation": "

An array of strings containing the list of templated paths.

" - } - }, - "HistoricalDataPathList": { - "target": "com.amazonaws.lookoutmetrics#HistoricalDataPathList", - "traits": { - "smithy.api#documentation": "

An array of strings containing the historical set of data paths.

" - } - }, - "FileFormatDescriptor": { - "target": "com.amazonaws.lookoutmetrics#FileFormatDescriptor", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about the source configuration in Amazon S3.

" - } - }, - "com.amazonaws.lookoutmetrics#SampleRow": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#DataItem" - } - }, - "com.amazonaws.lookoutmetrics#SampleRows": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#SampleRow" - } - }, - "com.amazonaws.lookoutmetrics#Score": { - "type": "double", - "traits": { - "smithy.api#range": { - "min": 0.0, - "max": 100.0 - } - } - }, - "com.amazonaws.lookoutmetrics#SecurityGroupId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - }, - "smithy.api#pattern": "^[-0-9a-zA-Z]+$" - } - }, - "com.amazonaws.lookoutmetrics#SecurityGroupIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#SecurityGroupId" - } - }, - "com.amazonaws.lookoutmetrics#SensitivityThreshold": { - "type": "integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#range": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.lookoutmetrics#ServiceCode": { - "type": "string" - }, - "com.amazonaws.lookoutmetrics#ServiceQuotaExceededException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.lookoutmetrics#Message", - "traits": { - "smithy.api#required": {} - } - }, - "ResourceId": { - "target": "com.amazonaws.lookoutmetrics#ResourceId", - "traits": { - "smithy.api#documentation": "

The ID of the resource.

" - } - }, - "ResourceType": { - "target": "com.amazonaws.lookoutmetrics#ResourceType", - "traits": { - "smithy.api#documentation": "

The type of the resource.

" - } - }, - "QuotaCode": { - "target": "com.amazonaws.lookoutmetrics#QuotaCode", - "traits": { - "smithy.api#documentation": "

The quota code.

" - } - }, - "ServiceCode": { - "target": "com.amazonaws.lookoutmetrics#ServiceCode", - "traits": { - "smithy.api#documentation": "

The service code.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The request exceeded the service's quotas. Check the service quotas and try again.

", - "smithy.api#error": "client", - "smithy.api#httpError": 402 - } - }, - "com.amazonaws.lookoutmetrics#SnsFormat": { - "type": "enum", - "members": { - "LONG_TEXT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LONG_TEXT" - } - }, - "SHORT_TEXT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SHORT_TEXT" - } - }, - "JSON": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "JSON" - } - } - } - }, - "com.amazonaws.lookoutmetrics#StringAttributeValue": { - "type": "string" - }, - "com.amazonaws.lookoutmetrics#StringListAttributeValue": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#StringAttributeValue" - } - }, - "com.amazonaws.lookoutmetrics#SubnetId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 255 - }, - "smithy.api#pattern": "^[\\-0-9a-zA-Z]+$" - } - }, - "com.amazonaws.lookoutmetrics#SubnetIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#SubnetId" - } - }, - "com.amazonaws.lookoutmetrics#TableName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - }, - "smithy.api#pattern": "^[a-zA-Z][a-zA-Z0-9_.]*$" - } - }, - "com.amazonaws.lookoutmetrics#TagKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } - }, - "com.amazonaws.lookoutmetrics#TagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#TagKey" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.lookoutmetrics#TagMap": { - "type": "map", - "key": { - "target": "com.amazonaws.lookoutmetrics#TagKey" - }, - "value": { - "target": "com.amazonaws.lookoutmetrics#TagValue" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.lookoutmetrics#TagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#TagResourceRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#TagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Adds tags to a detector, dataset, or alert.

", - "smithy.api#http": { - "method": "POST", - "uri": "/tags/{ResourceArn}", - "code": 204 - } - } - }, - "com.amazonaws.lookoutmetrics#TagResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The resource's Amazon Resource Name (ARN).

", - "smithy.api#httpLabel": {}, - "smithy.api#jsonName": "resourceArn", - "smithy.api#required": {} - } - }, - "Tags": { - "target": "com.amazonaws.lookoutmetrics#TagMap", - "traits": { - "smithy.api#documentation": "

Tags to apply to the resource. Tag keys and values can contain letters, numbers, spaces, and the following\n symbols: _.:/=+@-\n

", - "smithy.api#jsonName": "tags", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#TagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#TagValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - } - } - }, - "com.amazonaws.lookoutmetrics#TemplatedPath": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1024 - }, - "smithy.api#pattern": "^s3://[a-zA-Z0-9_\\-\\/ {}=]+$" - } - }, - "com.amazonaws.lookoutmetrics#TemplatedPathList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#TemplatedPath" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } - } - }, - "com.amazonaws.lookoutmetrics#TimeSeries": { - "type": "structure", - "members": { - "TimeSeriesId": { - "target": "com.amazonaws.lookoutmetrics#TimeSeriesId", - "traits": { - "smithy.api#documentation": "

The ID of the metric.

", - "smithy.api#required": {} - } - }, - "DimensionList": { - "target": "com.amazonaws.lookoutmetrics#DimensionNameValueList", - "traits": { - "smithy.api#documentation": "

The dimensions of the metric.

", - "smithy.api#required": {} - } - }, - "MetricValueList": { - "target": "com.amazonaws.lookoutmetrics#MetricValueList", - "traits": { - "smithy.api#documentation": "

The values for the metric.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about a metric. A metric is an aggregation of the values of a measure for a dimension value, such as\n availability in the us-east-1 Region.

" - } - }, - "com.amazonaws.lookoutmetrics#TimeSeriesFeedback": { - "type": "structure", - "members": { - "TimeSeriesId": { - "target": "com.amazonaws.lookoutmetrics#TimeSeriesId", - "traits": { - "smithy.api#documentation": "

The ID of the metric.

" - } - }, - "IsAnomaly": { - "target": "com.amazonaws.lookoutmetrics#Boolean", - "traits": { - "smithy.api#documentation": "

Feedback on whether the metric is a legitimate anomaly.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about feedback submitted for an anomalous metric.

" - } - }, - "com.amazonaws.lookoutmetrics#TimeSeriesFeedbackList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#TimeSeriesFeedback" - } - }, - "com.amazonaws.lookoutmetrics#TimeSeriesId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 520 - }, - "smithy.api#pattern": "\\S" - } - }, - "com.amazonaws.lookoutmetrics#TimeSeriesList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#TimeSeries" - } - }, - "com.amazonaws.lookoutmetrics#Timestamp": { - "type": "timestamp" - }, - "com.amazonaws.lookoutmetrics#TimestampColumn": { - "type": "structure", - "members": { - "ColumnName": { - "target": "com.amazonaws.lookoutmetrics#ColumnName", - "traits": { - "smithy.api#documentation": "

The name of the timestamp column.

" - } - }, - "ColumnFormat": { - "target": "com.amazonaws.lookoutmetrics#DateTimeFormat", - "traits": { - "smithy.api#documentation": "

The format of the timestamp column.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about the column used to track time in a source data file.

" - } - }, - "com.amazonaws.lookoutmetrics#TimestampList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#TimestampString" - } - }, - "com.amazonaws.lookoutmetrics#TimestampString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 60 - }, - "smithy.api#pattern": "^([12]\\d{3})-(1[0-2]|0[1-9])-(0[1-9]|[12]\\d|3[01])T([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d)(Z|(\\+|\\-)(0\\d|1[0-2]):([0-5]\\d)(\\[[[:alnum:]\\/\\_]+\\])?)$" - } - }, - "com.amazonaws.lookoutmetrics#Timezone": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 60 - }, - "smithy.api#pattern": "\\S" - } - }, - "com.amazonaws.lookoutmetrics#TooManyRequestsException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.lookoutmetrics#Message", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The request was denied due to too many requests being submitted at the same time.

", - "smithy.api#error": "client", - "smithy.api#httpError": 429 - } - }, - "com.amazonaws.lookoutmetrics#UUID": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 63 - }, - "smithy.api#pattern": "^[a-z0-9]{8}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{4}-[a-z0-9]{12}$" - } - }, - "com.amazonaws.lookoutmetrics#UntagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#UntagResourceRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#UntagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Removes tags from a detector, dataset, or alert.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/tags/{ResourceArn}", - "code": 204 - } - } - }, - "com.amazonaws.lookoutmetrics#UntagResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The resource's Amazon Resource Name (ARN).

", - "smithy.api#httpLabel": {}, - "smithy.api#jsonName": "resourceArn", - "smithy.api#required": {} - } - }, - "TagKeys": { - "target": "com.amazonaws.lookoutmetrics#TagKeyList", - "traits": { - "smithy.api#documentation": "

Keys to remove from the resource's tags.

", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#jsonName": "tagKeys", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#UntagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#UpdateAlert": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#UpdateAlertRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#UpdateAlertResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Make changes to an existing alert.

", - "smithy.api#http": { - "method": "POST", - "uri": "/UpdateAlert", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#UpdateAlertRequest": { - "type": "structure", - "members": { - "AlertArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the alert to update.

", - "smithy.api#required": {} - } - }, - "AlertDescription": { - "target": "com.amazonaws.lookoutmetrics#AlertDescription", - "traits": { - "smithy.api#documentation": "

A description of the alert.

" - } - }, - "AlertSensitivityThreshold": { - "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

An integer from 0 to 100 specifying the alert sensitivity threshold.

" - } - }, - "Action": { - "target": "com.amazonaws.lookoutmetrics#Action", - "traits": { - "smithy.api#documentation": "

Action that will be triggered when there is an alert.

" - } - }, - "AlertFilters": { - "target": "com.amazonaws.lookoutmetrics#AlertFilters", - "traits": { - "smithy.api#documentation": "

The configuration of the alert filters, containing MetricList and DimensionFilterList.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#UpdateAlertResponse": { - "type": "structure", - "members": { - "AlertArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the updated alert.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#UpdateAnomalyDetector": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#UpdateAnomalyDetectorRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#UpdateAnomalyDetectorResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates a detector. After activation, you can only change a detector's ingestion delay and description.

", - "smithy.api#http": { - "method": "POST", - "uri": "/UpdateAnomalyDetector", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#UpdateAnomalyDetectorRequest": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the detector to update.

", - "smithy.api#required": {} - } - }, - "KmsKeyArn": { - "target": "com.amazonaws.lookoutmetrics#KmsKeyArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an AWS KMS encryption key.

" - } - }, - "AnomalyDetectorDescription": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorDescription", - "traits": { - "smithy.api#documentation": "

The updated detector description.

" - } - }, - "AnomalyDetectorConfig": { - "target": "com.amazonaws.lookoutmetrics#AnomalyDetectorConfig", - "traits": { - "smithy.api#documentation": "

Contains information about the configuration to which the detector will be updated.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#UpdateAnomalyDetectorResponse": { - "type": "structure", - "members": { - "AnomalyDetectorArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the updated detector.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#UpdateMetricSet": { - "type": "operation", - "input": { - "target": "com.amazonaws.lookoutmetrics#UpdateMetricSetRequest" - }, - "output": { - "target": "com.amazonaws.lookoutmetrics#UpdateMetricSetResponse" - }, - "errors": [ - { - "target": "com.amazonaws.lookoutmetrics#AccessDeniedException" - }, - { - "target": "com.amazonaws.lookoutmetrics#InternalServerException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.lookoutmetrics#TooManyRequestsException" - }, - { - "target": "com.amazonaws.lookoutmetrics#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates a dataset.

", - "smithy.api#http": { - "method": "POST", - "uri": "/UpdateMetricSet", - "code": 200 - } - } - }, - "com.amazonaws.lookoutmetrics#UpdateMetricSetRequest": { - "type": "structure", - "members": { - "MetricSetArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the dataset to update.

", - "smithy.api#required": {} - } - }, - "MetricSetDescription": { - "target": "com.amazonaws.lookoutmetrics#MetricSetDescription", - "traits": { - "smithy.api#documentation": "

The dataset's description.

" - } - }, - "MetricList": { - "target": "com.amazonaws.lookoutmetrics#MetricList", - "traits": { - "smithy.api#documentation": "

The metric list.

" - } - }, - "Offset": { - "target": "com.amazonaws.lookoutmetrics#Offset", - "traits": { - "smithy.api#default": null, - "smithy.api#documentation": "

After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.

" - } - }, - "TimestampColumn": { - "target": "com.amazonaws.lookoutmetrics#TimestampColumn", - "traits": { - "smithy.api#documentation": "

The timestamp column.

" - } - }, - "DimensionList": { - "target": "com.amazonaws.lookoutmetrics#DimensionList", - "traits": { - "smithy.api#documentation": "

The dimension list.

" - } - }, - "MetricSetFrequency": { - "target": "com.amazonaws.lookoutmetrics#Frequency", - "traits": { - "smithy.api#documentation": "

The dataset's interval.

" - } - }, - "MetricSource": { - "target": "com.amazonaws.lookoutmetrics#MetricSource" - }, - "DimensionFilterList": { - "target": "com.amazonaws.lookoutmetrics#MetricSetDimensionFilterList", - "traits": { - "smithy.api#documentation": "

Describes a list of filters for choosing specific dimensions and specific values. Each\n filter consists of the dimension and one of its values that you want to include. When\n multiple dimensions or values are specified, the dimensions are joined with an AND operation\n and the values are joined with an OR operation.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.lookoutmetrics#UpdateMetricSetResponse": { - "type": "structure", - "members": { - "MetricSetArn": { - "target": "com.amazonaws.lookoutmetrics#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the dataset.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.lookoutmetrics#ValidationException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.lookoutmetrics#Message", - "traits": { - "smithy.api#required": {} - } - }, - "Reason": { - "target": "com.amazonaws.lookoutmetrics#ValidationExceptionReason", - "traits": { - "smithy.api#documentation": "

The reason that validation failed.

" - } - }, - "Fields": { - "target": "com.amazonaws.lookoutmetrics#ValidationExceptionFieldList", - "traits": { - "smithy.api#documentation": "

Fields that failed validation.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The input fails to satisfy the constraints specified by the AWS service. Check your input values and try\n again.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.lookoutmetrics#ValidationExceptionField": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.lookoutmetrics#FieldName", - "traits": { - "smithy.api#documentation": "

The name of the field.

", - "smithy.api#required": {} - } - }, - "Message": { - "target": "com.amazonaws.lookoutmetrics#Message", - "traits": { - "smithy.api#documentation": "

The message with more information about the validation exception.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about a a field in a validation exception.

" - } - }, - "com.amazonaws.lookoutmetrics#ValidationExceptionFieldList": { - "type": "list", - "member": { - "target": "com.amazonaws.lookoutmetrics#ValidationExceptionField" - } - }, - "com.amazonaws.lookoutmetrics#ValidationExceptionReason": { - "type": "enum", - "members": { - "UNKNOWN_OPERATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UNKNOWN_OPERATION" - } - }, - "CANNOT_PARSE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CANNOT_PARSE" - } - }, - "FIELD_VALIDATION_FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FIELD_VALIDATION_FAILED" - } - }, - "OTHER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "OTHER" - } - } - } - }, - "com.amazonaws.lookoutmetrics#VpcConfiguration": { - "type": "structure", - "members": { - "SubnetIdList": { - "target": "com.amazonaws.lookoutmetrics#SubnetIdList", - "traits": { - "smithy.api#documentation": "

An array of strings containing the Amazon VPC subnet IDs (e.g., subnet-0bb1c79de3EXAMPLE.

", - "smithy.api#required": {} - } - }, - "SecurityGroupIdList": { - "target": "com.amazonaws.lookoutmetrics#SecurityGroupIdList", - "traits": { - "smithy.api#documentation": "

An array of strings containing the list of security groups.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains configuration information about the Amazon Virtual Private Cloud (VPC).

" - } - } - } -} diff --git a/tools/code-generation/smithy/api-descriptions/qldb-session.json b/tools/code-generation/smithy/api-descriptions/qldb-session.json deleted file mode 100644 index 609b631d906..00000000000 --- a/tools/code-generation/smithy/api-descriptions/qldb-session.json +++ /dev/null @@ -1,1457 +0,0 @@ -{ - "smithy": "2.0", - "metadata": { - "suppressions": [ - { - "id": "HttpMethodSemantics", - "namespace": "*" - }, - { - "id": "HttpResponseCodeSemantics", - "namespace": "*" - }, - { - "id": "PaginatedTrait", - "namespace": "*" - }, - { - "id": "HttpHeaderTrait", - "namespace": "*" - }, - { - "id": "HttpUriConflict", - "namespace": "*" - }, - { - "id": "Service", - "namespace": "*" - } - ] - }, - "shapes": { - "com.amazonaws.qldbsession#AbortTransactionRequest": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "

Contains the details of the transaction to abort.

" - } - }, - "com.amazonaws.qldbsession#AbortTransactionResult": { - "type": "structure", - "members": { - "TimingInformation": { - "target": "com.amazonaws.qldbsession#TimingInformation", - "traits": { - "smithy.api#documentation": "

Contains server-side performance information for the command.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains the details of the aborted transaction.

" - } - }, - "com.amazonaws.qldbsession#BadRequestException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.qldbsession#ErrorMessage" - }, - "Code": { - "target": "com.amazonaws.qldbsession#ErrorCode" - } - }, - "traits": { - "smithy.api#documentation": "

Returned if the request is malformed or contains an error such as an invalid parameter\n value or a missing required parameter.

", - "smithy.api#error": "client" - } - }, - "com.amazonaws.qldbsession#CapacityExceededException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.qldbsession#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

Returned when the request exceeds the processing capacity of the ledger.

", - "smithy.api#error": "server", - "smithy.api#httpError": 503 - } - }, - "com.amazonaws.qldbsession#CommitDigest": { - "type": "blob" - }, - "com.amazonaws.qldbsession#CommitTransactionRequest": { - "type": "structure", - "members": { - "TransactionId": { - "target": "com.amazonaws.qldbsession#TransactionId", - "traits": { - "smithy.api#documentation": "

Specifies the transaction ID of the transaction to commit.

", - "smithy.api#required": {} - } - }, - "CommitDigest": { - "target": "com.amazonaws.qldbsession#CommitDigest", - "traits": { - "smithy.api#documentation": "

Specifies the commit digest for the transaction to commit. For every active transaction,\n the commit digest must be passed. QLDB validates CommitDigest and rejects\n the commit with an error if the digest computed on the client does not match the digest\n computed by QLDB.

\n

The purpose of the CommitDigest parameter is to ensure that QLDB commits\n a transaction if and only if the server has processed the exact set of statements sent by\n the client, in the same order that client sent them, and with no duplicates.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains the details of the transaction to commit.

" - } - }, - "com.amazonaws.qldbsession#CommitTransactionResult": { - "type": "structure", - "members": { - "TransactionId": { - "target": "com.amazonaws.qldbsession#TransactionId", - "traits": { - "smithy.api#documentation": "

The transaction ID of the committed transaction.

" - } - }, - "CommitDigest": { - "target": "com.amazonaws.qldbsession#CommitDigest", - "traits": { - "smithy.api#documentation": "

The commit digest of the committed transaction.

" - } - }, - "TimingInformation": { - "target": "com.amazonaws.qldbsession#TimingInformation", - "traits": { - "smithy.api#documentation": "

Contains server-side performance information for the command.

" - } - }, - "ConsumedIOs": { - "target": "com.amazonaws.qldbsession#IOUsage", - "traits": { - "smithy.api#documentation": "

Contains metrics about the number of I/O requests that were consumed.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains the details of the committed transaction.

" - } - }, - "com.amazonaws.qldbsession#EndSessionRequest": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "

Specifies a request to end the session.

" - } - }, - "com.amazonaws.qldbsession#EndSessionResult": { - "type": "structure", - "members": { - "TimingInformation": { - "target": "com.amazonaws.qldbsession#TimingInformation", - "traits": { - "smithy.api#documentation": "

Contains server-side performance information for the command.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains the details of the ended session.

" - } - }, - "com.amazonaws.qldbsession#ErrorCode": { - "type": "string" - }, - "com.amazonaws.qldbsession#ErrorMessage": { - "type": "string" - }, - "com.amazonaws.qldbsession#ExecuteStatementRequest": { - "type": "structure", - "members": { - "TransactionId": { - "target": "com.amazonaws.qldbsession#TransactionId", - "traits": { - "smithy.api#documentation": "

Specifies the transaction ID of the request.

", - "smithy.api#required": {} - } - }, - "Statement": { - "target": "com.amazonaws.qldbsession#Statement", - "traits": { - "smithy.api#documentation": "

Specifies the statement of the request.

", - "smithy.api#required": {} - } - }, - "Parameters": { - "target": "com.amazonaws.qldbsession#StatementParameters", - "traits": { - "smithy.api#documentation": "

Specifies the parameters for the parameterized statement in the request.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a request to execute a statement.

" - } - }, - "com.amazonaws.qldbsession#ExecuteStatementResult": { - "type": "structure", - "members": { - "FirstPage": { - "target": "com.amazonaws.qldbsession#Page", - "traits": { - "smithy.api#documentation": "

Contains the details of the first fetched page.

" - } - }, - "TimingInformation": { - "target": "com.amazonaws.qldbsession#TimingInformation", - "traits": { - "smithy.api#documentation": "

Contains server-side performance information for the command.

" - } - }, - "ConsumedIOs": { - "target": "com.amazonaws.qldbsession#IOUsage", - "traits": { - "smithy.api#documentation": "

Contains metrics about the number of I/O requests that were consumed.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains the details of the executed statement.

" - } - }, - "com.amazonaws.qldbsession#FetchPageRequest": { - "type": "structure", - "members": { - "TransactionId": { - "target": "com.amazonaws.qldbsession#TransactionId", - "traits": { - "smithy.api#documentation": "

Specifies the transaction ID of the page to be fetched.

", - "smithy.api#required": {} - } - }, - "NextPageToken": { - "target": "com.amazonaws.qldbsession#PageToken", - "traits": { - "smithy.api#documentation": "

Specifies the next page token of the page to be fetched.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies the details of the page to be fetched.

" - } - }, - "com.amazonaws.qldbsession#FetchPageResult": { - "type": "structure", - "members": { - "Page": { - "target": "com.amazonaws.qldbsession#Page", - "traits": { - "smithy.api#documentation": "

Contains details of the fetched page.

" - } - }, - "TimingInformation": { - "target": "com.amazonaws.qldbsession#TimingInformation", - "traits": { - "smithy.api#documentation": "

Contains server-side performance information for the command.

" - } - }, - "ConsumedIOs": { - "target": "com.amazonaws.qldbsession#IOUsage", - "traits": { - "smithy.api#documentation": "

Contains metrics about the number of I/O requests that were consumed.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains the page that was fetched.

" - } - }, - "com.amazonaws.qldbsession#IOUsage": { - "type": "structure", - "members": { - "ReadIOs": { - "target": "com.amazonaws.qldbsession#ReadIOs", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The number of read I/O requests that the command made.

" - } - }, - "WriteIOs": { - "target": "com.amazonaws.qldbsession#WriteIOs", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The number of write I/O requests that the command made.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains I/O usage metrics for a command that was invoked.

" - } - }, - "com.amazonaws.qldbsession#InvalidSessionException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.qldbsession#ErrorMessage" - }, - "Code": { - "target": "com.amazonaws.qldbsession#ErrorCode" - } - }, - "traits": { - "smithy.api#documentation": "

Returned if the session doesn't exist anymore because it timed out or expired.

", - "smithy.api#error": "client" - } - }, - "com.amazonaws.qldbsession#IonBinary": { - "type": "blob", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 131072 - } - } - }, - "com.amazonaws.qldbsession#IonText": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1048576 - } - } - }, - "com.amazonaws.qldbsession#LedgerName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 32 - }, - "smithy.api#pattern": "^(?!^.*--)(?!^[0-9]+$)(?!^-)(?!.*-$)^[A-Za-z0-9-]+$" - } - }, - "com.amazonaws.qldbsession#LimitExceededException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.qldbsession#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

Returned if a resource limit such as number of active sessions is exceeded.

", - "smithy.api#error": "client" - } - }, - "com.amazonaws.qldbsession#OccConflictException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.qldbsession#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

Returned when a transaction cannot be written to the journal due to a failure in the\n verification phase of optimistic concurrency control (OCC).

", - "smithy.api#error": "client" - } - }, - "com.amazonaws.qldbsession#Page": { - "type": "structure", - "members": { - "Values": { - "target": "com.amazonaws.qldbsession#ValueHolders", - "traits": { - "smithy.api#documentation": "

A structure that contains values in multiple encoding formats.

" - } - }, - "NextPageToken": { - "target": "com.amazonaws.qldbsession#PageToken", - "traits": { - "smithy.api#documentation": "

The token of the next page.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains details of the fetched page.

" - } - }, - "com.amazonaws.qldbsession#PageToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 4, - "max": 1024 - }, - "smithy.api#pattern": "^[A-Za-z-0-9+/=]+$" - } - }, - "com.amazonaws.qldbsession#ProcessingTimeMilliseconds": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.qldbsession#QLDBSession": { - "type": "service", - "version": "2019-07-11", - "operations": [ - { - "target": "com.amazonaws.qldbsession#SendCommand" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "QLDB Session", - "arnNamespace": "qldb", - "cloudFormationName": "QLDBSession", - "cloudTrailEventSource": "qldbsession.amazonaws.com", - "endpointPrefix": "session.qldb" - }, - "aws.auth#sigv4": { - "name": "qldb" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "

The transactional data APIs for Amazon QLDB

\n \n

Instead of interacting directly with this API, we recommend using the QLDB driver\n or the QLDB shell to execute data transactions on a ledger.

\n
    \n
  • \n

    If you are working with an AWS SDK, use the QLDB driver. The driver provides\n a high-level abstraction layer above this QLDB Session data\n plane and manages SendCommand API calls for you. For information and\n a list of supported programming languages, see Getting started\n with the driver in the Amazon QLDB Developer\n Guide.

    \n
  • \n
  • \n

    If you are working with the AWS Command Line Interface (AWS CLI), use the\n QLDB shell. The shell is a command line interface that uses the QLDB driver to\n interact with a ledger. For information, see Accessing Amazon QLDB using the\n QLDB shell.

    \n
  • \n
\n
", - "smithy.api#title": "Amazon QLDB Session", - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "string" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "string" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://session.qldb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://session.qldb-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, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://session.qldb.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://session.qldb.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.eu-west-2.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://session.qldb.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" - } - } - }, - "com.amazonaws.qldbsession#RateExceededException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.qldbsession#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

Returned when the rate of requests exceeds the allowed throughput.

", - "smithy.api#error": "client" - } - }, - "com.amazonaws.qldbsession#ReadIOs": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.qldbsession#SendCommand": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldbsession#SendCommandRequest" - }, - "output": { - "target": "com.amazonaws.qldbsession#SendCommandResult" - }, - "errors": [ - { - "target": "com.amazonaws.qldbsession#BadRequestException" - }, - { - "target": "com.amazonaws.qldbsession#CapacityExceededException" - }, - { - "target": "com.amazonaws.qldbsession#InvalidSessionException" - }, - { - "target": "com.amazonaws.qldbsession#LimitExceededException" - }, - { - "target": "com.amazonaws.qldbsession#OccConflictException" - }, - { - "target": "com.amazonaws.qldbsession#RateExceededException" - } - ], - "traits": { - "smithy.api#documentation": "

Sends a command to an Amazon QLDB ledger.

\n \n

Instead of interacting directly with this API, we recommend using the QLDB driver\n or the QLDB shell to execute data transactions on a ledger.

\n
    \n
  • \n

    If you are working with an AWS SDK, use the QLDB driver. The driver provides\n a high-level abstraction layer above this QLDB Session data\n plane and manages SendCommand API calls for you. For information and\n a list of supported programming languages, see Getting started\n with the driver in the Amazon QLDB Developer\n Guide.

    \n
  • \n
  • \n

    If you are working with the AWS Command Line Interface (AWS CLI), use the\n QLDB shell. The shell is a command line interface that uses the QLDB driver to\n interact with a ledger. For information, see Accessing Amazon QLDB using the\n QLDB shell.

    \n
  • \n
\n
" - } - }, - "com.amazonaws.qldbsession#SendCommandRequest": { - "type": "structure", - "members": { - "SessionToken": { - "target": "com.amazonaws.qldbsession#SessionToken", - "traits": { - "smithy.api#documentation": "

Specifies the session token for the current command. A session token is constant\n throughout the life of the session.

\n

To obtain a session token, run the StartSession command. This\n SessionToken is required for every subsequent command that is issued during\n the current session.

" - } - }, - "StartSession": { - "target": "com.amazonaws.qldbsession#StartSessionRequest", - "traits": { - "smithy.api#documentation": "

Command to start a new session. A session token is obtained as part of the\n response.

" - } - }, - "StartTransaction": { - "target": "com.amazonaws.qldbsession#StartTransactionRequest", - "traits": { - "smithy.api#documentation": "

Command to start a new transaction.

" - } - }, - "EndSession": { - "target": "com.amazonaws.qldbsession#EndSessionRequest", - "traits": { - "smithy.api#documentation": "

Command to end the current session.

" - } - }, - "CommitTransaction": { - "target": "com.amazonaws.qldbsession#CommitTransactionRequest", - "traits": { - "smithy.api#documentation": "

Command to commit the specified transaction.

" - } - }, - "AbortTransaction": { - "target": "com.amazonaws.qldbsession#AbortTransactionRequest", - "traits": { - "smithy.api#documentation": "

Command to abort the current transaction.

" - } - }, - "ExecuteStatement": { - "target": "com.amazonaws.qldbsession#ExecuteStatementRequest", - "traits": { - "smithy.api#documentation": "

Command to execute a statement in the specified transaction.

" - } - }, - "FetchPage": { - "target": "com.amazonaws.qldbsession#FetchPageRequest", - "traits": { - "smithy.api#documentation": "

Command to fetch a page.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldbsession#SendCommandResult": { - "type": "structure", - "members": { - "StartSession": { - "target": "com.amazonaws.qldbsession#StartSessionResult", - "traits": { - "smithy.api#documentation": "

Contains the details of the started session that includes a session token. This\n SessionToken is required for every subsequent command that is issued during\n the current session.

" - } - }, - "StartTransaction": { - "target": "com.amazonaws.qldbsession#StartTransactionResult", - "traits": { - "smithy.api#documentation": "

Contains the details of the started transaction.

" - } - }, - "EndSession": { - "target": "com.amazonaws.qldbsession#EndSessionResult", - "traits": { - "smithy.api#documentation": "

Contains the details of the ended session.

" - } - }, - "CommitTransaction": { - "target": "com.amazonaws.qldbsession#CommitTransactionResult", - "traits": { - "smithy.api#documentation": "

Contains the details of the committed transaction.

" - } - }, - "AbortTransaction": { - "target": "com.amazonaws.qldbsession#AbortTransactionResult", - "traits": { - "smithy.api#documentation": "

Contains the details of the aborted transaction.

" - } - }, - "ExecuteStatement": { - "target": "com.amazonaws.qldbsession#ExecuteStatementResult", - "traits": { - "smithy.api#documentation": "

Contains the details of the executed statement.

" - } - }, - "FetchPage": { - "target": "com.amazonaws.qldbsession#FetchPageResult", - "traits": { - "smithy.api#documentation": "

Contains the details of the fetched page.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldbsession#SessionToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 4, - "max": 1024 - }, - "smithy.api#pattern": "^[A-Za-z-0-9+/=]+$" - } - }, - "com.amazonaws.qldbsession#StartSessionRequest": { - "type": "structure", - "members": { - "LedgerName": { - "target": "com.amazonaws.qldbsession#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger to start a new session against.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Specifies a request to start a new session.

" - } - }, - "com.amazonaws.qldbsession#StartSessionResult": { - "type": "structure", - "members": { - "SessionToken": { - "target": "com.amazonaws.qldbsession#SessionToken", - "traits": { - "smithy.api#documentation": "

Session token of the started session. This SessionToken is required for\n every subsequent command that is issued during the current session.

" - } - }, - "TimingInformation": { - "target": "com.amazonaws.qldbsession#TimingInformation", - "traits": { - "smithy.api#documentation": "

Contains server-side performance information for the command.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains the details of the started session.

" - } - }, - "com.amazonaws.qldbsession#StartTransactionRequest": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "

Specifies a request to start a transaction.

" - } - }, - "com.amazonaws.qldbsession#StartTransactionResult": { - "type": "structure", - "members": { - "TransactionId": { - "target": "com.amazonaws.qldbsession#TransactionId", - "traits": { - "smithy.api#documentation": "

The transaction ID of the started transaction.

" - } - }, - "TimingInformation": { - "target": "com.amazonaws.qldbsession#TimingInformation", - "traits": { - "smithy.api#documentation": "

Contains server-side performance information for the command.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains the details of the started transaction.

" - } - }, - "com.amazonaws.qldbsession#Statement": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100000 - } - } - }, - "com.amazonaws.qldbsession#StatementParameters": { - "type": "list", - "member": { - "target": "com.amazonaws.qldbsession#ValueHolder" - } - }, - "com.amazonaws.qldbsession#TimingInformation": { - "type": "structure", - "members": { - "ProcessingTimeMilliseconds": { - "target": "com.amazonaws.qldbsession#ProcessingTimeMilliseconds", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The amount of time that QLDB spent on processing the command, measured in\n milliseconds.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains server-side performance information for a command. Amazon QLDB captures timing\n information between the times when it receives the request and when it sends the\n corresponding response.

" - } - }, - "com.amazonaws.qldbsession#TransactionId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 22, - "max": 22 - }, - "smithy.api#pattern": "^[A-Za-z-0-9]+$" - } - }, - "com.amazonaws.qldbsession#ValueHolder": { - "type": "structure", - "members": { - "IonBinary": { - "target": "com.amazonaws.qldbsession#IonBinary", - "traits": { - "smithy.api#documentation": "

An Amazon Ion binary value contained in a ValueHolder structure.

" - } - }, - "IonText": { - "target": "com.amazonaws.qldbsession#IonText", - "traits": { - "smithy.api#documentation": "

An Amazon Ion plaintext value contained in a ValueHolder structure.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A structure that can contain a value in multiple encoding formats.

" - } - }, - "com.amazonaws.qldbsession#ValueHolders": { - "type": "list", - "member": { - "target": "com.amazonaws.qldbsession#ValueHolder" - } - }, - "com.amazonaws.qldbsession#WriteIOs": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } - } - } -} diff --git a/tools/code-generation/smithy/api-descriptions/qldb.json b/tools/code-generation/smithy/api-descriptions/qldb.json deleted file mode 100644 index b952e221ca7..00000000000 --- a/tools/code-generation/smithy/api-descriptions/qldb.json +++ /dev/null @@ -1,3166 +0,0 @@ -{ - "smithy": "2.0", - "metadata": { - "suppressions": [ - { - "id": "HttpMethodSemantics", - "namespace": "*" - }, - { - "id": "HttpResponseCodeSemantics", - "namespace": "*" - }, - { - "id": "PaginatedTrait", - "namespace": "*" - }, - { - "id": "HttpHeaderTrait", - "namespace": "*" - }, - { - "id": "HttpUriConflict", - "namespace": "*" - }, - { - "id": "Service", - "namespace": "*" - } - ] - }, - "shapes": { - "com.amazonaws.qldb#AmazonQLDB": { - "type": "service", - "version": "2019-01-02", - "operations": [ - { - "target": "com.amazonaws.qldb#CancelJournalKinesisStream" - }, - { - "target": "com.amazonaws.qldb#CreateLedger" - }, - { - "target": "com.amazonaws.qldb#DeleteLedger" - }, - { - "target": "com.amazonaws.qldb#DescribeJournalKinesisStream" - }, - { - "target": "com.amazonaws.qldb#DescribeJournalS3Export" - }, - { - "target": "com.amazonaws.qldb#DescribeLedger" - }, - { - "target": "com.amazonaws.qldb#ExportJournalToS3" - }, - { - "target": "com.amazonaws.qldb#GetBlock" - }, - { - "target": "com.amazonaws.qldb#GetDigest" - }, - { - "target": "com.amazonaws.qldb#GetRevision" - }, - { - "target": "com.amazonaws.qldb#ListJournalKinesisStreamsForLedger" - }, - { - "target": "com.amazonaws.qldb#ListJournalS3Exports" - }, - { - "target": "com.amazonaws.qldb#ListJournalS3ExportsForLedger" - }, - { - "target": "com.amazonaws.qldb#ListLedgers" - }, - { - "target": "com.amazonaws.qldb#ListTagsForResource" - }, - { - "target": "com.amazonaws.qldb#StreamJournalToKinesis" - }, - { - "target": "com.amazonaws.qldb#TagResource" - }, - { - "target": "com.amazonaws.qldb#UntagResource" - }, - { - "target": "com.amazonaws.qldb#UpdateLedger" - }, - { - "target": "com.amazonaws.qldb#UpdateLedgerPermissionsMode" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "QLDB", - "arnNamespace": "qldb", - "cloudFormationName": "QLDB", - "cloudTrailEventSource": "qldb.amazonaws.com", - "endpointPrefix": "qldb" - }, - "aws.auth#sigv4": { - "name": "qldb" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

The resource management API for Amazon QLDB

", - "smithy.api#title": "Amazon QLDB", - "smithy.api#xmlNamespace": { - "uri": "http://ledger.amazonaws.com/doc/2019-01-02/" - }, - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "string" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "string" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://qldb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://qldb-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, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://qldb.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://qldb.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.eu-west-2.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://qldb.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://qldb.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" - } - } - }, - "com.amazonaws.qldb#Arn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 20, - "max": 1600 - } - } - }, - "com.amazonaws.qldb#Boolean": { - "type": "boolean" - }, - "com.amazonaws.qldb#CancelJournalKinesisStream": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#CancelJournalKinesisStreamRequest" - }, - "output": { - "target": "com.amazonaws.qldb#CancelJournalKinesisStreamResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qldb#ResourcePreconditionNotMetException" - } - ], - "traits": { - "smithy.api#documentation": "

Ends a given Amazon QLDB journal stream. Before a stream can be canceled, its current\n status must be ACTIVE.

\n

You can't restart a stream after you cancel it. Canceled QLDB stream resources are\n subject to a 7-day retention period, so they are automatically deleted after this limit\n expires.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/ledgers/{LedgerName}/journal-kinesis-streams/{StreamId}", - "code": 200 - } - } - }, - "com.amazonaws.qldb#CancelJournalKinesisStreamRequest": { - "type": "structure", - "members": { - "LedgerName": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StreamId": { - "target": "com.amazonaws.qldb#UniqueId", - "traits": { - "smithy.api#documentation": "

The UUID (represented in Base62-encoded text) of the QLDB journal stream to be\n canceled.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#CancelJournalKinesisStreamResponse": { - "type": "structure", - "members": { - "StreamId": { - "target": "com.amazonaws.qldb#UniqueId", - "traits": { - "smithy.api#documentation": "

The UUID (Base62-encoded text) of the canceled QLDB journal stream.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#CreateLedger": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#CreateLedgerRequest" - }, - "output": { - "target": "com.amazonaws.qldb#CreateLedgerResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#LimitExceededException" - }, - { - "target": "com.amazonaws.qldb#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.qldb#ResourceInUseException" - } - ], - "traits": { - "smithy.api#documentation": "

Creates a new ledger in your Amazon Web Services account in the current Region.

", - "smithy.api#http": { - "method": "POST", - "uri": "/ledgers", - "code": 200 - } - } - }, - "com.amazonaws.qldb#CreateLedgerRequest": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger that you want to create. The name must be unique among all of the\n ledgers in your Amazon Web Services account in the current Region.

\n

Naming constraints for ledger names are defined in Quotas in Amazon QLDB\n in the Amazon QLDB Developer Guide.

", - "smithy.api#required": {} - } - }, - "Tags": { - "target": "com.amazonaws.qldb#Tags", - "traits": { - "smithy.api#documentation": "

The key-value pairs to add as tags to the ledger that you want to create. Tag keys are\n case sensitive. Tag values are case sensitive and can be null.

" - } - }, - "PermissionsMode": { - "target": "com.amazonaws.qldb#PermissionsMode", - "traits": { - "smithy.api#documentation": "

The permissions mode to assign to the ledger that you want to create. This parameter can\n have one of the following values:

\n
    \n
  • \n

    \n ALLOW_ALL: A legacy permissions mode that enables access control with\n API-level granularity for ledgers.

    \n

    This mode allows users who have the SendCommand API permission for\n this ledger to run all PartiQL commands (hence, ALLOW_ALL) on any tables\n in the specified ledger. This mode disregards any table-level or command-level IAM\n permissions policies that you create for the ledger.

    \n
  • \n
  • \n

    \n STANDARD: (Recommended) A permissions mode that\n enables access control with finer granularity for ledgers, tables, and PartiQL\n commands.

    \n

    By default, this mode denies all user requests to run any PartiQL commands on any\n tables in this ledger. To allow PartiQL commands to run, you must create IAM\n permissions policies for specific table resources and PartiQL actions, in addition to\n the SendCommand API permission for the ledger. For information, see\n Getting\n started with the standard permissions mode in the Amazon QLDB\n Developer Guide.

    \n
  • \n
\n \n

We strongly recommend using the STANDARD permissions mode to maximize\n the security of your ledger data.

\n
", - "smithy.api#required": {} - } - }, - "DeletionProtection": { - "target": "com.amazonaws.qldb#DeletionProtection", - "traits": { - "smithy.api#documentation": "

Specifies whether the ledger is protected from being deleted by any user. If not defined during\n ledger creation, this feature is enabled (true) by default.

\n

If deletion protection is enabled, you must first disable it before you can delete the\n ledger. You can disable it by calling the UpdateLedger operation to set this parameter to false.

" - } - }, - "KmsKey": { - "target": "com.amazonaws.qldb#KmsKey", - "traits": { - "smithy.api#documentation": "

The key in Key Management Service (KMS) to use for encryption of data at rest in the ledger. For\n more information, see Encryption at rest in\n the Amazon QLDB Developer Guide.

\n

Use one of the following options to specify this parameter:

\n
    \n
  • \n

    \n AWS_OWNED_KMS_KEY: Use an KMS key that is owned and managed by Amazon Web Services\n on your behalf.

    \n
  • \n
  • \n

    \n Undefined: By default, use an Amazon Web Services owned KMS\n key.

    \n
  • \n
  • \n

    \n A valid symmetric customer managed KMS key: Use\n the specified symmetric encryption KMS key in your account that you create, own, and\n manage.

    \n

    Amazon QLDB does not support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer\n Guide.

    \n
  • \n
\n

To specify a customer managed KMS key, you can use its key ID, Amazon Resource Name\n (ARN), alias name, or alias ARN. When using an alias name, prefix it with\n \"alias/\". To specify a key in a different Amazon Web Services account, you must use the key\n ARN or alias ARN.

\n

For example:

\n
    \n
  • \n

    Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab\n

    \n
  • \n
  • \n

    Key ARN:\n arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab\n

    \n
  • \n
  • \n

    Alias name: alias/ExampleAlias\n

    \n
  • \n
  • \n

    Alias ARN:\n arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias\n

    \n
  • \n
\n

For more information, see Key identifiers (KeyId) in\n the Key Management Service Developer Guide.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#CreateLedgerResponse": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

" - } - }, - "Arn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the ledger.

" - } - }, - "State": { - "target": "com.amazonaws.qldb#LedgerState", - "traits": { - "smithy.api#documentation": "

The current status of the ledger.

" - } - }, - "CreationDateTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The date and time, in epoch time format, when the ledger was created. (Epoch time format\n is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

" - } - }, - "PermissionsMode": { - "target": "com.amazonaws.qldb#PermissionsMode", - "traits": { - "smithy.api#documentation": "

The permissions mode of the ledger that you created.

" - } - }, - "DeletionProtection": { - "target": "com.amazonaws.qldb#DeletionProtection", - "traits": { - "smithy.api#documentation": "

Specifies whether the ledger is protected from being deleted by any user. If not defined during\n ledger creation, this feature is enabled (true) by default.

\n

If deletion protection is enabled, you must first disable it before you can delete the\n ledger. You can disable it by calling the UpdateLedger operation to set this parameter to false.

" - } - }, - "KmsKeyArn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The ARN of the customer managed KMS key that the ledger uses for encryption at rest. If\n this parameter is undefined, the ledger uses an Amazon Web Services owned KMS key for encryption.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#DeleteLedger": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#DeleteLedgerRequest" - }, - "output": { - "target": "smithy.api#Unit" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#ResourceInUseException" - }, - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qldb#ResourcePreconditionNotMetException" - } - ], - "traits": { - "smithy.api#documentation": "

Deletes a ledger and all of its contents. This action is irreversible.

\n

If deletion protection is enabled, you must first disable it before you can delete the\n ledger. You can disable it by calling the UpdateLedger operation to set this parameter to false.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/ledgers/{Name}", - "code": 200 - } - } - }, - "com.amazonaws.qldb#DeleteLedgerRequest": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger that you want to delete.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#DeletionProtection": { - "type": "boolean" - }, - "com.amazonaws.qldb#DescribeJournalKinesisStream": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#DescribeJournalKinesisStreamRequest" - }, - "output": { - "target": "com.amazonaws.qldb#DescribeJournalKinesisStreamResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qldb#ResourcePreconditionNotMetException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns detailed information about a given Amazon QLDB journal stream. The output\n includes the Amazon Resource Name (ARN), stream name, current status, creation time, and\n the parameters of the original stream creation request.

\n

This action does not return any expired journal streams. For more information, see\n Expiration for terminal streams in the Amazon QLDB Developer\n Guide.

", - "smithy.api#http": { - "method": "GET", - "uri": "/ledgers/{LedgerName}/journal-kinesis-streams/{StreamId}", - "code": 200 - } - } - }, - "com.amazonaws.qldb#DescribeJournalKinesisStreamRequest": { - "type": "structure", - "members": { - "LedgerName": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "StreamId": { - "target": "com.amazonaws.qldb#UniqueId", - "traits": { - "smithy.api#documentation": "

The UUID (represented in Base62-encoded text) of the QLDB journal stream to\n describe.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#DescribeJournalKinesisStreamResponse": { - "type": "structure", - "members": { - "Stream": { - "target": "com.amazonaws.qldb#JournalKinesisStreamDescription", - "traits": { - "smithy.api#documentation": "

Information about the QLDB journal stream returned by a\n DescribeJournalS3Export request.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#DescribeJournalS3Export": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#DescribeJournalS3ExportRequest" - }, - "output": { - "target": "com.amazonaws.qldb#DescribeJournalS3ExportResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns information about a journal export job, including the ledger name, export ID,\n creation time, current status, and the parameters of the original export creation\n request.

\n

This action does not return any expired export jobs. For more information, see Export job expiration in the Amazon QLDB Developer\n Guide.

\n

If the export job with the given ExportId doesn't exist, then throws\n ResourceNotFoundException.

\n

If the ledger with the given Name doesn't exist, then throws\n ResourceNotFoundException.

", - "smithy.api#http": { - "method": "GET", - "uri": "/ledgers/{Name}/journal-s3-exports/{ExportId}", - "code": 200 - } - } - }, - "com.amazonaws.qldb#DescribeJournalS3ExportRequest": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "ExportId": { - "target": "com.amazonaws.qldb#UniqueId", - "traits": { - "smithy.api#documentation": "

The UUID (represented in Base62-encoded text) of the journal export job to\n describe.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#DescribeJournalS3ExportResponse": { - "type": "structure", - "members": { - "ExportDescription": { - "target": "com.amazonaws.qldb#JournalS3ExportDescription", - "traits": { - "smithy.api#documentation": "

Information about the journal export job returned by a\n DescribeJournalS3Export request.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#DescribeLedger": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#DescribeLedgerRequest" - }, - "output": { - "target": "com.amazonaws.qldb#DescribeLedgerResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns information about a ledger, including its state, permissions mode, encryption at\n rest settings, and when it was created.

", - "smithy.api#http": { - "method": "GET", - "uri": "/ledgers/{Name}", - "code": 200 - } - } - }, - "com.amazonaws.qldb#DescribeLedgerRequest": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger that you want to describe.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#DescribeLedgerResponse": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

" - } - }, - "Arn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the ledger.

" - } - }, - "State": { - "target": "com.amazonaws.qldb#LedgerState", - "traits": { - "smithy.api#documentation": "

The current status of the ledger.

" - } - }, - "CreationDateTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The date and time, in epoch time format, when the ledger was created. (Epoch time format\n is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

" - } - }, - "PermissionsMode": { - "target": "com.amazonaws.qldb#PermissionsMode", - "traits": { - "smithy.api#documentation": "

The permissions mode of the ledger.

" - } - }, - "DeletionProtection": { - "target": "com.amazonaws.qldb#DeletionProtection", - "traits": { - "smithy.api#documentation": "

Specifies whether the ledger is protected from being deleted by any user. If not defined during\n ledger creation, this feature is enabled (true) by default.

\n

If deletion protection is enabled, you must first disable it before you can delete the\n ledger. You can disable it by calling the UpdateLedger operation to set this parameter to false.

" - } - }, - "EncryptionDescription": { - "target": "com.amazonaws.qldb#LedgerEncryptionDescription", - "traits": { - "smithy.api#documentation": "

Information about the encryption of data at rest in the ledger. This includes the\n current status, the KMS key, and when the key became inaccessible (in the case of an\n error). If this parameter is undefined, the ledger uses an Amazon Web Services owned KMS key for encryption.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#Digest": { - "type": "blob", - "traits": { - "smithy.api#length": { - "min": 32, - "max": 32 - } - } - }, - "com.amazonaws.qldb#EncryptionStatus": { - "type": "enum", - "members": { - "ENABLED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ENABLED" - } - }, - "UPDATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UPDATING" - } - }, - "KMS_KEY_INACCESSIBLE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "KMS_KEY_INACCESSIBLE" - } - } - } - }, - "com.amazonaws.qldb#ErrorCause": { - "type": "enum", - "members": { - "KINESIS_STREAM_NOT_FOUND": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "KINESIS_STREAM_NOT_FOUND" - } - }, - "IAM_PERMISSION_REVOKED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "IAM_PERMISSION_REVOKED" - } - } - } - }, - "com.amazonaws.qldb#ErrorMessage": { - "type": "string" - }, - "com.amazonaws.qldb#ExportJournalToS3": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#ExportJournalToS3Request" - }, - "output": { - "target": "com.amazonaws.qldb#ExportJournalToS3Response" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qldb#ResourcePreconditionNotMetException" - } - ], - "traits": { - "smithy.api#documentation": "

Exports journal contents within a date and time range from a ledger into a specified\n Amazon Simple Storage Service (Amazon S3) bucket. A journal export job can write the data objects in either the text\n or binary representation of Amazon Ion format, or in JSON Lines text\n format.

\n

If the ledger with the given Name doesn't exist, then throws\n ResourceNotFoundException.

\n

If the ledger with the given Name is in CREATING status, then\n throws ResourcePreconditionNotMetException.

\n

You can initiate up to two concurrent journal export requests for each ledger. Beyond\n this limit, journal export requests throw LimitExceededException.

", - "smithy.api#http": { - "method": "POST", - "uri": "/ledgers/{Name}/journal-s3-exports", - "code": 200 - } - } - }, - "com.amazonaws.qldb#ExportJournalToS3Request": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "InclusiveStartTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The inclusive start date and time for the range of journal contents to export.

\n

The InclusiveStartTime must be in ISO 8601 date and time\n format and in Universal Coordinated Time (UTC). For example:\n 2019-06-13T21:36:34Z.

\n

The InclusiveStartTime must be before ExclusiveEndTime.

\n

If you provide an InclusiveStartTime that is before the ledger's\n CreationDateTime, Amazon QLDB defaults it to the ledger's\n CreationDateTime.

", - "smithy.api#required": {} - } - }, - "ExclusiveEndTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The exclusive end date and time for the range of journal contents to export.

\n

The ExclusiveEndTime must be in ISO 8601 date and time format\n and in Universal Coordinated Time (UTC). For example:\n 2019-06-13T21:36:34Z.

\n

The ExclusiveEndTime must be less than or equal to the current UTC date and\n time.

", - "smithy.api#required": {} - } - }, - "S3ExportConfiguration": { - "target": "com.amazonaws.qldb#S3ExportConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration settings of the Amazon S3 bucket destination for your export\n request.

", - "smithy.api#required": {} - } - }, - "RoleArn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a\n journal export job to do the following:

\n
    \n
  • \n

    Write objects into your Amazon S3 bucket.

    \n
  • \n
  • \n

    (Optional) Use your customer managed key in Key Management Service (KMS) for server-side\n encryption of your exported data.

    \n
  • \n
\n

To pass a role to QLDB when requesting a journal export, you must have permissions to\n perform the iam:PassRole action on the IAM role resource. This is required for\n all journal export requests.

", - "smithy.api#required": {} - } - }, - "OutputFormat": { - "target": "com.amazonaws.qldb#OutputFormat", - "traits": { - "smithy.api#documentation": "

The output format of your exported journal data. A journal export job can write the data\n objects in either the text or binary representation of Amazon Ion format, or in JSON Lines text format.

\n

Default: ION_TEXT\n

\n

In JSON Lines format, each journal block in an exported data object is a valid JSON\n object that is delimited by a newline. You can use this format to directly integrate JSON\n exports with analytics tools such as Amazon Athena and Glue\n because these services can parse newline-delimited JSON automatically.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#ExportJournalToS3Response": { - "type": "structure", - "members": { - "ExportId": { - "target": "com.amazonaws.qldb#UniqueId", - "traits": { - "smithy.api#documentation": "

The UUID (represented in Base62-encoded text) that QLDB assigns to each journal export\n job.

\n

To describe your export request and check the status of the job, you can use\n ExportId to call DescribeJournalS3Export.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#ExportStatus": { - "type": "enum", - "members": { - "IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "IN_PROGRESS" - } - }, - "COMPLETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "COMPLETED" - } - }, - "CANCELLED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CANCELLED" - } - } - } - }, - "com.amazonaws.qldb#GetBlock": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#GetBlockRequest" - }, - "output": { - "target": "com.amazonaws.qldb#GetBlockResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qldb#ResourcePreconditionNotMetException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns a block object at a specified address in a journal. Also returns a proof of the\n specified block for verification if DigestTipAddress is provided.

\n

For information about the data contents in a block, see Journal contents in the\n Amazon QLDB Developer Guide.

\n

If the specified ledger doesn't exist or is in DELETING status, then throws\n ResourceNotFoundException.

\n

If the specified ledger is in CREATING status, then throws\n ResourcePreconditionNotMetException.

\n

If no block exists with the specified address, then throws\n InvalidParameterException.

", - "smithy.api#http": { - "method": "POST", - "uri": "/ledgers/{Name}/block", - "code": 200 - } - } - }, - "com.amazonaws.qldb#GetBlockRequest": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "BlockAddress": { - "target": "com.amazonaws.qldb#ValueHolder", - "traits": { - "smithy.api#documentation": "

The location of the block that you want to request. An address is an Amazon Ion\n structure that has two fields: strandId and sequenceNo.

\n

For example: {strandId:\"BlFTjlSXze9BIh1KOszcE3\",sequenceNo:14}.

", - "smithy.api#required": {} - } - }, - "DigestTipAddress": { - "target": "com.amazonaws.qldb#ValueHolder", - "traits": { - "smithy.api#documentation": "

The latest block location covered by the digest for which to request a proof. An address\n is an Amazon Ion structure that has two fields: strandId and\n sequenceNo.

\n

For example: {strandId:\"BlFTjlSXze9BIh1KOszcE3\",sequenceNo:49}.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#GetBlockResponse": { - "type": "structure", - "members": { - "Block": { - "target": "com.amazonaws.qldb#ValueHolder", - "traits": { - "smithy.api#documentation": "

The block data object in Amazon Ion format.

", - "smithy.api#required": {} - } - }, - "Proof": { - "target": "com.amazonaws.qldb#ValueHolder", - "traits": { - "smithy.api#documentation": "

The proof object in Amazon Ion format returned by a GetBlock request. A\n proof contains the list of hash values required to recalculate the specified digest using a\n Merkle tree, starting with the specified block.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#GetDigest": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#GetDigestRequest" - }, - "output": { - "target": "com.amazonaws.qldb#GetDigestResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qldb#ResourcePreconditionNotMetException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns the digest of a ledger at the latest committed block in the journal. The\n response includes a 256-bit hash value and a block address.

", - "smithy.api#http": { - "method": "POST", - "uri": "/ledgers/{Name}/digest", - "code": 200 - } - } - }, - "com.amazonaws.qldb#GetDigestRequest": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#GetDigestResponse": { - "type": "structure", - "members": { - "Digest": { - "target": "com.amazonaws.qldb#Digest", - "traits": { - "smithy.api#documentation": "

The 256-bit hash value representing the digest returned by a GetDigest\n request.

", - "smithy.api#required": {} - } - }, - "DigestTipAddress": { - "target": "com.amazonaws.qldb#ValueHolder", - "traits": { - "smithy.api#documentation": "

The latest block location covered by the digest that you requested. An address is an\n Amazon Ion structure that has two fields: strandId and\n sequenceNo.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#GetRevision": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#GetRevisionRequest" - }, - "output": { - "target": "com.amazonaws.qldb#GetRevisionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qldb#ResourcePreconditionNotMetException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns a revision data object for a specified document ID and block address. Also\n returns a proof of the specified revision for verification if DigestTipAddress\n is provided.

", - "smithy.api#http": { - "method": "POST", - "uri": "/ledgers/{Name}/revision", - "code": 200 - } - } - }, - "com.amazonaws.qldb#GetRevisionRequest": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "BlockAddress": { - "target": "com.amazonaws.qldb#ValueHolder", - "traits": { - "smithy.api#documentation": "

The block location of the document revision to be verified. An address is an Amazon Ion\n structure that has two fields: strandId and sequenceNo.

\n

For example: {strandId:\"BlFTjlSXze9BIh1KOszcE3\",sequenceNo:14}.

", - "smithy.api#required": {} - } - }, - "DocumentId": { - "target": "com.amazonaws.qldb#UniqueId", - "traits": { - "smithy.api#documentation": "

The UUID (represented in Base62-encoded text) of the document to be verified.

", - "smithy.api#required": {} - } - }, - "DigestTipAddress": { - "target": "com.amazonaws.qldb#ValueHolder", - "traits": { - "smithy.api#documentation": "

The latest block location covered by the digest for which to request a proof. An address\n is an Amazon Ion structure that has two fields: strandId and\n sequenceNo.

\n

For example: {strandId:\"BlFTjlSXze9BIh1KOszcE3\",sequenceNo:49}.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#GetRevisionResponse": { - "type": "structure", - "members": { - "Proof": { - "target": "com.amazonaws.qldb#ValueHolder", - "traits": { - "smithy.api#documentation": "

The proof object in Amazon Ion format returned by a GetRevision request. A\n proof contains the list of hash values that are required to recalculate the specified\n digest using a Merkle tree, starting with the specified document revision.

" - } - }, - "Revision": { - "target": "com.amazonaws.qldb#ValueHolder", - "traits": { - "smithy.api#documentation": "

The document revision data object in Amazon Ion format.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#InvalidParameterException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.qldb#ErrorMessage" - }, - "ParameterName": { - "target": "com.amazonaws.qldb#ParameterName", - "traits": { - "smithy.api#documentation": "

The name of the invalid parameter.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

One or more parameters in the request aren't valid.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.qldb#IonText": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1048576 - }, - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.qldb#JournalKinesisStreamDescription": { - "type": "structure", - "members": { - "LedgerName": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

", - "smithy.api#required": {} - } - }, - "CreationTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The date and time, in epoch time format, when the QLDB journal stream was created.\n (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970\n UTC.)

" - } - }, - "InclusiveStartTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The inclusive start date and time from which to start streaming journal data.

" - } - }, - "ExclusiveEndTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The exclusive date and time that specifies when the stream ends. If this parameter is\n undefined, the stream runs indefinitely until you cancel it.

" - } - }, - "RoleArn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a\n journal stream to write data records to a Kinesis Data Streams resource.

", - "smithy.api#required": {} - } - }, - "StreamId": { - "target": "com.amazonaws.qldb#UniqueId", - "traits": { - "smithy.api#documentation": "

The UUID (represented in Base62-encoded text) of the QLDB journal stream.

", - "smithy.api#required": {} - } - }, - "Arn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the QLDB journal stream.

" - } - }, - "Status": { - "target": "com.amazonaws.qldb#StreamStatus", - "traits": { - "smithy.api#documentation": "

The current state of the QLDB journal stream.

", - "smithy.api#required": {} - } - }, - "KinesisConfiguration": { - "target": "com.amazonaws.qldb#KinesisConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration settings of the Amazon Kinesis Data Streams destination for a QLDB journal\n stream.

", - "smithy.api#required": {} - } - }, - "ErrorCause": { - "target": "com.amazonaws.qldb#ErrorCause", - "traits": { - "smithy.api#documentation": "

The error message that describes the reason that a stream has a status of\n IMPAIRED or FAILED. This is not applicable to streams that\n have other status values.

" - } - }, - "StreamName": { - "target": "com.amazonaws.qldb#StreamName", - "traits": { - "smithy.api#documentation": "

The user-defined name of the QLDB journal stream.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about an Amazon QLDB journal stream, including the Amazon Resource Name\n (ARN), stream name, creation time, current status, and the parameters of the original\n stream creation request.

" - } - }, - "com.amazonaws.qldb#JournalKinesisStreamDescriptionList": { - "type": "list", - "member": { - "target": "com.amazonaws.qldb#JournalKinesisStreamDescription" - } - }, - "com.amazonaws.qldb#JournalS3ExportDescription": { - "type": "structure", - "members": { - "LedgerName": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

", - "smithy.api#required": {} - } - }, - "ExportId": { - "target": "com.amazonaws.qldb#UniqueId", - "traits": { - "smithy.api#documentation": "

The UUID (represented in Base62-encoded text) of the journal export job.

", - "smithy.api#required": {} - } - }, - "ExportCreationTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The date and time, in epoch time format, when the export job was created. (Epoch time\n format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

", - "smithy.api#required": {} - } - }, - "Status": { - "target": "com.amazonaws.qldb#ExportStatus", - "traits": { - "smithy.api#documentation": "

The current state of the journal export job.

", - "smithy.api#required": {} - } - }, - "InclusiveStartTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The inclusive start date and time for the range of journal contents that was specified\n in the original export request.

", - "smithy.api#required": {} - } - }, - "ExclusiveEndTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The exclusive end date and time for the range of journal contents that was specified in\n the original export request.

", - "smithy.api#required": {} - } - }, - "S3ExportConfiguration": { - "target": "com.amazonaws.qldb#S3ExportConfiguration", - "traits": { - "smithy.api#required": {} - } - }, - "RoleArn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a\n journal export job to do the following:

\n
    \n
  • \n

    Write objects into your Amazon Simple Storage Service (Amazon S3) bucket.

    \n
  • \n
  • \n

    (Optional) Use your customer managed key in Key Management Service (KMS) for server-side\n encryption of your exported data.

    \n
  • \n
", - "smithy.api#required": {} - } - }, - "OutputFormat": { - "target": "com.amazonaws.qldb#OutputFormat", - "traits": { - "smithy.api#documentation": "

The output format of the exported journal data.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a journal export job, including the ledger name, export ID, creation\n time, current status, and the parameters of the original export creation request.

" - } - }, - "com.amazonaws.qldb#JournalS3ExportList": { - "type": "list", - "member": { - "target": "com.amazonaws.qldb#JournalS3ExportDescription" - } - }, - "com.amazonaws.qldb#KinesisConfiguration": { - "type": "structure", - "members": { - "StreamArn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Kinesis Data Streams resource.

", - "smithy.api#required": {} - } - }, - "AggregationEnabled": { - "target": "com.amazonaws.qldb#Boolean", - "traits": { - "smithy.api#documentation": "

Enables QLDB to publish multiple data records in a single Kinesis Data Streams record, increasing the\n number of records sent per API call.

\n

Default: True\n

\n \n

Record aggregation has important implications for processing records and requires\n de-aggregation in your stream consumer. To learn more, see KPL Key Concepts and\n Consumer\n De-aggregation in the Amazon Kinesis Data Streams Developer Guide.

\n
" - } - } - }, - "traits": { - "smithy.api#documentation": "

The configuration settings of the Amazon Kinesis Data Streams destination for an Amazon QLDB journal\n stream.

" - } - }, - "com.amazonaws.qldb#KmsKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1600 - } - } - }, - "com.amazonaws.qldb#LedgerEncryptionDescription": { - "type": "structure", - "members": { - "KmsKeyArn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the customer managed KMS key that the ledger uses for\n encryption at rest. If this parameter is undefined, the ledger uses an Amazon Web Services owned KMS key\n for encryption. It will display AWS_OWNED_KMS_KEY when updating the ledger's encryption configuration to the Amazon Web Services owned KMS key.

", - "smithy.api#required": {} - } - }, - "EncryptionStatus": { - "target": "com.amazonaws.qldb#EncryptionStatus", - "traits": { - "smithy.api#documentation": "

The current state of encryption at rest for the ledger. This can be one of the following\n values:

\n
    \n
  • \n

    \n ENABLED: Encryption is fully enabled using the specified key.

    \n
  • \n
  • \n

    \n UPDATING: The ledger is actively processing the specified key\n change.

    \n

    Key changes in QLDB are asynchronous. The ledger is fully accessible without any\n performance impact while the key change is being processed. The amount of time it\n takes to update a key varies depending on the ledger size.

    \n
  • \n
  • \n

    \n KMS_KEY_INACCESSIBLE: The specified customer managed KMS key is not\n accessible, and the ledger is impaired. Either the key was disabled or deleted, or\n the grants on the key were revoked. When a ledger is impaired, it is not accessible\n and does not accept any read or write requests.

    \n

    An impaired ledger automatically returns to an active state after you restore the\n grants on the key, or re-enable the key that was disabled. However, deleting a\n customer managed KMS key is irreversible. After a key is deleted, you can no longer\n access the ledgers that are protected with that key, and the data becomes\n unrecoverable permanently.

    \n
  • \n
", - "smithy.api#required": {} - } - }, - "InaccessibleKmsKeyDateTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The date and time, in epoch time format, when the KMS key first became inaccessible,\n in the case of an error. (Epoch time format is the number of seconds that have elapsed\n since 12:00:00 AM January 1, 1970 UTC.)

\n

This parameter is undefined if the KMS key is accessible.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about the encryption of data at rest in an Amazon QLDB ledger. This includes\n the current status, the key in Key Management Service (KMS), and when the key became inaccessible (in\n the case of an error).

\n

For more information, see Encryption at rest in\n the Amazon QLDB Developer Guide.

" - } - }, - "com.amazonaws.qldb#LedgerList": { - "type": "list", - "member": { - "target": "com.amazonaws.qldb#LedgerSummary" - } - }, - "com.amazonaws.qldb#LedgerName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 32 - }, - "smithy.api#pattern": "^(?!^.*--)(?!^[0-9]+$)(?!^-)(?!.*-$)^[A-Za-z0-9-]+$" - } - }, - "com.amazonaws.qldb#LedgerState": { - "type": "enum", - "members": { - "CREATING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CREATING" - } - }, - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVE" - } - }, - "DELETING": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETING" - } - }, - "DELETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DELETED" - } - } - } - }, - "com.amazonaws.qldb#LedgerSummary": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

" - } - }, - "State": { - "target": "com.amazonaws.qldb#LedgerState", - "traits": { - "smithy.api#documentation": "

The current status of the ledger.

" - } - }, - "CreationDateTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The date and time, in epoch time format, when the ledger was created. (Epoch time format\n is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a ledger, including its name, state, and when it was created.

" - } - }, - "com.amazonaws.qldb#LimitExceededException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.qldb#ErrorMessage" - }, - "ResourceType": { - "target": "com.amazonaws.qldb#ResourceType", - "traits": { - "smithy.api#documentation": "

The type of resource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

You have reached the limit on the maximum number of resources allowed.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.qldb#ListJournalKinesisStreamsForLedger": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#ListJournalKinesisStreamsForLedgerRequest" - }, - "output": { - "target": "com.amazonaws.qldb#ListJournalKinesisStreamsForLedgerResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qldb#ResourcePreconditionNotMetException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns all Amazon QLDB journal streams for a given ledger.

\n

This action does not return any expired journal streams. For more information, see\n Expiration for terminal streams in the Amazon QLDB Developer\n Guide.

\n

This action returns a maximum of MaxResults items. It is paginated so that\n you can retrieve all the items by calling ListJournalKinesisStreamsForLedger\n multiple times.

", - "smithy.api#http": { - "method": "GET", - "uri": "/ledgers/{LedgerName}/journal-kinesis-streams", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.qldb#ListJournalKinesisStreamsForLedgerRequest": { - "type": "structure", - "members": { - "LedgerName": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.qldb#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single\n ListJournalKinesisStreamsForLedger request. (The actual number of results\n returned might be fewer.)

", - "smithy.api#httpQuery": "max_results" - } - }, - "NextToken": { - "target": "com.amazonaws.qldb#NextToken", - "traits": { - "smithy.api#documentation": "

A pagination token, indicating that you want to retrieve the next page of results. If\n you received a value for NextToken in the response from a previous\n ListJournalKinesisStreamsForLedger call, you should use that value as input\n here.

", - "smithy.api#httpQuery": "next_token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#ListJournalKinesisStreamsForLedgerResponse": { - "type": "structure", - "members": { - "Streams": { - "target": "com.amazonaws.qldb#JournalKinesisStreamDescriptionList", - "traits": { - "smithy.api#documentation": "

The QLDB journal streams that are currently associated with the given ledger.

" - } - }, - "NextToken": { - "target": "com.amazonaws.qldb#NextToken", - "traits": { - "smithy.api#documentation": "
    \n
  • \n

    If NextToken is empty, the last page of results has been processed\n and there are no more results to be retrieved.

    \n
  • \n
  • \n

    If NextToken is not empty, more results are\n available. To retrieve the next page of results, use the value of\n NextToken in a subsequent\n ListJournalKinesisStreamsForLedger call.

    \n
  • \n
" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#ListJournalS3Exports": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#ListJournalS3ExportsRequest" - }, - "output": { - "target": "com.amazonaws.qldb#ListJournalS3ExportsResponse" - }, - "traits": { - "smithy.api#documentation": "

Returns all journal export jobs for all ledgers that are associated with the current\n Amazon Web Services account and Region.

\n

This action returns a maximum of MaxResults items, and is paginated so that\n you can retrieve all the items by calling ListJournalS3Exports multiple\n times.

\n

This action does not return any expired export jobs. For more information, see Export job expiration in the Amazon QLDB Developer\n Guide.

", - "smithy.api#http": { - "method": "GET", - "uri": "/journal-s3-exports", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.qldb#ListJournalS3ExportsForLedger": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#ListJournalS3ExportsForLedgerRequest" - }, - "output": { - "target": "com.amazonaws.qldb#ListJournalS3ExportsForLedgerResponse" - }, - "traits": { - "smithy.api#documentation": "

Returns all journal export jobs for a specified ledger.

\n

This action returns a maximum of MaxResults items, and is paginated so that\n you can retrieve all the items by calling ListJournalS3ExportsForLedger\n multiple times.

\n

This action does not return any expired export jobs. For more information, see Export job expiration in the Amazon QLDB Developer\n Guide.

", - "smithy.api#http": { - "method": "GET", - "uri": "/ledgers/{Name}/journal-s3-exports", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.qldb#ListJournalS3ExportsForLedgerRequest": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "MaxResults": { - "target": "com.amazonaws.qldb#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single\n ListJournalS3ExportsForLedger request. (The actual number of results\n returned might be fewer.)

", - "smithy.api#httpQuery": "max_results" - } - }, - "NextToken": { - "target": "com.amazonaws.qldb#NextToken", - "traits": { - "smithy.api#documentation": "

A pagination token, indicating that you want to retrieve the next page of results. If\n you received a value for NextToken in the response from a previous\n ListJournalS3ExportsForLedger call, then you should use that value as input\n here.

", - "smithy.api#httpQuery": "next_token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#ListJournalS3ExportsForLedgerResponse": { - "type": "structure", - "members": { - "JournalS3Exports": { - "target": "com.amazonaws.qldb#JournalS3ExportList", - "traits": { - "smithy.api#documentation": "

The journal export jobs that are currently associated with the specified ledger.

" - } - }, - "NextToken": { - "target": "com.amazonaws.qldb#NextToken", - "traits": { - "smithy.api#documentation": "
    \n
  • \n

    If NextToken is empty, then the last page of results has been\n processed and there are no more results to be retrieved.

    \n
  • \n
  • \n

    If NextToken is not empty, then there are more\n results available. To retrieve the next page of results, use the value of\n NextToken in a subsequent ListJournalS3ExportsForLedger\n call.

    \n
  • \n
" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#ListJournalS3ExportsRequest": { - "type": "structure", - "members": { - "MaxResults": { - "target": "com.amazonaws.qldb#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single ListJournalS3Exports\n request. (The actual number of results returned might be fewer.)

", - "smithy.api#httpQuery": "max_results" - } - }, - "NextToken": { - "target": "com.amazonaws.qldb#NextToken", - "traits": { - "smithy.api#documentation": "

A pagination token, indicating that you want to retrieve the next page of results. If\n you received a value for NextToken in the response from a previous\n ListJournalS3Exports call, then you should use that value as input\n here.

", - "smithy.api#httpQuery": "next_token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#ListJournalS3ExportsResponse": { - "type": "structure", - "members": { - "JournalS3Exports": { - "target": "com.amazonaws.qldb#JournalS3ExportList", - "traits": { - "smithy.api#documentation": "

The journal export jobs for all ledgers that are associated with the current\n Amazon Web Services account and Region.

" - } - }, - "NextToken": { - "target": "com.amazonaws.qldb#NextToken", - "traits": { - "smithy.api#documentation": "
    \n
  • \n

    If NextToken is empty, then the last page of results has been\n processed and there are no more results to be retrieved.

    \n
  • \n
  • \n

    If NextToken is not empty, then there are more\n results available. To retrieve the next page of results, use the value of\n NextToken in a subsequent ListJournalS3Exports\n call.

    \n
  • \n
" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#ListLedgers": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#ListLedgersRequest" - }, - "output": { - "target": "com.amazonaws.qldb#ListLedgersResponse" - }, - "traits": { - "smithy.api#documentation": "

Returns all ledgers that are associated with the current Amazon Web Services account and\n Region.

\n

This action returns a maximum of MaxResults items and is paginated so that\n you can retrieve all the items by calling ListLedgers multiple times.

", - "smithy.api#http": { - "method": "GET", - "uri": "/ledgers", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.qldb#ListLedgersRequest": { - "type": "structure", - "members": { - "MaxResults": { - "target": "com.amazonaws.qldb#MaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single ListLedgers request.\n (The actual number of results returned might be fewer.)

", - "smithy.api#httpQuery": "max_results" - } - }, - "NextToken": { - "target": "com.amazonaws.qldb#NextToken", - "traits": { - "smithy.api#documentation": "

A pagination token, indicating that you want to retrieve the next page of results. If\n you received a value for NextToken in the response from a previous\n ListLedgers call, then you should use that value as input here.

", - "smithy.api#httpQuery": "next_token" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#ListLedgersResponse": { - "type": "structure", - "members": { - "Ledgers": { - "target": "com.amazonaws.qldb#LedgerList", - "traits": { - "smithy.api#documentation": "

The ledgers that are associated with the current Amazon Web Services account and Region.

" - } - }, - "NextToken": { - "target": "com.amazonaws.qldb#NextToken", - "traits": { - "smithy.api#documentation": "

A pagination token, indicating whether there are more results available:

\n
    \n
  • \n

    If NextToken is empty, then the last page of results has been\n processed and there are no more results to be retrieved.

    \n
  • \n
  • \n

    If NextToken is not empty, then there are more\n results available. To retrieve the next page of results, use the value of\n NextToken in a subsequent ListLedgers call.

    \n
  • \n
" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#ListTagsForResourceRequest" - }, - "output": { - "target": "com.amazonaws.qldb#ListTagsForResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns all tags for a specified Amazon QLDB resource.

", - "smithy.api#http": { - "method": "GET", - "uri": "/tags/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.qldb#ListTagsForResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for which to list the tags. For example:

\n

\n arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger\n

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#ListTagsForResourceResponse": { - "type": "structure", - "members": { - "Tags": { - "target": "com.amazonaws.qldb#Tags", - "traits": { - "smithy.api#documentation": "

The tags that are currently associated with the specified Amazon QLDB resource.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.qldb#NextToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 4, - "max": 1024 - }, - "smithy.api#pattern": "^[A-Za-z-0-9+/=]+$" - } - }, - "com.amazonaws.qldb#OutputFormat": { - "type": "enum", - "members": { - "ION_BINARY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ION_BINARY" - } - }, - "ION_TEXT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ION_TEXT" - } - }, - "JSON": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "JSON" - } - } - } - }, - "com.amazonaws.qldb#ParameterName": { - "type": "string" - }, - "com.amazonaws.qldb#PermissionsMode": { - "type": "enum", - "members": { - "ALLOW_ALL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ALLOW_ALL" - } - }, - "STANDARD": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STANDARD" - } - } - } - }, - "com.amazonaws.qldb#ResourceAlreadyExistsException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.qldb#ErrorMessage" - }, - "ResourceType": { - "target": "com.amazonaws.qldb#ResourceType", - "traits": { - "smithy.api#documentation": "

The type of resource.

" - } - }, - "ResourceName": { - "target": "com.amazonaws.qldb#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the resource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The specified resource already exists.

", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, - "com.amazonaws.qldb#ResourceInUseException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.qldb#ErrorMessage" - }, - "ResourceType": { - "target": "com.amazonaws.qldb#ResourceType", - "traits": { - "smithy.api#documentation": "

The type of resource.

" - } - }, - "ResourceName": { - "target": "com.amazonaws.qldb#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the resource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The specified resource can't be modified at this time.

", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, - "com.amazonaws.qldb#ResourceName": { - "type": "string" - }, - "com.amazonaws.qldb#ResourceNotFoundException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.qldb#ErrorMessage" - }, - "ResourceType": { - "target": "com.amazonaws.qldb#ResourceType", - "traits": { - "smithy.api#documentation": "

The type of resource.

" - } - }, - "ResourceName": { - "target": "com.amazonaws.qldb#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the resource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The specified resource doesn't exist.

", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.qldb#ResourcePreconditionNotMetException": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.qldb#ErrorMessage" - }, - "ResourceType": { - "target": "com.amazonaws.qldb#ResourceType", - "traits": { - "smithy.api#documentation": "

The type of resource.

" - } - }, - "ResourceName": { - "target": "com.amazonaws.qldb#ResourceName", - "traits": { - "smithy.api#documentation": "

The name of the resource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The operation failed because a condition wasn't satisfied in advance.

", - "smithy.api#error": "client", - "smithy.api#httpError": 412 - } - }, - "com.amazonaws.qldb#ResourceType": { - "type": "string" - }, - "com.amazonaws.qldb#S3Bucket": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 3, - "max": 255 - }, - "smithy.api#pattern": "^[A-Za-z-0-9-_.]+$" - } - }, - "com.amazonaws.qldb#S3EncryptionConfiguration": { - "type": "structure", - "members": { - "ObjectEncryptionType": { - "target": "com.amazonaws.qldb#S3ObjectEncryptionType", - "traits": { - "smithy.api#documentation": "

The Amazon S3 object encryption type.

\n

To learn more about server-side encryption options in Amazon S3, see Protecting Data\n Using Server-Side Encryption in the Amazon S3 Developer\n Guide.

", - "smithy.api#required": {} - } - }, - "KmsKeyArn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3\n does not support asymmetric KMS keys.

\n

You must provide a KmsKeyArn if you specify SSE_KMS as the\n ObjectEncryptionType.

\n

\n KmsKeyArn is not required if you specify SSE_S3 as the\n ObjectEncryptionType.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The encryption settings that are used by a journal export job to write data in an\n Amazon Simple Storage Service (Amazon S3) bucket.

" - } - }, - "com.amazonaws.qldb#S3ExportConfiguration": { - "type": "structure", - "members": { - "Bucket": { - "target": "com.amazonaws.qldb#S3Bucket", - "traits": { - "smithy.api#documentation": "

The Amazon S3 bucket name in which a journal export job writes the journal contents.

\n

The bucket name must comply with the Amazon S3 bucket naming conventions. For more\n information, see Bucket Restrictions and\n Limitations in the Amazon S3 Developer Guide.

", - "smithy.api#required": {} - } - }, - "Prefix": { - "target": "com.amazonaws.qldb#S3Prefix", - "traits": { - "smithy.api#documentation": "

The prefix for the Amazon S3 bucket in which a journal export job writes the journal\n contents.

\n

The prefix must comply with Amazon S3 key naming rules and restrictions. For more\n information, see Object Key and Metadata in the Amazon S3 Developer\n Guide.

\n

The following are examples of valid Prefix values:

\n
    \n
  • \n

    \n JournalExports-ForMyLedger/Testing/\n

    \n
  • \n
  • \n

    \n JournalExports\n

    \n
  • \n
  • \n

    \n My:Tests/\n

    \n
  • \n
", - "smithy.api#required": {} - } - }, - "EncryptionConfiguration": { - "target": "com.amazonaws.qldb#S3EncryptionConfiguration", - "traits": { - "smithy.api#documentation": "

The encryption settings that are used by a journal export job to write data in an Amazon S3\n bucket.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The Amazon Simple Storage Service (Amazon S3) bucket location in which a journal export job writes the journal\n contents.

" - } - }, - "com.amazonaws.qldb#S3ObjectEncryptionType": { - "type": "enum", - "members": { - "SSE_KMS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SSE_KMS" - } - }, - "SSE_S3": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SSE_S3" - } - }, - "NO_ENCRYPTION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NO_ENCRYPTION" - } - } - } - }, - "com.amazonaws.qldb#S3Prefix": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 128 - } - } - }, - "com.amazonaws.qldb#StreamJournalToKinesis": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#StreamJournalToKinesisRequest" - }, - "output": { - "target": "com.amazonaws.qldb#StreamJournalToKinesisResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.qldb#ResourcePreconditionNotMetException" - } - ], - "traits": { - "smithy.api#documentation": "

Creates a journal stream for a given Amazon QLDB ledger. The stream captures every\n document revision that is committed to the ledger's journal and delivers the data to a\n specified Amazon Kinesis Data Streams resource.

", - "smithy.api#http": { - "method": "POST", - "uri": "/ledgers/{LedgerName}/journal-kinesis-streams", - "code": 200 - } - } - }, - "com.amazonaws.qldb#StreamJournalToKinesisRequest": { - "type": "structure", - "members": { - "LedgerName": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "RoleArn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a\n journal stream to write data records to a Kinesis Data Streams resource.

\n

To pass a role to QLDB when requesting a journal stream, you must have permissions to\n perform the iam:PassRole action on the IAM role resource. This is required for\n all journal stream requests.

", - "smithy.api#required": {} - } - }, - "Tags": { - "target": "com.amazonaws.qldb#Tags", - "traits": { - "smithy.api#documentation": "

The key-value pairs to add as tags to the stream that you want to create. Tag keys are\n case sensitive. Tag values are case sensitive and can be null.

" - } - }, - "InclusiveStartTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The inclusive start date and time from which to start streaming journal data. This\n parameter must be in ISO 8601 date and time format and in Universal\n Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z.

\n

The InclusiveStartTime cannot be in the future and must be before\n ExclusiveEndTime.

\n

If you provide an InclusiveStartTime that is before the ledger's\n CreationDateTime, QLDB effectively defaults it to the ledger's\n CreationDateTime.

", - "smithy.api#required": {} - } - }, - "ExclusiveEndTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The exclusive date and time that specifies when the stream ends. If you don't define\n this parameter, the stream runs indefinitely until you cancel it.

\n

The ExclusiveEndTime must be in ISO 8601 date and time format\n and in Universal Coordinated Time (UTC). For example:\n 2019-06-13T21:36:34Z.

" - } - }, - "KinesisConfiguration": { - "target": "com.amazonaws.qldb#KinesisConfiguration", - "traits": { - "smithy.api#documentation": "

The configuration settings of the Kinesis Data Streams destination for your stream request.

", - "smithy.api#required": {} - } - }, - "StreamName": { - "target": "com.amazonaws.qldb#StreamName", - "traits": { - "smithy.api#documentation": "

The name that you want to assign to the QLDB journal stream. User-defined names can\n help identify and indicate the purpose of a stream.

\n

Your stream name must be unique among other active streams for a\n given ledger. Stream names have the same naming constraints as ledger names, as defined in\n Quotas in Amazon QLDB in the Amazon QLDB Developer\n Guide.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#StreamJournalToKinesisResponse": { - "type": "structure", - "members": { - "StreamId": { - "target": "com.amazonaws.qldb#UniqueId", - "traits": { - "smithy.api#documentation": "

The UUID (represented in Base62-encoded text) that QLDB assigns to each QLDB journal\n stream.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#StreamName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 32 - }, - "smithy.api#pattern": "^(?!^.*--)(?!^[0-9]+$)(?!^-)(?!.*-$)^[A-Za-z0-9-]+$" - } - }, - "com.amazonaws.qldb#StreamStatus": { - "type": "enum", - "members": { - "ACTIVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACTIVE" - } - }, - "COMPLETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "COMPLETED" - } - }, - "CANCELED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CANCELED" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED" - } - }, - "IMPAIRED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "IMPAIRED" - } - } - } - }, - "com.amazonaws.qldb#TagKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } - }, - "com.amazonaws.qldb#TagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.qldb#TagKey" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 200 - } - } - }, - "com.amazonaws.qldb#TagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#TagResourceRequest" - }, - "output": { - "target": "com.amazonaws.qldb#TagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "

Adds one or more tags to a specified Amazon QLDB resource.

\n

A resource can have up to 50 tags. If you try to create more than 50 tags for a\n resource, your request fails and returns an error.

", - "smithy.api#http": { - "method": "POST", - "uri": "/tags/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.qldb#TagResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) to which you want to add the tags. For example:

\n

\n arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger\n

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Tags": { - "target": "com.amazonaws.qldb#Tags", - "traits": { - "smithy.api#documentation": "

The key-value pairs to add as tags to the specified QLDB resource. Tag keys are case\n sensitive. If you specify a key that already exists for the resource, your request fails\n and returns an error. Tag values are case sensitive and can be null.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#TagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#TagValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - } - } - }, - "com.amazonaws.qldb#Tags": { - "type": "map", - "key": { - "target": "com.amazonaws.qldb#TagKey" - }, - "value": { - "target": "com.amazonaws.qldb#TagValue" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 200 - }, - "smithy.api#sparse": {} - } - }, - "com.amazonaws.qldb#Timestamp": { - "type": "timestamp" - }, - "com.amazonaws.qldb#UniqueId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 22, - "max": 22 - }, - "smithy.api#pattern": "^[A-Za-z-0-9]+$" - } - }, - "com.amazonaws.qldb#UntagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#UntagResourceRequest" - }, - "output": { - "target": "com.amazonaws.qldb#UntagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "

Removes one or more tags from a specified Amazon QLDB resource. You can specify up to 50\n tag keys to remove.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/tags/{ResourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.qldb#UntagResourceRequest": { - "type": "structure", - "members": { - "ResourceArn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) from which to remove the tags. For example:

\n

\n arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger\n

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "TagKeys": { - "target": "com.amazonaws.qldb#TagKeyList", - "traits": { - "smithy.api#documentation": "

The list of tag keys to remove.

", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#UntagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#UpdateLedger": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#UpdateLedgerRequest" - }, - "output": { - "target": "com.amazonaws.qldb#UpdateLedgerResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates properties on a ledger.

", - "smithy.api#http": { - "method": "PATCH", - "uri": "/ledgers/{Name}", - "code": 200 - } - } - }, - "com.amazonaws.qldb#UpdateLedgerPermissionsMode": { - "type": "operation", - "input": { - "target": "com.amazonaws.qldb#UpdateLedgerPermissionsModeRequest" - }, - "output": { - "target": "com.amazonaws.qldb#UpdateLedgerPermissionsModeResponse" - }, - "errors": [ - { - "target": "com.amazonaws.qldb#InvalidParameterException" - }, - { - "target": "com.amazonaws.qldb#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates the permissions mode of a ledger.

\n \n

Before you switch to the STANDARD permissions mode, you must first\n create all required IAM policies and table tags to avoid disruption to your users. To\n learn more, see Migrating to the standard permissions mode in the Amazon QLDB\n Developer Guide.

\n
", - "smithy.api#http": { - "method": "PATCH", - "uri": "/ledgers/{Name}/permissions-mode", - "code": 200 - } - } - }, - "com.amazonaws.qldb#UpdateLedgerPermissionsModeRequest": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "PermissionsMode": { - "target": "com.amazonaws.qldb#PermissionsMode", - "traits": { - "smithy.api#documentation": "

The permissions mode to assign to the ledger. This parameter can have one of the\n following values:

\n
    \n
  • \n

    \n ALLOW_ALL: A legacy permissions mode that enables access control with\n API-level granularity for ledgers.

    \n

    This mode allows users who have the SendCommand API permission for\n this ledger to run all PartiQL commands (hence, ALLOW_ALL) on any tables\n in the specified ledger. This mode disregards any table-level or command-level IAM\n permissions policies that you create for the ledger.

    \n
  • \n
  • \n

    \n STANDARD: (Recommended) A permissions mode that\n enables access control with finer granularity for ledgers, tables, and PartiQL\n commands.

    \n

    By default, this mode denies all user requests to run any PartiQL commands on any\n tables in this ledger. To allow PartiQL commands to run, you must create IAM\n permissions policies for specific table resources and PartiQL actions, in addition to\n the SendCommand API permission for the ledger. For information, see\n Getting\n started with the standard permissions mode in the Amazon QLDB\n Developer Guide.

    \n
  • \n
\n \n

We strongly recommend using the STANDARD permissions mode to maximize\n the security of your ledger data.

\n
", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#UpdateLedgerPermissionsModeResponse": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

" - } - }, - "Arn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the ledger.

" - } - }, - "PermissionsMode": { - "target": "com.amazonaws.qldb#PermissionsMode", - "traits": { - "smithy.api#documentation": "

The current permissions mode of the ledger.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#UpdateLedgerRequest": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "DeletionProtection": { - "target": "com.amazonaws.qldb#DeletionProtection", - "traits": { - "smithy.api#documentation": "

Specifies whether the ledger is protected from being deleted by any user. If not defined during\n ledger creation, this feature is enabled (true) by default.

\n

If deletion protection is enabled, you must first disable it before you can delete the\n ledger. You can disable it by calling the UpdateLedger operation to set this parameter to false.

" - } - }, - "KmsKey": { - "target": "com.amazonaws.qldb#KmsKey", - "traits": { - "smithy.api#documentation": "

The key in Key Management Service (KMS) to use for encryption of data at rest in the ledger. For\n more information, see Encryption at rest in\n the Amazon QLDB Developer Guide.

\n

Use one of the following options to specify this parameter:

\n
    \n
  • \n

    \n AWS_OWNED_KMS_KEY: Use an KMS key that is owned and managed by Amazon Web Services\n on your behalf.

    \n
  • \n
  • \n

    \n Undefined: Make no changes to the KMS key of the\n ledger.

    \n
  • \n
  • \n

    \n A valid symmetric customer managed KMS key: Use\n the specified symmetric encryption KMS key in your account that you create, own, and\n manage.

    \n

    Amazon QLDB does not support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer\n Guide.

    \n
  • \n
\n

To specify a customer managed KMS key, you can use its key ID, Amazon Resource Name\n (ARN), alias name, or alias ARN. When using an alias name, prefix it with\n \"alias/\". To specify a key in a different Amazon Web Services account, you must use the key\n ARN or alias ARN.

\n

For example:

\n
    \n
  • \n

    Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab\n

    \n
  • \n
  • \n

    Key ARN:\n arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab\n

    \n
  • \n
  • \n

    Alias name: alias/ExampleAlias\n

    \n
  • \n
  • \n

    Alias ARN:\n arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias\n

    \n
  • \n
\n

For more information, see Key identifiers (KeyId) in\n the Key Management Service Developer Guide.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.qldb#UpdateLedgerResponse": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.qldb#LedgerName", - "traits": { - "smithy.api#documentation": "

The name of the ledger.

" - } - }, - "Arn": { - "target": "com.amazonaws.qldb#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the ledger.

" - } - }, - "State": { - "target": "com.amazonaws.qldb#LedgerState", - "traits": { - "smithy.api#documentation": "

The current status of the ledger.

" - } - }, - "CreationDateTime": { - "target": "com.amazonaws.qldb#Timestamp", - "traits": { - "smithy.api#documentation": "

The date and time, in epoch time format, when the ledger was created. (Epoch time format\n is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)

" - } - }, - "DeletionProtection": { - "target": "com.amazonaws.qldb#DeletionProtection", - "traits": { - "smithy.api#documentation": "

Specifies whether the ledger is protected from being deleted by any user. If not defined during\n ledger creation, this feature is enabled (true) by default.

\n

If deletion protection is enabled, you must first disable it before you can delete the\n ledger. You can disable it by calling the UpdateLedger operation to set this parameter to false.

" - } - }, - "EncryptionDescription": { - "target": "com.amazonaws.qldb#LedgerEncryptionDescription", - "traits": { - "smithy.api#documentation": "

Information about the encryption of data at rest in the ledger. This includes the\n current status, the KMS key, and when the key became inaccessible (in the case of an\n error).

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.qldb#ValueHolder": { - "type": "structure", - "members": { - "IonText": { - "target": "com.amazonaws.qldb#IonText", - "traits": { - "smithy.api#documentation": "

An Amazon Ion plaintext value contained in a ValueHolder structure.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A structure that can contain a value in multiple encoding formats.

", - "smithy.api#sensitive": {} - } - } - } -} diff --git a/tools/code-generation/smithy/api-descriptions/robomaker.json b/tools/code-generation/smithy/api-descriptions/robomaker.json deleted file mode 100644 index 24eb8373813..00000000000 --- a/tools/code-generation/smithy/api-descriptions/robomaker.json +++ /dev/null @@ -1,10244 +0,0 @@ -{ - "smithy": "2.0", - "metadata": { - "suppressions": [ - { - "id": "HttpMethodSemantics", - "namespace": "*" - }, - { - "id": "HttpResponseCodeSemantics", - "namespace": "*" - }, - { - "id": "PaginatedTrait", - "namespace": "*" - }, - { - "id": "HttpHeaderTrait", - "namespace": "*" - }, - { - "id": "HttpUriConflict", - "namespace": "*" - }, - { - "id": "Service", - "namespace": "*" - } - ] - }, - "shapes": { - "com.amazonaws.robomaker#Architecture": { - "type": "enum", - "members": { - "X86_64": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "X86_64" - } - }, - "ARM64": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ARM64" - } - }, - "ARMHF": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ARMHF" - } - } - } - }, - "com.amazonaws.robomaker#Arn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1224 - }, - "smithy.api#pattern": "^arn:" - } - }, - "com.amazonaws.robomaker#Arns": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#Arn" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.robomaker#BatchDeleteWorlds": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#BatchDeleteWorldsRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#BatchDeleteWorldsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Deletes one or more worlds in a batch operation.

", - "smithy.api#http": { - "method": "POST", - "uri": "/batchDeleteWorlds", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#BatchDeleteWorldsRequest": { - "type": "structure", - "members": { - "worlds": { - "target": "com.amazonaws.robomaker#Arns", - "traits": { - "smithy.api#documentation": "

A list of Amazon Resource Names (arns) that correspond to worlds to delete.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#BatchDeleteWorldsResponse": { - "type": "structure", - "members": { - "unprocessedWorlds": { - "target": "com.amazonaws.robomaker#Arns", - "traits": { - "smithy.api#documentation": "

A list of unprocessed worlds associated with the call. These worlds were not\n deleted.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#BatchDescribeSimulationJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#BatchDescribeSimulationJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#BatchDescribeSimulationJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Describes one or more simulation jobs.

", - "smithy.api#http": { - "method": "POST", - "uri": "/batchDescribeSimulationJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#BatchDescribeSimulationJobRequest": { - "type": "structure", - "members": { - "jobs": { - "target": "com.amazonaws.robomaker#Arns", - "traits": { - "smithy.api#documentation": "

A list of Amazon Resource Names (ARNs) of simulation jobs to describe.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#BatchDescribeSimulationJobResponse": { - "type": "structure", - "members": { - "jobs": { - "target": "com.amazonaws.robomaker#SimulationJobs", - "traits": { - "smithy.api#documentation": "

A list of simulation jobs.

" - } - }, - "unprocessedJobs": { - "target": "com.amazonaws.robomaker#Arns", - "traits": { - "smithy.api#documentation": "

A list of unprocessed simulation job Amazon Resource Names (ARNs).

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#BatchPolicy": { - "type": "structure", - "members": { - "timeoutInSeconds": { - "target": "com.amazonaws.robomaker#BatchTimeoutInSeconds", - "traits": { - "smithy.api#documentation": "

The amount of time, in seconds, to wait for the batch to complete.\n \n

\n

If a batch times out, and there are pending requests that were failing due to an\n internal failure (like InternalServiceError), they will be moved to the failed\n list and the batch status will be Failed. If the pending requests were failing\n for any other reason, the failed pending requests will be moved to the failed list and the\n batch status will be TimedOut.

" - } - }, - "maxConcurrency": { - "target": "com.amazonaws.robomaker#MaxConcurrency", - "traits": { - "smithy.api#documentation": "

The number of active simulation jobs create as part of the batch that can be in an\n active state at the same time.

\n

Active states include: Pending,Preparing,\n Running, Restarting, RunningFailed and\n Terminating. All other states are terminal states.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about the batch policy.

" - } - }, - "com.amazonaws.robomaker#BatchTimeoutInSeconds": { - "type": "long" - }, - "com.amazonaws.robomaker#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } - }, - "com.amazonaws.robomaker#BoxedBoolean": { - "type": "boolean" - }, - "com.amazonaws.robomaker#CancelDeploymentJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CancelDeploymentJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CancelDeploymentJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

\n
\n

Cancels the specified deployment job.

", - "smithy.api#http": { - "method": "POST", - "uri": "/cancelDeploymentJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CancelDeploymentJobRequest": { - "type": "structure", - "members": { - "job": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The deployment job ARN to cancel.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CancelDeploymentJobResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CancelSimulationJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CancelSimulationJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CancelSimulationJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Cancels the specified simulation job.

", - "smithy.api#http": { - "method": "POST", - "uri": "/cancelSimulationJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CancelSimulationJobBatch": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CancelSimulationJobBatchRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CancelSimulationJobBatchResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Cancels a simulation job batch. When you cancel a simulation job batch, you are also\n cancelling all of the active simulation jobs created as part of the batch.

", - "smithy.api#http": { - "method": "POST", - "uri": "/cancelSimulationJobBatch", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CancelSimulationJobBatchRequest": { - "type": "structure", - "members": { - "batch": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The id of the batch to cancel.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CancelSimulationJobBatchResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CancelSimulationJobRequest": { - "type": "structure", - "members": { - "job": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The simulation job ARN to cancel.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CancelSimulationJobResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CancelWorldExportJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CancelWorldExportJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CancelWorldExportJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Cancels the specified export job.

", - "smithy.api#http": { - "method": "POST", - "uri": "/cancelWorldExportJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CancelWorldExportJobRequest": { - "type": "structure", - "members": { - "job": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world export job to cancel.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CancelWorldExportJobResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CancelWorldGenerationJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CancelWorldGenerationJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CancelWorldGenerationJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Cancels the specified world generator job.

", - "smithy.api#http": { - "method": "POST", - "uri": "/cancelWorldGenerationJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CancelWorldGenerationJobRequest": { - "type": "structure", - "members": { - "job": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world generator job to cancel.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CancelWorldGenerationJobResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#ClientRequestToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_\\-=]*$" - } - }, - "com.amazonaws.robomaker#Command": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_.\\-]*$" - } - }, - "com.amazonaws.robomaker#CommandList": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#NonEmptyString" - } - }, - "com.amazonaws.robomaker#Compute": { - "type": "structure", - "members": { - "simulationUnitLimit": { - "target": "com.amazonaws.robomaker#SimulationUnit", - "traits": { - "smithy.api#documentation": "

The simulation unit limit. Your simulation is allocated CPU and memory proportional to\n the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are\n only billed for the SU utilization you consume up to the maximum value provided. The\n default is 15.

" - } - }, - "computeType": { - "target": "com.amazonaws.robomaker#ComputeType", - "traits": { - "smithy.api#documentation": "

Compute type information for the simulation job.

" - } - }, - "gpuUnitLimit": { - "target": "com.amazonaws.robomaker#GPUUnit", - "traits": { - "smithy.api#documentation": "

Compute GPU unit limit for the simulation job. It is the same as the number of GPUs\n allocated to the SimulationJob.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Compute information for the simulation job.

" - } - }, - "com.amazonaws.robomaker#ComputeResponse": { - "type": "structure", - "members": { - "simulationUnitLimit": { - "target": "com.amazonaws.robomaker#SimulationUnit", - "traits": { - "smithy.api#documentation": "

The simulation unit limit. Your simulation is allocated CPU and memory proportional to\n the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are\n only billed for the SU utilization you consume up to the maximum value provided. The\n default is 15.

" - } - }, - "computeType": { - "target": "com.amazonaws.robomaker#ComputeType", - "traits": { - "smithy.api#documentation": "

Compute type response information for the simulation job.

" - } - }, - "gpuUnitLimit": { - "target": "com.amazonaws.robomaker#GPUUnit", - "traits": { - "smithy.api#documentation": "

Compute GPU unit limit for the simulation job. It is the same as the number of GPUs\n allocated to the SimulationJob.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Compute information for the simulation job

" - } - }, - "com.amazonaws.robomaker#ComputeType": { - "type": "enum", - "members": { - "CPU": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CPU" - } - }, - "GPU_AND_CPU": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GPU_AND_CPU" - } - } - } - }, - "com.amazonaws.robomaker#ConcurrentDeploymentException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.robomaker#errorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The failure percentage threshold percentage was met.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.robomaker#CreateDeploymentJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CreateDeploymentJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CreateDeploymentJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#ConcurrentDeploymentException" - }, - { - "target": "com.amazonaws.robomaker#IdempotentParameterMismatchException" - }, - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n \n

This API is no longer supported and will throw an error if used. For more information, see the January 31, 2022 update in the Support policy page.

\n
\n

Deploys a specific version of a robot application to robots in a fleet.

\n

The robot application must have a numbered applicationVersion for\n consistency reasons. To create a new version, use CreateRobotApplicationVersion or see \n Creating a Robot Application Version.\n

\n \n

After 90 days, deployment jobs expire and will be deleted. They will no longer be\n accessible.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/createDeploymentJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CreateDeploymentJobRequest": { - "type": "structure", - "members": { - "deploymentConfig": { - "target": "com.amazonaws.robomaker#DeploymentConfig", - "traits": { - "smithy.api#documentation": "

The requested deployment configuration.

" - } - }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

", - "smithy.api#idempotencyToken": {}, - "smithy.api#required": {} - } - }, - "fleet": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet to deploy.

", - "smithy.api#required": {} - } - }, - "deploymentApplicationConfigs": { - "target": "com.amazonaws.robomaker#DeploymentApplicationConfigs", - "traits": { - "smithy.api#documentation": "

The deployment application configuration.

", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the deployment\n job.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CreateDeploymentJobResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the deployment job.

" - } - }, - "fleet": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The target fleet for the deployment job.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#DeploymentStatus", - "traits": { - "smithy.api#documentation": "

The status of the deployment job.

" - } - }, - "deploymentApplicationConfigs": { - "target": "com.amazonaws.robomaker#DeploymentApplicationConfigs", - "traits": { - "smithy.api#documentation": "

The deployment application configuration.

" - } - }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The failure reason of the deployment job if it failed.

" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#DeploymentJobErrorCode", - "traits": { - "smithy.api#documentation": "

The failure code of the simulation job if it failed:

\n
\n
BadPermissionError
\n
\n

AWS Greengrass requires a service-level role permission to access other\n services. The role must include the \n AWSGreengrassResourceAccessRolePolicy managed policy.\n

\n
\n
ExtractingBundleFailure
\n
\n

The robot application could not be extracted from the bundle.

\n
\n
FailureThresholdBreached
\n
\n

The percentage of robots that could not be updated exceeded the percentage set\n for the deployment.

\n
\n
GreengrassDeploymentFailed
\n
\n

The robot application could not be deployed to the robot.

\n
\n
GreengrassGroupVersionDoesNotExist
\n
\n

The AWS Greengrass group or version associated with a robot is missing.

\n
\n
InternalServerError
\n
\n

An internal error has occurred. Retry your request, but if the problem\n persists, contact us with details.

\n
\n
MissingRobotApplicationArchitecture
\n
\n

The robot application does not have a source that matches the architecture of\n the robot.

\n
\n
MissingRobotDeploymentResource
\n
\n

One or more of the resources specified for the robot application are missing.\n For example, does the robot application have the correct launch package and launch\n file?

\n
\n
PostLaunchFileFailure
\n
\n

The post-launch script failed.

\n
\n
PreLaunchFileFailure
\n
\n

The pre-launch script failed.

\n
\n
ResourceNotFound
\n
\n

One or more deployment resources are missing. For example, do robot application\n source bundles still exist?

\n
\n
RobotDeploymentNoResponse
\n
\n

There is no response from the robot. It might not be powered on or connected to\n the internet.

\n
\n
" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the fleet was created.

" - } - }, - "deploymentConfig": { - "target": "com.amazonaws.robomaker#DeploymentConfig", - "traits": { - "smithy.api#documentation": "

The deployment configuration.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

The list of all tags added to the deployment job.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CreateFleet": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CreateFleetRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CreateFleetResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n \n

This API is no longer supported and will throw an error if used. For more information, see the January 31, 2022 update in the Support policy page.

\n
\n

Creates a fleet, a logical group of robots running the same robot application.

", - "smithy.api#http": { - "method": "POST", - "uri": "/createFleet", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CreateFleetRequest": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the fleet.

", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the fleet.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CreateFleetResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the fleet.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the fleet was created.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

The list of all tags added to the fleet.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CreateRobot": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CreateRobotRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CreateRobotResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n \n

This API is no longer supported and will throw an error if used. For more information, see the January 31, 2022 update in the Support policy page.

\n
\n

Creates a robot.

", - "smithy.api#http": { - "method": "POST", - "uri": "/createRobot", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CreateRobotApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CreateRobotApplicationRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CreateRobotApplicationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#IdempotentParameterMismatchException" - }, - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Creates a robot application.

", - "smithy.api#http": { - "method": "POST", - "uri": "/createRobotApplication", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CreateRobotApplicationRequest": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the robot application.

", - "smithy.api#required": {} - } - }, - "sources": { - "target": "com.amazonaws.robomaker#SourceConfigs", - "traits": { - "smithy.api#documentation": "

The sources of the robot application.

" - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

The robot software suite used by the robot application.

", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the robot\n application.

" - } - }, - "environment": { - "target": "com.amazonaws.robomaker#Environment", - "traits": { - "smithy.api#documentation": "

The object that contains that URI of the Docker image that you use for your robot\n application.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CreateRobotApplicationResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot application.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the robot application.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the robot application.

" - } - }, - "sources": { - "target": "com.amazonaws.robomaker#Sources", - "traits": { - "smithy.api#documentation": "

The sources of the robot application.

" - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

The robot software suite used by the robot application.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the robot application was last\n updated.

" - } - }, - "revisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

The revision id of the robot application.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

The list of all tags added to the robot application.

" - } - }, - "environment": { - "target": "com.amazonaws.robomaker#Environment", - "traits": { - "smithy.api#documentation": "

An object that contains the Docker image URI used to a create your robot\n application.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CreateRobotApplicationVersion": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CreateRobotApplicationVersionRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CreateRobotApplicationVersionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#IdempotentParameterMismatchException" - }, - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Creates a version of a robot application.

", - "smithy.api#http": { - "method": "POST", - "uri": "/createRobotApplicationVersion", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CreateRobotApplicationVersionRequest": { - "type": "structure", - "members": { - "application": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The application information for the robot application.

", - "smithy.api#required": {} - } - }, - "currentRevisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

The current revision id for the robot application. If you provide a value and it matches\n the latest revision ID, a new version will be created.

" - } - }, - "s3Etags": { - "target": "com.amazonaws.robomaker#S3Etags", - "traits": { - "smithy.api#documentation": "

The Amazon S3 identifier for the zip file bundle that you use for your robot\n application.

" - } - }, - "imageDigest": { - "target": "com.amazonaws.robomaker#ImageDigest", - "traits": { - "smithy.api#documentation": "

A SHA256 identifier for the Docker image that you use for your robot application.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CreateRobotApplicationVersionResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot application.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the robot application.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the robot application.

" - } - }, - "sources": { - "target": "com.amazonaws.robomaker#Sources", - "traits": { - "smithy.api#documentation": "

The sources of the robot application.

" - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

The robot software suite used by the robot application.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the robot application was last\n updated.

" - } - }, - "revisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

The revision id of the robot application.

" - } - }, - "environment": { - "target": "com.amazonaws.robomaker#Environment", - "traits": { - "smithy.api#documentation": "

The object that contains the Docker image URI used to create your robot\n application.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CreateRobotRequest": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name for the robot.

", - "smithy.api#required": {} - } - }, - "architecture": { - "target": "com.amazonaws.robomaker#Architecture", - "traits": { - "smithy.api#documentation": "

The target architecture of the robot.

", - "smithy.api#required": {} - } - }, - "greengrassGroupId": { - "target": "com.amazonaws.robomaker#Id", - "traits": { - "smithy.api#documentation": "

The Greengrass group id.

", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the robot.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CreateRobotResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the robot.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the robot was created.

" - } - }, - "greengrassGroupId": { - "target": "com.amazonaws.robomaker#Id", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Greengrass group associated with the robot.

" - } - }, - "architecture": { - "target": "com.amazonaws.robomaker#Architecture", - "traits": { - "smithy.api#documentation": "

The target architecture of the robot.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

The list of all tags added to the robot.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CreateSimulationApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CreateSimulationApplicationRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CreateSimulationApplicationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#IdempotentParameterMismatchException" - }, - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Creates a simulation application.

", - "smithy.api#http": { - "method": "POST", - "uri": "/createSimulationApplication", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CreateSimulationApplicationRequest": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the simulation application.

", - "smithy.api#required": {} - } - }, - "sources": { - "target": "com.amazonaws.robomaker#SourceConfigs", - "traits": { - "smithy.api#documentation": "

The sources of the simulation application.

" - } - }, - "simulationSoftwareSuite": { - "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", - "traits": { - "smithy.api#documentation": "

The simulation software suite used by the simulation application.

", - "smithy.api#required": {} - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

The robot software suite used by the simulation application.

", - "smithy.api#required": {} - } - }, - "renderingEngine": { - "target": "com.amazonaws.robomaker#RenderingEngine", - "traits": { - "smithy.api#documentation": "

The rendering engine for the simulation application.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the simulation\n application.

" - } - }, - "environment": { - "target": "com.amazonaws.robomaker#Environment", - "traits": { - "smithy.api#documentation": "

The object that contains the Docker image URI used to create your simulation\n application.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CreateSimulationApplicationResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the simulation application.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the simulation application.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the simulation application.

" - } - }, - "sources": { - "target": "com.amazonaws.robomaker#Sources", - "traits": { - "smithy.api#documentation": "

The sources of the simulation application.

" - } - }, - "simulationSoftwareSuite": { - "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", - "traits": { - "smithy.api#documentation": "

The simulation software suite used by the simulation application.

" - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

Information about the robot software suite.

" - } - }, - "renderingEngine": { - "target": "com.amazonaws.robomaker#RenderingEngine", - "traits": { - "smithy.api#documentation": "

The rendering engine for the simulation application.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation application was last\n updated.

" - } - }, - "revisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

The revision id of the simulation application.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

The list of all tags added to the simulation application.

" - } - }, - "environment": { - "target": "com.amazonaws.robomaker#Environment", - "traits": { - "smithy.api#documentation": "

The object that contains the Docker image URI that you used to create your simulation\n application.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CreateSimulationApplicationVersion": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CreateSimulationApplicationVersionRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CreateSimulationApplicationVersionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#IdempotentParameterMismatchException" - }, - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Creates a simulation application with a specific revision id.

", - "smithy.api#http": { - "method": "POST", - "uri": "/createSimulationApplicationVersion", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CreateSimulationApplicationVersionRequest": { - "type": "structure", - "members": { - "application": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The application information for the simulation application.

", - "smithy.api#required": {} - } - }, - "currentRevisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

The current revision id for the simulation application. If you provide a value and it\n matches the latest revision ID, a new version will be created.

" - } - }, - "s3Etags": { - "target": "com.amazonaws.robomaker#S3Etags", - "traits": { - "smithy.api#documentation": "

The Amazon S3 eTag identifier for the zip file bundle that you use to create the\n simulation application.

" - } - }, - "imageDigest": { - "target": "com.amazonaws.robomaker#ImageDigest", - "traits": { - "smithy.api#documentation": "

The SHA256 digest used to identify the Docker image URI used to created the simulation\n application.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CreateSimulationApplicationVersionResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the simulation application.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the simulation application.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the simulation application.

" - } - }, - "sources": { - "target": "com.amazonaws.robomaker#Sources", - "traits": { - "smithy.api#documentation": "

The sources of the simulation application.

" - } - }, - "simulationSoftwareSuite": { - "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", - "traits": { - "smithy.api#documentation": "

The simulation software suite used by the simulation application.

" - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

Information about the robot software suite.

" - } - }, - "renderingEngine": { - "target": "com.amazonaws.robomaker#RenderingEngine", - "traits": { - "smithy.api#documentation": "

The rendering engine for the simulation application.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation application was last\n updated.

" - } - }, - "revisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

The revision ID of the simulation application.

" - } - }, - "environment": { - "target": "com.amazonaws.robomaker#Environment", - "traits": { - "smithy.api#documentation": "

The object that contains the Docker image URI used to create the simulation\n application.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CreateSimulationJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CreateSimulationJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CreateSimulationJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#IdempotentParameterMismatchException" - }, - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Creates a simulation job.

\n \n

After 90 days, simulation jobs expire and will be deleted. They will no longer be\n accessible.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/createSimulationJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CreateSimulationJobRequest": { - "type": "structure", - "members": { - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

", - "smithy.api#idempotencyToken": {} - } - }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation", - "traits": { - "smithy.api#documentation": "

Location for output files generated by the simulation job.

" - } - }, - "loggingConfig": { - "target": "com.amazonaws.robomaker#LoggingConfig", - "traits": { - "smithy.api#documentation": "

The logging configuration.

" - } - }, - "maxJobDurationInSeconds": { - "target": "com.amazonaws.robomaker#JobDuration", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When\n maxJobDurationInSeconds is reached, the simulation job will status will\n transition to Completed.

", - "smithy.api#required": {} - } - }, - "iamRole": { - "target": "com.amazonaws.robomaker#IamRole", - "traits": { - "smithy.api#documentation": "

The IAM role name that allows the simulation instance to call the AWS APIs that are\n specified in its associated policies on your behalf. This is how credentials are passed in\n to your simulation job.

", - "smithy.api#required": {} - } - }, - "failureBehavior": { - "target": "com.amazonaws.robomaker#FailureBehavior", - "traits": { - "smithy.api#documentation": "

The failure behavior the simulation job.

\n
\n
Continue
\n
\n

Leaves the instance running for its maximum timeout duration after a\n 4XX error code.

\n
\n
Fail
\n
\n

Stop the simulation job and terminate the instance.

\n
\n
" - } - }, - "robotApplications": { - "target": "com.amazonaws.robomaker#RobotApplicationConfigs", - "traits": { - "smithy.api#documentation": "

The robot application to use in the simulation job.

" - } - }, - "simulationApplications": { - "target": "com.amazonaws.robomaker#SimulationApplicationConfigs", - "traits": { - "smithy.api#documentation": "

The simulation application to use in the simulation job.

" - } - }, - "dataSources": { - "target": "com.amazonaws.robomaker#DataSourceConfigs", - "traits": { - "smithy.api#documentation": "

Specify data sources to mount read-only files from S3 into your simulation. These files\n are available under /opt/robomaker/datasources/data_source_name.

\n \n

There is a limit of 100 files and a combined size of 25GB for all\n DataSourceConfig objects.

\n
" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the simulation\n job.

" - } - }, - "vpcConfig": { - "target": "com.amazonaws.robomaker#VPCConfig", - "traits": { - "smithy.api#documentation": "

If your simulation job accesses resources in a VPC, you provide this parameter\n identifying the list of security group IDs and subnet IDs. These must belong to the same\n VPC. You must provide at least one security group and one subnet ID.

" - } - }, - "compute": { - "target": "com.amazonaws.robomaker#Compute", - "traits": { - "smithy.api#documentation": "

Compute information for the simulation job.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CreateSimulationJobRequests": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#SimulationJobRequest" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1000 - } - } - }, - "com.amazonaws.robomaker#CreateSimulationJobResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the simulation job.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#SimulationJobStatus", - "traits": { - "smithy.api#documentation": "

The status of the simulation job.

" - } - }, - "lastStartedAt": { - "target": "com.amazonaws.robomaker#LastStartedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation job was last\n started.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation job was last\n updated.

" - } - }, - "failureBehavior": { - "target": "com.amazonaws.robomaker#FailureBehavior", - "traits": { - "smithy.api#documentation": "

the failure behavior for the simulation job.

" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#SimulationJobErrorCode", - "traits": { - "smithy.api#documentation": "

The failure code of the simulation job if it failed:

\n
\n
InternalServiceError
\n
\n

Internal service error.

\n
\n
RobotApplicationCrash
\n
\n

Robot application exited abnormally.

\n
\n
SimulationApplicationCrash
\n
\n

Simulation application exited abnormally.

\n
\n
BadPermissionsRobotApplication
\n
\n

Robot application bundle could not be downloaded.

\n
\n
BadPermissionsSimulationApplication
\n
\n

Simulation application bundle could not be downloaded.

\n
\n
BadPermissionsS3Output
\n
\n

Unable to publish outputs to customer-provided S3 bucket.

\n
\n
BadPermissionsCloudwatchLogs
\n
\n

Unable to publish logs to customer-provided CloudWatch Logs resource.

\n
\n
SubnetIpLimitExceeded
\n
\n

Subnet IP limit exceeded.

\n
\n
ENILimitExceeded
\n
\n

ENI limit exceeded.

\n
\n
BadPermissionsUserCredentials
\n
\n

Unable to use the Role provided.

\n
\n
InvalidBundleRobotApplication
\n
\n

Robot bundle cannot be extracted (invalid format, bundling error, or other\n issue).

\n
\n
InvalidBundleSimulationApplication
\n
\n

Simulation bundle cannot be extracted (invalid format, bundling error, or other\n issue).

\n
\n
RobotApplicationVersionMismatchedEtag
\n
\n

Etag for RobotApplication does not match value during version creation.

\n
\n
SimulationApplicationVersionMismatchedEtag
\n
\n

Etag for SimulationApplication does not match value during version\n creation.

\n
\n
" - } - }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

" - } - }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation", - "traits": { - "smithy.api#documentation": "

Simulation job output files location.

" - } - }, - "loggingConfig": { - "target": "com.amazonaws.robomaker#LoggingConfig", - "traits": { - "smithy.api#documentation": "

The logging configuration.

" - } - }, - "maxJobDurationInSeconds": { - "target": "com.amazonaws.robomaker#JobDuration", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The maximum simulation job duration in seconds.

" - } - }, - "simulationTimeMillis": { - "target": "com.amazonaws.robomaker#SimulationTimeMillis", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The simulation job execution duration in milliseconds.

" - } - }, - "iamRole": { - "target": "com.amazonaws.robomaker#IamRole", - "traits": { - "smithy.api#documentation": "

The IAM role that allows the simulation job to call the AWS APIs that are specified in\n its associated policies on your behalf.

" - } - }, - "robotApplications": { - "target": "com.amazonaws.robomaker#RobotApplicationConfigs", - "traits": { - "smithy.api#documentation": "

The robot application used by the simulation job.

" - } - }, - "simulationApplications": { - "target": "com.amazonaws.robomaker#SimulationApplicationConfigs", - "traits": { - "smithy.api#documentation": "

The simulation application used by the simulation job.

" - } - }, - "dataSources": { - "target": "com.amazonaws.robomaker#DataSources", - "traits": { - "smithy.api#documentation": "

The data sources for the simulation job.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

The list of all tags added to the simulation job.

" - } - }, - "vpcConfig": { - "target": "com.amazonaws.robomaker#VPCConfigResponse", - "traits": { - "smithy.api#documentation": "

Information about the vpc configuration.

" - } - }, - "compute": { - "target": "com.amazonaws.robomaker#ComputeResponse", - "traits": { - "smithy.api#documentation": "

Compute information for the simulation job.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CreateWorldExportJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CreateWorldExportJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CreateWorldExportJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#IdempotentParameterMismatchException" - }, - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Creates a world export job.

", - "smithy.api#http": { - "method": "POST", - "uri": "/createWorldExportJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CreateWorldExportJobRequest": { - "type": "structure", - "members": { - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

", - "smithy.api#idempotencyToken": {} - } - }, - "worlds": { - "target": "com.amazonaws.robomaker#Arns", - "traits": { - "smithy.api#documentation": "

A list of Amazon Resource Names (arns) that correspond to worlds to export.

", - "smithy.api#required": {} - } - }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation", - "traits": { - "smithy.api#required": {} - } - }, - "iamRole": { - "target": "com.amazonaws.robomaker#IamRole", - "traits": { - "smithy.api#documentation": "

The IAM role that the world export process uses to access the Amazon S3 bucket and put\n the export.

", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the world export\n job.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CreateWorldExportJobResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the world export job.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#WorldExportJobStatus", - "traits": { - "smithy.api#documentation": "

The status of the world export job.

\n
\n
Pending
\n
\n

The world export job request is pending.

\n
\n
Running
\n
\n

The world export job is running.

\n
\n
Completed
\n
\n

The world export job completed.

\n
\n
Failed
\n
\n

The world export job failed. See failureCode for more information.\n

\n
\n
Canceled
\n
\n

The world export job was cancelled.

\n
\n
Canceling
\n
\n

The world export job is being cancelled.

\n
\n
" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the world export job was created.

" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#WorldExportJobErrorCode", - "traits": { - "smithy.api#documentation": "

The failure code of the world export job if it failed:

\n
\n
InternalServiceError
\n
\n

Internal service error.

\n
\n
LimitExceeded
\n
\n

The requested resource exceeds the maximum number allowed, or the number of\n concurrent stream requests exceeds the maximum number allowed.

\n
\n
ResourceNotFound
\n
\n

The specified resource could not be found.

\n
\n
RequestThrottled
\n
\n

The request was throttled.

\n
\n
InvalidInput
\n
\n

An input parameter in the request is not valid.

\n
\n
AllWorldGenerationFailed
\n
\n

All of the worlds in the world generation job failed. This can happen if your\n worldCount is greater than 50 or less than 1.

\n
\n
\n

For more information about troubleshooting WorldForge, see Troubleshooting Simulation WorldForge.

" - } - }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

" - } - }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation" - }, - "iamRole": { - "target": "com.amazonaws.robomaker#IamRole", - "traits": { - "smithy.api#documentation": "

The IAM role that the world export process uses to access the Amazon S3 bucket and put\n the export.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the world export\n job.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CreateWorldGenerationJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CreateWorldGenerationJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CreateWorldGenerationJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#IdempotentParameterMismatchException" - }, - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Creates worlds using the specified template.

", - "smithy.api#http": { - "method": "POST", - "uri": "/createWorldGenerationJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CreateWorldGenerationJobRequest": { - "type": "structure", - "members": { - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

", - "smithy.api#idempotencyToken": {} - } - }, - "template": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world template describing the worlds you want to\n create.

", - "smithy.api#required": {} - } - }, - "worldCount": { - "target": "com.amazonaws.robomaker#WorldCount", - "traits": { - "smithy.api#documentation": "

Information about the world count.

", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the world generator\n job.

" - } - }, - "worldTags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the generated\n worlds.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CreateWorldGenerationJobResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the world generator job.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#WorldGenerationJobStatus", - "traits": { - "smithy.api#documentation": "

The status of the world generator job.

\n
\n
Pending
\n
\n

The world generator job request is pending.

\n
\n
Running
\n
\n

The world generator job is running.

\n
\n
Completed
\n
\n

The world generator job completed.

\n
\n
Failed
\n
\n

The world generator job failed. See failureCode for more\n information.

\n
\n
PartialFailed
\n
\n

Some worlds did not generate.

\n
\n
Canceled
\n
\n

The world generator job was cancelled.

\n
\n
Canceling
\n
\n

The world generator job is being cancelled.

\n
\n
" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the world generator job was\n created.

" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#WorldGenerationJobErrorCode", - "traits": { - "smithy.api#documentation": "

The failure code of the world generator job if it failed:

\n
\n
InternalServiceError
\n
\n

Internal service error.

\n
\n
LimitExceeded
\n
\n

The requested resource exceeds the maximum number allowed, or the number of\n concurrent stream requests exceeds the maximum number allowed.

\n
\n
ResourceNotFound
\n
\n

The specified resource could not be found.

\n
\n
RequestThrottled
\n
\n

The request was throttled.

\n
\n
InvalidInput
\n
\n

An input parameter in the request is not valid.

\n
\n
" - } - }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

" - } - }, - "template": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world template.

" - } - }, - "worldCount": { - "target": "com.amazonaws.robomaker#WorldCount", - "traits": { - "smithy.api#documentation": "

Information about the world count.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the world generator\n job.

" - } - }, - "worldTags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the generated\n worlds.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CreateWorldTemplate": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#CreateWorldTemplateRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#CreateWorldTemplateResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ResourceAlreadyExistsException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Creates a world template.

", - "smithy.api#http": { - "method": "POST", - "uri": "/createWorldTemplate", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#CreateWorldTemplateRequest": { - "type": "structure", - "members": { - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#TemplateName", - "traits": { - "smithy.api#documentation": "

The name of the world template.

" - } - }, - "templateBody": { - "target": "com.amazonaws.robomaker#Json", - "traits": { - "smithy.api#documentation": "

The world template body.

" - } - }, - "templateLocation": { - "target": "com.amazonaws.robomaker#TemplateLocation", - "traits": { - "smithy.api#documentation": "

The location of the world template.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the world\n template.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#CreateWorldTemplateResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the world template.

" - } - }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the world template was created.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#TemplateName", - "traits": { - "smithy.api#documentation": "

The name of the world template.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the world\n template.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#CreatedAt": { - "type": "timestamp" - }, - "com.amazonaws.robomaker#DataSource": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the data source.

" - } - }, - "s3Bucket": { - "target": "com.amazonaws.robomaker#S3Bucket", - "traits": { - "smithy.api#documentation": "

The S3 bucket where the data files are located.

" - } - }, - "s3Keys": { - "target": "com.amazonaws.robomaker#S3KeyOutputs", - "traits": { - "smithy.api#documentation": "

The list of S3 keys identifying the data source files.

" - } - }, - "type": { - "target": "com.amazonaws.robomaker#DataSourceType", - "traits": { - "smithy.api#documentation": "

The data type for the data source that you're using for your container image or\n simulation job. You can use this field to specify whether your data source is an Archive,\n an Amazon S3 prefix, or a file.

\n

If you don't specify a field, the default value is File.

" - } - }, - "destination": { - "target": "com.amazonaws.robomaker#Path", - "traits": { - "smithy.api#documentation": "

The location where your files are mounted in the container image.

\n

If you've specified the type of the data source as an Archive,\n you must provide an Amazon S3 object key to your archive. The object key must point to\n either a .zip or .tar.gz file.

\n

If you've specified the type of the data source as a Prefix,\n you provide the Amazon S3 prefix that points to the files that you are using for your data\n source.

\n

If you've specified the type of the data source as a File, you\n provide the Amazon S3 path to the file that you're using as your data source.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a data source.

" - } - }, - "com.amazonaws.robomaker#DataSourceConfig": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the data source.

", - "smithy.api#required": {} - } - }, - "s3Bucket": { - "target": "com.amazonaws.robomaker#S3Bucket", - "traits": { - "smithy.api#documentation": "

The S3 bucket where the data files are located.

", - "smithy.api#required": {} - } - }, - "s3Keys": { - "target": "com.amazonaws.robomaker#S3KeysOrPrefixes", - "traits": { - "smithy.api#documentation": "

The list of S3 keys identifying the data source files.

", - "smithy.api#required": {} - } - }, - "type": { - "target": "com.amazonaws.robomaker#DataSourceType", - "traits": { - "smithy.api#documentation": "

The data type for the data source that you're using for your container image or\n simulation job. You can use this field to specify whether your data source is an Archive,\n an Amazon S3 prefix, or a file.

\n

If you don't specify a field, the default value is File.

" - } - }, - "destination": { - "target": "com.amazonaws.robomaker#Path", - "traits": { - "smithy.api#documentation": "

The location where your files are mounted in the container image.

\n

If you've specified the type of the data source as an Archive,\n you must provide an Amazon S3 object key to your archive. The object key must point to\n either a .zip or .tar.gz file.

\n

If you've specified the type of the data source as a Prefix,\n you provide the Amazon S3 prefix that points to the files that you are using for your data\n source.

\n

If you've specified the type of the data source as a File, you\n provide the Amazon S3 path to the file that you're using as your data source.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a data source.

" - } - }, - "com.amazonaws.robomaker#DataSourceConfigs": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#DataSourceConfig" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 6 - } - } - }, - "com.amazonaws.robomaker#DataSourceNames": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#Name" - } - }, - "com.amazonaws.robomaker#DataSourceType": { - "type": "enum", - "members": { - "Prefix": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Prefix" - } - }, - "Archive": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Archive" - } - }, - "File": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "File" - } - } - } - }, - "com.amazonaws.robomaker#DataSources": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#DataSource" - } - }, - "com.amazonaws.robomaker#DeleteFleet": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DeleteFleetRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DeleteFleetResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n \n

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

\n
\n

Deletes a fleet.

", - "smithy.api#http": { - "method": "POST", - "uri": "/deleteFleet", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DeleteFleetRequest": { - "type": "structure", - "members": { - "fleet": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DeleteFleetResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DeleteRobot": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DeleteRobotRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DeleteRobotResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n \n

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

\n
\n

Deletes a robot.

", - "smithy.api#http": { - "method": "POST", - "uri": "/deleteRobot", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DeleteRobotApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DeleteRobotApplicationRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DeleteRobotApplicationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Deletes a robot application.

", - "smithy.api#http": { - "method": "POST", - "uri": "/deleteRobotApplication", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DeleteRobotApplicationRequest": { - "type": "structure", - "members": { - "application": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the the robot application.

", - "smithy.api#required": {} - } - }, - "applicationVersion": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the robot application to delete.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DeleteRobotApplicationResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DeleteRobotRequest": { - "type": "structure", - "members": { - "robot": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DeleteRobotResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DeleteSimulationApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DeleteSimulationApplicationRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DeleteSimulationApplicationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Deletes a simulation application.

", - "smithy.api#http": { - "method": "POST", - "uri": "/deleteSimulationApplication", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DeleteSimulationApplicationRequest": { - "type": "structure", - "members": { - "application": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The application information for the simulation application to delete.

", - "smithy.api#required": {} - } - }, - "applicationVersion": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the simulation application to delete.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DeleteSimulationApplicationResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DeleteWorldTemplate": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DeleteWorldTemplateRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DeleteWorldTemplateResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Deletes a world template.

", - "smithy.api#http": { - "method": "POST", - "uri": "/deleteWorldTemplate", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DeleteWorldTemplateRequest": { - "type": "structure", - "members": { - "template": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world template you want to delete.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DeleteWorldTemplateResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DeploymentApplicationConfig": { - "type": "structure", - "members": { - "application": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot application.

", - "smithy.api#required": {} - } - }, - "applicationVersion": { - "target": "com.amazonaws.robomaker#DeploymentVersion", - "traits": { - "smithy.api#documentation": "

The version of the application.

", - "smithy.api#required": {} - } - }, - "launchConfig": { - "target": "com.amazonaws.robomaker#DeploymentLaunchConfig", - "traits": { - "smithy.api#documentation": "

The launch configuration.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a deployment application configuration.

" - } - }, - "com.amazonaws.robomaker#DeploymentApplicationConfigs": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#DeploymentApplicationConfig" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } - } - }, - "com.amazonaws.robomaker#DeploymentConfig": { - "type": "structure", - "members": { - "concurrentDeploymentPercentage": { - "target": "com.amazonaws.robomaker#Percentage", - "traits": { - "smithy.api#documentation": "

The percentage of robots receiving the deployment at the same time.

" - } - }, - "failureThresholdPercentage": { - "target": "com.amazonaws.robomaker#Percentage", - "traits": { - "smithy.api#documentation": "

The percentage of deployments that need to fail before stopping deployment.

" - } - }, - "robotDeploymentTimeoutInSeconds": { - "target": "com.amazonaws.robomaker#DeploymentTimeout", - "traits": { - "smithy.api#documentation": "

The amount of time, in seconds, to wait for deployment to a single robot to complete.\n Choose a time between 1 minute and 7 days. The default is 5 hours.

" - } - }, - "downloadConditionFile": { - "target": "com.amazonaws.robomaker#S3Object", - "traits": { - "smithy.api#documentation": "

The download condition file.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a deployment configuration.

" - } - }, - "com.amazonaws.robomaker#DeploymentJob": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the deployment job.

" - } - }, - "fleet": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#DeploymentStatus", - "traits": { - "smithy.api#documentation": "

The status of the deployment job.

" - } - }, - "deploymentApplicationConfigs": { - "target": "com.amazonaws.robomaker#DeploymentApplicationConfigs", - "traits": { - "smithy.api#documentation": "

The deployment application configuration.

" - } - }, - "deploymentConfig": { - "target": "com.amazonaws.robomaker#DeploymentConfig", - "traits": { - "smithy.api#documentation": "

The deployment configuration.

" - } - }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

A short description of the reason why the deployment job failed.

" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#DeploymentJobErrorCode", - "traits": { - "smithy.api#documentation": "

The deployment job failure code.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the deployment job was created.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a deployment job.

" - } - }, - "com.amazonaws.robomaker#DeploymentJobErrorCode": { - "type": "enum", - "members": { - "ResourceNotFound": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ResourceNotFound" - } - }, - "EnvironmentSetupError": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "EnvironmentSetupError" - } - }, - "EtagMismatch": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "EtagMismatch" - } - }, - "FailureThresholdBreached": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FailureThresholdBreached" - } - }, - "RobotDeploymentAborted": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RobotDeploymentAborted" - } - }, - "RobotDeploymentNoResponse": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RobotDeploymentNoResponse" - } - }, - "RobotAgentConnectionTimeout": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RobotAgentConnectionTimeout" - } - }, - "GreengrassDeploymentFailed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GreengrassDeploymentFailed" - } - }, - "InvalidGreengrassGroup": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InvalidGreengrassGroup" - } - }, - "MissingRobotArchitecture": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "MissingRobotArchitecture" - } - }, - "MissingRobotApplicationArchitecture": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "MissingRobotApplicationArchitecture" - } - }, - "MissingRobotDeploymentResource": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "MissingRobotDeploymentResource" - } - }, - "GreengrassGroupVersionDoesNotExist": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "GreengrassGroupVersionDoesNotExist" - } - }, - "LambdaDeleted": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LambdaDeleted" - } - }, - "ExtractingBundleFailure": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ExtractingBundleFailure" - } - }, - "PreLaunchFileFailure": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PreLaunchFileFailure" - } - }, - "PostLaunchFileFailure": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PostLaunchFileFailure" - } - }, - "BadPermissionError": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BadPermissionError" - } - }, - "DownloadConditionFailed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DownloadConditionFailed" - } - }, - "BadLambdaAssociated": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BadLambdaAssociated" - } - }, - "InternalServerError": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InternalServerError" - } - }, - "RobotApplicationDoesNotExist": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RobotApplicationDoesNotExist" - } - }, - "DeploymentFleetDoesNotExist": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DeploymentFleetDoesNotExist" - } - }, - "FleetDeploymentTimeout": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FleetDeploymentTimeout" - } - } - } - }, - "com.amazonaws.robomaker#DeploymentJobs": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#DeploymentJob" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 200 - } - } - }, - "com.amazonaws.robomaker#DeploymentLaunchConfig": { - "type": "structure", - "members": { - "packageName": { - "target": "com.amazonaws.robomaker#Command", - "traits": { - "smithy.api#documentation": "

The package name.

", - "smithy.api#required": {} - } - }, - "preLaunchFile": { - "target": "com.amazonaws.robomaker#Path", - "traits": { - "smithy.api#documentation": "

The deployment pre-launch file. This file will be executed prior to the launch\n file.

" - } - }, - "launchFile": { - "target": "com.amazonaws.robomaker#Command", - "traits": { - "smithy.api#documentation": "

The launch file name.

", - "smithy.api#required": {} - } - }, - "postLaunchFile": { - "target": "com.amazonaws.robomaker#Path", - "traits": { - "smithy.api#documentation": "

The deployment post-launch file. This file will be executed after the launch\n file.

" - } - }, - "environmentVariables": { - "target": "com.amazonaws.robomaker#EnvironmentVariableMap", - "traits": { - "smithy.api#documentation": "

An array of key/value pairs specifying environment variables for the robot\n application

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Configuration information for a deployment launch.

" - } - }, - "com.amazonaws.robomaker#DeploymentStatus": { - "type": "enum", - "members": { - "Pending": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Pending" - } - }, - "Preparing": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Preparing" - } - }, - "InProgress": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InProgress" - } - }, - "Failed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - }, - "Succeeded": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Succeeded" - } - }, - "Canceled": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Canceled" - } - } - } - }, - "com.amazonaws.robomaker#DeploymentTimeout": { - "type": "long" - }, - "com.amazonaws.robomaker#DeploymentVersion": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - }, - "smithy.api#pattern": "^[0-9]*$" - } - }, - "com.amazonaws.robomaker#DeregisterRobot": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DeregisterRobotRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DeregisterRobotResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n \n

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

\n
\n

Deregisters a robot.

", - "smithy.api#http": { - "method": "POST", - "uri": "/deregisterRobot", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DeregisterRobotRequest": { - "type": "structure", - "members": { - "fleet": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

", - "smithy.api#required": {} - } - }, - "robot": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DeregisterRobotResponse": { - "type": "structure", - "members": { - "fleet": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

" - } - }, - "robot": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DescribeDeploymentJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DescribeDeploymentJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DescribeDeploymentJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n \n

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

\n
\n

Describes a deployment job.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeDeploymentJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DescribeDeploymentJobRequest": { - "type": "structure", - "members": { - "job": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the deployment job.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DescribeDeploymentJobResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the deployment job.

" - } - }, - "fleet": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#DeploymentStatus", - "traits": { - "smithy.api#documentation": "

The status of the deployment job.

" - } - }, - "deploymentConfig": { - "target": "com.amazonaws.robomaker#DeploymentConfig", - "traits": { - "smithy.api#documentation": "

The deployment configuration.

" - } - }, - "deploymentApplicationConfigs": { - "target": "com.amazonaws.robomaker#DeploymentApplicationConfigs", - "traits": { - "smithy.api#documentation": "

The deployment application configuration.

" - } - }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

A short description of the reason why the deployment job failed.

" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#DeploymentJobErrorCode", - "traits": { - "smithy.api#documentation": "

The deployment job failure code.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the deployment job was created.

" - } - }, - "robotDeploymentSummary": { - "target": "com.amazonaws.robomaker#RobotDeploymentSummary", - "traits": { - "smithy.api#documentation": "

A list of robot deployment summaries.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

The list of all tags added to the specified deployment job.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DescribeFleet": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DescribeFleetRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DescribeFleetResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n \n

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

\n
\n

Describes a fleet.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeFleet", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DescribeFleetRequest": { - "type": "structure", - "members": { - "fleet": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DescribeFleetResponse": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the fleet.

" - } - }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

" - } - }, - "robots": { - "target": "com.amazonaws.robomaker#Robots", - "traits": { - "smithy.api#documentation": "

A list of robots.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the fleet was created.

" - } - }, - "lastDeploymentStatus": { - "target": "com.amazonaws.robomaker#DeploymentStatus", - "traits": { - "smithy.api#documentation": "

The status of the last deployment.

" - } - }, - "lastDeploymentJob": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the last deployment job.

" - } - }, - "lastDeploymentTime": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time of the last deployment.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

The list of all tags added to the specified fleet.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DescribeRobot": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DescribeRobotRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DescribeRobotResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n \n

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

\n
\n

Describes a robot.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeRobot", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DescribeRobotApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DescribeRobotApplicationRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DescribeRobotApplicationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Describes a robot application.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeRobotApplication", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DescribeRobotApplicationRequest": { - "type": "structure", - "members": { - "application": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot application.

", - "smithy.api#required": {} - } - }, - "applicationVersion": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the robot application to describe.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DescribeRobotApplicationResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot application.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the robot application.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the robot application.

" - } - }, - "sources": { - "target": "com.amazonaws.robomaker#Sources", - "traits": { - "smithy.api#documentation": "

The sources of the robot application.

" - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

The robot software suite used by the robot application.

" - } - }, - "revisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

The revision id of the robot application.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the robot application was last\n updated.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

The list of all tags added to the specified robot application.

" - } - }, - "environment": { - "target": "com.amazonaws.robomaker#Environment", - "traits": { - "smithy.api#documentation": "

The object that contains the Docker image URI used to create the robot\n application.

" - } - }, - "imageDigest": { - "target": "com.amazonaws.robomaker#ImageDigest", - "traits": { - "smithy.api#documentation": "

A SHA256 identifier for the Docker image that you use for your robot application.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DescribeRobotRequest": { - "type": "structure", - "members": { - "robot": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot to be described.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DescribeRobotResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the robot.

" - } - }, - "fleetArn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#RobotStatus", - "traits": { - "smithy.api#documentation": "

The status of the fleet.

" - } - }, - "greengrassGroupId": { - "target": "com.amazonaws.robomaker#Id", - "traits": { - "smithy.api#documentation": "

The Greengrass group id.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the robot was created.

" - } - }, - "architecture": { - "target": "com.amazonaws.robomaker#Architecture", - "traits": { - "smithy.api#documentation": "

The target architecture of the robot application.

" - } - }, - "lastDeploymentJob": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the last deployment job.

" - } - }, - "lastDeploymentTime": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time of the last deployment job.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

The list of all tags added to the specified robot.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DescribeSimulationApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DescribeSimulationApplicationRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DescribeSimulationApplicationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Describes a simulation application.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeSimulationApplication", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DescribeSimulationApplicationRequest": { - "type": "structure", - "members": { - "application": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The application information for the simulation application.

", - "smithy.api#required": {} - } - }, - "applicationVersion": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the simulation application to describe.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DescribeSimulationApplicationResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot simulation application.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the simulation application.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the simulation application.

" - } - }, - "sources": { - "target": "com.amazonaws.robomaker#Sources", - "traits": { - "smithy.api#documentation": "

The sources of the simulation application.

" - } - }, - "simulationSoftwareSuite": { - "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", - "traits": { - "smithy.api#documentation": "

The simulation software suite used by the simulation application.

" - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

Information about the robot software suite.

" - } - }, - "renderingEngine": { - "target": "com.amazonaws.robomaker#RenderingEngine", - "traits": { - "smithy.api#documentation": "

The rendering engine for the simulation application.

" - } - }, - "revisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

The revision id of the simulation application.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation application was last\n updated.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

The list of all tags added to the specified simulation application.

" - } - }, - "environment": { - "target": "com.amazonaws.robomaker#Environment", - "traits": { - "smithy.api#documentation": "

The object that contains the Docker image URI used to create the simulation\n application.

" - } - }, - "imageDigest": { - "target": "com.amazonaws.robomaker#ImageDigest", - "traits": { - "smithy.api#documentation": "

A SHA256 identifier for the Docker image that you use for your simulation\n application.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DescribeSimulationJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DescribeSimulationJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DescribeSimulationJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Describes a simulation job.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeSimulationJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DescribeSimulationJobBatch": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DescribeSimulationJobBatchRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DescribeSimulationJobBatchResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Describes a simulation job batch.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeSimulationJobBatch", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DescribeSimulationJobBatchRequest": { - "type": "structure", - "members": { - "batch": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The id of the batch to describe.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DescribeSimulationJobBatchResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the batch.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#SimulationJobBatchStatus", - "traits": { - "smithy.api#documentation": "

The status of the batch.

\n
\n
Pending
\n
\n

The simulation job batch request is pending.

\n
\n
InProgress
\n
\n

The simulation job batch is in progress.

\n
\n
Failed
\n
\n

The simulation job batch failed. One or more simulation job requests could not\n be completed due to an internal failure (like InternalServiceError).\n See failureCode and failureReason for more\n information.

\n
\n
Completed
\n
\n

The simulation batch job completed. A batch is complete when (1) there are no\n pending simulation job requests in the batch and none of the failed simulation job\n requests are due to InternalServiceError and (2) when all created\n simulation jobs have reached a terminal state (for example, Completed\n or Failed).

\n
\n
Canceled
\n
\n

The simulation batch job was cancelled.

\n
\n
Canceling
\n
\n

The simulation batch job is being cancelled.

\n
\n
Completing
\n
\n

The simulation batch job is completing.

\n
\n
TimingOut
\n
\n

The simulation job batch is timing out.

\n

If a batch timing out, and there are pending requests that were failing due to\n an internal failure (like InternalServiceError), the batch status\n will be Failed. If there are no such failing request, the batch\n status will be TimedOut.

\n
\n
TimedOut
\n
\n

The simulation batch job timed out.

\n
\n
" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation job batch was last\n updated.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation job batch was\n created.

" - } - }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

" - } - }, - "batchPolicy": { - "target": "com.amazonaws.robomaker#BatchPolicy", - "traits": { - "smithy.api#documentation": "

The batch policy.

" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#SimulationJobBatchErrorCode", - "traits": { - "smithy.api#documentation": "

The failure code of the simulation job batch.

" - } - }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The reason the simulation job batch failed.

" - } - }, - "failedRequests": { - "target": "com.amazonaws.robomaker#FailedCreateSimulationJobRequests", - "traits": { - "smithy.api#documentation": "

A list of failed create simulation job requests. The request failed to be created into a\n simulation job. Failed requests do not have a simulation job ID.

" - } - }, - "pendingRequests": { - "target": "com.amazonaws.robomaker#CreateSimulationJobRequests", - "traits": { - "smithy.api#documentation": "

A list of pending simulation job requests. These requests have not yet been created into\n simulation jobs.

" - } - }, - "createdRequests": { - "target": "com.amazonaws.robomaker#SimulationJobSummaries", - "traits": { - "smithy.api#documentation": "

A list of created simulation job summaries.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the simulation job\n batch.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DescribeSimulationJobRequest": { - "type": "structure", - "members": { - "job": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the simulation job to be described.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DescribeSimulationJobResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the simulation job.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the simulation job.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#SimulationJobStatus", - "traits": { - "smithy.api#documentation": "

The status of the simulation job.

" - } - }, - "lastStartedAt": { - "target": "com.amazonaws.robomaker#LastStartedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation job was last\n started.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation job was last\n updated.

" - } - }, - "failureBehavior": { - "target": "com.amazonaws.robomaker#FailureBehavior", - "traits": { - "smithy.api#documentation": "

The failure behavior for the simulation job.

" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#SimulationJobErrorCode", - "traits": { - "smithy.api#documentation": "

The failure code of the simulation job if it failed:

\n
\n
InternalServiceError
\n
\n

Internal service error.

\n
\n
RobotApplicationCrash
\n
\n

Robot application exited abnormally.

\n
\n
SimulationApplicationCrash
\n
\n

Simulation application exited abnormally.

\n
\n
BadPermissionsRobotApplication
\n
\n

Robot application bundle could not be downloaded.

\n
\n
BadPermissionsSimulationApplication
\n
\n

Simulation application bundle could not be downloaded.

\n
\n
BadPermissionsS3Output
\n
\n

Unable to publish outputs to customer-provided S3 bucket.

\n
\n
BadPermissionsCloudwatchLogs
\n
\n

Unable to publish logs to customer-provided CloudWatch Logs resource.

\n
\n
SubnetIpLimitExceeded
\n
\n

Subnet IP limit exceeded.

\n
\n
ENILimitExceeded
\n
\n

ENI limit exceeded.

\n
\n
BadPermissionsUserCredentials
\n
\n

Unable to use the Role provided.

\n
\n
InvalidBundleRobotApplication
\n
\n

Robot bundle cannot be extracted (invalid format, bundling error, or other\n issue).

\n
\n
InvalidBundleSimulationApplication
\n
\n

Simulation bundle cannot be extracted (invalid format, bundling error, or other\n issue).

\n
\n
RobotApplicationVersionMismatchedEtag
\n
\n

Etag for RobotApplication does not match value during version creation.

\n
\n
SimulationApplicationVersionMismatchedEtag
\n
\n

Etag for SimulationApplication does not match value during version\n creation.

\n
\n
" - } - }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

Details about why the simulation job failed. For more information about troubleshooting,\n see Troubleshooting.

" - } - }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

" - } - }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation", - "traits": { - "smithy.api#documentation": "

Location for output files generated by the simulation job.

" - } - }, - "loggingConfig": { - "target": "com.amazonaws.robomaker#LoggingConfig", - "traits": { - "smithy.api#documentation": "

The logging configuration.

" - } - }, - "maxJobDurationInSeconds": { - "target": "com.amazonaws.robomaker#JobDuration", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The maximum job duration in seconds. The value must be 8 days (691,200 seconds) or\n less.

" - } - }, - "simulationTimeMillis": { - "target": "com.amazonaws.robomaker#SimulationTimeMillis", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The simulation job execution duration in milliseconds.

" - } - }, - "iamRole": { - "target": "com.amazonaws.robomaker#IamRole", - "traits": { - "smithy.api#documentation": "

The IAM role that allows the simulation instance to call the AWS APIs that are specified\n in its associated policies on your behalf.

" - } - }, - "robotApplications": { - "target": "com.amazonaws.robomaker#RobotApplicationConfigs", - "traits": { - "smithy.api#documentation": "

A list of robot applications.

" - } - }, - "simulationApplications": { - "target": "com.amazonaws.robomaker#SimulationApplicationConfigs", - "traits": { - "smithy.api#documentation": "

A list of simulation applications.

" - } - }, - "dataSources": { - "target": "com.amazonaws.robomaker#DataSources", - "traits": { - "smithy.api#documentation": "

The data sources for the simulation job.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

The list of all tags added to the specified simulation job.

" - } - }, - "vpcConfig": { - "target": "com.amazonaws.robomaker#VPCConfigResponse", - "traits": { - "smithy.api#documentation": "

The VPC configuration.

" - } - }, - "networkInterface": { - "target": "com.amazonaws.robomaker#NetworkInterface", - "traits": { - "smithy.api#documentation": "

The network interface information for the simulation job.

" - } - }, - "compute": { - "target": "com.amazonaws.robomaker#ComputeResponse", - "traits": { - "smithy.api#documentation": "

Compute information for the simulation job.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DescribeWorld": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DescribeWorldRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DescribeWorldResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Describes a world.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeWorld", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DescribeWorldExportJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DescribeWorldExportJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DescribeWorldExportJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Describes a world export job.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeWorldExportJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DescribeWorldExportJobRequest": { - "type": "structure", - "members": { - "job": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world export job to describe.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DescribeWorldExportJobResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the world export job.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#WorldExportJobStatus", - "traits": { - "smithy.api#documentation": "

The status of the world export job.

\n
\n
Pending
\n
\n

The world export job request is pending.

\n
\n
Running
\n
\n

The world export job is running.

\n
\n
Completed
\n
\n

The world export job completed.

\n
\n
Failed
\n
\n

The world export job failed. See failureCode and\n failureReason for more information.

\n
\n
Canceled
\n
\n

The world export job was cancelled.

\n
\n
Canceling
\n
\n

The world export job is being cancelled.

\n
\n
" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the world export job was created.

" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#WorldExportJobErrorCode", - "traits": { - "smithy.api#documentation": "

The failure code of the world export job if it failed:

\n
\n
InternalServiceError
\n
\n

Internal service error.

\n
\n
LimitExceeded
\n
\n

The requested resource exceeds the maximum number allowed, or the number of\n concurrent stream requests exceeds the maximum number allowed.

\n
\n
ResourceNotFound
\n
\n

The specified resource could not be found.

\n
\n
RequestThrottled
\n
\n

The request was throttled.

\n
\n
InvalidInput
\n
\n

An input parameter in the request is not valid.

\n
\n
" - } - }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The reason why the world export job failed.

" - } - }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

" - } - }, - "worlds": { - "target": "com.amazonaws.robomaker#Arns", - "traits": { - "smithy.api#documentation": "

A list of Amazon Resource Names (arns) that correspond to worlds to be exported.

" - } - }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation" - }, - "iamRole": { - "target": "com.amazonaws.robomaker#IamRole", - "traits": { - "smithy.api#documentation": "

The IAM role that the world export process uses to access the Amazon S3 bucket and put\n the export.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the world export\n job.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DescribeWorldGenerationJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DescribeWorldGenerationJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DescribeWorldGenerationJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Describes a world generation job.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeWorldGenerationJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DescribeWorldGenerationJobRequest": { - "type": "structure", - "members": { - "job": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world generation job to describe.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DescribeWorldGenerationJobResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the world generation job.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#WorldGenerationJobStatus", - "traits": { - "smithy.api#documentation": "

The status of the world generation job:

\n
\n
Pending
\n
\n

The world generation job request is pending.

\n
\n
Running
\n
\n

The world generation job is running.

\n
\n
Completed
\n
\n

The world generation job completed.

\n
\n
Failed
\n
\n

The world generation job failed. See failureCode for more\n information.

\n
\n
PartialFailed
\n
\n

Some worlds did not generate.

\n
\n
Canceled
\n
\n

The world generation job was cancelled.

\n
\n
Canceling
\n
\n

The world generation job is being cancelled.

\n
\n
" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the world generation job was\n created.

" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#WorldGenerationJobErrorCode", - "traits": { - "smithy.api#documentation": "

The failure code of the world generation job if it failed:

\n
\n
InternalServiceError
\n
\n

Internal service error.

\n
\n
LimitExceeded
\n
\n

The requested resource exceeds the maximum number allowed, or the number of\n concurrent stream requests exceeds the maximum number allowed.

\n
\n
ResourceNotFound
\n
\n

The specified resource could not be found.

\n
\n
RequestThrottled
\n
\n

The request was throttled.

\n
\n
InvalidInput
\n
\n

An input parameter in the request is not valid.

\n
\n
" - } - }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The reason why the world generation job failed.

" - } - }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

" - } - }, - "template": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world template.

" - } - }, - "worldCount": { - "target": "com.amazonaws.robomaker#WorldCount", - "traits": { - "smithy.api#documentation": "

Information about the world count.

" - } - }, - "finishedWorldsSummary": { - "target": "com.amazonaws.robomaker#FinishedWorldsSummary", - "traits": { - "smithy.api#documentation": "

Summary information about finished worlds.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the world generation\n job.

" - } - }, - "worldTags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the generated\n worlds.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DescribeWorldRequest": { - "type": "structure", - "members": { - "world": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world you want to describe.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DescribeWorldResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world.

" - } - }, - "generationJob": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world generation job that generated the\n world.

" - } - }, - "template": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The world template.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the world was created.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the world.

" - } - }, - "worldDescriptionBody": { - "target": "com.amazonaws.robomaker#Json", - "traits": { - "smithy.api#documentation": "

Returns the JSON formatted string that describes the contents of your world.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#DescribeWorldTemplate": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#DescribeWorldTemplateRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#DescribeWorldTemplateResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Describes a world template.

", - "smithy.api#http": { - "method": "POST", - "uri": "/describeWorldTemplate", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#DescribeWorldTemplateRequest": { - "type": "structure", - "members": { - "template": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world template you want to describe.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#DescribeWorldTemplateResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the world template.

" - } - }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#TemplateName", - "traits": { - "smithy.api#documentation": "

The name of the world template.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the world template was created.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the world template was last\n updated.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the world\n template.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The version of the world template that you're using.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#Environment": { - "type": "structure", - "members": { - "uri": { - "target": "com.amazonaws.robomaker#RepositoryUrl", - "traits": { - "smithy.api#documentation": "

The Docker image URI for either your robot or simulation applications.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The object that contains the Docker image URI for either your robot or simulation\n applications.

" - } - }, - "com.amazonaws.robomaker#EnvironmentVariableKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#pattern": "^[A-Z_][A-Z0-9_]*$" - } - }, - "com.amazonaws.robomaker#EnvironmentVariableMap": { - "type": "map", - "key": { - "target": "com.amazonaws.robomaker#EnvironmentVariableKey" - }, - "value": { - "target": "com.amazonaws.robomaker#EnvironmentVariableValue" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 20 - } - } - }, - "com.amazonaws.robomaker#EnvironmentVariableValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#pattern": ".*" - } - }, - "com.amazonaws.robomaker#ExitBehavior": { - "type": "enum", - "members": { - "FAIL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAIL" - } - }, - "RESTART": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RESTART" - } - } - } - }, - "com.amazonaws.robomaker#FailedAt": { - "type": "timestamp" - }, - "com.amazonaws.robomaker#FailedCreateSimulationJobRequest": { - "type": "structure", - "members": { - "request": { - "target": "com.amazonaws.robomaker#SimulationJobRequest", - "traits": { - "smithy.api#documentation": "

The simulation job request.

" - } - }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The failure reason of the simulation job request.

" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#SimulationJobErrorCode", - "traits": { - "smithy.api#documentation": "

The failure code.

" - } - }, - "failedAt": { - "target": "com.amazonaws.robomaker#FailedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation job batch failed.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a failed create simulation job request.

" - } - }, - "com.amazonaws.robomaker#FailedCreateSimulationJobRequests": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#FailedCreateSimulationJobRequest" - } - }, - "com.amazonaws.robomaker#FailureBehavior": { - "type": "enum", - "members": { - "Fail": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Fail" - } - }, - "Continue": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Continue" - } - } - } - }, - "com.amazonaws.robomaker#FailureSummary": { - "type": "structure", - "members": { - "totalFailureCount": { - "target": "com.amazonaws.robomaker#Integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The total number of failures.

" - } - }, - "failures": { - "target": "com.amazonaws.robomaker#WorldFailures", - "traits": { - "smithy.api#documentation": "

The worlds that failed.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about worlds that failed.

" - } - }, - "com.amazonaws.robomaker#Filter": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the filter.

" - } - }, - "values": { - "target": "com.amazonaws.robomaker#FilterValues", - "traits": { - "smithy.api#documentation": "

A list of values.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a filter.

" - } - }, - "com.amazonaws.robomaker#FilterValues": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#Name" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } - } - }, - "com.amazonaws.robomaker#Filters": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#Filter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } - } - }, - "com.amazonaws.robomaker#FinishedWorldsSummary": { - "type": "structure", - "members": { - "finishedCount": { - "target": "com.amazonaws.robomaker#Integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The total number of finished worlds.

" - } - }, - "succeededWorlds": { - "target": "com.amazonaws.robomaker#Arns", - "traits": { - "smithy.api#documentation": "

A list of worlds that succeeded.

" - } - }, - "failureSummary": { - "target": "com.amazonaws.robomaker#FailureSummary", - "traits": { - "smithy.api#documentation": "

Information about worlds that failed.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about worlds that finished.

" - } - }, - "com.amazonaws.robomaker#Fleet": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the fleet.

" - } - }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the fleet was created.

" - } - }, - "lastDeploymentStatus": { - "target": "com.amazonaws.robomaker#DeploymentStatus", - "traits": { - "smithy.api#documentation": "

The status of the last fleet deployment.

" - } - }, - "lastDeploymentJob": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the last deployment job.

" - } - }, - "lastDeploymentTime": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time of the last deployment.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a fleet.

" - } - }, - "com.amazonaws.robomaker#Fleets": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#Fleet" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 200 - } - } - }, - "com.amazonaws.robomaker#FloorplanCount": { - "type": "integer" - }, - "com.amazonaws.robomaker#GPUUnit": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 0, - "max": 1 - } - } - }, - "com.amazonaws.robomaker#GenericInteger": { - "type": "integer" - }, - "com.amazonaws.robomaker#GenericString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1024 - }, - "smithy.api#pattern": ".*" - } - }, - "com.amazonaws.robomaker#GetWorldTemplateBody": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#GetWorldTemplateBodyRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#GetWorldTemplateBodyResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Gets the world template body.

", - "smithy.api#http": { - "method": "POST", - "uri": "/getWorldTemplateBody", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#GetWorldTemplateBodyRequest": { - "type": "structure", - "members": { - "template": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world template.

" - } - }, - "generationJob": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world generator job.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#GetWorldTemplateBodyResponse": { - "type": "structure", - "members": { - "templateBody": { - "target": "com.amazonaws.robomaker#Json", - "traits": { - "smithy.api#documentation": "

The world template body.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#IamRole": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - }, - "smithy.api#pattern": "^arn:aws:iam::\\w+:role/" - } - }, - "com.amazonaws.robomaker#Id": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1224 - }, - "smithy.api#pattern": ".*" - } - }, - "com.amazonaws.robomaker#IdempotentParameterMismatchException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.robomaker#errorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The request uses the same client token as a previous, but non-identical request. Do not\n reuse a client token with different requests, unless the requests are identical.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.robomaker#ImageDigest": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 72 - }, - "smithy.api#pattern": "^[Ss][Hh][Aa]256:[0-9a-fA-F]{64}$" - } - }, - "com.amazonaws.robomaker#Integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.robomaker#InteriorCountPerFloorplan": { - "type": "integer" - }, - "com.amazonaws.robomaker#InternalServerException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.robomaker#errorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

AWS RoboMaker experienced a service issue. Try your call again.

", - "smithy.api#error": "server", - "smithy.api#httpError": 500 - } - }, - "com.amazonaws.robomaker#InvalidParameterException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.robomaker#errorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

A parameter specified in a request is not valid, is unsupported, or cannot be used. The\n returned message provides an explanation of the error value.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.robomaker#JobDuration": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.robomaker#Json": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 262144 - }, - "smithy.api#pattern": "^[\\S\\s]+$" - } - }, - "com.amazonaws.robomaker#LastStartedAt": { - "type": "timestamp" - }, - "com.amazonaws.robomaker#LastUpdatedAt": { - "type": "timestamp" - }, - "com.amazonaws.robomaker#LaunchConfig": { - "type": "structure", - "members": { - "packageName": { - "target": "com.amazonaws.robomaker#Command", - "traits": { - "smithy.api#documentation": "

The package name.

" - } - }, - "launchFile": { - "target": "com.amazonaws.robomaker#Command", - "traits": { - "smithy.api#documentation": "

The launch file name.

" - } - }, - "environmentVariables": { - "target": "com.amazonaws.robomaker#EnvironmentVariableMap", - "traits": { - "smithy.api#documentation": "

The environment variables for the application launch.

" - } - }, - "portForwardingConfig": { - "target": "com.amazonaws.robomaker#PortForwardingConfig", - "traits": { - "smithy.api#documentation": "

The port forwarding configuration.

" - } - }, - "streamUI": { - "target": "com.amazonaws.robomaker#Boolean", - "traits": { - "smithy.api#default": false, - "smithy.api#documentation": "

Boolean indicating whether a streaming session will be configured for the application.\n If True, AWS RoboMaker will configure a connection so you can interact with\n your application as it is running in the simulation. You must configure and launch the\n component. It must have a graphical user interface.

" - } - }, - "command": { - "target": "com.amazonaws.robomaker#CommandList", - "traits": { - "smithy.api#documentation": "

If you've specified General as the value for your RobotSoftwareSuite, you can use this field to specify a list of commands for your container image.

\n

If you've specified SimulationRuntime as the value for your SimulationSoftwareSuite, you can use this field to specify a list of commands for your container image.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a launch configuration.

" - } - }, - "com.amazonaws.robomaker#LimitExceededException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.robomaker#errorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The requested resource exceeds the maximum number allowed, or the number of concurrent\n stream requests exceeds the maximum number allowed.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.robomaker#ListDeploymentJobs": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#ListDeploymentJobsRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#ListDeploymentJobsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n \n

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

\n
\n

\n Returns a list of deployment jobs for a fleet. You can optionally provide filters to retrieve specific deployment jobs.\n

", - "smithy.api#http": { - "method": "POST", - "uri": "/listDeploymentJobs", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "deploymentJobs", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.robomaker#ListDeploymentJobsRequest": { - "type": "structure", - "members": { - "filters": { - "target": "com.amazonaws.robomaker#Filters", - "traits": { - "smithy.api#documentation": "

Optional filters to limit results.

\n

The filter names status and fleetName are supported. When\n filtering, you must use the complete value of the filtered item. You can use up to three\n filters, but they must be for the same named item. For example, if you are looking for\n items with the status InProgress or the status Pending.

" - } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListDeploymentJobs again and assign that token to\n the request object's nextToken parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.

" - } - }, - "maxResults": { - "target": "com.amazonaws.robomaker#MaxResults", - "traits": { - "smithy.api#documentation": "

When this parameter is used, ListDeploymentJobs only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListDeploymentJobs request with the returned nextToken\n value. This value can be between 1 and 200. If this parameter is not used, then\n ListDeploymentJobs returns up to 200 results and a nextToken\n value if applicable.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#ListDeploymentJobsResponse": { - "type": "structure", - "members": { - "deploymentJobs": { - "target": "com.amazonaws.robomaker#DeploymentJobs", - "traits": { - "smithy.api#documentation": "

A list of deployment jobs that meet the criteria of the request.

" - } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListDeploymentJobs again and assign that token to\n the request object's nextToken parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#ListFleets": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#ListFleetsRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#ListFleetsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n \n

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

\n
\n

\n Returns a list of fleets. You can optionally provide filters to retrieve specific fleets.\n

", - "smithy.api#http": { - "method": "POST", - "uri": "/listFleets", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "fleetDetails", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.robomaker#ListFleetsRequest": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListFleets again and assign that token to the\n request object's nextToken parameter. If there are no remaining results, the\n previous response object's NextToken parameter is set to null.

\n \n

This token should be treated as an opaque identifier that is only used to retrieve\n the next items in a list and not for other programmatic purposes.

\n
" - } - }, - "maxResults": { - "target": "com.amazonaws.robomaker#MaxResults", - "traits": { - "smithy.api#documentation": "

When this parameter is used, ListFleets only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListFleets request with the returned nextToken value.\n This value can be between 1 and 200. If this parameter is not used, then\n ListFleets returns up to 200 results and a nextToken value if\n applicable.

" - } - }, - "filters": { - "target": "com.amazonaws.robomaker#Filters", - "traits": { - "smithy.api#documentation": "

Optional filters to limit results.

\n

The filter name name is supported. When filtering, you must use the\n complete value of the filtered item. You can use up to three filters.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#ListFleetsResponse": { - "type": "structure", - "members": { - "fleetDetails": { - "target": "com.amazonaws.robomaker#Fleets", - "traits": { - "smithy.api#documentation": "

A list of fleet details meeting the request criteria.

" - } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListFleets again and assign that token to the\n request object's nextToken parameter. If there are no remaining results, the\n previous response object's NextToken parameter is set to null.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#ListRobotApplications": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#ListRobotApplicationsRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#ListRobotApplicationsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Returns a list of robot application. You can optionally provide filters to retrieve\n specific robot applications.

", - "smithy.api#http": { - "method": "POST", - "uri": "/listRobotApplications", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "robotApplicationSummaries", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.robomaker#ListRobotApplicationsRequest": { - "type": "structure", - "members": { - "versionQualifier": { - "target": "com.amazonaws.robomaker#VersionQualifier", - "traits": { - "smithy.api#documentation": "

The version qualifier of the robot application.

" - } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListRobotApplications again and assign that token to\n the request object's nextToken parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.

" - } - }, - "maxResults": { - "target": "com.amazonaws.robomaker#MaxResults", - "traits": { - "smithy.api#documentation": "

When this parameter is used, ListRobotApplications only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListRobotApplications request with the returned nextToken\n value. This value can be between 1 and 100. If this parameter is not used, then\n ListRobotApplications returns up to 100 results and a\n nextToken value if applicable.

" - } - }, - "filters": { - "target": "com.amazonaws.robomaker#Filters", - "traits": { - "smithy.api#documentation": "

Optional filters to limit results.

\n

The filter name name is supported. When filtering, you must use the\n complete value of the filtered item. You can use up to three filters.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#ListRobotApplicationsResponse": { - "type": "structure", - "members": { - "robotApplicationSummaries": { - "target": "com.amazonaws.robomaker#RobotApplicationSummaries", - "traits": { - "smithy.api#documentation": "

A list of robot application summaries that meet the criteria of the request.

" - } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListRobotApplications again and assign that token to\n the request object's nextToken parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#ListRobots": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#ListRobotsRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#ListRobotsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n \n

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

\n
\n

\n Returns a list of robots. You can optionally provide filters to retrieve specific robots.\n

", - "smithy.api#http": { - "method": "POST", - "uri": "/listRobots", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "robots", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.robomaker#ListRobotsRequest": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListRobots again and assign that token to the\n request object's nextToken parameter. If there are no remaining results, the\n previous response object's NextToken parameter is set to null.

" - } - }, - "maxResults": { - "target": "com.amazonaws.robomaker#MaxResults", - "traits": { - "smithy.api#documentation": "

When this parameter is used, ListRobots only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListRobots request with the returned nextToken value.\n This value can be between 1 and 200. If this parameter is not used, then\n ListRobots returns up to 200 results and a nextToken value if\n applicable.

" - } - }, - "filters": { - "target": "com.amazonaws.robomaker#Filters", - "traits": { - "smithy.api#documentation": "

Optional filters to limit results.

\n

The filter names status and fleetName are supported. When\n filtering, you must use the complete value of the filtered item. You can use up to three\n filters, but they must be for the same named item. For example, if you are looking for\n items with the status Registered or the status Available.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#ListRobotsResponse": { - "type": "structure", - "members": { - "robots": { - "target": "com.amazonaws.robomaker#Robots", - "traits": { - "smithy.api#documentation": "

A list of robots that meet the criteria of the request.

" - } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListRobots again and assign that token to the\n request object's nextToken parameter. If there are no remaining results, the\n previous response object's NextToken parameter is set to null.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#ListSimulationApplications": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#ListSimulationApplicationsRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#ListSimulationApplicationsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Returns a list of simulation applications. You can optionally provide filters to\n retrieve specific simulation applications.

", - "smithy.api#http": { - "method": "POST", - "uri": "/listSimulationApplications", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "simulationApplicationSummaries", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.robomaker#ListSimulationApplicationsRequest": { - "type": "structure", - "members": { - "versionQualifier": { - "target": "com.amazonaws.robomaker#VersionQualifier", - "traits": { - "smithy.api#documentation": "

The version qualifier of the simulation application.

" - } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListSimulationApplications again and assign that\n token to the request object's nextToken parameter. If there are no remaining\n results, the previous response object's NextToken parameter is set to null.

" - } - }, - "maxResults": { - "target": "com.amazonaws.robomaker#MaxResults", - "traits": { - "smithy.api#documentation": "

When this parameter is used, ListSimulationApplications only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListSimulationApplications request with the returned\n nextToken value. This value can be between 1 and 100. If this parameter is\n not used, then ListSimulationApplications returns up to 100 results and a\n nextToken value if applicable.

" - } - }, - "filters": { - "target": "com.amazonaws.robomaker#Filters", - "traits": { - "smithy.api#documentation": "

Optional list of filters to limit results.

\n

The filter name name is supported. When filtering, you must use the\n complete value of the filtered item. You can use up to three filters.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#ListSimulationApplicationsResponse": { - "type": "structure", - "members": { - "simulationApplicationSummaries": { - "target": "com.amazonaws.robomaker#SimulationApplicationSummaries", - "traits": { - "smithy.api#documentation": "

A list of simulation application summaries that meet the criteria of the request.

" - } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListSimulationApplications again and assign that\n token to the request object's nextToken parameter. If there are no remaining\n results, the previous response object's NextToken parameter is set to null.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#ListSimulationJobBatches": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#ListSimulationJobBatchesRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#ListSimulationJobBatchesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Returns a list simulation job batches. You can optionally provide filters to retrieve\n specific simulation batch jobs.

", - "smithy.api#http": { - "method": "POST", - "uri": "/listSimulationJobBatches", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "simulationJobBatchSummaries", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.robomaker#ListSimulationJobBatchesRequest": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListSimulationJobBatches again and assign that token\n to the request object's nextToken parameter. If there are no remaining\n results, the previous response object's NextToken parameter is set to null.

" - } - }, - "maxResults": { - "target": "com.amazonaws.robomaker#MaxResults", - "traits": { - "smithy.api#documentation": "

When this parameter is used, ListSimulationJobBatches only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListSimulationJobBatches request with the returned\n nextToken value.

" - } - }, - "filters": { - "target": "com.amazonaws.robomaker#Filters", - "traits": { - "smithy.api#documentation": "

Optional filters to limit results.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#ListSimulationJobBatchesResponse": { - "type": "structure", - "members": { - "simulationJobBatchSummaries": { - "target": "com.amazonaws.robomaker#SimulationJobBatchSummaries", - "traits": { - "smithy.api#documentation": "

A list of simulation job batch summaries.

" - } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListSimulationJobBatches again and assign that token\n to the request object's nextToken parameter. If there are no remaining\n results, the previous response object's NextToken parameter is set to null.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#ListSimulationJobs": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#ListSimulationJobsRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#ListSimulationJobsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Returns a list of simulation jobs. You can optionally provide filters to retrieve\n specific simulation jobs.

", - "smithy.api#http": { - "method": "POST", - "uri": "/listSimulationJobs", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "simulationJobSummaries", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.robomaker#ListSimulationJobsRequest": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListSimulationJobs again and assign that token to\n the request object's nextToken parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.

" - } - }, - "maxResults": { - "target": "com.amazonaws.robomaker#MaxResults", - "traits": { - "smithy.api#documentation": "

When this parameter is used, ListSimulationJobs only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListSimulationJobs request with the returned nextToken\n value. This value can be between 1 and 1000. If this parameter is not used, then\n ListSimulationJobs returns up to 1000 results and a nextToken\n value if applicable.

" - } - }, - "filters": { - "target": "com.amazonaws.robomaker#Filters", - "traits": { - "smithy.api#documentation": "

Optional filters to limit results.

\n

The filter names status and simulationApplicationName and\n robotApplicationName are supported. When filtering, you must use the\n complete value of the filtered item. You can use up to three filters, but they must be for\n the same named item. For example, if you are looking for items with the status\n Preparing or the status Running.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#ListSimulationJobsResponse": { - "type": "structure", - "members": { - "simulationJobSummaries": { - "target": "com.amazonaws.robomaker#SimulationJobSummaries", - "traits": { - "smithy.api#documentation": "

A list of simulation job summaries that meet the criteria of the request.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListSimulationJobs again and assign that token to\n the request object's nextToken parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#ListTagsForResourceRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#ListTagsForResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Lists all tags on a AWS RoboMaker resource.

", - "smithy.api#http": { - "method": "GET", - "uri": "/tags/{resourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#ListTagsForResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The AWS RoboMaker Amazon Resource Name (ARN) with tags to be listed.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#ListTagsForResourceResponse": { - "type": "structure", - "members": { - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

The list of all tags added to the specified resource.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#ListWorldExportJobs": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#ListWorldExportJobsRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#ListWorldExportJobsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Lists world export jobs.

", - "smithy.api#http": { - "method": "POST", - "uri": "/listWorldExportJobs", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "worldExportJobSummaries", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.robomaker#ListWorldExportJobsRequest": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListWorldExportJobs again and assign that token to\n the request object's nextToken parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.

" - } - }, - "maxResults": { - "target": "com.amazonaws.robomaker#MaxResults", - "traits": { - "smithy.api#documentation": "

When this parameter is used, ListWorldExportJobs only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListWorldExportJobs request with the returned nextToken\n value. This value can be between 1 and 100. If this parameter is not used, then\n ListWorldExportJobs returns up to 100 results and a nextToken\n value if applicable.

" - } - }, - "filters": { - "target": "com.amazonaws.robomaker#Filters", - "traits": { - "smithy.api#documentation": "

Optional filters to limit results. You can use generationJobId and\n templateId.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#ListWorldExportJobsResponse": { - "type": "structure", - "members": { - "worldExportJobSummaries": { - "target": "com.amazonaws.robomaker#WorldExportJobSummaries", - "traits": { - "smithy.api#documentation": "

Summary information for world export jobs.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListWorldExportJobsRequest again and assign that\n token to the request object's nextToken parameter. If there are no remaining\n results, the previous response object's NextToken parameter is set to null.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#ListWorldGenerationJobs": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#ListWorldGenerationJobsRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#ListWorldGenerationJobsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Lists world generator jobs.

", - "smithy.api#http": { - "method": "POST", - "uri": "/listWorldGenerationJobs", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "worldGenerationJobSummaries", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.robomaker#ListWorldGenerationJobsRequest": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListWorldGenerationJobsRequest again and assign that\n token to the request object's nextToken parameter. If there are no remaining\n results, the previous response object's NextToken parameter is set to null.

" - } - }, - "maxResults": { - "target": "com.amazonaws.robomaker#MaxResults", - "traits": { - "smithy.api#documentation": "

When this parameter is used, ListWorldGeneratorJobs only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListWorldGeneratorJobs request with the returned\n nextToken value. This value can be between 1 and 100. If this parameter is\n not used, then ListWorldGeneratorJobs returns up to 100 results and a\n nextToken value if applicable.

" - } - }, - "filters": { - "target": "com.amazonaws.robomaker#Filters", - "traits": { - "smithy.api#documentation": "

Optional filters to limit results. You can use status and\n templateId.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#ListWorldGenerationJobsResponse": { - "type": "structure", - "members": { - "worldGenerationJobSummaries": { - "target": "com.amazonaws.robomaker#WorldGenerationJobSummaries", - "traits": { - "smithy.api#documentation": "

Summary information for world generator jobs.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListWorldGeneratorJobsRequest again and assign that\n token to the request object's nextToken parameter. If there are no remaining\n results, the previous response object's NextToken parameter is set to null.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#ListWorldTemplates": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#ListWorldTemplatesRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#ListWorldTemplatesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Lists world templates.

", - "smithy.api#http": { - "method": "POST", - "uri": "/listWorldTemplates", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "templateSummaries", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.robomaker#ListWorldTemplatesRequest": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListWorldTemplates again and assign that token to\n the request object's nextToken parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.

" - } - }, - "maxResults": { - "target": "com.amazonaws.robomaker#MaxResults", - "traits": { - "smithy.api#documentation": "

When this parameter is used, ListWorldTemplates only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListWorldTemplates request with the returned nextToken\n value. This value can be between 1 and 100. If this parameter is not used, then\n ListWorldTemplates returns up to 100 results and a nextToken\n value if applicable.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#ListWorldTemplatesResponse": { - "type": "structure", - "members": { - "templateSummaries": { - "target": "com.amazonaws.robomaker#TemplateSummaries", - "traits": { - "smithy.api#documentation": "

Summary information for templates.

" - } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListWorldTemplates again and assign that token to\n the request object's nextToken parameter. If there are no remaining results,\n the previous response object's NextToken parameter is set to null.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#ListWorlds": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#ListWorldsRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#ListWorldsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Lists worlds.

", - "smithy.api#http": { - "method": "POST", - "uri": "/listWorlds", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "worldSummaries", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.robomaker#ListWorldsRequest": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListWorlds again and assign that token to the\n request object's nextToken parameter. If there are no remaining results, the\n previous response object's NextToken parameter is set to null.

" - } - }, - "maxResults": { - "target": "com.amazonaws.robomaker#MaxResults", - "traits": { - "smithy.api#documentation": "

When this parameter is used, ListWorlds only returns\n maxResults results in a single page along with a nextToken\n response element. The remaining results of the initial request can be seen by sending\n another ListWorlds request with the returned nextToken value.\n This value can be between 1 and 100. If this parameter is not used, then\n ListWorlds returns up to 100 results and a nextToken value if\n applicable.

" - } - }, - "filters": { - "target": "com.amazonaws.robomaker#Filters", - "traits": { - "smithy.api#documentation": "

Optional filters to limit results. You can use status.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#ListWorldsResponse": { - "type": "structure", - "members": { - "worldSummaries": { - "target": "com.amazonaws.robomaker#WorldSummaries", - "traits": { - "smithy.api#documentation": "

Summary information for worlds.

" - } - }, - "nextToken": { - "target": "com.amazonaws.robomaker#PaginationToken", - "traits": { - "smithy.api#documentation": "

If the previous paginated request did not return all of the remaining results, the\n response object's nextToken parameter value is set to a token. To retrieve the\n next set of results, call ListWorlds again and assign that token to the\n request object's nextToken parameter. If there are no remaining results, the\n previous response object's NextToken parameter is set to null.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#LoggingConfig": { - "type": "structure", - "members": { - "recordAllRosTopics": { - "target": "com.amazonaws.robomaker#BoxedBoolean", - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is ending support for ROS software suite. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/software-support-policy.html." - }, - "smithy.api#documentation": "

A boolean indicating whether to record all ROS topics.

\n \n

This API is no longer supported and will throw an error if used.

\n
" - } - } - }, - "traits": { - "smithy.api#documentation": "

The logging configuration.

" - } - }, - "com.amazonaws.robomaker#MaxConcurrency": { - "type": "integer" - }, - "com.amazonaws.robomaker#MaxResults": { - "type": "integer" - }, - "com.amazonaws.robomaker#Name": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_\\-]*$" - } - }, - "com.amazonaws.robomaker#NetworkInterface": { - "type": "structure", - "members": { - "networkInterfaceId": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The ID of the network interface.

" - } - }, - "privateIpAddress": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The IPv4 address of the network interface within the subnet.

" - } - }, - "publicIpAddress": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The IPv4 public address of the network interface.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Describes a network interface.

" - } - }, - "com.amazonaws.robomaker#NonEmptyString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - }, - "smithy.api#pattern": "^.+$" - } - }, - "com.amazonaws.robomaker#NonSystemPort": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1024, - "max": 65535 - } - } - }, - "com.amazonaws.robomaker#OutputLocation": { - "type": "structure", - "members": { - "s3Bucket": { - "target": "com.amazonaws.robomaker#S3Bucket", - "traits": { - "smithy.api#documentation": "

The S3 bucket for output.

" - } - }, - "s3Prefix": { - "target": "com.amazonaws.robomaker#S3Key", - "traits": { - "smithy.api#documentation": "

The S3 folder in the s3Bucket where output files will be placed.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The output location.

" - } - }, - "com.amazonaws.robomaker#PaginationToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 2048 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_.\\-\\/+=]*$" - } - }, - "com.amazonaws.robomaker#Path": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#pattern": ".*" - } - }, - "com.amazonaws.robomaker#PercentDone": { - "type": "float", - "traits": { - "smithy.api#range": { - "min": 0.0, - "max": 100.0 - } - } - }, - "com.amazonaws.robomaker#Percentage": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.robomaker#Port": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 65535 - } - } - }, - "com.amazonaws.robomaker#PortForwardingConfig": { - "type": "structure", - "members": { - "portMappings": { - "target": "com.amazonaws.robomaker#PortMappingList", - "traits": { - "smithy.api#documentation": "

The port mappings for the configuration.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Configuration information for port forwarding.

" - } - }, - "com.amazonaws.robomaker#PortMapping": { - "type": "structure", - "members": { - "jobPort": { - "target": "com.amazonaws.robomaker#Port", - "traits": { - "smithy.api#documentation": "

The port number on the simulation job instance to use as a remote connection point.\n

", - "smithy.api#required": {} - } - }, - "applicationPort": { - "target": "com.amazonaws.robomaker#NonSystemPort", - "traits": { - "smithy.api#documentation": "

The port number on the application.

", - "smithy.api#required": {} - } - }, - "enableOnPublicIp": { - "target": "com.amazonaws.robomaker#Boolean", - "traits": { - "smithy.api#default": false, - "smithy.api#documentation": "

A Boolean indicating whether to enable this port mapping on public IP.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An object representing a port mapping.

" - } - }, - "com.amazonaws.robomaker#PortMappingList": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#PortMapping" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 10 - } - } - }, - "com.amazonaws.robomaker#ProgressDetail": { - "type": "structure", - "members": { - "currentProgress": { - "target": "com.amazonaws.robomaker#RobotDeploymentStep", - "traits": { - "smithy.api#documentation": "

The current progress status.

\n
\n
Validating
\n
\n

Validating the deployment.

\n
\n
DownloadingExtracting
\n
\n

Downloading and extracting the bundle on the robot.

\n
\n
ExecutingPreLaunch
\n
\n

Executing pre-launch script(s) if provided.

\n
\n
Launching
\n
\n

Launching the robot application.

\n
\n
ExecutingPostLaunch
\n
\n

Executing post-launch script(s) if provided.

\n
\n
Finished
\n
\n

Deployment is complete.

\n
\n
" - } - }, - "percentDone": { - "target": "com.amazonaws.robomaker#PercentDone", - "traits": { - "smithy.api#documentation": "

Precentage of the step that is done. This currently only applies to the\n Downloading/Extracting step of the deployment. It is empty for other\n steps.

" - } - }, - "estimatedTimeRemainingSeconds": { - "target": "com.amazonaws.robomaker#GenericInteger", - "traits": { - "smithy.api#documentation": "

Estimated amount of time in seconds remaining in the step. This currently only applies\n to the Downloading/Extracting step of the deployment. It is empty for other\n steps.

" - } - }, - "targetResource": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the deployment job.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about the progress of a deployment job.

" - } - }, - "com.amazonaws.robomaker#RegisterRobot": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#RegisterRobotRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#RegisterRobotResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Registers a robot with a fleet.

\n \n

This API is no longer supported and will throw an error if used. For more information, see the January 31, 2022 update in the Support policy page.

\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/registerRobot", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#RegisterRobotRequest": { - "type": "structure", - "members": { - "fleet": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

", - "smithy.api#required": {} - } - }, - "robot": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#RegisterRobotResponse": { - "type": "structure", - "members": { - "fleet": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet that the robot will join.

" - } - }, - "robot": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

Information about the robot registration.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is unable to process this request as the support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#RenderingEngine": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#RenderingEngineType", - "traits": { - "smithy.api#documentation": "

The name of the rendering engine.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#RenderingEngineVersionType", - "traits": { - "smithy.api#documentation": "

The version of the rendering engine.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a rendering engine.

" - } - }, - "com.amazonaws.robomaker#RenderingEngineType": { - "type": "enum", - "members": { - "OGRE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "OGRE" - } - } - } - }, - "com.amazonaws.robomaker#RenderingEngineVersionType": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 4 - }, - "smithy.api#pattern": "^1.x$" - } - }, - "com.amazonaws.robomaker#RepositoryUrl": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#pattern": "^.+$" - } - }, - "com.amazonaws.robomaker#ResourceAlreadyExistsException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.robomaker#errorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The specified resource already exists.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.robomaker#ResourceNotFoundException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.robomaker#errorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The specified resource does not exist.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.robomaker#RestartSimulationJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#RestartSimulationJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#RestartSimulationJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Restarts a running simulation job.

", - "smithy.api#http": { - "method": "POST", - "uri": "/restartSimulationJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#RestartSimulationJobRequest": { - "type": "structure", - "members": { - "job": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the simulation job.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#RestartSimulationJobResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#RevisionId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 40 - }, - "smithy.api#pattern": "^[a-zA-Z0-9_.\\-]*$" - } - }, - "com.amazonaws.robomaker#Robot": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the robot.

" - } - }, - "fleetArn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#RobotStatus", - "traits": { - "smithy.api#documentation": "

The status of the robot.

" - } - }, - "greenGrassGroupId": { - "target": "com.amazonaws.robomaker#Id", - "traits": { - "smithy.api#documentation": "

The Greengrass group associated with the robot.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the robot was created.

" - } - }, - "architecture": { - "target": "com.amazonaws.robomaker#Architecture", - "traits": { - "smithy.api#documentation": "

The architecture of the robot.

" - } - }, - "lastDeploymentJob": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the last deployment job.

" - } - }, - "lastDeploymentTime": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time of the last deployment.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a robot.

" - } - }, - "com.amazonaws.robomaker#RobotApplicationConfig": { - "type": "structure", - "members": { - "application": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The application information for the robot application.

", - "smithy.api#required": {} - } - }, - "applicationVersion": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the robot application.

" - } - }, - "launchConfig": { - "target": "com.amazonaws.robomaker#LaunchConfig", - "traits": { - "smithy.api#documentation": "

The launch configuration for the robot application.

", - "smithy.api#required": {} - } - }, - "uploadConfigurations": { - "target": "com.amazonaws.robomaker#UploadConfigurations", - "traits": { - "smithy.api#documentation": "

The upload configurations for the robot application.

" - } - }, - "useDefaultUploadConfigurations": { - "target": "com.amazonaws.robomaker#BoxedBoolean", - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is ending support for ROS software suite. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/software-support-policy.html." - }, - "smithy.api#documentation": "

A Boolean indicating whether to use default upload configurations. By default,\n .ros and .gazebo files are uploaded when the application\n terminates and all ROS topics will be recorded.

\n

If you set this value, you must specify an outputLocation.

\n \n

This API is no longer supported and will throw an error if used.

\n
" - } - }, - "tools": { - "target": "com.amazonaws.robomaker#Tools", - "traits": { - "smithy.api#documentation": "

Information about tools configured for the robot application.

" - } - }, - "useDefaultTools": { - "target": "com.amazonaws.robomaker#BoxedBoolean", - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is ending support for ROS software suite. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/software-support-policy.html." - }, - "smithy.api#documentation": "

A Boolean indicating whether to use default robot application tools. The default tools\n are rviz, rqt, terminal and rosbag record. The default is False.

\n \n

This API is no longer supported and will throw an error if used.

\n
" - } - } - }, - "traits": { - "smithy.api#documentation": "

Application configuration information for a robot.

" - } - }, - "com.amazonaws.robomaker#RobotApplicationConfigs": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#RobotApplicationConfig" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } - } - }, - "com.amazonaws.robomaker#RobotApplicationNames": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#Name" - } - }, - "com.amazonaws.robomaker#RobotApplicationSummaries": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#RobotApplicationSummary" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.robomaker#RobotApplicationSummary": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the robot application.

" - } - }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the robot.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the robot application.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the robot application was last\n updated.

" - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

Information about a robot software suite.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Summary information for a robot application.

" - } - }, - "com.amazonaws.robomaker#RobotDeployment": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The robot deployment Amazon Resource Name (ARN).

" - } - }, - "deploymentStartTime": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the deployment was started.

" - } - }, - "deploymentFinishTime": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the deployment finished.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#RobotStatus", - "traits": { - "smithy.api#documentation": "

The status of the robot deployment.

" - } - }, - "progressDetail": { - "target": "com.amazonaws.robomaker#ProgressDetail", - "traits": { - "smithy.api#documentation": "

Information about how the deployment is progressing.

" - } - }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

A short description of the reason why the robot deployment failed.

" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#DeploymentJobErrorCode", - "traits": { - "smithy.api#documentation": "

The robot deployment failure code.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a robot deployment.

" - } - }, - "com.amazonaws.robomaker#RobotDeploymentStep": { - "type": "enum", - "members": { - "ValidatingStep": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Validating" - } - }, - "DownloadingExtractingStep": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DownloadingExtracting" - } - }, - "ExecutingDownloadCondition": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ExecutingDownloadCondition" - } - }, - "PreLaunchStep": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ExecutingPreLaunch" - } - }, - "LaunchingStep": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Launching" - } - }, - "PostLaunchStep": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ExecutingPostLaunch" - } - }, - "FinishedStep": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Finished" - } - } - } - }, - "com.amazonaws.robomaker#RobotDeploymentSummary": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#RobotDeployment" - } - }, - "com.amazonaws.robomaker#RobotSoftwareSuite": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuiteType", - "traits": { - "smithy.api#documentation": "

The name of the robot software suite. General is the only supported value.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuiteVersionType", - "traits": { - "smithy.api#documentation": "

The version of the robot software suite. Not applicable for General software suite.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a robot software suite.

" - } - }, - "com.amazonaws.robomaker#RobotSoftwareSuiteType": { - "type": "enum", - "members": { - "ROS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ROS" - } - }, - "ROS2": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ROS2" - } - }, - "General": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "General" - } - } - } - }, - "com.amazonaws.robomaker#RobotSoftwareSuiteVersionType": { - "type": "enum", - "members": { - "Kinetic": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Kinetic" - } - }, - "Melodic": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Melodic" - } - }, - "Dashing": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Dashing" - } - }, - "Foxy": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Foxy" - } - } - } - }, - "com.amazonaws.robomaker#RobotStatus": { - "type": "enum", - "members": { - "Available": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Available" - } - }, - "Registered": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Registered" - } - }, - "PendingNewDeployment": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PendingNewDeployment" - } - }, - "Deploying": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Deploying" - } - }, - "Failed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - }, - "InSync": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InSync" - } - }, - "NoResponse": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NoResponse" - } - } - } - }, - "com.amazonaws.robomaker#Robots": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#Robot" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1000 - } - } - }, - "com.amazonaws.robomaker#S3Bucket": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 3, - "max": 63 - }, - "smithy.api#pattern": "^[a-z0-9][a-z0-9.\\-]*[a-z0-9]$" - } - }, - "com.amazonaws.robomaker#S3Etag": { - "type": "string" - }, - "com.amazonaws.robomaker#S3Etags": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#S3Etag" - } - }, - "com.amazonaws.robomaker#S3Key": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#pattern": ".*" - } - }, - "com.amazonaws.robomaker#S3KeyOrPrefix": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1024 - }, - "smithy.api#pattern": ".*" - } - }, - "com.amazonaws.robomaker#S3KeyOutput": { - "type": "structure", - "members": { - "s3Key": { - "target": "com.amazonaws.robomaker#S3KeyOrPrefix", - "traits": { - "smithy.api#documentation": "

The S3 key.

" - } - }, - "etag": { - "target": "com.amazonaws.robomaker#S3Etag", - "traits": { - "smithy.api#documentation": "

The etag for the object.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about S3 keys.

" - } - }, - "com.amazonaws.robomaker#S3KeyOutputs": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#S3KeyOutput" - } - }, - "com.amazonaws.robomaker#S3KeysOrPrefixes": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#S3KeyOrPrefix" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.robomaker#S3Object": { - "type": "structure", - "members": { - "bucket": { - "target": "com.amazonaws.robomaker#S3Bucket", - "traits": { - "smithy.api#documentation": "

The bucket containing the object.

", - "smithy.api#required": {} - } - }, - "key": { - "target": "com.amazonaws.robomaker#S3Key", - "traits": { - "smithy.api#documentation": "

The key of the object.

", - "smithy.api#required": {} - } - }, - "etag": { - "target": "com.amazonaws.robomaker#S3Etag", - "traits": { - "smithy.api#documentation": "

The etag of the object.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about an S3 object.

" - } - }, - "com.amazonaws.robomaker#SecurityGroups": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#NonEmptyString" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 5 - } - } - }, - "com.amazonaws.robomaker#ServiceUnavailableException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.robomaker#errorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The request has failed due to a temporary failure of the server.

", - "smithy.api#error": "server", - "smithy.api#httpError": 503 - } - }, - "com.amazonaws.robomaker#SimulationApplicationConfig": { - "type": "structure", - "members": { - "application": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The application information for the simulation application.

", - "smithy.api#required": {} - } - }, - "applicationVersion": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the simulation application.

" - } - }, - "launchConfig": { - "target": "com.amazonaws.robomaker#LaunchConfig", - "traits": { - "smithy.api#documentation": "

The launch configuration for the simulation application.

", - "smithy.api#required": {} - } - }, - "uploadConfigurations": { - "target": "com.amazonaws.robomaker#UploadConfigurations", - "traits": { - "smithy.api#documentation": "

Information about upload configurations for the simulation application.

" - } - }, - "worldConfigs": { - "target": "com.amazonaws.robomaker#WorldConfigs", - "traits": { - "smithy.api#documentation": "

A list of world configurations.

\n \n

This API is no longer supported and will throw an error if used.

\n
" - } - }, - "useDefaultUploadConfigurations": { - "target": "com.amazonaws.robomaker#BoxedBoolean", - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is ending support for ROS software suite. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/software-support-policy.html." - }, - "smithy.api#documentation": "

A Boolean indicating whether to use default upload configurations. By default,\n .ros and .gazebo files are uploaded when the application\n terminates and all ROS topics will be recorded.

\n

If you set this value, you must specify an outputLocation.

\n \n

This API is no longer supported and will throw an error if used.

\n
" - } - }, - "tools": { - "target": "com.amazonaws.robomaker#Tools", - "traits": { - "smithy.api#documentation": "

Information about tools configured for the simulation application.

" - } - }, - "useDefaultTools": { - "target": "com.amazonaws.robomaker#BoxedBoolean", - "traits": { - "smithy.api#deprecated": { - "message": "AWS RoboMaker is ending support for ROS software suite. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/software-support-policy.html." - }, - "smithy.api#documentation": "

A Boolean indicating whether to use default simulation application tools. The default\n tools are rviz, rqt, terminal and rosbag record. The default is False.

\n \n

This API is no longer supported and will throw an error if used.

\n
" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a simulation application configuration.

" - } - }, - "com.amazonaws.robomaker#SimulationApplicationConfigs": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#SimulationApplicationConfig" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } - } - }, - "com.amazonaws.robomaker#SimulationApplicationNames": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#Name" - } - }, - "com.amazonaws.robomaker#SimulationApplicationSummaries": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#SimulationApplicationSummary" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.robomaker#SimulationApplicationSummary": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the simulation application.

" - } - }, - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the simulation application.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the simulation application.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation application was last\n updated.

" - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

Information about a robot software suite.

" - } - }, - "simulationSoftwareSuite": { - "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", - "traits": { - "smithy.api#documentation": "

Information about a simulation software suite.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Summary information for a simulation application.

" - } - }, - "com.amazonaws.robomaker#SimulationJob": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the simulation job.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the simulation job.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#SimulationJobStatus", - "traits": { - "smithy.api#documentation": "

Status of the simulation job.

" - } - }, - "lastStartedAt": { - "target": "com.amazonaws.robomaker#LastStartedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation job was last\n started.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation job was last\n updated.

" - } - }, - "failureBehavior": { - "target": "com.amazonaws.robomaker#FailureBehavior", - "traits": { - "smithy.api#documentation": "

The failure behavior the simulation job.

\n
\n
Continue
\n
\n

Leaves the host running for its maximum timeout duration after a\n 4XX error code.

\n
\n
Fail
\n
\n

Stop the simulation job and terminate the instance.

\n
\n
" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#SimulationJobErrorCode", - "traits": { - "smithy.api#documentation": "

The failure code of the simulation job if it failed.

" - } - }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The reason why the simulation job failed.

" - } - }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

A unique identifier for this SimulationJob request.

" - } - }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation", - "traits": { - "smithy.api#documentation": "

Location for output files generated by the simulation job.

" - } - }, - "loggingConfig": { - "target": "com.amazonaws.robomaker#LoggingConfig", - "traits": { - "smithy.api#documentation": "

The logging configuration.

" - } - }, - "maxJobDurationInSeconds": { - "target": "com.amazonaws.robomaker#JobDuration", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The maximum simulation job duration in seconds. The value must be 8 days (691,200\n seconds) or less.

" - } - }, - "simulationTimeMillis": { - "target": "com.amazonaws.robomaker#SimulationTimeMillis", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The simulation job execution duration in milliseconds.

" - } - }, - "iamRole": { - "target": "com.amazonaws.robomaker#IamRole", - "traits": { - "smithy.api#documentation": "

The IAM role that allows the simulation instance to call the AWS APIs that are specified\n in its associated policies on your behalf. This is how credentials are passed in to your\n simulation job.

" - } - }, - "robotApplications": { - "target": "com.amazonaws.robomaker#RobotApplicationConfigs", - "traits": { - "smithy.api#documentation": "

A list of robot applications.

" - } - }, - "simulationApplications": { - "target": "com.amazonaws.robomaker#SimulationApplicationConfigs", - "traits": { - "smithy.api#documentation": "

A list of simulation applications.

" - } - }, - "dataSources": { - "target": "com.amazonaws.robomaker#DataSources", - "traits": { - "smithy.api#documentation": "

The data sources for the simulation job.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the simulation\n job.

" - } - }, - "vpcConfig": { - "target": "com.amazonaws.robomaker#VPCConfigResponse", - "traits": { - "smithy.api#documentation": "

VPC configuration information.

" - } - }, - "networkInterface": { - "target": "com.amazonaws.robomaker#NetworkInterface", - "traits": { - "smithy.api#documentation": "

Information about a network interface.

" - } - }, - "compute": { - "target": "com.amazonaws.robomaker#ComputeResponse", - "traits": { - "smithy.api#documentation": "

Compute information for the simulation job

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a simulation job.

" - } - }, - "com.amazonaws.robomaker#SimulationJobBatchErrorCode": { - "type": "enum", - "members": { - "InternalServiceError": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InternalServiceError" - } - } - } - }, - "com.amazonaws.robomaker#SimulationJobBatchStatus": { - "type": "enum", - "members": { - "Pending": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Pending" - } - }, - "InProgress": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InProgress" - } - }, - "Failed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - }, - "Completed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Completed" - } - }, - "Canceled": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Canceled" - } - }, - "Canceling": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Canceling" - } - }, - "Completing": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Completing" - } - }, - "TimingOut": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "TimingOut" - } - }, - "TimedOut": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "TimedOut" - } - } - } - }, - "com.amazonaws.robomaker#SimulationJobBatchSummaries": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#SimulationJobBatchSummary" - } - }, - "com.amazonaws.robomaker#SimulationJobBatchSummary": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the batch.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation job batch was last updated.\n

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation job batch was\n created.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#SimulationJobBatchStatus", - "traits": { - "smithy.api#documentation": "

The status of the simulation job batch.

\n
\n
Pending
\n
\n

The simulation job batch request is pending.

\n
\n
InProgress
\n
\n

The simulation job batch is in progress.

\n
\n
Failed
\n
\n

The simulation job batch failed. One or more simulation job requests could not\n be completed due to an internal failure (like InternalServiceError).\n See failureCode and failureReason for more\n information.

\n
\n
Completed
\n
\n

The simulation batch job completed. A batch is complete when (1) there are no\n pending simulation job requests in the batch and none of the failed simulation job\n requests are due to InternalServiceError and (2) when all created\n simulation jobs have reached a terminal state (for example, Completed\n or Failed).

\n
\n
Canceled
\n
\n

The simulation batch job was cancelled.

\n
\n
Canceling
\n
\n

The simulation batch job is being cancelled.

\n
\n
Completing
\n
\n

The simulation batch job is completing.

\n
\n
TimingOut
\n
\n

The simulation job batch is timing out.

\n

If a batch timing out, and there are pending requests that were failing due to\n an internal failure (like InternalServiceError), the batch status\n will be Failed. If there are no such failing request, the batch\n status will be TimedOut.

\n
\n
TimedOut
\n
\n

The simulation batch job timed out.

\n
\n
" - } - }, - "failedRequestCount": { - "target": "com.amazonaws.robomaker#Integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The number of failed simulation job requests.

" - } - }, - "pendingRequestCount": { - "target": "com.amazonaws.robomaker#Integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The number of pending simulation job requests.

" - } - }, - "createdRequestCount": { - "target": "com.amazonaws.robomaker#Integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The number of created simulation job requests.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a simulation job batch.

" - } - }, - "com.amazonaws.robomaker#SimulationJobErrorCode": { - "type": "enum", - "members": { - "InternalServiceError": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InternalServiceError" - } - }, - "RobotApplicationCrash": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RobotApplicationCrash" - } - }, - "SimulationApplicationCrash": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SimulationApplicationCrash" - } - }, - "RobotApplicationHealthCheckFailure": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RobotApplicationHealthCheckFailure" - } - }, - "SimulationApplicationHealthCheckFailure": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SimulationApplicationHealthCheckFailure" - } - }, - "BadPermissionsRobotApplication": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BadPermissionsRobotApplication" - } - }, - "BadPermissionsSimulationApplication": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BadPermissionsSimulationApplication" - } - }, - "BadPermissionsS3Object": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BadPermissionsS3Object" - } - }, - "BadPermissionsS3Output": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BadPermissionsS3Output" - } - }, - "BadPermissionsCloudwatchLogs": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BadPermissionsCloudwatchLogs" - } - }, - "SubnetIpLimitExceeded": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SubnetIpLimitExceeded" - } - }, - "ENILimitExceeded": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ENILimitExceeded" - } - }, - "BadPermissionsUserCredentials": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BadPermissionsUserCredentials" - } - }, - "InvalidBundleRobotApplication": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InvalidBundleRobotApplication" - } - }, - "InvalidBundleSimulationApplication": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InvalidBundleSimulationApplication" - } - }, - "InvalidS3Resource": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InvalidS3Resource" - } - }, - "ThrottlingError": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ThrottlingError" - } - }, - "LimitExceeded": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LimitExceeded" - } - }, - "MismatchedEtag": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "MismatchedEtag" - } - }, - "RobotApplicationVersionMismatchedEtag": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RobotApplicationVersionMismatchedEtag" - } - }, - "SimulationApplicationVersionMismatchedEtag": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SimulationApplicationVersionMismatchedEtag" - } - }, - "ResourceNotFound": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ResourceNotFound" - } - }, - "RequestThrottled": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RequestThrottled" - } - }, - "BatchTimedOut": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BatchTimedOut" - } - }, - "BatchCanceled": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "BatchCanceled" - } - }, - "InvalidInput": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InvalidInput" - } - }, - "WrongRegionS3Bucket": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "WrongRegionS3Bucket" - } - }, - "WrongRegionS3Output": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "WrongRegionS3Output" - } - }, - "WrongRegionRobotApplication": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "WrongRegionRobotApplication" - } - }, - "WrongRegionSimulationApplication": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "WrongRegionSimulationApplication" - } - }, - "UploadContentMismatchError": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UploadContentMismatchError" - } - } - } - }, - "com.amazonaws.robomaker#SimulationJobRequest": { - "type": "structure", - "members": { - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation" - }, - "loggingConfig": { - "target": "com.amazonaws.robomaker#LoggingConfig" - }, - "maxJobDurationInSeconds": { - "target": "com.amazonaws.robomaker#JobDuration", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The maximum simulation job duration in seconds. The value must be 8 days (691,200\n seconds) or less.

", - "smithy.api#required": {} - } - }, - "iamRole": { - "target": "com.amazonaws.robomaker#IamRole", - "traits": { - "smithy.api#documentation": "

The IAM role name that allows the simulation instance to call the AWS APIs that are\n specified in its associated policies on your behalf. This is how credentials are passed in\n to your simulation job.

" - } - }, - "failureBehavior": { - "target": "com.amazonaws.robomaker#FailureBehavior", - "traits": { - "smithy.api#documentation": "

The failure behavior the simulation job.

\n
\n
Continue
\n
\n

Leaves the host running for its maximum timeout duration after a\n 4XX error code.

\n
\n
Fail
\n
\n

Stop the simulation job and terminate the instance.

\n
\n
" - } - }, - "useDefaultApplications": { - "target": "com.amazonaws.robomaker#BoxedBoolean", - "traits": { - "smithy.api#documentation": "

A Boolean indicating whether to use default applications in the simulation job. Default\n applications include Gazebo, rqt, rviz and terminal access.

" - } - }, - "robotApplications": { - "target": "com.amazonaws.robomaker#RobotApplicationConfigs", - "traits": { - "smithy.api#documentation": "

The robot applications to use in the simulation job.

" - } - }, - "simulationApplications": { - "target": "com.amazonaws.robomaker#SimulationApplicationConfigs", - "traits": { - "smithy.api#documentation": "

The simulation applications to use in the simulation job.

" - } - }, - "dataSources": { - "target": "com.amazonaws.robomaker#DataSourceConfigs", - "traits": { - "smithy.api#documentation": "

Specify data sources to mount read-only files from S3 into your simulation. These files\n are available under /opt/robomaker/datasources/data_source_name.

\n \n

There is a limit of 100 files and a combined size of 25GB for all\n DataSourceConfig objects.

\n
" - } - }, - "vpcConfig": { - "target": "com.amazonaws.robomaker#VPCConfig" - }, - "compute": { - "target": "com.amazonaws.robomaker#Compute", - "traits": { - "smithy.api#documentation": "

Compute information for the simulation job

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the simulation job\n request.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a simulation job request.

" - } - }, - "com.amazonaws.robomaker#SimulationJobStatus": { - "type": "enum", - "members": { - "Pending": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Pending" - } - }, - "Preparing": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Preparing" - } - }, - "Running": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Running" - } - }, - "Restarting": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Restarting" - } - }, - "Completed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Completed" - } - }, - "Failed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - }, - "RunningFailed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RunningFailed" - } - }, - "Terminating": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Terminating" - } - }, - "Terminated": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Terminated" - } - }, - "Canceled": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Canceled" - } - } - } - }, - "com.amazonaws.robomaker#SimulationJobSummaries": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#SimulationJobSummary" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.robomaker#SimulationJobSummary": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the simulation job.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation job was last\n updated.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the simulation job.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#SimulationJobStatus", - "traits": { - "smithy.api#documentation": "

The status of the simulation job.

" - } - }, - "simulationApplicationNames": { - "target": "com.amazonaws.robomaker#SimulationApplicationNames", - "traits": { - "smithy.api#documentation": "

A list of simulation job simulation application names.

" - } - }, - "robotApplicationNames": { - "target": "com.amazonaws.robomaker#RobotApplicationNames", - "traits": { - "smithy.api#documentation": "

A list of simulation job robot application names.

" - } - }, - "dataSourceNames": { - "target": "com.amazonaws.robomaker#DataSourceNames", - "traits": { - "smithy.api#documentation": "

The names of the data sources.

" - } - }, - "computeType": { - "target": "com.amazonaws.robomaker#ComputeType", - "traits": { - "smithy.api#documentation": "

The compute type for the simulation job summary.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Summary information for a simulation job.

" - } - }, - "com.amazonaws.robomaker#SimulationJobs": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#SimulationJob" - } - }, - "com.amazonaws.robomaker#SimulationSoftwareSuite": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#SimulationSoftwareSuiteType", - "traits": { - "smithy.api#documentation": "

The name of the simulation software suite. SimulationRuntime is the only supported value.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#SimulationSoftwareSuiteVersionType", - "traits": { - "smithy.api#documentation": "

The version of the simulation software suite. Not applicable for SimulationRuntime.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a simulation software suite.

" - } - }, - "com.amazonaws.robomaker#SimulationSoftwareSuiteType": { - "type": "enum", - "members": { - "Gazebo": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Gazebo" - } - }, - "RosbagPlay": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RosbagPlay" - } - }, - "SimulationRuntime": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SimulationRuntime" - } - } - } - }, - "com.amazonaws.robomaker#SimulationSoftwareSuiteVersionType": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1024 - }, - "smithy.api#pattern": "^7|9|11|Kinetic|Melodic|Dashing|Foxy$" - } - }, - "com.amazonaws.robomaker#SimulationTimeMillis": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.robomaker#SimulationUnit": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 15 - } - } - }, - "com.amazonaws.robomaker#Source": { - "type": "structure", - "members": { - "s3Bucket": { - "target": "com.amazonaws.robomaker#S3Bucket", - "traits": { - "smithy.api#documentation": "

The s3 bucket name.

" - } - }, - "s3Key": { - "target": "com.amazonaws.robomaker#S3Key", - "traits": { - "smithy.api#documentation": "

The s3 object key.

" - } - }, - "etag": { - "target": "com.amazonaws.robomaker#S3Etag", - "traits": { - "smithy.api#documentation": "

A hash of the object specified by s3Bucket and s3Key.

" - } - }, - "architecture": { - "target": "com.amazonaws.robomaker#Architecture", - "traits": { - "smithy.api#documentation": "

The taget processor architecture for the application.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a source.

" - } - }, - "com.amazonaws.robomaker#SourceConfig": { - "type": "structure", - "members": { - "s3Bucket": { - "target": "com.amazonaws.robomaker#S3Bucket", - "traits": { - "smithy.api#documentation": "

The Amazon S3 bucket name.

" - } - }, - "s3Key": { - "target": "com.amazonaws.robomaker#S3Key", - "traits": { - "smithy.api#documentation": "

The s3 object key.

" - } - }, - "architecture": { - "target": "com.amazonaws.robomaker#Architecture", - "traits": { - "smithy.api#documentation": "

The target processor architecture for the application.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a source configuration.

" - } - }, - "com.amazonaws.robomaker#SourceConfigs": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#SourceConfig" - } - }, - "com.amazonaws.robomaker#Sources": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#Source" - } - }, - "com.amazonaws.robomaker#StartSimulationJobBatch": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#StartSimulationJobBatchRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#StartSimulationJobBatchResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#IdempotentParameterMismatchException" - }, - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Starts a new simulation job batch. The batch is defined using one or more\n SimulationJobRequest objects.

", - "smithy.api#http": { - "method": "POST", - "uri": "/startSimulationJobBatch", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#StartSimulationJobBatchRequest": { - "type": "structure", - "members": { - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

", - "smithy.api#idempotencyToken": {} - } - }, - "batchPolicy": { - "target": "com.amazonaws.robomaker#BatchPolicy", - "traits": { - "smithy.api#documentation": "

The batch policy.

" - } - }, - "createSimulationJobRequests": { - "target": "com.amazonaws.robomaker#CreateSimulationJobRequests", - "traits": { - "smithy.api#documentation": "

A list of simulation job requests to create in the batch.

", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the deployment job\n batch.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#StartSimulationJobBatchResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the batch.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#SimulationJobBatchStatus", - "traits": { - "smithy.api#documentation": "

The status of the simulation job batch.

\n
\n
Pending
\n
\n

The simulation job batch request is pending.

\n
\n
InProgress
\n
\n

The simulation job batch is in progress.

\n
\n
Failed
\n
\n

The simulation job batch failed. One or more simulation job requests could not\n be completed due to an internal failure (like InternalServiceError).\n See failureCode and failureReason for more\n information.

\n
\n
Completed
\n
\n

The simulation batch job completed. A batch is complete when (1) there are no\n pending simulation job requests in the batch and none of the failed simulation job\n requests are due to InternalServiceError and (2) when all created\n simulation jobs have reached a terminal state (for example, Completed\n or Failed).

\n
\n
Canceled
\n
\n

The simulation batch job was cancelled.

\n
\n
Canceling
\n
\n

The simulation batch job is being cancelled.

\n
\n
Completing
\n
\n

The simulation batch job is completing.

\n
\n
TimingOut
\n
\n

The simulation job batch is timing out.

\n

If a batch timing out, and there are pending requests that were failing due to\n an internal failure (like InternalServiceError), the batch status\n will be Failed. If there are no such failing request, the batch\n status will be TimedOut.

\n
\n
TimedOut
\n
\n

The simulation batch job timed out.

\n
\n
" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation job batch was\n created.

" - } - }, - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

" - } - }, - "batchPolicy": { - "target": "com.amazonaws.robomaker#BatchPolicy", - "traits": { - "smithy.api#documentation": "

The batch policy.

" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#SimulationJobBatchErrorCode", - "traits": { - "smithy.api#documentation": "

The failure code if the simulation job batch failed.

" - } - }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The reason the simulation job batch failed.

" - } - }, - "failedRequests": { - "target": "com.amazonaws.robomaker#FailedCreateSimulationJobRequests", - "traits": { - "smithy.api#documentation": "

A list of failed simulation job requests. The request failed to be created into a\n simulation job. Failed requests do not have a simulation job ID.

" - } - }, - "pendingRequests": { - "target": "com.amazonaws.robomaker#CreateSimulationJobRequests", - "traits": { - "smithy.api#documentation": "

A list of pending simulation job requests. These requests have not yet been created into\n simulation jobs.

" - } - }, - "createdRequests": { - "target": "com.amazonaws.robomaker#SimulationJobSummaries", - "traits": { - "smithy.api#documentation": "

A list of created simulation job request summaries.

" - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the deployment job\n batch.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#Subnets": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#NonEmptyString" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 16 - } - } - }, - "com.amazonaws.robomaker#SyncDeploymentJob": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#SyncDeploymentJobRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#SyncDeploymentJobResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#ConcurrentDeploymentException" - }, - { - "target": "com.amazonaws.robomaker#IdempotentParameterMismatchException" - }, - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n \n

This API is no longer supported. For more information, see the May 2, 2022 update in the Support policy page.

\n
\n

\n Syncrhonizes robots in a fleet to the latest deployment. This is helpful if robots were added after a deployment.\n

", - "smithy.api#http": { - "method": "POST", - "uri": "/syncDeploymentJob", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#SyncDeploymentJobRequest": { - "type": "structure", - "members": { - "clientRequestToken": { - "target": "com.amazonaws.robomaker#ClientRequestToken", - "traits": { - "smithy.api#documentation": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

", - "smithy.api#idempotencyToken": {}, - "smithy.api#required": {} - } - }, - "fleet": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The target fleet for the synchronization.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#SyncDeploymentJobResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the synchronization request.

" - } - }, - "fleet": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the fleet.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#DeploymentStatus", - "traits": { - "smithy.api#documentation": "

The status of the synchronization job.

" - } - }, - "deploymentConfig": { - "target": "com.amazonaws.robomaker#DeploymentConfig", - "traits": { - "smithy.api#documentation": "

Information about the deployment configuration.

" - } - }, - "deploymentApplicationConfigs": { - "target": "com.amazonaws.robomaker#DeploymentApplicationConfigs", - "traits": { - "smithy.api#documentation": "

Information about the deployment application configurations.

" - } - }, - "failureReason": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The failure reason if the job fails.

" - } - }, - "failureCode": { - "target": "com.amazonaws.robomaker#DeploymentJobErrorCode", - "traits": { - "smithy.api#documentation": "

The failure code if the job fails:

\n
\n
InternalServiceError
\n
\n

Internal service error.

\n
\n
RobotApplicationCrash
\n
\n

Robot application exited abnormally.

\n
\n
SimulationApplicationCrash
\n
\n

Simulation application exited abnormally.

\n
\n
BadPermissionsRobotApplication
\n
\n

Robot application bundle could not be downloaded.

\n
\n
BadPermissionsSimulationApplication
\n
\n

Simulation application bundle could not be downloaded.

\n
\n
BadPermissionsS3Output
\n
\n

Unable to publish outputs to customer-provided S3 bucket.

\n
\n
BadPermissionsCloudwatchLogs
\n
\n

Unable to publish logs to customer-provided CloudWatch Logs resource.

\n
\n
SubnetIpLimitExceeded
\n
\n

Subnet IP limit exceeded.

\n
\n
ENILimitExceeded
\n
\n

ENI limit exceeded.

\n
\n
BadPermissionsUserCredentials
\n
\n

Unable to use the Role provided.

\n
\n
InvalidBundleRobotApplication
\n
\n

Robot bundle cannot be extracted (invalid format, bundling error, or other\n issue).

\n
\n
InvalidBundleSimulationApplication
\n
\n

Simulation bundle cannot be extracted (invalid format, bundling error, or other\n issue).

\n
\n
RobotApplicationVersionMismatchedEtag
\n
\n

Etag for RobotApplication does not match value during version creation.

\n
\n
SimulationApplicationVersionMismatchedEtag
\n
\n

Etag for SimulationApplication does not match value during version\n creation.

\n
\n
" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the fleet was created.

" - } - } - }, - "traits": { - "smithy.api#deprecated": { - "message": "Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html." - }, - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#TagKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^[a-zA-Z0-9 _.\\-\\/+=:]*$" - } - }, - "com.amazonaws.robomaker#TagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#TagKey" - } - }, - "com.amazonaws.robomaker#TagMap": { - "type": "map", - "key": { - "target": "com.amazonaws.robomaker#TagKey" - }, - "value": { - "target": "com.amazonaws.robomaker#TagValue" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 50 - } - } - }, - "com.amazonaws.robomaker#TagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#TagResourceRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#TagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Adds or edits tags for a AWS RoboMaker resource.

\n

Each tag consists of a tag key and a tag value. Tag keys and tag values are both\n required, but tag values can be empty strings.

\n

For information about the rules that apply to tag keys and tag values, see User-Defined Tag Restrictions in the AWS Billing and Cost Management\n User Guide.

", - "smithy.api#http": { - "method": "POST", - "uri": "/tags/{resourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#TagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are tagging.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.robomaker#TagMap", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that are attached to the resource.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#TagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#TagValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - }, - "smithy.api#pattern": "^[a-zA-Z0-9 _.\\-\\/+=:]*$" - } - }, - "com.amazonaws.robomaker#TemplateLocation": { - "type": "structure", - "members": { - "s3Bucket": { - "target": "com.amazonaws.robomaker#S3Bucket", - "traits": { - "smithy.api#documentation": "

The Amazon S3 bucket name.

", - "smithy.api#required": {} - } - }, - "s3Key": { - "target": "com.amazonaws.robomaker#S3Key", - "traits": { - "smithy.api#documentation": "

The list of S3 keys identifying the data source files.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a template location.

" - } - }, - "com.amazonaws.robomaker#TemplateName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 255 - }, - "smithy.api#pattern": ".*" - } - }, - "com.amazonaws.robomaker#TemplateSummaries": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#TemplateSummary" - } - }, - "com.amazonaws.robomaker#TemplateSummary": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the template.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the template was created.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the template was last updated.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#TemplateName", - "traits": { - "smithy.api#documentation": "

The name of the template.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The version of the template that you're using.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Summary information for a template.

" - } - }, - "com.amazonaws.robomaker#ThrottlingException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.robomaker#errorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

AWS RoboMaker is temporarily unable to process the request. Try your call again.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.robomaker#Tool": { - "type": "structure", - "members": { - "streamUI": { - "target": "com.amazonaws.robomaker#BoxedBoolean", - "traits": { - "smithy.api#documentation": "

Boolean indicating whether a streaming session will be configured for the tool. If\n True, AWS RoboMaker will configure a connection so you can interact with\n the tool as it is running in the simulation. It must have a graphical user interface. The\n default is False.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the tool.

", - "smithy.api#required": {} - } - }, - "command": { - "target": "com.amazonaws.robomaker#UnrestrictedCommand", - "traits": { - "smithy.api#documentation": "

Command-line arguments for the tool. It must include the tool executable name.

", - "smithy.api#required": {} - } - }, - "streamOutputToCloudWatch": { - "target": "com.amazonaws.robomaker#BoxedBoolean", - "traits": { - "smithy.api#documentation": "

Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default\n is False.

" - } - }, - "exitBehavior": { - "target": "com.amazonaws.robomaker#ExitBehavior", - "traits": { - "smithy.api#documentation": "

Exit behavior determines what happens when your tool quits running. RESTART\n will cause your tool to be restarted. FAIL will cause your job to exit. The\n default is RESTART.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a tool. Tools are used in a simulation job.

" - } - }, - "com.amazonaws.robomaker#Tools": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#Tool" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 10 - } - } - }, - "com.amazonaws.robomaker#UnrestrictedCommand": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - }, - "smithy.api#pattern": ".*" - } - }, - "com.amazonaws.robomaker#UntagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#UntagResourceRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#UntagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Removes the specified tags from the specified AWS RoboMaker resource.

\n

To remove a tag, specify the tag key. To change the tag value of an existing tag key,\n use \n TagResource\n .

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/tags/{resourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#UntagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS RoboMaker resource you are removing\n tags.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tagKeys": { - "target": "com.amazonaws.robomaker#TagKeyList", - "traits": { - "smithy.api#documentation": "

A map that contains tag keys and tag values that will be unattached from the\n resource.

", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#UntagResourceResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#UpdateRobotApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#UpdateRobotApplicationRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#UpdateRobotApplicationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Updates a robot application.

", - "smithy.api#http": { - "method": "POST", - "uri": "/updateRobotApplication", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#UpdateRobotApplicationRequest": { - "type": "structure", - "members": { - "application": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The application information for the robot application.

", - "smithy.api#required": {} - } - }, - "sources": { - "target": "com.amazonaws.robomaker#SourceConfigs", - "traits": { - "smithy.api#documentation": "

The sources of the robot application.

" - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

The robot software suite used by the robot application.

", - "smithy.api#required": {} - } - }, - "currentRevisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

The revision id for the robot application.

" - } - }, - "environment": { - "target": "com.amazonaws.robomaker#Environment", - "traits": { - "smithy.api#documentation": "

The object that contains the Docker image URI for your robot application.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#UpdateRobotApplicationResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the updated robot application.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the robot application.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the robot application.

" - } - }, - "sources": { - "target": "com.amazonaws.robomaker#Sources", - "traits": { - "smithy.api#documentation": "

The sources of the robot application.

" - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

The robot software suite used by the robot application.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the robot application was last\n updated.

" - } - }, - "revisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

The revision id of the robot application.

" - } - }, - "environment": { - "target": "com.amazonaws.robomaker#Environment", - "traits": { - "smithy.api#documentation": "

The object that contains the Docker image URI for your robot application.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#UpdateSimulationApplication": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#UpdateSimulationApplicationRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#UpdateSimulationApplicationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#LimitExceededException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Updates a simulation application.

", - "smithy.api#http": { - "method": "POST", - "uri": "/updateSimulationApplication", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#UpdateSimulationApplicationRequest": { - "type": "structure", - "members": { - "application": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The application information for the simulation application.

", - "smithy.api#required": {} - } - }, - "sources": { - "target": "com.amazonaws.robomaker#SourceConfigs", - "traits": { - "smithy.api#documentation": "

The sources of the simulation application.

" - } - }, - "simulationSoftwareSuite": { - "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", - "traits": { - "smithy.api#documentation": "

The simulation software suite used by the simulation application.

", - "smithy.api#required": {} - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

Information about the robot software suite.

", - "smithy.api#required": {} - } - }, - "renderingEngine": { - "target": "com.amazonaws.robomaker#RenderingEngine", - "traits": { - "smithy.api#documentation": "

The rendering engine for the simulation application.

" - } - }, - "currentRevisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

The revision id for the robot application.

" - } - }, - "environment": { - "target": "com.amazonaws.robomaker#Environment", - "traits": { - "smithy.api#documentation": "

The object that contains the Docker image URI for your simulation application.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#UpdateSimulationApplicationResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the updated simulation application.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

The name of the simulation application.

" - } - }, - "version": { - "target": "com.amazonaws.robomaker#Version", - "traits": { - "smithy.api#documentation": "

The version of the robot application.

" - } - }, - "sources": { - "target": "com.amazonaws.robomaker#Sources", - "traits": { - "smithy.api#documentation": "

The sources of the simulation application.

" - } - }, - "simulationSoftwareSuite": { - "target": "com.amazonaws.robomaker#SimulationSoftwareSuite", - "traits": { - "smithy.api#documentation": "

The simulation software suite used by the simulation application.

" - } - }, - "robotSoftwareSuite": { - "target": "com.amazonaws.robomaker#RobotSoftwareSuite", - "traits": { - "smithy.api#documentation": "

Information about the robot software suite.

" - } - }, - "renderingEngine": { - "target": "com.amazonaws.robomaker#RenderingEngine", - "traits": { - "smithy.api#documentation": "

The rendering engine for the simulation application.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the simulation application was last\n updated.

" - } - }, - "revisionId": { - "target": "com.amazonaws.robomaker#RevisionId", - "traits": { - "smithy.api#documentation": "

The revision id of the simulation application.

" - } - }, - "environment": { - "target": "com.amazonaws.robomaker#Environment", - "traits": { - "smithy.api#documentation": "

The object that contains the Docker image URI used for your simulation\n application.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#UpdateWorldTemplate": { - "type": "operation", - "input": { - "target": "com.amazonaws.robomaker#UpdateWorldTemplateRequest" - }, - "output": { - "target": "com.amazonaws.robomaker#UpdateWorldTemplateResponse" - }, - "errors": [ - { - "target": "com.amazonaws.robomaker#InternalServerException" - }, - { - "target": "com.amazonaws.robomaker#InvalidParameterException" - }, - { - "target": "com.amazonaws.robomaker#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.robomaker#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "\n

End of support notice: On September 10, 2025, Amazon Web Services\n will discontinue support for Amazon Web Services RoboMaker. After September 10, 2025, you will\n no longer be able to access the Amazon Web Services RoboMaker console or Amazon Web Services RoboMaker resources. \n For more information on transitioning to Batch to help run containerized\n simulations, visit https://aws.amazon.com/blogs/hpc/run-simulations-using-multiple-containers-in-a-single-aws-batch-job/.\n

\n
\n

Updates a world template.

", - "smithy.api#http": { - "method": "POST", - "uri": "/updateWorldTemplate", - "code": 200 - } - } - }, - "com.amazonaws.robomaker#UpdateWorldTemplateRequest": { - "type": "structure", - "members": { - "template": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world template to update.

", - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.robomaker#TemplateName", - "traits": { - "smithy.api#documentation": "

The name of the template.

" - } - }, - "templateBody": { - "target": "com.amazonaws.robomaker#Json", - "traits": { - "smithy.api#documentation": "

The world template body.

" - } - }, - "templateLocation": { - "target": "com.amazonaws.robomaker#TemplateLocation", - "traits": { - "smithy.api#documentation": "

The location of the world template.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.robomaker#UpdateWorldTemplateResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world template.

" - } - }, - "name": { - "target": "com.amazonaws.robomaker#TemplateName", - "traits": { - "smithy.api#documentation": "

The name of the world template.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the world template was created.

" - } - }, - "lastUpdatedAt": { - "target": "com.amazonaws.robomaker#LastUpdatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the world template was last\n updated.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.robomaker#UploadBehavior": { - "type": "enum", - "members": { - "UPLOAD_ON_TERMINATE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UPLOAD_ON_TERMINATE" - } - }, - "UPLOAD_ROLLING_AUTO_REMOVE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UPLOAD_ROLLING_AUTO_REMOVE" - } - } - } - }, - "com.amazonaws.robomaker#UploadConfiguration": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.robomaker#Name", - "traits": { - "smithy.api#documentation": "

A prefix that specifies where files will be uploaded in Amazon S3. It is appended to the\n simulation output location to determine the final path.

\n

For example, if your simulation output location is s3://amzn-s3-demo-bucket and your\n upload configuration name is robot-test, your files will be uploaded to\n s3://amzn-s3-demo-bucket///robot-test.

", - "smithy.api#required": {} - } - }, - "path": { - "target": "com.amazonaws.robomaker#Path", - "traits": { - "smithy.api#documentation": "

Specifies the path of the file(s) to upload. Standard Unix glob matching rules are\n accepted, with the addition of ** as a super asterisk.\n For example, specifying /var/log/**.log causes all .log files in the\n /var/log directory tree to be collected. For more examples, see Glob Library.

", - "smithy.api#required": {} - } - }, - "uploadBehavior": { - "target": "com.amazonaws.robomaker#UploadBehavior", - "traits": { - "smithy.api#documentation": "

Specifies when to upload the files:

\n
\n
UPLOAD_ON_TERMINATE
\n
\n

Matching files are uploaded once the simulation enters the\n TERMINATING state. Matching files are not uploaded until all of\n your code (including tools) have stopped.

\n

If there is a problem uploading a file, the upload is retried. If problems\n persist, no further upload attempts will be made.

\n
\n
UPLOAD_ROLLING_AUTO_REMOVE
\n
\n

Matching files are uploaded as they are created. They are deleted after they\n are uploaded. The specified path is checked every 5 seconds. A final check is made\n when all of your code (including tools) have stopped.

\n
\n
", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Provides upload configuration information. Files are uploaded from the simulation job to\n a location you specify.

" - } - }, - "com.amazonaws.robomaker#UploadConfigurations": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#UploadConfiguration" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 10 - } - } - }, - "com.amazonaws.robomaker#VPCConfig": { - "type": "structure", - "members": { - "subnets": { - "target": "com.amazonaws.robomaker#Subnets", - "traits": { - "smithy.api#documentation": "

A list of one or more subnet IDs in your VPC.

", - "smithy.api#required": {} - } - }, - "securityGroups": { - "target": "com.amazonaws.robomaker#SecurityGroups", - "traits": { - "smithy.api#documentation": "

A list of one or more security groups IDs in your VPC.

" - } - }, - "assignPublicIp": { - "target": "com.amazonaws.robomaker#Boolean", - "traits": { - "smithy.api#default": false, - "smithy.api#documentation": "

A boolean indicating whether to assign a public IP address.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

If your simulation job accesses resources in a VPC, you provide this parameter\n identifying the list of security group IDs and subnet IDs. These must belong to the same\n VPC. You must provide at least one security group and two subnet IDs.

" - } - }, - "com.amazonaws.robomaker#VPCConfigResponse": { - "type": "structure", - "members": { - "subnets": { - "target": "com.amazonaws.robomaker#Subnets", - "traits": { - "smithy.api#documentation": "

A list of subnet IDs associated with the simulation job.

" - } - }, - "securityGroups": { - "target": "com.amazonaws.robomaker#SecurityGroups", - "traits": { - "smithy.api#documentation": "

A list of security group IDs associated with the simulation job.

" - } - }, - "vpcId": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The VPC ID associated with your simulation job.

" - } - }, - "assignPublicIp": { - "target": "com.amazonaws.robomaker#Boolean", - "traits": { - "smithy.api#default": false, - "smithy.api#documentation": "

A boolean indicating if a public IP was assigned.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

VPC configuration associated with your simulation job.

" - } - }, - "com.amazonaws.robomaker#Version": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - }, - "smithy.api#pattern": "^(\\$LATEST)|[0-9]*$" - } - }, - "com.amazonaws.robomaker#VersionQualifier": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - }, - "smithy.api#pattern": "^ALL$" - } - }, - "com.amazonaws.robomaker#WorldConfig": { - "type": "structure", - "members": { - "world": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The world generated by Simulation WorldForge.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Configuration information for a world.

" - } - }, - "com.amazonaws.robomaker#WorldConfigs": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#WorldConfig" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1 - } - } - }, - "com.amazonaws.robomaker#WorldCount": { - "type": "structure", - "members": { - "floorplanCount": { - "target": "com.amazonaws.robomaker#FloorplanCount", - "traits": { - "smithy.api#documentation": "

The number of unique floorplans.

" - } - }, - "interiorCountPerFloorplan": { - "target": "com.amazonaws.robomaker#InteriorCountPerFloorplan", - "traits": { - "smithy.api#documentation": "

The number of unique interiors per floorplan.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The number of worlds that will be created. You can configure the number of unique\n floorplans and the number of unique interiors for each floor plan. For example, if you want\n 1 world with 20 unique interiors, you set floorplanCount = 1 and\n interiorCountPerFloorplan = 20. This will result in 20 worlds\n (floorplanCount * interiorCountPerFloorplan).

\n

If you set floorplanCount = 4 and interiorCountPerFloorplan =\n 5, there will be 20 worlds with 5 unique floor plans.

" - } - }, - "com.amazonaws.robomaker#WorldExportJobErrorCode": { - "type": "enum", - "members": { - "InternalServiceError": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InternalServiceError" - } - }, - "LimitExceeded": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LimitExceeded" - } - }, - "ResourceNotFound": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ResourceNotFound" - } - }, - "RequestThrottled": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RequestThrottled" - } - }, - "InvalidInput": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InvalidInput" - } - }, - "AccessDenied": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AccessDenied" - } - } - } - }, - "com.amazonaws.robomaker#WorldExportJobStatus": { - "type": "enum", - "members": { - "Pending": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Pending" - } - }, - "Running": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Running" - } - }, - "Completed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Completed" - } - }, - "Failed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - }, - "Canceling": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Canceling" - } - }, - "Canceled": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Canceled" - } - } - } - }, - "com.amazonaws.robomaker#WorldExportJobSummaries": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#WorldExportJobSummary" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.robomaker#WorldExportJobSummary": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the world export job.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#WorldExportJobStatus", - "traits": { - "smithy.api#documentation": "

The status of the world export job.

\n
\n
Pending
\n
\n

The world export job request is pending.

\n
\n
Running
\n
\n

The world export job is running.

\n
\n
Completed
\n
\n

The world export job completed.

\n
\n
Failed
\n
\n

The world export job failed. See failureCode for more information.\n

\n
\n
Canceled
\n
\n

The world export job was cancelled.

\n
\n
Canceling
\n
\n

The world export job is being cancelled.

\n
\n
" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the world export job was created.

" - } - }, - "worlds": { - "target": "com.amazonaws.robomaker#Arns", - "traits": { - "smithy.api#documentation": "

A list of worlds.

" - } - }, - "outputLocation": { - "target": "com.amazonaws.robomaker#OutputLocation" - } - }, - "traits": { - "smithy.api#documentation": "

Information about a world export job.

" - } - }, - "com.amazonaws.robomaker#WorldFailure": { - "type": "structure", - "members": { - "failureCode": { - "target": "com.amazonaws.robomaker#WorldGenerationJobErrorCode", - "traits": { - "smithy.api#documentation": "

The failure code of the world export job if it failed:

\n
\n
InternalServiceError
\n
\n

Internal service error.

\n
\n
LimitExceeded
\n
\n

The requested resource exceeds the maximum number allowed, or the number of\n concurrent stream requests exceeds the maximum number allowed.

\n
\n
ResourceNotFound
\n
\n

The specified resource could not be found.

\n
\n
RequestThrottled
\n
\n

The request was throttled.

\n
\n
InvalidInput
\n
\n

An input parameter in the request is not valid.

\n
\n
" - } - }, - "sampleFailureReason": { - "target": "com.amazonaws.robomaker#GenericString", - "traits": { - "smithy.api#documentation": "

The sample reason why the world failed. World errors are aggregated. A sample is used as\n the sampleFailureReason.

" - } - }, - "failureCount": { - "target": "com.amazonaws.robomaker#Integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The number of failed worlds.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a failed world.

" - } - }, - "com.amazonaws.robomaker#WorldFailures": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#WorldFailure" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.robomaker#WorldGenerationJobErrorCode": { - "type": "enum", - "members": { - "InternalServiceError": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InternalServiceError" - } - }, - "LimitExceeded": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LimitExceeded" - } - }, - "ResourceNotFound": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ResourceNotFound" - } - }, - "RequestThrottled": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RequestThrottled" - } - }, - "InvalidInput": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InvalidInput" - } - }, - "AllWorldGenerationFailed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "AllWorldGenerationFailed" - } - } - } - }, - "com.amazonaws.robomaker#WorldGenerationJobStatus": { - "type": "enum", - "members": { - "Pending": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Pending" - } - }, - "Running": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Running" - } - }, - "Completed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Completed" - } - }, - "Failed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Failed" - } - }, - "PartialFailed": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PartialFailed" - } - }, - "Canceling": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Canceling" - } - }, - "Canceled": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Canceled" - } - } - } - }, - "com.amazonaws.robomaker#WorldGenerationJobSummaries": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#WorldGenerationJobSummary" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.robomaker#WorldGenerationJobSummary": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the world generator job.

" - } - }, - "template": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world template.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the world generator job was\n created.

" - } - }, - "status": { - "target": "com.amazonaws.robomaker#WorldGenerationJobStatus", - "traits": { - "smithy.api#documentation": "

The status of the world generator job:

\n
\n
Pending
\n
\n

The world generator job request is pending.

\n
\n
Running
\n
\n

The world generator job is running.

\n
\n
Completed
\n
\n

The world generator job completed.

\n
\n
Failed
\n
\n

The world generator job failed. See failureCode for more\n information.

\n
\n
PartialFailed
\n
\n

Some worlds did not generate.

\n
\n
Canceled
\n
\n

The world generator job was cancelled.

\n
\n
Canceling
\n
\n

The world generator job is being cancelled.

\n
\n
" - } - }, - "worldCount": { - "target": "com.amazonaws.robomaker#WorldCount", - "traits": { - "smithy.api#documentation": "

Information about the world count.

" - } - }, - "succeededWorldCount": { - "target": "com.amazonaws.robomaker#Integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The number of worlds that were generated.

" - } - }, - "failedWorldCount": { - "target": "com.amazonaws.robomaker#Integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The number of worlds that failed.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a world generator job.

" - } - }, - "com.amazonaws.robomaker#WorldSummaries": { - "type": "list", - "member": { - "target": "com.amazonaws.robomaker#WorldSummary" - } - }, - "com.amazonaws.robomaker#WorldSummary": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the world.

" - } - }, - "createdAt": { - "target": "com.amazonaws.robomaker#CreatedAt", - "traits": { - "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the world was created.

" - } - }, - "generationJob": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world generation job.

" - } - }, - "template": { - "target": "com.amazonaws.robomaker#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (arn) of the world template.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a world.

" - } - }, - "com.amazonaws.robomaker#errorMessage": { - "type": "string" - }, - "com.amazonaws.robomaker#robomaker": { - "type": "service", - "version": "2018-06-29", - "operations": [ - { - "target": "com.amazonaws.robomaker#BatchDeleteWorlds" - }, - { - "target": "com.amazonaws.robomaker#BatchDescribeSimulationJob" - }, - { - "target": "com.amazonaws.robomaker#CancelDeploymentJob" - }, - { - "target": "com.amazonaws.robomaker#CancelSimulationJob" - }, - { - "target": "com.amazonaws.robomaker#CancelSimulationJobBatch" - }, - { - "target": "com.amazonaws.robomaker#CancelWorldExportJob" - }, - { - "target": "com.amazonaws.robomaker#CancelWorldGenerationJob" - }, - { - "target": "com.amazonaws.robomaker#CreateDeploymentJob" - }, - { - "target": "com.amazonaws.robomaker#CreateFleet" - }, - { - "target": "com.amazonaws.robomaker#CreateRobot" - }, - { - "target": "com.amazonaws.robomaker#CreateRobotApplication" - }, - { - "target": "com.amazonaws.robomaker#CreateRobotApplicationVersion" - }, - { - "target": "com.amazonaws.robomaker#CreateSimulationApplication" - }, - { - "target": "com.amazonaws.robomaker#CreateSimulationApplicationVersion" - }, - { - "target": "com.amazonaws.robomaker#CreateSimulationJob" - }, - { - "target": "com.amazonaws.robomaker#CreateWorldExportJob" - }, - { - "target": "com.amazonaws.robomaker#CreateWorldGenerationJob" - }, - { - "target": "com.amazonaws.robomaker#CreateWorldTemplate" - }, - { - "target": "com.amazonaws.robomaker#DeleteFleet" - }, - { - "target": "com.amazonaws.robomaker#DeleteRobot" - }, - { - "target": "com.amazonaws.robomaker#DeleteRobotApplication" - }, - { - "target": "com.amazonaws.robomaker#DeleteSimulationApplication" - }, - { - "target": "com.amazonaws.robomaker#DeleteWorldTemplate" - }, - { - "target": "com.amazonaws.robomaker#DeregisterRobot" - }, - { - "target": "com.amazonaws.robomaker#DescribeDeploymentJob" - }, - { - "target": "com.amazonaws.robomaker#DescribeFleet" - }, - { - "target": "com.amazonaws.robomaker#DescribeRobot" - }, - { - "target": "com.amazonaws.robomaker#DescribeRobotApplication" - }, - { - "target": "com.amazonaws.robomaker#DescribeSimulationApplication" - }, - { - "target": "com.amazonaws.robomaker#DescribeSimulationJob" - }, - { - "target": "com.amazonaws.robomaker#DescribeSimulationJobBatch" - }, - { - "target": "com.amazonaws.robomaker#DescribeWorld" - }, - { - "target": "com.amazonaws.robomaker#DescribeWorldExportJob" - }, - { - "target": "com.amazonaws.robomaker#DescribeWorldGenerationJob" - }, - { - "target": "com.amazonaws.robomaker#DescribeWorldTemplate" - }, - { - "target": "com.amazonaws.robomaker#GetWorldTemplateBody" - }, - { - "target": "com.amazonaws.robomaker#ListDeploymentJobs" - }, - { - "target": "com.amazonaws.robomaker#ListFleets" - }, - { - "target": "com.amazonaws.robomaker#ListRobotApplications" - }, - { - "target": "com.amazonaws.robomaker#ListRobots" - }, - { - "target": "com.amazonaws.robomaker#ListSimulationApplications" - }, - { - "target": "com.amazonaws.robomaker#ListSimulationJobBatches" - }, - { - "target": "com.amazonaws.robomaker#ListSimulationJobs" - }, - { - "target": "com.amazonaws.robomaker#ListTagsForResource" - }, - { - "target": "com.amazonaws.robomaker#ListWorldExportJobs" - }, - { - "target": "com.amazonaws.robomaker#ListWorldGenerationJobs" - }, - { - "target": "com.amazonaws.robomaker#ListWorlds" - }, - { - "target": "com.amazonaws.robomaker#ListWorldTemplates" - }, - { - "target": "com.amazonaws.robomaker#RegisterRobot" - }, - { - "target": "com.amazonaws.robomaker#RestartSimulationJob" - }, - { - "target": "com.amazonaws.robomaker#StartSimulationJobBatch" - }, - { - "target": "com.amazonaws.robomaker#SyncDeploymentJob" - }, - { - "target": "com.amazonaws.robomaker#TagResource" - }, - { - "target": "com.amazonaws.robomaker#UntagResource" - }, - { - "target": "com.amazonaws.robomaker#UpdateRobotApplication" - }, - { - "target": "com.amazonaws.robomaker#UpdateSimulationApplication" - }, - { - "target": "com.amazonaws.robomaker#UpdateWorldTemplate" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "RoboMaker", - "arnNamespace": "robomaker", - "cloudFormationName": "RoboMaker", - "cloudTrailEventSource": "robomaker.amazonaws.com", - "endpointPrefix": "robomaker" - }, - "aws.auth#sigv4": { - "name": "robomaker" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

This section provides documentation for the AWS RoboMaker API operations.

", - "smithy.api#title": "AWS RoboMaker", - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "string" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "string" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://robomaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://robomaker-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, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://robomaker.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://robomaker.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://robomaker.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-gov-west-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://robomaker.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" - } - } - } - } -}